@import url('https://fonts.googleapis.com/css2?family=Literata:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --navy: #0f2e67;
  --navy-dark: #081a3a;
  --gold: #d8ab47;
  --gold-dark: #ba8d30;
  --white: #ffffff;
  --ink: #172033;
  --muted: #6b7588;
  --line: #dde3ef;
  --soft: #f4f7fb;
  --shadow: 0 18px 40px rgba(7, 23, 53, 0.12);
  /* Page title bars: light grey */
  --banner-top: #f8f9fb;
  --banner-mid: #eef0f3;
  --banner-base: #e4e7eb;
  --banner-border: rgba(0, 0, 0, 0.08);
  --banner-glow: rgba(0, 0, 0, 0.04);
  /* South Sudan national flag — official tones for UI bars (hoist left → fly right) */
  --ss-blue: #003893;
  --ss-yellow: #fcd116;
  --ss-black: #000000;
  --ss-white: #ffffff;
  --ss-red: #d21034;
  --ss-green: #009a3d;
  /* Horizontal accent bars (ceremony strip, anthem top rule) — neutral grey gradient */
  --ss-grey-accent-bar: linear-gradient(
    90deg,
    #e4e7ec 0%,
    #cdd2db 22%,
    #b8bec9 50%,
    #d2d7df 78%,
    #e8ebf0 100%
  );
  /* Main content width: scales up on large / ultra-wide screens so layout stays proportional (not a narrow “postage stamp”). */
  --site-max-width: 1200px;
  --site-gutter: 32px;
}

@media (min-width: 1400px) {
  :root {
    --site-max-width: min(1320px, calc(100vw - 80px));
  }
}
@media (min-width: 1600px) {
  :root {
    --site-max-width: min(1480px, calc(100vw - 96px));
  }
}
@media (min-width: 1920px) {
  :root {
    --site-max-width: min(1620px, calc(100vw - 120px));
  }
}
@media (min-width: 2400px) {
  :root {
    --site-max-width: min(1720px, calc(100vw - 140px));
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container {
  width: min(var(--site-max-width), calc(100% - var(--site-gutter)));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.84);
  font-size: 13px;
  font-family: "Times New Roman", Times, serif;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  line-height: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.topbar-social__link:hover {
  color: #fff;
  transform: translateY(-1px);
}
.topbar-social__link svg {
  flex-shrink: 0;
}
.topbar-flag {
  display: flex;
  align-items: center;
  padding-left: 16px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.topbar-flag__img {
  width: 36px;
  height: auto;
  max-height: 22px;
  display: block;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-header {
  background: #173a73;
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 6px;
}
.brand {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.brand-lockup {
  display: block;
  width: min(100%, 268px);
  height: auto;
}
.header-actions, .mobile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-btn, .quick-btn {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.quick-btn {
  background: rgba(216,171,71,.18);
  padding: 7px 14px;
  white-space: nowrap;
}
.quick-btn.is-active {
  background: rgba(216, 171, 71, 0.42);
  border-color: rgba(216, 171, 71, 0.55);
}

/* Quick Links slide-over panel */
.quick-links-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(8, 26, 58, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  backdrop-filter: blur(2px);
}
.quick-links-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.quick-links-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10041;
  width: min(420px, 100vw);
  height: 100%;
  max-height: 100dvh;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 38%, #f4f6f9 100%);
  box-shadow: -12px 0 48px rgba(8, 26, 58, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--gold);
}
.quick-links-panel.is-open {
  transform: translateX(0);
}
.quick-links-panel__head {
  position: relative;
  flex-shrink: 0;
  padding: 22px 48px 18px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, rgba(248, 249, 251, 0.92) 100%);
}
.quick-links-panel__kicker {
  margin: 0 0 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.quick-links-panel__title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
}
.quick-links-panel__close {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 46, 103, 0.15);
  border-radius: 10px;
  background: #fff;
  color: var(--navy-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.quick-links-panel__close:hover {
  background: rgba(216, 171, 71, 0.12);
  border-color: rgba(186, 141, 48, 0.35);
}
.quick-links-panel__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 28px;
  -webkit-overflow-scrolling: touch;
}
.quick-links-panel__group {
  margin-bottom: 22px;
}
.quick-links-panel__group:last-child {
  margin-bottom: 0;
}
.quick-links-panel__label {
  margin: 0 0 10px 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.quick-links-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.quick-links-panel__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid rgba(15, 46, 103, 0.08);
  background: #fff;
  color: var(--navy-dark);
  text-decoration: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 4px 14px rgba(8, 26, 58, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.quick-links-panel__list a::after {
  content: "→";
  flex-shrink: 0;
  font-size: 13px;
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.quick-links-panel__list a:hover {
  border-color: rgba(186, 141, 48, 0.4);
  box-shadow: 0 8px 22px rgba(8, 26, 58, 0.09);
  transform: translateX(-2px);
}
.quick-links-panel__list a:hover::after {
  opacity: 0.85;
  transform: translateX(3px);
}
.quick-links-panel__foot {
  flex-shrink: 0;
  padding: 14px 18px 20px;
  border-top: 1px solid var(--line);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
}
body.quick-links-open {
  overflow: hidden;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, opacity 0.14s ease, background-color 0.18s ease;
}
.menu-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 7px)); }
.menu-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 7px)); }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #173a73;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 3px solid rgba(216,171,71,.7);
  box-shadow: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 16px 18px;
  color: rgba(255,255,255,.95);
  font-weight: 500;
}
.nav-list > li:hover > a,
.nav-list > li > a:focus { background: rgba(255,255,255,.08); }
.dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 2px);
  min-width: 280px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s ease;
}
.dropdown li a {
  display: block;
  padding: 12px 16px;
  color: var(--ink);
}
.dropdown li a:hover { background: var(--soft); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (min-width: 981px) {
  .nav-list > li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav-list > li.has-dropdown > a::after {
    content: "";
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.88);
    margin-top: 2px;
  }
}
.mobile-actions { display: none; }

