/* =========================================================
   Nigger Institute — Prestigious Academic Theme
   WordPress-compatible class names + custom NI classes
   ========================================================= */

/* --- Variables --- */
:root {
  --ni-navy:    #0a2540;
  --ni-gold:    #c9a227;
  --ni-white:   #ffffff;
  --ni-light:   #f8f5f0;
  --ni-mid:     #e8e3db;
  --ni-text:    #222222;
  --ni-muted:   #666666;
  --ni-border:  #ddd8d0;
  --ni-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ni-font-sans:  'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ni-max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ni-font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ni-text);
  background: var(--ni-white);
  margin: 0;
  padding: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ni-navy); text-decoration: none; }
a:hover { color: var(--ni-gold); text-decoration: underline; }
h1, h2, h3, h4, h5 {
  font-family: var(--ni-font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ni-navy);
}
p { margin: 0 0 1.25rem; }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
hr { border: none; border-top: 1px solid var(--ni-border); margin: 3rem 0; }

/* --- Container --- */
.ni-container {
  max-width: var(--ni-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================================
   TOP BAR
   ========================================================= */
#ni-top-bar {
  background: var(--ni-navy);
  color: #a8bdd1;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  letter-spacing: 0.02em;
}
#ni-top-bar .ni-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#ni-top-bar a { color: #a8bdd1; }
#ni-top-bar a:hover { color: var(--ni-gold); text-decoration: none; }
.ni-top-links { display: flex; gap: 0.5rem; align-items: center; }

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
  background: var(--ni-white);
  border-bottom: 3px solid var(--ni-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-branding a.site-logo-link {
  display: block;
  text-decoration: none;
  line-height: 0;
}
.site-logo {
  display: block;
  width: 220px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}
.footer-logo-link { display: block; line-height: 0; }
.footer-logo {
  display: block;
  width: 160px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Navigation */
.main-navigation .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}
.main-navigation .menu-item > a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ni-navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-navigation .menu-item > a:hover,
.main-navigation .menu-item.current-menu-item > a {
  color: var(--ni-gold);
  border-bottom-color: var(--ni-gold);
}
.menu-item-has-children { position: relative; }
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ni-navy);
  min-width: 200px;
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 200;
}
.sub-menu li a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: #cdd8e3;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.sub-menu li a:hover { background: rgba(201,162,39,0.15); color: var(--ni-gold); }
.menu-item-has-children:hover .sub-menu { display: block; }

/* =========================================================
   HERO (home page)
   ========================================================= */