.hero {
  background: var(--navy-dark);
}
.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-slide {
  min-height: 540px;
  display: none;
  background-position: center center;
  background-size: cover;
}
.hero-slide.active { display: block; }
.hero-slide-composite {
  position: relative;
  overflow: hidden;
  background: #dbe4f0;
}
/* Site-wide: same light grey bar, left-aligned titles, fluid type for long headings */
.page-banner {
  background: linear-gradient(180deg, var(--banner-top) 0%, var(--banner-mid) 48%, var(--banner-base) 100%);
  color: var(--navy-dark);
  padding: 16px 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 20px var(--banner-glow);
}
.page-banner .container {
  min-width: 0;
  text-align: left;
}
.page-banner h1 {
  margin: 0;
  font-size: clamp(8px, 1.85vw + 3px, 17px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.2;
  color: var(--navy-dark);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.page-banner--serif h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(9px, 1.75vw + 5px, 22px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* News, speeches & media — cards, pagination (site page-banner unchanged) */
.news-page {
  padding-top: 36px;
  padding-bottom: 88px;
  background:
    radial-gradient(ellipse 70% 40% at 20% 0%, rgba(216, 171, 71, 0.06), transparent 50%),
    #fff;
}
.speeches-page {
  padding-top: 0;
  padding-bottom: 96px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(15, 46, 103, 0.06), transparent 55%),
    linear-gradient(180deg, #eef2f8 0%, #f9fafc 38%, #ffffff 100%);
}
.media-page {
  padding-top: 0;
  padding-bottom: 96px;
  background:
    radial-gradient(ellipse 70% 45% at 80% 10%, rgba(216, 171, 71, 0.07), transparent 50%),
    linear-gradient(185deg, #f4f6f9 0%, #ffffff 45%, #fafbfc 100%);
}
/* News archive — 3 columns */
.news-page .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
  max-width: 100%;
  margin: 0 auto;
}
/* President's speeches page — 3 × 2 grid of horizontal cards */
.speeches-page .speeches-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: stretch;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 28px;
}
.speeches-page .speeches-list .speech-row {
  min-height: 148px;
}
.speeches-page .speeches-list .speech-row__body {
  padding: 16px 14px 16px 16px;
  gap: 8px;
}
.speeches-page .speeches-list .speech-row__date {
  font-size: 12px;
}
.speeches-page .speeches-list .speech-row__title {
  font-size: clamp(0.65rem, 0.75vw + 0.35rem, 0.8rem);
  -webkit-line-clamp: 4;
}
/* Home speeches — mobile: 2×2 grid (four cards); desktop: one row of three (4th hidden) */
.speeches-section .speeches-list--home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: clamp(8px, 1.5vw, 18px);
  align-items: stretch;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 12px;
}
.speeches-section .speeches-list--home .speech-row {
  min-height: 0;
  overflow: visible;
}
.speeches-section .speeches-list--home .speech-row__body {
  padding: clamp(8px, 1.2vw, 14px) clamp(8px, 1vw, 14px);
  gap: 6px;
  justify-content: flex-start;
}
.speeches-section .speeches-list--home .speech-row__date {
  font-size: clamp(10px, 2.4vw, 12px);
}
.speeches-section .speeches-list--home .speech-row__title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.65rem, 1.1vw + 0.45rem, 0.82rem);
  line-height: 1.35;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  text-overflow: unset;
  text-wrap: balance;
  hyphens: auto;
  max-height: none;
}
@media (min-width: 721px) {
  .speeches-section .speeches-list--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .speeches-section .speeches-list--home .speech-row:nth-child(4) {
    display: none;
  }
  .speeches-section .speeches-list--home .speech-row__media {
    flex: 0 0 40%;
    max-width: 40%;
  }
}
@media (max-width: 720px) {
  .speeches-section .speeches-list--home .speech-row {
    flex-direction: column;
    min-height: 0;
  }
  .speeches-section .speeches-list--home .speech-row__media {
    flex: none;
    max-width: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .speeches-section .speeches-list--home .speech-row__media img {
    min-height: 0;
  }
  .speeches-section .speeches-list--home .speech-row__body {
    padding: 10px 10px 12px;
  }
}
.speech-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 46, 103, 0.1);
  box-shadow: 0 8px 26px rgba(8, 26, 58, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  min-height: 0;
}
.speech-row:hover {
  box-shadow: 0 14px 38px rgba(8, 26, 58, 0.12);
  transform: translateY(-2px);
  border-color: rgba(15, 46, 103, 0.16);
}
.speech-row__media {
  flex: 0 0 42%;
  max-width: 42%;
  min-height: 148px;
  background: linear-gradient(160deg, #e4e8ef 0%, #eef1f6 100%);
  overflow: hidden;
  align-self: stretch;
}
.speech-row__media img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.speech-row:hover .speech-row__media img {
  transform: scale(1.04);
}
.speech-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px 22px 20px 24px;
}
.speech-row__body .doc-badge {
  align-self: flex-start;
  margin: 0 0 2px;
}
.speech-row__date {
  display: block;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-dark);
}
.speech-row__title {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(0.82rem, 1.35vw, 0.98rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f1419;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-page .news-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 46, 103, 0.1);
  box-shadow: 0 10px 28px rgba(8, 26, 58, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.news-page .news-card:hover {
  box-shadow: 0 14px 36px rgba(8, 26, 58, 0.12);
  transform: translateY(-2px);
  border-color: rgba(15, 46, 103, 0.14);
}
.news-page .news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.news-page .news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #dfe5ee 0%, #e8ecf2 100%);
}
.news-page .news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.news-page .news-card__body {
  padding: 18px 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-page .news-card__title {
  margin: 0 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-dark);
}
.news-page .news-card__meta {
  margin: 0 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted);
}
.news-page .news-card__excerpt {
  margin: 0 0 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
}
.news-page .news-card__more {
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: var(--gold-dark);
}
.news-page .news-card__link:hover .news-card__more {
  color: var(--navy-dark);
}
.news-page .news-card__foot {
  padding: 10px 18px 14px;
  border-top: 1px solid var(--line);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--navy-dark);
  font-weight: 500;
}
.pagination a:hover {
  background: var(--soft);
}
.pagination [aria-current="page"] {
  background: linear-gradient(165deg, rgba(216, 171, 71, 0.25) 0%, rgba(216, 171, 71, 0.12) 100%);
  color: var(--navy-dark);
  font-weight: 700;
  border: 1px solid rgba(186, 141, 48, 0.45);
}
.pagination .pagination__ellipsis {
  min-width: auto;
  padding: 8px 4px;
  color: var(--muted);
}
.pagination__disabled {
  color: var(--muted);
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

/* News archive — balanced grid + tactile “raised” buttons (all viewports) */
.news-pagination[hidden] {
  display: none !important;
}
.news-pagination {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(6px, 2.2vw, 14px);
  width: 100%;
  max-width: min(100%, 720px);
  margin: 40px auto 0;
  padding: clamp(12px, 3.2vw, 18px) clamp(10px, 2.4vw, 20px);
  border: 1px solid rgba(110, 112, 120, 0.18);
  border-radius: clamp(12px, 2.5vw, 16px);
  background: linear-gradient(180deg, #fcfcfd 0%, #f4f5f7 52%, #eceef1 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 28px rgba(15, 23, 42, 0.06);
  font-family: Inter, system-ui, sans-serif;
}
.news-page .news-pagination {
  margin-top: clamp(28px, 5vw, 44px);
}
.news-pagination__ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: clamp(44px, 10vw, 48px);
  min-width: clamp(88px, 24vw, 124px);
  padding: 0 clamp(12px, 3.5vw, 22px);
  border-radius: 10px;
  font-weight: 700;
  font-size: clamp(12px, 3.2vw, 14px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy-dark);
  cursor: pointer;
  background: linear-gradient(165deg, #f6f5f3 0%, #ebe8e3 48%, #e0dcd5 100%);
  border: 1px solid rgba(90, 86, 78, 0.22);
  border-bottom-width: 3px;
  border-bottom-color: rgba(65, 62, 56, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 0 rgba(55, 52, 48, 0.12),
    0 6px 14px rgba(15, 23, 42, 0.08);
  transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease,
    border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}
a.news-pagination__ctrl:hover {
  filter: brightness(1.015);
  background: linear-gradient(165deg, #faf9f8 0%, #f0eee9 48%, #e4e2dc 100%);
  border-color: rgba(65, 62, 56, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 0 rgba(55, 52, 48, 0.15),
    0 8px 18px rgba(15, 23, 42, 0.1);
}
a.news-pagination__ctrl:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  border-bottom-color: rgba(55, 52, 48, 0.28);
  box-shadow:
    inset 0 2px 5px rgba(40, 38, 35, 0.12),
    0 1px 0 rgba(55, 52, 48, 0.18);
}
.news-pagination__ctrl:focus-visible {
  outline: 3px solid rgba(15, 46, 103, 0.45);
  outline-offset: 3px;
}
.news-pagination__ctrl--disabled {
  color: rgba(107, 117, 136, 0.75);
  background: linear-gradient(180deg, #f5f6f9 0%, #e5e9f0 100%);
  border: 2px dashed rgba(180, 190, 205, 0.85);
  border-bottom-width: 2px;
  border-bottom-style: dashed;
  border-bottom-color: rgba(160, 170, 185, 0.75);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
  cursor: not-allowed;
  pointer-events: none;
}
.news-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.8vw, 10px);
  min-width: 0;
  padding: 2px 2px;
}
.news-pagination__page {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(40px, 10vw, 46px);
  min-height: clamp(40px, 10vw, 46px);
  padding: 0 6px;
  border-radius: 9px;
  font-weight: 600;
  font-size: clamp(13px, 3.1vw, 15px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: transform 0.1s ease, box-shadow 0.15s ease, border-color 0.15s ease,
    background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.news-pagination__page--link {
  text-decoration: none;
  color: #1e3a5f;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  border: 2px solid rgba(52, 96, 140, 0.22);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 0 rgba(52, 96, 140, 0.1),
    0 4px 12px rgba(30, 60, 100, 0.08);
}
.news-pagination__page--link:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e8f4fc 100%);
  border-color: rgba(15, 95, 120, 0.35);
  color: var(--navy-dark);
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 0 rgba(52, 96, 140, 0.15),
    0 8px 16px rgba(30, 80, 120, 0.12);
}
a.news-pagination__page--link:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(30, 60, 100, 0.1),
    0 1px 0 rgba(52, 96, 140, 0.08);
}
.news-pagination__page--link:focus-visible {
  outline: 3px solid rgba(15, 46, 103, 0.4);
  outline-offset: 2px;
}
.news-pagination__page--current {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(
    165deg,
    #c41a3a 0%,
    var(--ss-red, #d21034) 45%,
    #9f0f2b 100%
  );
  border: 2px solid rgba(0, 0, 0, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 0 rgba(90, 8, 24, 0.45),
    0 8px 18px rgba(180, 20, 50, 0.28);
}
.news-pagination__ellipsis {
  padding: 0 clamp(4px, 1vw, 8px);
  font-size: clamp(13px, 3vw, 15px);
  font-weight: 700;
  color: rgba(90, 108, 120, 0.9);
  letter-spacing: 0.1em;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 560px) {
  .news-pagination {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: clamp(10px, 2.8vw, 14px);
  }
  .news-pagination > .news-pagination__ctrl:first-of-type {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }
  .news-pagination > .news-pagination__ctrl:last-of-type {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
  }
  .news-pagination > .news-pagination__pages {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
/* Compact controls on narrow phones (~320–400px widths) */
@media (max-width: 480px) {
  .news-pagination {
    padding: 8px 6px 10px;
    gap: 8px;
    border-radius: 12px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 4px 16px rgba(15, 23, 42, 0.05);
  }
  .news-pagination__ctrl {
    min-height: 38px;
    min-width: 0;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 11px;
    border-width: 1px;
    border-bottom-width: 2px;
    letter-spacing: 0.03em;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.65),
      0 1px 0 rgba(55, 52, 48, 0.1),
      0 4px 10px rgba(15, 23, 42, 0.07);
  }
  .news-pagination__ctrl:focus-visible {
    outline-width: 2px;
    outline-offset: 2px;
  }
  .news-pagination__ctrl--disabled {
    border-width: 1px;
    border-style: dashed;
    letter-spacing: 0.03em;
  }
  .news-pagination__pages {
    gap: 5px;
  }
  .news-pagination__page {
    min-width: 36px;
    min-height: 36px;
    padding: 0 5px;
    border-radius: 7px;
    font-size: 12px;
  }
  .news-pagination__page--link {
    border-width: 1px;
    box-shadow:
      inset 0 1px 0 #fff,
      0 1px 0 rgba(52, 96, 140, 0.08),
      0 2px 6px rgba(30, 60, 100, 0.07);
  }
  .news-pagination__page--current {
    border-width: 1px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 1px 0 rgba(90, 8, 24, 0.35),
      0 3px 8px rgba(180, 20, 50, 0.2);
  }
  .news-pagination__ellipsis {
    font-size: 12px;
    padding: 0 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-pagination__ctrl,
  .news-pagination__page {
    transition: none;
  }
  a.news-pagination__ctrl:hover,
  a.news-pagination__page--link:hover,
  a.news-pagination__ctrl:active,
  a.news-pagination__page--link:active {
    transform: none;
  }
}

.speeches-page .page-pager {
  margin-top: 40px;
}
.news-page .page-pager {
  margin-top: 40px;
}

/* Single news article — two-column layout + share + sidebar */
.page-banner__crumb {
  margin: 0;
  font-size: clamp(8px, 1.85vw + 3px, 17px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.2;
}
.page-banner__crumb a {
  color: var(--navy-dark);
  text-decoration: none;
}
.page-banner__crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 404 — page not found */
.page-error {
  padding-top: 48px;
  padding-bottom: 96px;
  text-align: center;
  background: linear-gradient(180deg, #f6f8fc 0%, #fff 55%);
}
.page-error__inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
}
.page-error__code {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(4.5rem, 14vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--navy-dark);
  opacity: 0.92;
}
.page-error__code::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
.page-error__title {
  margin: 28px 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-dark);
}
.page-error__text {
  margin: 0 0 28px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.page-error__text--lead {
  margin: 28px 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-dark);
}
.page-error__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 16px;
}
.btn-outline-dark {
  border: 2px solid var(--navy-dark);
  color: var(--navy-dark);
  background: #fff;
  text-decoration: none;
}
.btn-outline-dark:hover {
  background: var(--soft);
  border-color: var(--navy);
  color: var(--navy-dark);
}

.news-article-page {
  padding-top: 28px;
  padding-bottom: 96px;
  background:
    radial-gradient(ellipse 60% 35% at 15% 0%, rgba(15, 46, 103, 0.05), transparent 50%),
    #fff;
}
.news-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 40px 36px;
  align-items: start;
  max-width: 100%;
  margin: 0 auto;
}
.news-article-main {
  min-width: 0;
}

/* news-article.html: head script sets html.op-cms-news-slug when ?slug=… hides static help until CMS fills. */
html.op-cms-news-slug .news-article__title--placeholder,
html.op-cms-news-slug .news-article__placeholder {
  display: none !important;
}

/* Hide bundled sidebar lines until /api/news replaces them (avoids wrong headlines on slug visits). */
html.op-cms-news-slug .news-article-sidebar .sidebar-news-list:not([data-cms-filled]) {
  min-height: 9rem;
}
html.op-cms-news-slug .news-article-sidebar .sidebar-news-list:not([data-cms-filled]) > li {
  visibility: hidden;
  list-style: none;
}

.news-article-figure {
  margin: 0 0 24px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 46, 103, 0.1);
  box-shadow: 0 12px 36px rgba(8, 26, 58, 0.08);
  background: #e8ecf2;
}
.news-article-figure img {
  width: 100%;
  height: auto;
  max-height: min(480px, 56vw);
  object-fit: cover;
  object-position: center;
  display: block;
}
.news-article__category-wrap {
  margin: 0 0 12px;
}
.news-article__category-wrap[hidden] {
  display: none !important;
}
.news-article__title {
  margin: 0 0 16px;
  font-family: 'EB Garamond', Garamond, 'Cormorant Garamond', Georgia, serif !important;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-dark);
}
.news-article__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.news-article__meta time {
  color: var(--navy);
}
.news-article__cal {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
}
.news-article__body {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
  color: var(--ink);
  text-align: justify;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  border-style: none;
  border-width: 0;
  border-color: rgba(0, 0, 0, 0);
  border-image: none;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .news-article__body {
    padding-left: 2%;
    padding-right: 2%;
  }
  /* Full-page leader profiles (President, First Lady, Chief Admin, Executive Director, Legal, Minister, Press Sec., etc.):
     match news article body gutters; apply to bio + key functions so Elementor blocks respect the inset */
  .first-lady-copy__body,
  .first-lady-copy .key-functions {
    padding-left: 2%;
    padding-right: 2%;
    box-sizing: border-box;
  }
  .first-lady-copy__body {
    overflow-x: hidden;
  }
  .first-lady-copy > .section-divider {
    margin-left: 2%;
    margin-right: 2%;
    max-width: none;
    width: auto;
  }
  /* Ministry of Presidential Affairs: same mobile gutters for intro column + key functions */
  .ministry-page .ministry-body.ministry-intro,
  .ministry-page .ministry-key-functions.key-functions {
    padding-left: 2%;
    padding-right: 2%;
    box-sizing: border-box;
  }
  .ministry-page .ministry-body.ministry-intro {
    overflow-x: hidden;
  }
  .ministry-page .container > .section-divider {
    margin-left: 2%;
    margin-right: 2%;
  }
}

/* CMS HTML may include inline font-family; Garamond stack (system + EB Garamond web font). */
.news-article__body,
.news-article__body * {
  font-family: Garamond, 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.news-article__body p {
  margin: 0 0 1.25em;
  line-height: 1.5;
}
.news-article__body em,
.news-article__body i {
  font-style: italic;
}
.news-article__dateline {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.92em;
}
.news-share {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.news-share__label {
  display: block;
  margin-bottom: 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-dark);
}
.news-share__buttons {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.news-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 38px;
  padding: 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(10px, 2.8vw, 13px);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  border-radius: 6px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.news-share__btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.news-share__btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.news-share__btn--fb {
  background: #1877f2;
}
.news-share__btn--tw {
  background: #1d9bf0;
}
.news-share__btn--in {
  background: #0a66c2;
}
.news-share__btn--mail {
  background: #c8102e;
}
.news-article-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-widget {
  padding: 0;
}
.sidebar-widget__title {
  margin: 0 0 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dark);
}
.sidebar-widget__dots {
  display: flex;
  gap: 6px;
  margin: -6px 0 16px;
}
.sidebar-widget__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8102e;
}
.sidebar-widget--social .sidebar-widget__title {
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(200, 16, 46, 0.35);
}
.sidebar-widget--social p {
  margin: 12px 0 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.sidebar-widget--social a {
  font-weight: 600;
  color: var(--navy);
}
.sidebar-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-news-list li {
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(15, 46, 103, 0.1);
}
.sidebar-news-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.sidebar-news-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
  text-decoration: none;
}
.sidebar-news-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sidebar-news-list__arrow {
  flex-shrink: 0;
  margin-top: 3px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--navy);
}
@media (max-width: 980px) {
  .news-article-layout {
    grid-template-columns: 1fr;
  }
  .news-article-sidebar {
    position: static;
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .news-article-sidebar .sidebar-widget--social {
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
  }
}

.media-intro {
  max-width: 48rem;
  margin: 0 auto 36px;
  padding: 0 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  text-align: center;
}
.media-intro p {
  margin: 0;
}
.media-intro code {
  font-size: 0.88em;
  padding: 2px 6px;
  background: rgba(15, 46, 103, 0.06);
  border-radius: 4px;
  border: 1px solid var(--line);
}
.media-video-card__meta code {
  font-size: 0.9em;
}
/* Video library grid: 3 × 2 (6 items per page) */
.media-grid--video {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 0 0;
}
.media-video-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 46, 103, 0.09);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 36px rgba(8, 26, 58, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.media-video-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 48px rgba(8, 26, 58, 0.11);
}
.media-video-card__embed {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #0a0f18;
  aspect-ratio: 16 / 9;
  box-shadow: none;
}
.media-video-card__embed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  border-radius: 0;
}
.media-video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.media-video-card__body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.media-video-card__title {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.media-video-card__meta {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.media-video-card__note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  opacity: 0.9;
}
@media (max-width: 1100px) {
  .media-grid--video {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    max-width: 720px;
  }
}
@media (max-width: 900px) {
  .news-page .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .speeches-page .speeches-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
  }
}
@media (max-width: 720px) {
  .speeches-page .speeches-list {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .speeches-page .speech-row {
    flex-direction: column;
  }
  .speeches-page .speeches-list .speech-row__media {
    flex: none;
    max-width: none;
    width: 100%;
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }
  .speeches-page .speeches-list .speech-row__media img {
    min-height: 0;
  }
  .speeches-page .speeches-list .speech-row__body {
    padding: 18px 18px 20px;
  }
  .speeches-page .speeches-list .speech-row__title {
    font-size: clamp(0.72rem, 1.2vw, 0.88rem);
  }
}
@media (max-width: 560px) {
  .news-page .news-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  .media-grid--video {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Presidential Advisors & Envoys — match Vice Presidents page look */
.office-roster-page {
  padding-top: 36px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #eef0f4 0%, #f6f7f9 45%, #fafbfc 100%);
}
.office-roster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 100%;
  margin: 0 auto;
}
.office-roster-grid--envoys {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
}
.office-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 46, 103, 0.1);
  box-shadow: 0 12px 32px rgba(8, 26, 58, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8, 26, 58, 0.1);
}
.office-card__media {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e4e7ed;
}
.office-card__media--crest {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #e4e7ed;
}
.office-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.office-card__media--crest img {
  width: auto;
  height: auto;
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  object-position: center center;
}
.office-card__body {
  padding: 16px 12px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.office-card__name {
  margin: 0 0 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-dark);
}
.office-card__role {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(11px, 1vw, 12.5px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 1024px) {
  .office-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .office-roster-page {
    padding-bottom: 64px;
  }
  .office-roster-grid {
    gap: 14px;
  }
}
@media (max-width: 520px) {
  .office-roster-grid,
  .office-roster-grid--envoys {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

.gov-section-title {
  margin: 0 0 0;
  padding: 11px 18px;
  width: 100%;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(9px, 1.65vw + 4px, 15px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--navy-dark);
  background: linear-gradient(165deg, var(--banner-top) 0%, var(--banner-mid) 45%, var(--banner-base) 100%);
  border: 1px solid var(--banner-border);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 4px 16px var(--banner-glow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.25;
}
.gov-section-title + * {
  margin-top: 0;
}
.gov-section-title--spaced {
  margin-top: 36px;
}
.gov-section-title--tight-top {
  margin-top: 20px;
}
.page-section {
  padding: 28px 0 72px;
}

/* Events calendar — presidential schedule */
.events-calendar-page {
  padding-top: 8px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #f6f8fc 0%, #fafbfe 45%, #fff 100%);
}
.events-month-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 46, 103, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(8, 26, 58, 0.05);
}
.events-month-bar h2 {
  margin: 0;
  min-width: 200px;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--navy-dark);
}
.events-month-bar__label {
  min-width: 200px;
  text-align: center;
}
.events-calendar-subtitle {
  margin: 0.35rem 0 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.events-month-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(15, 46, 103, 0.18);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.events-month-bar__btn:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
  box-shadow: 0 4px 14px rgba(184, 148, 58, 0.2);
}
.events-month-bar__btn:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}
.events-month-bar__btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}
.events-month-bar__btn:disabled:hover {
  border-color: rgba(15, 46, 103, 0.18);
  color: var(--navy);
}
.events-month-bar__btn-text--narrow {
  display: none;
}
@media (max-width: 640px) {
  .events-month-bar {
    gap: 8px;
    padding: 12px 10px;
    justify-content: space-between;
    align-items: center;
  }
  .events-month-bar__btn-text--wide {
    display: none;
  }
  .events-month-bar__btn-text--narrow {
    display: inline;
    font-size: 1.15rem;
    line-height: 1;
  }
  .events-month-bar__label {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    padding: 0 4px;
  }
  .events-month-bar h2 {
    min-width: 0;
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  }
  .events-calendar-subtitle {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .events-month-bar__btn--nav {
    flex: 0 0 auto;
    padding: 0 10px;
    min-width: 40px;
    font-size: 13px;
  }
}
.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.events-list > li {
  display: flex;
  min-height: 0;
}
.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 24px;
  align-items: stretch;
  flex: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(15, 46, 103, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(8, 26, 58, 0.06);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.event-card:hover {
  box-shadow: 0 16px 42px rgba(8, 26, 58, 0.1);
  transform: translateY(-2px);
}
.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 20px 16px;
  background: linear-gradient(160deg, #0f2e67 0%, #1a3f7a 100%);
  color: #fff;
  text-align: center;
}
.event-card__day {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}
.event-card__mon {
  margin-top: 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}
.event-card__body {
  padding: 22px 24px 22px 0;
}
.event-card__title {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-dark);
}
.event-card__meta {
  margin: 0 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.event-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
@media (max-width: 900px) {
  .events-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .event-card {
    grid-template-columns: 1fr;
  }
  .event-card__date {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
  }
  .event-card__mon {
    margin-top: 0;
  }
  .event-card__body {
    padding: 18px 20px 22px;
  }
}

/* Official documents (resources) — grid list */
.resources-documents-page {
  padding-top: 12px;
}
.document-card .doc-badge {
  margin-bottom: 10px;
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 20px;
  max-width: 100%;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.document-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  min-height: 100%;
  box-sizing: border-box;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid rgba(15, 46, 103, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(8, 26, 58, 0.06);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.document-card:hover {
  box-shadow: 0 16px 40px rgba(8, 26, 58, 0.1);
  transform: translateY(-2px);
  border-color: rgba(15, 46, 103, 0.14);
}
.document-card__date,
.resource-card__date {
  display: block;
  margin: 0 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.document-card__title {
  margin: 0 0 18px;
  flex: 1;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-dark);
}
.document-card__action {
  margin-top: auto;
  text-decoration: none;
  align-self: stretch;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .document-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* Creative pagination — capsule track + range hint (documents, speeches, media) */
.page-pager {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 0 16px;
  text-align: center;
}
.resources-documents-page .page-pager {
  margin-top: 36px;
}
.media-page .page-pager {
  margin-top: 36px;
}
.page-pager__range {
  margin: 0 0 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-pager__range strong {
  color: var(--navy-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.page-pager__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 10px;
  padding: 12px 16px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid rgba(15, 46, 103, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 28px rgba(8, 26, 58, 0.07);
  position: relative;
}
.page-pager__track::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.85;
  pointer-events: none;
}
.page-pager__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-dark);
  border: 1px solid rgba(15, 46, 103, 0.18);
  background: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.page-pager__step:hover:not(.page-pager__step--disabled) {
  background: rgba(216, 171, 71, 0.18);
  border-color: rgba(186, 141, 48, 0.45);
}
.page-pager__step--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.page-pager__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-pager__list a,
.page-pager__here {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-dark);
  border: 1px solid rgba(15, 46, 103, 0.1);
  background: rgba(248, 249, 251, 0.9);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.page-pager__list a:hover {
  background: rgba(216, 171, 71, 0.15);
  border-color: rgba(186, 141, 48, 0.35);
  transform: translateY(-1px);
}
.page-pager__here {
  background: linear-gradient(165deg, rgba(216, 171, 71, 0.45) 0%, rgba(216, 171, 71, 0.2) 100%);
  border-color: rgba(186, 141, 48, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  font-weight: 700;
}
.page-pager__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.08em;
  user-select: none;
}
@media (max-width: 520px) {
  .page-pager__track {
    border-radius: 20px;
    flex-direction: column;
    padding-bottom: 16px;
  }
  .page-pager__track::before {
    left: 8%;
    right: 8%;
  }
  .page-pager__step {
    width: 100%;
    max-width: 220px;
  }
}

/* Vice Presidents grid */
.vp-page {
  padding-top: 36px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #eef0f4 0%, #f6f7f9 45%, #fafbfc 100%);
}
.vp-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  max-width: 100%;
  margin: 0 auto;
}
.vp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 46, 103, 0.1);
  box-shadow: 0 12px 32px rgba(8, 26, 58, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8, 26, 58, 0.1);
}
.vp-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e4e7ed;
}
.vp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.vp-card__body {
  padding: 16px 12px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.vp-card__name {
  margin: 0 0 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-dark);
}
.vp-card__role {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(11px, 1vw, 12.5px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .vp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .vp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .vp-page {
    padding-bottom: 64px;
  }
}
@media (max-width: 480px) {
  .vp-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}
.about-copy p {
  margin: 0 0 14px;
  line-height: 1.7;
  text-align: justify;
  text-wrap: pretty;
}
.about-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

/* First Lady: portrait + caption left, body right; stacks image-first on narrow viewports */
.first-lady-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: 32px;
  align-items: start;
}
.first-lady-grid > .first-lady-copy--full {
  grid-column: 1 / -1;
}
.first-lady-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
}
/* President page (and any profile using this): square portrait frame */
.first-lady-media--square {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #e8eaef;
}
.first-lady-media--square img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.first-lady-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.first-lady-caption {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
}
/* Leader aside: fixed name size (no responsive clamp); role uses Times New Roman stack */
p.first-lady-name,
.first-lady-name {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  white-space: normal;
}
p.first-lady-role,
.first-lady-role {
  margin: 0 auto;
  max-width: 36ch;
  font-family: "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: rgba(33, 33, 33, 1);
  text-wrap: pretty;
}
p.first-lady-role.first-lady-role--long,
.first-lady-role.first-lady-role--long {
  max-width: min(420px, 100%);
  line-height: 1.5;
  text-align: center;
}
.first-lady-copy p {
  margin: 0 0 14px;
  line-height: 1.7;
  text-align: justify;
  text-wrap: pretty;
}
.first-lady-copy p:last-child {
  margin-bottom: 0;
}
.first-lady-copy__body {
  text-align: justify;
  text-wrap: pretty;
}
.first-lady-copy__body h1,
.first-lady-copy__body h2,
.first-lady-copy__body h3 {
  text-align: left;
}
.first-lady-copy__body > :first-child {
  margin-top: 0;
}

.first-lady-copy .lead {
  font-weight: 600;
}
.first-lady-copy h3 {
  margin: 22px 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.first-lady-copy h3:first-of-type {
  margin-top: 0;
}

/* CMS full bio: lists, links, emphasis (dashboard HTML) */
.first-lady-copy ul,
.first-lady-copy ol {
  margin: 0 0 14px;
  padding-left: 1.35rem;
  line-height: 1.7;
  text-align: left;
}
.first-lady-copy li {
  margin-bottom: 0.35rem;
}
.first-lady-copy li:last-child {
  margin-bottom: 0;
}
.first-lady-copy a {
  color: var(--gold, #c5a059);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.first-lady-copy a:hover {
  opacity: 0.92;
}
.first-lady-copy strong,
.first-lady-copy b {
  font-weight: 700;
}
.first-lady-copy em,
.first-lady-copy i {
  font-style: italic;
}
.first-lady-copy blockquote {
  margin: 14px 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(14, 24, 49, 0.2);
  font-style: italic;
  color: var(--muted);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  max-width: 100%;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section-divider__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 171, 71, 0.25);
  flex-shrink: 0;
}

.key-functions {
  margin-top: 8px;
}
.key-functions h2 {
  margin: 0 0 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.key-functions ul {
  margin: 0;
  padding: 0 0 0 1.2em;
  list-style: disc;
}
.key-functions li {
  margin-bottom: 8px;
  line-height: 1.6;
  text-align: justify;
  text-wrap: pretty;
}

.ministry-body .block-heading {
  margin: 28px 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.ministry-body .block-heading:first-child {
  margin-top: 0;
}
.ministry-body p {
  margin: 0 0 14px;
  line-height: 1.7;
  text-align: justify;
  text-wrap: pretty;
}
.ministry-body p:last-child {
  margin-bottom: 0;
}
.ministry-body > ul:not(.structure-list) {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.ministry-body > ul:not(.structure-list) > li {
  margin-bottom: 8px;
  line-height: 1.6;
  text-align: justify;
  text-wrap: pretty;
}

.structure-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.structure-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}
.structure-list li:last-child {
  border-bottom: none;
}
.structure-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--gold);
}

.legal-page {
  max-width: 820px;
  margin-left: 0;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.legal-page p,
.legal-page .key-functions li {
  text-align: left;
}
.legal-page__block p:last-child {
  margin-bottom: 0;
}
.legal-page__key-functions {
  margin-top: 4px;
}
.legal-page__key-functions h2 {
  text-align: left;
}
.legal-page__key-functions ul {
  margin-top: 6px;
}

.ministry-page .ministry-hero {
  margin-bottom: 8px;
}

/* Hero: keep the text column flush to the top with the portrait (same horizontal row start as the image). */
.ministry-page .ministry-hero.first-lady-grid {
  align-items: start;
}
.ministry-page .ministry-hero .first-lady-aside {
  align-self: start;
}
.ministry-page .ministry-hero .first-lady-media {
  margin-top: 0;
}
.ministry-page .ministry-hero .ministry-body.ministry-intro {
  align-self: start;
  margin-top: 0;
  padding-top: 0;
}
.ministry-page .ministry-overview {
  margin-top: 0;
  padding-top: 0;
}
.ministry-page .ministry-overview > :first-child {
  margin-top: 0;
}
/* Rich text from CMS may repeat layout class names; avoid double offset */
.ministry-page .ministry-overview .ministry-body.ministry-intro {
  margin-top: 0;
  padding-top: 0;
}

.vm-tabs {
  margin-top: 24px;
}
.vm-tabs__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
}
.vm-tabs__btn {
  flex: 1;
  min-width: 120px;
  max-width: 220px;
  padding: 12px 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid #c5cbd6;
  background: #eef1f6;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.vm-tabs__btn:hover {
  background: #e4e9f1;
  color: var(--ink);
}
.vm-tabs__btn.active {
  background: #5a6169;
  color: #fff;
  border-color: #5a6169;
  position: relative;
}
.vm-tabs__btn.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #5a6169;
}
.vm-tabs__panels {
  border: 1px solid var(--line);
  border-top: none;
  background: #fafbfd;
  padding: 18px 20px;
}
.vm-tabs__panel {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  text-align: justify;
  text-wrap: pretty;
}
.vm-tabs__panel[hidden] {
  display: none;
}

.ministry-key-functions {
  margin-top: 36px;
  padding-top: 8px;
}
.ministry-key-functions.key-functions h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.ministry-key-functions.key-functions > p {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
}

.ministry-structure {
  margin-top: 52px;
  padding-top: 0;
}
.ministry-structure__title {
  margin: 0 0 8px;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.28rem, 2.75vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-dark);
  position: relative;
}
.ministry-structure__title::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--gold) 65%, transparent);
}
.ministry-structure__subtitle {
  margin: 0 auto 24px;
  max-width: 36rem;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
}

.ministry-structure__panel {
  position: relative;
  margin-top: 8px;
  padding: clamp(28px, 4vw, 44px) clamp(14px, 3vw, 28px) 40px;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 252, 0.96) 55%, rgba(255, 255, 255, 0.99) 100%),
    repeating-linear-gradient(
      -8deg,
      transparent,
      transparent 14px,
      rgba(15, 46, 103, 0.025) 14px,
      rgba(15, 46, 103, 0.025) 15px
    );
  border: 1px solid rgba(15, 46, 103, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 28px 56px rgba(8, 26, 58, 0.09),
    0 2px 8px rgba(8, 26, 58, 0.04);
  overflow: hidden;
}
.ministry-structure__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 42%, var(--gold) 100%);
  opacity: 0.95;
}
.ministry-structure__panel::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(200px, 40%);
  height: min(200px, 35%);
  background: radial-gradient(ellipse at 100% 100%, rgba(216, 171, 71, 0.09), transparent 70%);
  pointer-events: none;
}

.org-chart--creative {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.org-chart__level {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.org-chart__level--executive {
  padding-bottom: 4px;
}
.org-chart__connector {
  display: flex;
  justify-content: center;
  padding: 6px 0 10px;
}
.org-chart__connector span {
  width: 3px;
  height: 26px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(15, 46, 103, 0.45) 100%);
}
.org-chart__connector--glow span {
  box-shadow: 0 0 16px rgba(216, 171, 71, 0.45);
}

.org-chart__fork {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  height: 44px;
  line-height: 0;
}
.org-chart__fork-svg {
  display: block;
  width: 100%;
  height: 44px;
}

.org-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.org-node__ribbon {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  box-shadow: 0 2px 8px rgba(8, 26, 58, 0.2);
}
.org-node__ribbon--subtle {
  background: linear-gradient(135deg, #5a6578, #3d4a5c);
  box-shadow: none;
}

.org-node--executive {
  max-width: 300px;
  padding: 22px 24px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%);
  border: 1px solid rgba(15, 46, 103, 0.14);
  box-shadow:
    0 10px 28px rgba(8, 26, 58, 0.11),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  position: relative;
}
.org-node--executive::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--gold), #e8c566, var(--gold));
}
.org-node--executive .org-node__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff6d0, #e8c566 42%, #b8892a 88%, #8a6a22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 20px rgba(15, 46, 103, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: #0f1f3d;
}
.org-node--executive .org-node__icon svg {
  width: 34px;
  height: 34px;
}
.org-node--executive .org-node__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.org-node--admin {
  max-width: 280px;
  padding: 18px 20px 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 46, 103, 0.12);
  box-shadow: 0 6px 20px rgba(8, 26, 58, 0.08);
}
.org-node--admin .org-node__icon--admin {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5e9c8, #d4af52 55%, #9e7a28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 46, 103, 0.12);
  color: #1a2744;
}
.org-node--admin .org-node__icon--admin svg {
  width: 30px;
  height: 30px;
}