.hero {
  background:
    linear-gradient(rgba(10,37,64,0.72), rgba(10,37,64,0.72)),
    url('https://picsum.photos/id/1015/2000/900') center/cover no-repeat;
  color: var(--ni-white);
  padding: 10rem 2rem 8rem;
  text-align: center;
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero h1 {
  font-size: 3.8rem;
  color: var(--ni-white);
  margin: 0 0 1.25rem;
  line-height: 1.15;
}
.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   BUTTONS
   ========================================================= */
.button, button, input[type=submit] {
  display: inline-block;
  font-family: var(--ni-font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border: 2px solid var(--ni-navy);
  background: var(--ni-navy);
  color: var(--ni-white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  border-radius: 2px;
}
.button:hover, button:hover, input[type=submit]:hover {
  background: var(--ni-gold);
  border-color: var(--ni-gold);
  color: var(--ni-navy);
  text-decoration: none;
}
.button-primary { background: var(--ni-gold); border-color: var(--ni-gold); color: var(--ni-navy); }
.button-primary:hover { background: var(--ni-navy); border-color: var(--ni-navy); color: var(--ni-white); }
.button-secondary { background: transparent; border-color: var(--ni-white); color: var(--ni-white); }
.button-secondary:hover { background: var(--ni-white); color: var(--ni-navy); }
.more-link { font-weight: 600; color: var(--ni-gold); }
.more-link:hover { color: var(--ni-navy); }

/* =========================================================
   HOME STATS BAR
   ========================================================= */
.home-stats { background: var(--ni-navy); padding: 2.5rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number {
  display: block;
  font-family: var(--ni-font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ni-gold);
  line-height: 1;
}
.stat-label {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* =========================================================
   TWO-COLUMN LAYOUT
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.col-image img { border-radius: 2px; }
.caption {
  font-size: 0.82rem;
  color: var(--ni-muted);
  font-style: italic;
  margin-top: 0.5rem;
}
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ni-gold);
  margin-bottom: 0.75rem;
}

/* =========================================================
   HOME SECTIONS
   ========================================================= */
.home-feature { padding: 5rem 0; background: var(--ni-light); }
.home-academics { padding: 5rem 0; }
.home-news { padding: 5rem 0; background: var(--ni-light); }
.home-quote { padding: 5rem 0; background: var(--ni-navy); }
.home-quote blockquote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.home-quote blockquote p {
  font-family: var(--ni-font-serif);
  font-size: 1.7rem;
  color: var(--ni-white);
  font-style: italic;
  margin: 0 0 1rem;
}
.home-quote cite { color: var(--ni-gold); font-size: 0.95rem; font-style: normal; }

.section-title {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 0.75rem;
}
.section-intro {
  text-align: center;
  color: var(--ni-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* =========================================================
   PROGRAM / NEWS CARDS
   ========================================================= */
.program-cards, .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.program-card, .news-card {
  background: var(--ni-white);
  border: 1px solid var(--ni-border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.program-card:hover, .news-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.program-card img, .news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.program-card-body, .news-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.program-card-body h3, .news-card-body h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.news-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ni-gold);
  margin-bottom: 0.4rem;
}

/* =========================================================
   PAGE BANNER
   ========================================================= */
.page-banner {
  background: var(--ni-navy);
  color: var(--ni-white);
  padding: 4rem 0 3rem;
}
.page-title {
  font-size: 2.6rem;
  color: var(--ni-white);
  margin: 0 0 0.5rem;
}
.page-subtitle { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin: 0; }

/* =========================================================
   PAGE CONTENT
   ========================================================= */
.page-content, .entry-content {
  padding: 3.5rem 0;
}
.lead-text {
  font-size: 1.15rem;
  color: var(--ni-muted);
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.section-divider { margin: 3rem 0; }
.styled-list { list-style: none; padding: 0; }
.styled-list li {
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--ni-border);
}
.styled-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--ni-gold);
}
.cta-block {
  background: var(--ni-light);
  border-left: 4px solid var(--ni-gold);
  padding: 2rem 2.5rem;
  margin-top: 2rem;
}

/* =========================================================
   LEADERSHIP / FACULTY GRIDS
   ========================================================= */
.leadership-grid, .faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.leader-card, .faculty-card {
  background: var(--ni-light);
  border: 1px solid var(--ni-border);
  border-radius: 2px;
  overflow: hidden;
  padding-bottom: 1.5rem;
}
.leader-card img, .faculty-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.leader-card h3, .faculty-card h3 {
  font-size: 1rem;
  margin: 1rem 1rem 0.2rem;
}
.leader-title, .faculty-dept {
  font-size: 0.82rem;
  color: var(--ni-gold);
  font-weight: 600;
  margin: 0 1rem 0.5rem;
  font-style: italic;
}
.leader-card p, .faculty-card p { font-size: 0.88rem; color: var(--ni-muted); margin: 0 1rem; }
.faculty-card-body { padding: 0.75rem 1rem 0; }

/* =========================================================
   BLOG LAYOUT (with sidebar — WP-style)
   ========================================================= */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  align-items: start;
}

/* Blog post cards */
.wp-block-post {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--ni-border);
}
.wp-block-post:last-child { border-bottom: none; }
.post-thumbnail img { width: 100%; border-radius: 2px; margin-bottom: 1.25rem; }
.entry-header { margin-bottom: 0.75rem; }
.entry-title { font-size: 1.7rem; margin: 0.25rem 0 0; }
.entry-title a { color: var(--ni-navy); text-decoration: none; }
.entry-title a:hover { color: var(--ni-gold); }
.post-meta {
  font-size: 0.82rem;
  color: var(--ni-muted);
  margin-bottom: 0.5rem;
}
.post-meta a { color: var(--ni-muted); }
.post-meta .sep { margin: 0 0.4rem; }
.entry-footer { margin-top: 1rem; }
.tags-links { font-size: 0.85rem; color: var(--ni-muted); }
.tags-links a { color: var(--ni-muted); }

/* Single post */
.single-post .entry-title { font-size: 2.2rem; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.6); padding: 0.5rem 0; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--ni-gold); text-decoration: none; }