.org-node--unit {
  max-width: 100%;
  width: 100%;
  padding: 16px 14px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  border: 1px solid rgba(15, 46, 103, 0.08);
  box-shadow: 0 2px 10px rgba(8, 26, 58, 0.05);
}
.org-node--unit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(8, 26, 58, 0.1);
  border-color: rgba(216, 171, 71, 0.35);
}
.org-node--unit .org-node__icon--unit {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f8f0d8, #d4b056 55%, #a88430);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(15, 46, 103, 0.1);
  color: #1a2744;
}
.org-node--unit .org-node__icon--unit svg {
  width: 24px;
  height: 24px;
}

.org-node__icon svg {
  flex-shrink: 0;
}
.org-node__label {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  line-height: 1.38;
  font-weight: 600;
  color: var(--ink);
}

/* Ministry Structure section only: larger readable typography */
.ministry-structure .org-node__ribbon {
  font-size: 11px;
  padding: 5px 16px;
  letter-spacing: 0.16em;
}
.ministry-structure .org-node__label {
  font-size: 18px;
  line-height: 1.42;
}
.ministry-structure .org-node--executive .org-node__label {
  font-size: 1.22rem;
}
.ministry-structure .org-node--executive .org-node__icon svg {
  width: 36px;
  height: 36px;
}
.ministry-structure .org-node--admin .org-node__icon--admin svg {
  width: 32px;
  height: 32px;
}
.ministry-structure .org-node--unit .org-node__icon--unit svg {
  width: 26px;
  height: 26px;
}

.org-chart__columns--creative {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 14px;
  align-items: start;
  margin-top: 6px;
  padding-top: 8px;
}
.org-chart__column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 12px 8px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(15, 46, 103, 0.12);
}

@media (max-width: 900px) {
  .org-chart__fork {
    display: none;
  }
  .org-chart__columns--creative {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .org-chart__column {
    border-style: solid;
    border-color: rgba(15, 46, 103, 0.08);
  }
  .vm-tabs__btn {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .org-node--unit {
    transition: none;
  }
  .org-node--unit:hover {
    transform: none;
  }
}

.symbols-page h2:not(.gov-section-title) {
  margin: 36px 0 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-align: center;
}
.symbols-page > .container > h2:first-of-type:not(.gov-section-title) {
  margin-top: 8px;
}
.symbols-page--gov h2.gov-section-title.gov-section-title--spaced {
  margin-top: 36px;
}
.symbol-block h3 {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}
.symbol-block {
  margin-bottom: 40px;
}
.symbol-block__media {
  margin: 0 auto 18px;
  max-width: 420px;
  text-align: center;
}
.symbol-block__media img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.symbol-block__media--wide {
  max-width: 520px;
}
.symbol-block p,
.symbols-intro p {
  margin: 0 0 14px;
  line-height: 1.7;
  text-align: justify;
  text-wrap: pretty;
}

/* South Sudan page — creative government layout */
.symbols-page--gov {
  padding-top: 32px;
  padding-bottom: 80px;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.65) 0%, #fff 18%, #fff 100%);
}
.symbols-page--gov.symbols-page--creative {
  padding-top: 28px;
  padding-bottom: 88px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(216, 171, 71, 0.08), transparent 55%),
    linear-gradient(185deg, #eef2f8 0%, #fafbfd 38%, #ffffff 100%);
}
.symbols-page--gov .symbols-intro {
  max-width: none;
  width: 100%;
  margin: 0 auto 28px;
}
/* Intro copy uses full section width; tighter horizontal padding so text runs edge-to-edge in the card */
.symbols-page--gov .symbols-intro .ss-panel {
  padding: 18px 12px 20px 14px;
}
.ss-panel {
  position: relative;
  padding: 22px 22px 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(15, 46, 103, 0.06);
}
.ss-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}
.ss-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 28px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.ss-gallery__item {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(15, 46, 103, 0.12);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 32px rgba(8, 26, 58, 0.1);
  background: var(--navy-dark);
}
.ss-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ss-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ss-gallery__caption {
  display: none;
}
.ss-post-gallery {
  max-width: 52rem;
  margin: 0 auto 8px;
}
.symbols-page--gov .symbols-intro .ss-post-gallery {
  max-width: none;
  width: 100%;
}