/* Sidebar / widgets */
.widget-area { position: sticky; top: 6rem; }
.widget {
  background: var(--ni-light);
  border: 1px solid var(--ni-border);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 2px;
}
.widget-title {
  font-family: var(--ni-font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ni-navy);
  border-bottom: 2px solid var(--ni-gold);
  padding-bottom: 0.5rem;
  margin: 0 0 1rem;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 0.3rem 0; border-bottom: 1px solid var(--ni-border); font-size: 0.88rem; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--ni-navy); }
.widget ul li a:hover { color: var(--ni-gold); text-decoration: none; }
.search-form { display: flex; gap: 0.5rem; }
.search-field {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--ni-border);
  font-family: var(--ni-font-sans);
  font-size: 0.88rem;
  border-radius: 2px;
}
.search-submit {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  background: var(--ni-navy);
  color: var(--ni-white);
  border: none;
  cursor: pointer;
  border-radius: 2px;
}

/* =========================================================
   COMMENTS
   ========================================================= */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--ni-border); }
.comments-title { font-size: 1.4rem; margin: 0 0 1.5rem; }
.commentlist { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment { padding: 1.5rem 0; border-bottom: 1px solid var(--ni-border); }
.comment:last-child { border-bottom: none; }
.comment-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.avatar { border-radius: 50%; width: 50px; height: 50px; }
.comment-author { font-weight: 700; font-size: 0.95rem; }
.comment-metadata { font-size: 0.8rem; color: var(--ni-muted); }
.comment-content p { margin: 0; font-size: 0.95rem; }

/* Comment form */
.comment-respond {
  background: var(--ni-light);
  border: 1px solid var(--ni-border);
  padding: 2rem 2.5rem;
  margin-top: 2rem;
  border-radius: 2px;
}
.comment-reply-title { font-size: 1.2rem; margin: 0 0 0.5rem; }
.comment-notes { font-size: 0.85rem; color: var(--ni-muted); margin-bottom: 1.25rem; }
.required { color: #c0392b; }
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--ni-border);
  font-family: var(--ni-font-sans);
  font-size: 0.95rem;
  border-radius: 2px;
  background: var(--ni-white);
}
.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.form-submit { margin-top: 1.5rem; }
.form-submit input[type=submit] {
  background: var(--ni-navy);
  color: var(--ni-white);
  border: 2px solid var(--ni-navy);
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  border-radius: 2px;
}
.form-submit input[type=submit]:hover {
  background: var(--ni-gold);
  border-color: var(--ni-gold);
  color: var(--ni-navy);
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline { margin: 2rem 0; }
.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}
.timeline-year {
  flex-shrink: 0;
  width: 70px;
  font-family: var(--ni-font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ni-gold);
  padding-top: 0.15rem;
}
.timeline-body { border-left: 3px solid var(--ni-border); padding-left: 1.5rem; }
.timeline-body h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.timeline-body p { margin: 0; font-size: 0.95rem; }