/* Ceremony mosaic — supplied state photographs */
.ss-ceremony {
  margin: 28px auto 36px;
  max-width: 1100px;
}
.ss-ceremony__strip {
  height: 8px;
  border-radius: 4px;
  margin-bottom: 22px;
  background: var(--ss-grey-accent-bar);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.ss-ceremony__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: end;
}
.ss-ceremony__fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ss-ceremony__frame {
  border-radius: 14px;
  overflow: hidden;
  background: #0c1220;
  box-shadow:
    0 16px 40px rgba(8, 26, 58, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.ss-ceremony__frame img {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ss-ceremony__fig--hero {
  z-index: 1;
}
.ss-ceremony__fig--hero .ss-ceremony__frame {
  box-shadow:
    0 20px 48px rgba(8, 26, 58, 0.22),
    0 0 0 2px rgba(255, 255, 255, 0.98),
    0 0 0 4px rgba(216, 171, 71, 0.38);
  transform: translateY(-16px);
}
/* Flags side by side (wide viewports) */
.ss-symbol-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 32px;
  align-items: stretch;
}
.ss-symbol-pair .ss-symbol-card {
  margin-bottom: 0;
}
.ss-symbol-card--crest .symbol-block__media--wide {
  margin-left: auto;
  margin-right: auto;
  max-width: 440px;
  padding: 24px 20px;
  border-radius: 16px;
  background: radial-gradient(ellipse 80% 70% at 50% 35%, #fff 0%, #eef3fa 100%);
  border: 1px solid rgba(15, 46, 103, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.ss-symbol-card--crest .symbol-block__media--wide img {
  margin: 0 auto;
}

/* South Sudan — smaller flag and crest imagery on creative gov page */
.symbols-page--gov.symbols-page--creative .ss-symbol-pair .symbol-block__media {
  max-width: 280px;
}
.symbols-page--gov.symbols-page--creative .ss-symbol-card--crest .symbol-block__media--wide {
  max-width: 300px;
  padding: 16px 14px;
}
.symbols-page--gov.symbols-page--creative .ss-symbol-card--crest .symbol-block__media--wide img {
  max-height: 200px;
  width: auto;
}

/* Anthem: thin national palette rule */
.anthem-box.ss-anthem-vault {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.anthem-box.ss-anthem-vault::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-radius: 11px 11px 0 0;
  background: var(--ss-grey-accent-bar);
}

.symbols-page--creative .flag-meanings li {
  padding-left: 12px;
  margin-left: 0;
  border-left: 3px solid rgba(216, 171, 71, 0.65);
}

.ss-symbol-card {
  margin-bottom: 32px;
  border-radius: 14px;
  border: 1px solid rgba(15, 46, 103, 0.1);
  background: linear-gradient(165deg, #fff 0%, #fafbfd 100%);
  box-shadow: 0 16px 40px rgba(8, 26, 58, 0.07);
  overflow: hidden;
}
.ss-symbol-card .gov-section-title {
  border-radius: 0;
  border-left: none;
  border-right: none;
  margin: 0;
}
.ss-symbol-card__body {
  padding: 22px 22px 26px;
}
.ss-symbol-card__body .symbol-block__media {
  margin-bottom: 20px;
}
.symbols-page--gov .flag-meanings li strong {
  color: var(--navy-dark);
}
.anthem-words-heading {
  margin: 18px 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  color: var(--navy-dark);
}
.symbols-page--gov .anthem-words-heading {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  margin: 20px 0 18px;
  letter-spacing: 0.03em;
  text-align: center;
}
.symbols-page--gov .anthem-box {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(8, 26, 58, 0.05);
  text-align: center;
}
.symbols-page--gov .anthem-box.ss-anthem-vault {
  padding: 28px 26px 28px;
  border-radius: 12px;
}
.symbols-page--gov .anthem-verses {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.125rem, 2.45vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: 0.015em;
  color: var(--ink);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.symbols-page--gov .anthem-verses p {
  margin: 0 0 1.35em;
  line-height: 1.5;
}
.symbols-page--gov .anthem-verses p:last-child {
  margin-bottom: 0;
}
.symbols-page--gov .anthem-verses strong {
  display: block;
  margin-top: 0;
  margin-bottom: 0.35em;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.04em;
  letter-spacing: 0.04em;
  color: var(--navy-dark);
  text-align: center;
}

/* National anthem — match reference: plain white, centered black Times/Georgia, 1.6 line height */
.symbols-page--gov #national-anthem .gov-section-title {
  text-align: center;
}
.symbols-page--gov #national-anthem .ss-symbol-card__body {
  padding-left: clamp(18px, 5vw, 32px);
  padding-right: clamp(18px, 5vw, 32px);
  padding-bottom: 28px;
}
.symbols-page--gov #national-anthem .anthem-box.anthem-box--plain.ss-anthem-vault {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  box-shadow: none;
  background: #fff;
  padding: clamp(20px, 4vw, 36px) clamp(12px, 3vw, 28px) clamp(28px, 5vw, 40px);
  border-radius: 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.symbols-page--gov #national-anthem .anthem-box.anthem-box--plain.ss-anthem-vault::before {
  display: none;
}
.symbols-page--gov #national-anthem .anthem-verses {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #000;
  width: 100%;
  max-width: min(34rem, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}
.symbols-page--gov #national-anthem .anthem-verses__stanza {
  margin: 0 0 1.85em;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
}
.symbols-page--gov #national-anthem .anthem-verses__closing {
  margin: 0;
  line-height: 1.6;
  text-align: center;
}
.symbols-page--gov #national-anthem .anthem-verses__title {
  display: block;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0 0 0.5em;
  text-align: center;
}
.symbols-page--gov #national-anthem .anthem-verses__closing strong {
  display: block;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.02em;
  color: #000;
  text-align: center;
}

@media (max-width: 900px) {
  .ss-ceremony__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
  }
  .ss-ceremony__fig--hero {
    order: -1;
  }
  .ss-ceremony__fig--hero .ss-ceremony__frame {
    transform: none;
    box-shadow:
      0 18px 44px rgba(8, 26, 58, 0.22),
      inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  .ss-symbol-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ss-symbol-pair .ss-symbol-card:first-child {
    margin-bottom: 24px;
  }
}
@media (max-width: 768px) {
  .ss-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ss-gallery__item img {
    min-height: 200px;
  }
}
.flag-meanings {
  margin: 12px 0 0;
  padding: 0 0 0 1.2em;
}
.flag-meanings li {
  margin-bottom: 8px;
  line-height: 1.55;
}
.anthem-box {
  margin-top: 16px;
  padding: 20px 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
}
.anthem-box .anthem-box__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Cormorant Garamond', serif;
}
.anthem-box pre,
.anthem-verses {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
  text-align: center;
  color: var(--ink);
}

.hero-composite {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-composite__gate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-composite__wash {
  position: absolute;
  inset: 0;
  /* Softer on the left: home-bg already has a light / white vignette */
  background: linear-gradient(
    90deg,
    rgba(14, 28, 58, 0.78) 0%,
    rgba(14, 28, 58, 0.55) 28%,
    rgba(14, 28, 58, 0.28) 48%,
    rgba(14, 28, 58, 0.07) 68%,
    transparent 86%
  );
}
.hero-composite__president {
  position: absolute;
  right: max(-24%, -104px);
  bottom: 0;
  height: min(156%, 1200px);
  width: auto;
  max-width: min(86vw, 960px);
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.22));
  /* Soften a hard vertical clip / PNG edge on the right so the suit blends into the background */
  -webkit-mask-image: linear-gradient(
    to left,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 20px,
    rgba(0, 0, 0, 0.65) 56px,
    #000 112px
  );
  mask-image: linear-gradient(
    to left,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 20px,
    rgba(0, 0, 0, 0.65) 56px,
    #000 112px
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero-slide-composite .hero-content {
  position: relative;
  z-index: 1;
}
.hero-content {
  display: flex;
  align-items: center;
  padding: 40px 0;
  min-height: 540px;
}
.hero-copy {
  max-width: min(480px, 100%);
  color: #fff;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}
.eyebrow.navy { color: var(--navy); }
.hero-copy .eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 2.2px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}
.hero h1 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 700;
}
.hero-copy > p:not(.eyebrow) {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-buttons .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline {
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.btn-small {
  min-height: 42px;
  background: var(--navy);
  color: #fff;
  padding: 0 18px;
}
/* Home decrees + resources documents: same navy “View document” as primary small button */
.resource-grid .resource-card .btn.btn-small,
.resource-grid .resource-card a.btn.btn-small,
.resources-documents-page .document-card a.btn.btn-small.document-card__action,
.resources-documents-page .document-card .btn.btn-small.document-card__action {
  background-color: rgba(15, 46, 103, 1) !important;
  background: rgba(15, 46, 103, 1) !important;
  color: rgba(255, 255, 255, 1) !important;
  border: none;
}
.resource-grid .resource-card .btn.btn-small:hover,
.resource-grid .resource-card a.btn.btn-small:hover,
.resources-documents-page .document-card a.btn.btn-small.document-card__action:hover,
.resources-documents-page .document-card .btn.btn-small.document-card__action:hover {
  filter: brightness(1.08);
  color: rgba(255, 255, 255, 1) !important;
}
.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.slider-dots {
  display: flex;
  gap: 10px;
}
.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.42);
  cursor: pointer;
}
.slider-dots button.active { background: var(--gold); }

.section {
  padding: 56px 0;
}
.latest-section { padding-bottom: 40px; }
.speeches-section { padding-top: 24px; padding-bottom: 44px; }
.resources-section { padding-top: 24px; padding-bottom: 48px; }
.about-president { padding-top: 40px; }
.latest-section,
.resources-section { background: #fff; }
.speeches-section { background: var(--soft); }
.about-president { background: linear-gradient(180deg, #fff, #f8fafc); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.latest-section .section-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  color: var(--navy-dark);
}
.section-link {
  color: var(--navy);
  font-weight: 700;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Home Latest: placeholder layout while /api/news loads (real cards replace via cms-api.js). */
.news-card--skeleton {
  box-shadow: 0 12px 32px rgba(18, 31, 62, 0.06);
}
.news-card__skeleton-img {
  height: 220px;
  background: linear-gradient(90deg, #e8ecf2 0%, #f0f3f8 45%, #e8ecf2 90%);
  background-size: 220% 100%;
  animation: home-news-skeleton-shimmer 1.15s ease-in-out infinite;
}
.news-card--skeleton .news-body {
  padding: 20px;
}
.news-card__skeleton-line {
  display: block;
  height: 12px;
  margin-bottom: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e8ecf2 0%, #f0f3f8 45%, #e8ecf2 90%);
  background-size: 220% 100%;
  animation: home-news-skeleton-shimmer 1.15s ease-in-out infinite;
}
.news-card__skeleton-line--title {
  height: 18px;
  width: 92%;
  margin-bottom: 14px;
}
.news-card__skeleton-line--meta {
  width: 40%;
  height: 11px;
  margin-bottom: 16px;
}
.news-card__skeleton-line--short {
  width: 78%;
  margin-bottom: 0;
}
@keyframes home-news-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.home-news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  color: var(--muted);
}

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(18,31,62,.07);
}
.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.news-body {
  padding: 20px;
  font-family: Inter, system-ui, sans-serif;
}
.news-body h3 {
  margin: 0 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-dark);
}
.news-title-link {
  color: inherit;
  text-decoration: none;
}
.news-title-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.news-card .text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
}
.news-card .text-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.meta, .speech-date {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.news-body p {
  margin: 0 0 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.news-body p:not(.meta) {
  color: var(--ink);
}
.news-body p.meta {
  color: var(--muted);
}
.text-link {
  color: var(--navy);
  font-weight: 700;
}

.resource-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.resource-tab {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-dark);
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}
a.resource-tab,
button.resource-tab--link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.resource-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}
.resource-panel { display: none; }
.resource-panel.active { display: block; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(18,31,62,.06);
}
.doc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(216,171,71,.18);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.resource-card__date {
  margin-top: 12px;
}
.resource-card h3 {
  margin: 16px 0 10px;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.45;
  color: var(--navy-dark);
}
.resource-card p {
  margin: 0 0 18px;
  line-height: 1.7;
}

.president-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.president-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center top;
}
.president-copy {
  padding: 52px 48px 56px;
  font-family: Inter, system-ui, sans-serif;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.president-copy .eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.president-copy h2 {
  margin: 0 0 22px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(20px, 2.35vw + 11px, 34px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .president-copy h2 {
    white-space: normal;
    font-size: 1.15rem;
  }
}
.president-copy p:not(.eyebrow) {
  margin: 0 0 1.28em;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.68;
  color: #333;
  text-align: justify;
  text-justify: inter-word;
}
.president-copy p:not(.eyebrow):last-of-type {
  margin-bottom: 1.65em;
}
.president-copy .btn {
  align-self: flex-start;
  min-height: 54px;
  padding: 0 22px;
  font-size: 16px;
  border-radius: 11px;
}

/* CMS rich text (TinyMCE) for home spotlight — matches paragraph rhythm */
.president-copy .president-spotlight-html {
  width: 100%;
  margin: 0 0 1.28em;
}
.president-copy .president-spotlight-html:last-child {
  margin-bottom: 1.65em;
}
.president-copy .president-spotlight-html p,
.president-copy .president-spotlight-html li {
  margin: 0 0 1.28em;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.68;
  color: #333;
  text-align: justify;
  text-justify: inter-word;
}
.president-copy .president-spotlight-html p:last-child,
.president-copy .president-spotlight-html li:last-child {
  margin-bottom: 0;
}
.president-copy .president-spotlight-html h1,
.president-copy .president-spotlight-html h2,
.president-copy .president-spotlight-html h3,
.president-copy .president-spotlight-html h4 {
  margin: 1em 0 0.65em;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}
.president-copy .president-spotlight-html h3:first-child,
.president-copy .president-spotlight-html h2:first-child,
.president-copy .president-spotlight-html h1:first-child {
  margin-top: 0;
}
.president-copy .president-spotlight-html ul,
.president-copy .president-spotlight-html ol {
  margin: 0 0 1.28em;
  padding-left: 1.35rem;
  font-size: 18px;
  line-height: 1.68;
  color: #333;
}
.president-copy .president-spotlight-html a {
  color: var(--gold, #c5a059);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.president-copy .president-spotlight-html blockquote {
  margin: 0 0 1em;
  padding-left: 1rem;
  border-left: 3px solid rgba(17, 17, 17, 0.2);
  font-style: italic;
  color: #444;
}

.site-footer {
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
  color: #fff;
  padding-top: 56px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 34px;
}
.footer-grid > div:nth-child(1) { justify-self: start; }
.footer-grid > div:nth-child(2) { justify-self: center; }
.footer-grid > div:nth-child(3) { justify-self: start; margin-left: clamp(12px, 3vw, 40px); }
.site-footer h3 {
  margin: 0 0 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.86);
}
.site-footer a:hover { color: #fff; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-seal {
  width: 54px;
  height: auto;
  flex-shrink: 0;
}
.footer-brand__kicker {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.25;
}
.footer-brand__sub {
  font-family: Inter, system-ui, sans-serif;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.25;
  margin-top: 4px;
}
.footer-mission {
  margin: 0;
  max-width: 44ch;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,.86);
}
.footer-social {
  margin-top: 14px;
}
.site-footer .topbar-social__link {
  color: rgba(255,255,255,.86);
}
.site-footer .topbar-social__link:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .news-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .president-card { grid-template-columns: 1fr; }
  .president-media img { min-height: 360px; }
}