/* =========================================================
   STAT CARDS (leadership, research, etc.)
   ========================================================= */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.stat-card {
  background: var(--ni-light);
  border-top: 4px solid var(--ni-gold);
  padding: 1.5rem;
  text-align: center;
}
.stat-card .stat-number { display: block; font-size: 2.2rem; font-family: var(--ni-font-serif); font-weight: 700; color: var(--ni-navy); }
.stat-card .stat-label { display: block; font-size: 0.85rem; color: var(--ni-muted); margin-top: 0.25rem; }

/* Faculty email */
.faculty-email { font-size: 0.82rem; margin: 0.1rem 0 0.5rem; }
.faculty-email a { color: var(--ni-gold); text-decoration: none; }
.faculty-email a:hover { text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ni-navy);
  color: rgba(255,255,255,0.65);
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}
.footer-col h4 {
  color: var(--ni-white);
  font-family: var(--ni-font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,162,39,0.4);
}
.footer-col p, .footer-col li { font-size: 0.88rem; line-height: 1.8; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-col a:hover { color: var(--ni-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--ni-gold); text-decoration: none; }

/* =========================================================
   CONTACT PAGE (CF7-style)
   ========================================================= */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
  align-items: start;
}
.contact-main .wpcf7 { margin-top: 1.5rem; }
.wpcf7-form p { margin: 0 0 1.25rem; }
.wpcf7-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ni-navy);
}
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--ni-border);
  border-radius: 3px;
  font-family: var(--ni-font-sans);
  font-size: 0.95rem;
  color: var(--ni-text);
  background: var(--ni-white);
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-select:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  outline: none;
  border-color: var(--ni-navy);
  box-shadow: 0 0 0 2px rgba(10,37,64,0.1);
}
.wpcf7-form-control.wpcf7-textarea { min-height: 160px; resize: vertical; }
.wpcf7-not-acceptable { color: #c00; font-size: 0.85rem; }
.wpcf7-response-output {
  padding: 0.85rem 1rem;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.wpcf7-mail-sent-ok {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.wpcf7-validation-errors {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}
.wpcf7-form-control.wpcf7-submit {
  background: var(--ni-navy);
  color: var(--ni-white);
  border: 2px solid var(--ni-navy);
  padding: 0.75rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
  width: auto;
}
.wpcf7-form-control.wpcf7-submit:hover {
  background: var(--ni-gold);
  border-color: var(--ni-gold);
  color: var(--ni-navy);
}
.contact-sidebar .widget {
  background: #f8f9fa;
  border: 1px solid var(--ni-border);
  border-radius: 3px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-sidebar .widget-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ni-navy);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ni-gold);
}
.contact-sidebar .textwidget p { font-size: 0.9rem; margin: 0 0 0.75rem; }
.contact-sidebar .textwidget a { color: var(--ni-navy); text-decoration: none; }
.contact-sidebar .textwidget a:hover { color: var(--ni-gold); }
.contact-sidebar .textwidget ul { list-style: none; padding: 0; margin: 0; }
.contact-sidebar .textwidget ul li { padding: 0.3rem 0; font-size: 0.9rem; }
@media (max-width: 900px) {
  .contact-page-layout { grid-template-columns: 1fr; }
}

/* =========================================================
   WP-STYLE CLASS SHIMS (for scanner compatibility)
   ========================================================= */
.wp-block-cover { }
.wp-block-image img { border-radius: 2px; }
.hentry { }
.type-post { }
.status-publish { }
.format-standard { }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .blog-layout { grid-template-columns: 1fr; }
  .widget-area { position: static; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .site-header-inner { flex-direction: column; gap: 1rem; }
  .main-navigation .menu { flex-wrap: wrap; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .program-cards { grid-template-columns: 1fr; }
  .comment-form-row { grid-template-columns: 1fr; }
  .leadership-grid, .faculty-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ni-container { padding: 0 1rem; }
  .hero { padding: 6rem 1rem 5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