@media (max-width: 980px) {
  .desktop-only { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    border-top: 0;
    border-bottom-width: 3px;
    transition: max-height .25s ease;
  }
  .main-nav.open {
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-inner {
    display: block;
    padding-top: 8px;
  }
  .nav-list {
    display: block;
    padding: 12px 0;
  }
  .nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .has-dropdown > a::after {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-right: 4px;
    border-right: 2px solid rgba(255,255,255,.86);
    border-bottom: 2px solid rgba(255,255,255,.86);
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
  }
  .has-dropdown.open > a::after {
    transform: rotate(-135deg) translateY(-1px);
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 100%;
    border-radius: 12px;
    margin: 8px 0 14px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .mobile-actions {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0 20px;
  }
  .hero-slide,
  .hero-content {
    min-height: 480px;
  }
  .hero-content {
    padding: 32px 0;
  }
  .hero-composite__president {
    max-width: min(78vw, 820px);
    height: min(148%, 1040px);
    right: max(-26%, -72px);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media {
    order: -1;
  }
  .first-lady-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    min-width: 0;
  }
  .first-lady-grid > .first-lady-copy--full {
    min-width: 0;
  }
  .first-lady-copy {
    min-width: 0;
    width: 100%;
  }
  .first-lady-copy__body,
  .first-lady-copy p {
    text-align: justify;
  }
  .first-lady-copy .key-functions li {
    text-align: justify;
  }
  .first-lady-aside {
    align-items: center;
    width: 100%;
    max-width: 100%;
  }
  .first-lady-caption {
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
  p.first-lady-role,
  .first-lady-role,
  p.first-lady-role.first-lady-role--long,
  .first-lady-role.first-lady-role--long {
    max-width: 100%;
  }
  .first-lady-media {
    width: 100%;
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
  .first-lady-media img {
    max-width: min(420px, 100%);
  }
  .first-lady-media--square {
    max-width: min(420px, 100%);
  }
  .first-lady-media--square img {
    max-width: none;
    width: 100%;
    height: 100%;
  }
  .symbols-page h2:not(.gov-section-title) {
    text-align: left;
  }
  .anthem-box pre,
  .anthem-verses {
    font-size: 15px;
    text-align: left;
  }
  .symbols-page--gov .anthem-box .anthem-verses {
    font-size: clamp(1.0625rem, 2.65vw, 1.4rem);
    line-height: 1.5;
    text-align: center;
  }
  .symbols-page--gov .anthem-box .anthem-verses p {
    line-height: 1.5;
  }
  .symbols-page--gov #national-anthem .anthem-box .anthem-verses {
    font-size: clamp(1rem, 2.6vw, 1.125rem);
    line-height: 1.6;
    text-align: center;
  }
  .symbols-page--gov #national-anthem .anthem-box .anthem-verses .anthem-verses__stanza,
  .symbols-page--gov #national-anthem .anthem-box .anthem-verses .anthem-verses__closing {
    line-height: 1.6;
  }
  .footer-grid {
    gap: 22px;
  }
  .footer-grid > div:nth-child(1),
  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3) {
    justify-self: stretch;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    display: block;
    font-size: 13px;
  }
  .topbar-inner {
    justify-content: space-between;
    gap: 10px 14px;
    padding: 8px 0;
    flex-wrap: wrap;
  }
  .topbar-left {
    gap: 10px 14px;
    flex-wrap: wrap;
  }
  .topbar-right {
    display: flex;
    gap: 12px;
  }
  .topbar-social {
    gap: 10px;
  }
  .topbar-social__link svg {
    width: 14px;
    height: 14px;
  }
  .topbar-flag {
    padding-left: 12px;
  }
  .topbar-flag__img {
    width: 30px;
    max-height: 18px;
  }
  .container { width: min(100% - 24px, var(--site-max-width)); }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1002;
    box-shadow: none;
    border-bottom: 3px solid rgba(216,171,71,.7);
  }
  body.nav-open .site-header {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .header-inner {
    gap: 10px;
    padding: 8px 0;
  }
  .brand {
    flex: 1;
  }
  .brand-lockup { width: min(100%, 240px); }
  .menu-toggle {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  .menu-toggle span {
    width: 30px;
    height: 3px;
  }
  .menu-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 9px)); }
  .menu-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 9px)); }
  .main-nav {
    top: 68px;
    z-index: 1001;
    border-bottom: 0;
  }
  .hero-slide,
  .hero-content { min-height: 450px; }
  .hero-content {
    padding: 28px 0;
  }
  .hero-slide-composite .hero-content {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 64px;
  }
  .hero-slide:not(.hero-slide-composite) .hero-content {
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 64px;
  }
  .hero-copy {
    max-width: 100%;
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 10px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .hero-buttons .btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }
  .hero-composite__wash {
    background: linear-gradient(
      105deg,
      rgba(14, 28, 58, 0.92) 0%,
      rgba(14, 28, 58, 0.78) 45%,
      rgba(14, 28, 58, 0.45) 72%,
      rgba(14, 28, 58, 0.12) 100%
    );
  }
  .hero-composite__president {
    max-width: min(96vw, 600px);
    height: min(135%, 840px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    object-position: bottom center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .slider-arrow { display: none; }
  .section { padding: 48px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .news-grid,
  .resource-grid { grid-template-columns: 1fr; }
  .news-card img { height: 210px; }
  .president-copy { padding: 32px 24px 36px; }
  .footer-bottom {
    flex-direction: column;
    padding-bottom: 22px;
    text-align: center;
    align-items: center;
    gap: 10px;
    font-size: 13px;
  }
  .footer-bottom p {
    margin: 0;
  }
  .footer-bottom p:last-child {
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,.82);
  }
  /* Mobile footer spacing + alignment + divider (only) */
  .footer-grid {
    gap: 26px;
    padding-bottom: 18px;
  }
  .footer-grid > div {
    text-align: left;
  }
  .footer-grid > div:nth-child(1) {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .footer-grid > div:nth-child(2) {
    padding-top: 10px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .footer-grid > div:nth-child(3) {
    padding-top: 10px;
  }
  .site-footer h3 {
    margin-bottom: 12px;
    font-size: 18px;
  }
  .site-footer li {
    margin-bottom: 10px;
    font-size: 14px;
  }
  .footer-mission {
    line-height: 1.55;
  }
}

@media (max-width: 640px) {
  .page-section {
    padding: 22px 0 56px;
  }
  .first-lady-grid {
    gap: 20px;
  }
  .first-lady-copy h3 {
    font-size: 1.125rem;
    margin: 18px 0 8px;
  }
  .first-lady-copy blockquote {
    margin: 12px 0;
    padding-left: 0.85rem;
  }
}

@media (max-width: 480px) {
  .page-banner h1 {
    font-size: clamp(8px, 2.65vw + 2px, 17px);
    letter-spacing: 0.035em;
  }
  .page-banner--serif h1 {
    font-size: clamp(8px, 2.45vw + 4px, 22px);
    letter-spacing: 0.04em;
  }
  .gov-section-title {
    font-size: clamp(8px, 2.4vw + 2px, 15px);
    padding: 9px 6px;
    letter-spacing: 0.055em;
  }
}

@media (max-width: 360px) {
  .page-banner h1 {
    font-size: clamp(7px, 2.35vw + 1px, 17px);
    letter-spacing: 0.025em;
  }
  .page-banner--serif h1 {
    font-size: clamp(7px, 2.2vw + 3px, 22px);
    letter-spacing: 0.03em;
  }
  .gov-section-title {
    font-size: clamp(7px, 2.15vw + 1px, 15px);
    padding: 8px 4px;
    letter-spacing: 0.045em;
  }
}

/* News / speech article — high specificity + end of file (wins over older cached rules) */
section.news-article-page article.news-article-main h1.news-article__title {
  font-family: 'EB Garamond', Garamond, 'Cormorant Garamond', Georgia, serif !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
}
section.news-article-page article.news-article-main .news-article__body,
section.news-article-page article.news-article-main .news-article__body * {
  font-family: Garamond, 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  text-align: justify !important;
}
section.news-article-page article.news-article-main .news-article__body {
  font-weight: 500 !important;
  border-style: none !important;
  border-width: 0 !important;
  border-color: rgba(0, 0, 0, 0) !important;
  border-image: none !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  section.news-article-page article.news-article-main .news-article__body {
    padding-left: 2% !important;
    padding-right: 2% !important;
  }
}
