/* ═══════════════════════════════════════════════════════════════
   PDPC TANZANIA — Design System
   Brand: PDPC Official Identity Guidelines 2024
   Primary:  Blue Lapis Lazuli #1155AA
   Accent:   Safety Yellow     #F7D701
   Base:     Ghost White       #FBFAFE
   Dark:     Black             #000000
   Fonts: Playfair Display (headings) + Outfit (UI)
   ═══════════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Quicksand:wght@300..700&display=swap");
/* ── Brand Tokens (PDPC Official Palette) ──────────────────── */
:root {
  /* ── Blue Lapis Lazuli — primary brand colour ── */
  --navy: #155eaa; /* darkest — backgrounds, ink          */
  --navy-plain: #009ef3; /* darkest — backgrounds, ink          */
  --navy-mid: #1155aa; /* OFFICIAL BRAND BLUE  #1155AA        */
  --navy-light: #2e74d4; /* hover states, links                 */
  --navy-pale: #e8f0fb; /* tinted backgrounds, cards           */

  /* ── Safety Yellow — official accent ── */
  --gold: #f7d701; /* OFFICIAL BRAND YELLOW #F7D701       */
  --gold-bright: #ffe84d; /* lighter yellow for hover            */
  --gold-dark: #c4ac00; /* darker for text on light bg         */
  --gold-pale: #fffbe6; /* very light yellow tint              */

  /* ── Ghost White & neutrals ── */
  --white: #ffffff;
  --off-white: #fbfafe; /* OFFICIAL GHOST WHITE #FBFAFE        */
  --ink: #000000; /* OFFICIAL BLACK #000000              */
  --body-text: #1a2b4a; /* dark blue-black for readability     */
  --muted: #5a6a82; /* secondary text                      */
  --border: #c8d8f0; /* borders on white                    */
  --border-light: #e4edfa; /* subtle dividers                     */

  --font-display: "Quicksand", sans-serif;
  --font-ui: "Outfit", system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(17, 85, 170, 0.08);
  --shadow-md: 0 4px 16px rgba(17, 85, 170, 0.14);
  --shadow-lg: 0 12px 40px rgba(17, 85, 170, 0.18);
  --shadow-xl: 0 24px 64px rgba(17, 85, 170, 0.22);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1180px;
  --container-wide: 1400px;
  --container-narrow: 780px;

  --bg-pattern: url("../img/bg_pattern.svg");
  --bg-nav-pattern: url("../img/banner.png");
  --navy-rgb: 21, 94, 170;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-ui);
  background: var(--white);
  color: var(--body-text);
  line-height: 1.65;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
ul {
  list-style: none;
}

/* ── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
h4 {
  font-size: 1.2rem;
  font-family: var(--font-ui);
  font-weight: 600;
}
p {
  font-size: 1rem;
  line-height: 1.75;
}

.display-xl {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--narrow {
  max-width: var(--container-narrow);
}
.section {
  padding-block: 6rem;
}
.section--sm {
  padding-block: 3rem;
}
.section--lg {
  padding-block: 8rem;
}

/* ── ROW 1: Topbar (navy) ──────────────────────────────────── */
.topbar {
  background: var(--navy);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(247, 215, 1, 0.2);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.topbar__social a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.topbar__social a:hover {
  color: var(--gold);
}
.topbar__divider {
  color: rgba(255, 255, 255, 0.2);
  margin-inline: 0.25rem;
}
.topbar__lang {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color var(--transition);
}
.topbar__lang:hover {
  color: var(--gold);
}
.topbar__utils {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.topbar__util-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.topbar__util-btn:hover {
  color: var(--gold);
}
.topbar__lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.6rem;
}

/* ── ROW 2: Identity band (white/light blue) ──────────────── */
.identity-band {
  background: #fbfafe; /* Ghost White */
  background-image: url("../img/banner_light.png");
  background-size: cover; /* Use 'auto' instead if it's a small repeating pattern */
  background-position: center; /* Keeps the most important part of the image visible */
  background-repeat: no-repeat; /* Use 'repeat' if it is a seamless pattern */
  border-bottom: 3px solid var(--gold); /* Safety Yellow */
  padding: 0.85rem 0;
  position: relative;
  overflow: hidden;
}
/* subtle dot pattern */
.identity-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(17, 85, 170, 0.05) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.identity-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
.identity-band__emblem {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
}
.identity-band__emblem img {
  width: 72px;
  height: auto;
  object-fit: contain;
}
.identity-band__emblem-fallback {
  font-size: 2.5rem;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
}
.identity-band__title-block {
  flex: 1;
  text-align: center;
}
.identity-band__republic {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 0.3rem;
}
.identity-band__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
  transition: color var(--transition);
}
.identity-band__name:hover {
  color: var(--navy-light);
}
.identity-band__right {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.identity-band__shield {
  display: flex;
  align-items: center;
  justify-content: center;
}
.identity-band__shield img {
  width: 64px;
  height: auto;
  object-fit: contain;
}
.identity-band__shield-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── ROW 3: Nav bar (navy, sticky) ────────────────────────── */
.site-header {
  background-color: var(--navy);
  background-image: url("../img/banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(10, 42, 94, 0.45);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 1rem;
}

/* Logo placeholder */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  z-index: 201;
}
.site-logo__mark {
  width: 30px;
  height: 30px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
     DESKTOP NAV
  ════════════════════════════════════════════ */
.site-nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.nav__item {
  position: relative;
  display: flex;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  padding: 0 0.9rem;
  height: 56px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--gold);
}
.nav__chevron {
  transition: transform var(--transition);
  opacity: 0.7;
  flex-shrink: 0;
}
.nav__item:hover .nav__chevron,
.nav__item.open .nav__chevron {
  transform: rotate(180deg);
}

/* ── Mega menu ── */
.nav__mega {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 520px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
  pointer-events: none;
  z-index: 200;
}
.nav__item:hover .nav__mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.nav__mega-inner {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.nav__mega-links {
  flex: 1;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  min-width: 260px;
}

.nav__mega-title {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000;
  margin-bottom: 0.4rem;
  opacity: 1;
}

.nav__mega-desc {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.nav__mega-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__mega-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
  color: var(--body-text);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition);
}
.nav__mega-link:hover {
  background: var(--navy-pale);
  color: var(--navy);
  padding-left: 1rem;
}
.nav__mega-link.active {
  background: var(--navy-pale);
  color: var(--navy);
  font-weight: 800;
}
.nav__mega-link-icon {
  color: var(--gold-dark);
  flex-shrink: 0;
}

.nav__mega-image {
  width: 180px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.nav__mega-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav__mega-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 42, 94, 0.3) 0%,
    transparent 70%
  );
}

/* ════════════════════════════════════════════
     HAMBURGER
  ════════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 201;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 250ms ease,
    opacity 250ms ease,
    width 250ms ease;
}

/* X state */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════════════════════════════════
     MOBILE DRAWER
  ════════════════════════════════════════════ */
.mobile-nav {
  display: none; /* shown only on mobile */
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  background-image: var(--bg-pattern);
  background-size: 200px 200px;
}

/* Backdrop */
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 50, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 300ms ease;
}

/* Drawer panel */
.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-nav-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

/* Open state */
.mobile-nav.open {
  pointer-events: all;
}
.mobile-nav.open .mobile-nav__backdrop {
  opacity: 1;
}
.mobile-nav.open .mobile-nav__panel {
  transform: translateX(0);
}

/* Panel header */
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 56px;
  flex-shrink: 0;
}
.mobile-nav__header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  gap: 0.5rem;
  height: 50px;
  flex: 1; 
  min-width: 0; 
}

.mobile-nav__header-logo img {
  height: 100%;
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-nav__site-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-nav__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.mobile-nav__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Nav list */
.mobile-nav__list {
  flex: 1;
  padding: 0.75rem 0;
}

.mobile-nav__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Top-level link row */
.mobile-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav__link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  transition:
    color var(--transition),
    background var(--transition);
}
.mobile-nav__link:hover {
  color: var(--gold);
}

/* Accordion toggle */
.mobile-nav__toggle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color var(--transition),
    transform var(--transition);
  margin-right: 0.5rem;
}
.mobile-nav__toggle:hover {
  color: var(--white);
}
.mobile-nav__toggle svg {
  transition: transform 240ms ease;
}
.mobile-nav__item.open .mobile-nav__toggle svg {
  transform: rotate(180deg);
}

/* Accordion children */
.mobile-nav__sub {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav__item.open .mobile-nav__sub {
  max-height: 600px;
}

.mobile-nav__sub-inner {
  padding: 0.25rem 0 0.75rem 1.25rem;
  border-left: 2px solid var(--gold);
  margin: 0 1.25rem 0 1.5rem;
  margin-bottom: 0.5rem;
}

/* Optional sub-description */
.mobile-nav__sub-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  padding: 0.2rem 0 0.75rem;
}

.mobile-nav__sub-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.5rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.mobile-nav__sub-link:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 0.85rem;
}
.mobile-nav__sub-link svg {
  opacity: 0.5;
  flex-shrink: 0;
}
.mobile-nav__sub-link:hover svg {
  opacity: 1;
}

/* Footer CTA inside drawer */
.mobile-nav__footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.mobile-nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.mobile-nav__cta:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(247, 215, 1, 0.4);
}

/* Prevent body scroll when drawer open */
body.nav-open {
  overflow: hidden;
}

/* ════════════════════════════════════════════
     RESPONSIVE BREAKPOINTS
  ════════════════════════════════════════════ */
@media (max-width: 860px) {
  .site-nav {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}

/* Hide desktop nav on mobile, show hamburger */
@media (max-width: 860px) {
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .hamburger {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}

/* Hide mobile drawer on desktop */
@media (min-width: 861px) {
  .mobile-nav {
    display: none;
  }
  .hamburger {
    display: none;
  }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10, 42, 94, 0.3);
}

.btn--gold {
  background: var(--gold); /* Safety Yellow #F7D701  */
  color: var(--ink); /* Black — max contrast   */
  border-color: var(--gold);
  font-weight: 700;
}
.btn--gold:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(247, 215, 1, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
  padding-inline: 0.5rem;
}
.btn--ghost:hover {
  background: var(--navy-pale);
}

.btn--lg {
  font-size: 1rem;
  padding: 1rem 2.25rem;
}
.btn--sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(
    --navy
  ); /* Swaps to your primary dark color on hover so the text remains readable */
}

/* ══════════════════════════════════════════════════════════════
   CINEMATIC HERO CAROUSEL
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  flex-direction: column;
}

/* ── Background image track ──────────────────────────────── */
.hero__bg-track {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__bg-slide.active {
  opacity: 1;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: opacity 1.2s ease;
  filter: brightness(0.72);
  animation: kenBurns 8s ease-out forwards;
}
.hero__bg-slide.active .hero__bg-img {
  animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* Gradient placeholder when no image */
.hero__bg-placeholder {
  width: 100%;
  height: 100%;
}
.hero__bg-placeholder--1 {
  background: linear-gradient(
    135deg,
    #060f24 0%,
    #0a2a5e 40%,
    #1155aa 70%,
    #2e74d4 100%
  );
}
.hero__bg-placeholder--2 {
  background: linear-gradient(
    135deg,
    #0a2a5e 0%,
    #0a2a5e 35%,
    #0d3060 65%,
    #0a2a5e 100%
  );
}
.hero__bg-placeholder--3 {
  background: linear-gradient(135deg, #081220 0%, #0a2a5e 50%, #1155aa 100%);
}

/* Dark gradient overlay for text legibility */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 40%);
}

/* ── Animated grid ───────────────────────────────────────── */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.6) 70%,
    transparent 100%
  );
}

/* ── Floating glow orbs ──────────────────────────────────── */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(80px);
}
.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(46, 116, 212, 0.35) 0%,
    transparent 70%
  );
  top: -100px;
  right: 10%;
  animation: orb-float-1 12s ease-in-out infinite;
}
.hero__orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(247, 215, 1, 0.12) 0%,
    transparent 70%
  );
  bottom: 10%;
  left: 5%;
  animation: orb-float-2 15s ease-in-out infinite;
}
.hero__orb--3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(46, 116, 212, 0.2) 0%,
    transparent 70%
  );
  top: 40%;
  right: 30%;
  animation: orb-float-3 10s ease-in-out infinite;
}

/* ── Slide counter (top right) ───────────────────────────── */
.hero__counter {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.hero__counter-current {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.hero__counter-line {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* ── Content slides ──────────────────────────────────────── */
.hero__content-track {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero__slide.active {
  opacity: 1;
  pointer-events: all;
}

.hero__slide-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: 0;
}

.hero__slide-inner {
  width: min(560px, 100%);
  max-width: 560px;
  margin-bottom: 4.75rem;
  padding: 1.35rem 1.55rem 1.45rem;
  background: linear-gradient(
    90deg,
    rgba(17, 85, 170, 0.92) 0%,
    rgba(17, 85, 170, 0.72) 62%,
    rgba(17, 85, 170, 0.42) 100%
  );
  border-left: 4px solid var(--gold);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

/* Staggered word-by-word reveal on active slide */
.hero__slide.active .hero__badge {
  animation: heroIn 0.6s 0.1s both;
}
.hero__slide.active .hero__title {
  animation: heroInUp 0.8s 0.2s both;
}
.hero__slide.active .hero__subtitle {
  animation: heroIn 0.7s 0.45s both;
}
.hero__slide.active .hero__actions {
  animation: heroIn 0.6s 0.65s both;
}

.hero__badge {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(247, 215, 1, 0.12);
  border: 1px solid rgba(247, 215, 1, 0.45);
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 2.45rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.12;
  margin-bottom: 0.75rem;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}
.hero__title em {
  font-style: normal;
  color: inherit;
  display: block;
}

.hero__subtitle {
  max-width: 100%;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.55;
  box-shadow: none;
}

.hero__actions {
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Primary CTA — gold with glow */
.hero__cta-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  box-shadow: 0 0 0 0 rgba(247, 215, 1, 0.4);
  transition: all 0.3s ease;
}
.hero__cta-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(247, 215, 1, 0.45);
}

/* Secondary CTA — glass morphism */
.hero__cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.hero__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* ── Bottom control bar ──────────────────────────────────── */
.hero__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
  background: rgba(10, 22, 40, 0.3);
}
.hero__controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.hero__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.hero__dot.active {
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  border-radius: var(--radius-pill);
}
/* Animated gold fill on active dot */
.hero__dot.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  border-radius: inherit;
  animation: dotProgress 6.5s linear forwards;
}
@keyframes dotProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.hero__counter-current {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  display: inline-block;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.hero__tagline-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}
.hero__tagline-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  animation: pulse-dot 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__arrows {
  display: flex;
  gap: 0.5rem;
}
.hero__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.hero__arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(247, 215, 1, 0.1);
  transform: scale(1.08);
}

/* ── Scroll hint ─────────────────────────────────────────── */
.hero__scroll-hint {
  position: absolute;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}
.hero__scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.hero__scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

/* ── Hero animations ─────────────────────────────────────── */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroInUp {
  from {
    opacity: 0;
    transform: translateY(30px) skewY(1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0);
  }
}
@keyframes orb-float-1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -40px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}
@keyframes orb-float-2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(40px, -30px);
  }
}
@keyframes orb-float-3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-25px, 15px) scale(1.1);
  }
  80% {
    transform: translate(15px, -20px) scale(0.9);
  }
}
@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.7;
  }
}
@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .hero__image {
    display: none;
  }

  .hero {
    height: 100svh;   
    min-height: 520px;
    max-height: none; 
  }

  .hero__bg-img {
    object-position: center top; 
  }

  @keyframes kenBurns {
    from { transform: scale(1.04); }
    to   { transform: scale(1); }
  }

  .hero__bg-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.24) 0%,
        rgba(0, 0, 0, 0.38) 60%,
        rgba(0, 0, 0, 0.58) 100%
      );
  }

  .hero__slide-inner {
    max-width: 100%;
    padding-inline: 0;
    margin-bottom: 4.75rem;
    padding: 1rem 1.1rem 1.1rem;
    text-align: left;
  }

  .hero__title {
    font-size: 2rem;
    line-height: 1.18;
  }

  .hero__subtitle {
    font-size: 0.9rem;
    max-width: 100%;
    padding: 0.75rem 0.85rem;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__badge {
    margin-inline: 0;
  }

  .hero__counter {
    display: none;
  }

  .hero__scroll-hint {
    display: none;
  }

  .hero__dot {
    width: 10px;
    height: 10px;
  }

  .hero__dot.active {
    width: 36px;
  }
}

/* ── Alert/Notice Strip ────────────────────────────────────── */
.alert-strip {
  background: var(--gold);
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 0;
  overflow: hidden;
}
.alert-strip__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.alert-strip__label {
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.alert-strip__ticker {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}
.alert-strip__text {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

/* ── Quick Access Bar ──────────────────────────────────────── */
.quick-access {
  background: var(--navy);
  padding: 0;
}
.quick-access__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.quick-access__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
}
.quick-access__item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--gold);
  color: var(--white);
}
.quick-access__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.quick-access__text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.quick-access__text span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Intro Strip ───────────────────────────────────────────── */
.intro-strip {
  background: var(--navy);
  color: var(--white);
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
  /* Clear visual separator from DG section above */
  border-top: 4px solid var(--gold);
}
.intro-strip::before {
  content: '"';
  position: absolute;
  right: 5%;
  top: -0.2em;
  font-family: var(--font-display);
  font-size: 18rem;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  font-weight: 900;
}
.intro-strip__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
.intro-strip__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.intro-strip__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.intro-strip__gold {
  color: var(--gold-bright);
}
.intro-strip__body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}
.intro-strip__body p + p {
  margin-top: 1rem;
}

/* ── Services ──────────────────────────────────────────────── */
.services-section {
  background: var(--white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
  padding-block: 6rem;
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-header--center {
  text-align: center;
}
.section-header__title {
  margin-top: 0.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 2px solid var(--navy-mid);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  group: true;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card::before {
  /* content: ""; */
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card__icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--navy-pale);
  border-radius: 50%; /* circle instead of square */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  border: 2px solid var(--border);
  transition:
    background var(--transition),
    border-color var(--transition);
}

.service-card:hover .service-card__icon-wrap {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.service-card__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  transition: filter var(--transition);
}

.service-card:hover .service-card__icon {
  filter: brightness(0) invert(1);
}

.service-card {
  border: 1px solid var(--navy);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.75rem;
}

.service-card:hover {
  border-color: var(--navy-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.service-card__actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

.service-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.service-card:hover .service-card__link {
  gap: 0.6rem;
}
.service-card__link svg {
  width: 14px;
  height: 14px;
}
.service-detail {
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
}
.service-card__body-wrapper {
  position: relative;
  margin-bottom: 0.5rem;
}

.service-card__body {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.service-card__body--truncated {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Reserve space for the "more" link by adding padding or min-height if needed */
  min-height: calc(1.5 * 3em); /* 3 lines of text */
}

.service-card__learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  margin-top: 0.25rem;
  padding: 0.2rem 0;
  cursor: pointer;
  transition: color var(--transition);
}

.service-card__learn-more:hover {
  color: var(--navy-light);
}

.service-card__learn-more:hover::after {
  transform: translateX(3px);
}

/* Alternative: Position at end of truncated text */
.service-card__body-wrapper {
  position: relative;
}

.service-card__body--truncated + .service-card__learn-more {
  /* If you want it inline at the end of text */
  display: inline;
  margin-left: 0.25rem;
}

/* If text is short (no truncation), adjust positioning */
.service-card__body-wrapper:has(
    .service-card__body:not(.service-card__body--truncated)
  )
  .service-card__learn-more,
.service-card__body-wrapper:has(.service-card__body[style*="none"])
  .service-card__learn-more {
  display: inline;
  margin-left: 0.25rem;
}
/* ════════════════════════════════════════════════
   NEWS SECTION (Home)
   ════════════════════════════════════════════════ */

.news-section {
  padding-block: 6rem;
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
}

/* ── Two-column grid ──────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 860px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════
   FEATURED ARTICLE
   ════════════════════════════════════════════════ */

.news-featured {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Image */
.news-featured__img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-pale);
  flex-shrink: 0;
}

.news-featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.news-featured:hover .news-featured__img-wrap img {
  transform: scale(1.04);
}

.news-featured__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

/* Category badge over image */
.news-featured__category-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

/* Body */
.news-featured__body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-featured__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.85rem;
  transition: color var(--transition);

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured:hover .news-featured__title {
  color: var(--navy-light);
}

.news-featured__excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: auto;
}

.news-featured__date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-featured__read-more {
  margin-left: auto;
  color: var(--navy-mid);
  font-weight: 700;
  font-size: 0.82rem;
  transition: gap var(--transition);
}

.news-featured:hover .news-featured__read-more {
  color: var(--navy-light);
}

/* ════════════════════════════════════════════════
   SIDEBAR — stacked article cards
   ════════════════════════════════════════════════ */

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Card ─────────────────────────────────────── */
.news-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 3px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: padding-left var(--transition);
}

.news-card:first-child {
  border-top: 3px solid var(--border-light);
}

.news-card:hover {
  padding-left: 0.5rem;
}

/* Thumbnail */
.news-card__thumb {
  width: 80px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__thumb img {
  transform: scale(1.08);
}

.news-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Body */
.news-card__body {
  flex: 1;
  min-width: 0;
}

.news-card__cat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}

.news-card__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 0.4rem;
  transition: color var(--transition);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-card__title {
  color: var(--navy-light);
}

.news-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-card__date {
  font-size: 0.72rem;
  color: var(--muted);
}

.news-card__read-time {
  font-size: 0.72rem;
  color: var(--muted);
}

.news-card__read-time::before {
  content: "· ";
}

/* View all link at bottom */
.news-sidebar__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-mid);
  text-decoration: none;
  transition:
    gap var(--transition),
    color var(--transition);
}

.news-sidebar__view-all:hover {
  gap: 0.65rem;
  color: var(--navy-light);
}

/* ════════════════════════════════════════════════
   NEWS — Index + Detail styles
   ════════════════════════════════════════════════ */

/* ── Filter tabs — navy/gold, same as videos ──── */
.news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.news-filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--navy-pale);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.news-filter-tab:hover {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}

.news-filter-tab.is-active {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}

/* ════════════════════════════════════════════════
   NEWS INDEX
   ════════════════════════════════════════════════ */

.news-index-section {
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
  padding-block: 3.5rem 5rem;
}

.news-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

/* ── Index card ──────────────────────────────── */
.news-index-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.news-index-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.news-index-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-pale);
  flex-shrink: 0;
}

.news-index-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.news-index-card:hover .news-index-card__img-wrap img {
  transform: scale(1.04);
}

.news-index-card__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
}

.news-index-card__cat-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
}

.news-index-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-index-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.65rem;
  transition: color var(--transition);

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-index-card:hover .news-index-card__title {
  color: var(--navy-light);
}

.news-index-card__excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.1rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-index-card__meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  margin-top: auto;
}

.news-index-card__date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-index-card__read-time::before {
  content: "· ";
}

.news-index-card__read-more {
  margin-left: auto;
  color: var(--navy-mid);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Empty state */
.news-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--muted);
  opacity: 0.5;
}

.news-empty svg {
  margin: 0 auto 1rem;
  display: block;
}

/* ════════════════════════════════════════════════
   NEWS DETAIL
   ════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────── */
.news-detail__hero {
  position: relative;
  background: var(--navy);
  padding-bottom: 3rem;
}

.news-detail__hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.news-detail__hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-detail__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 85, 170, 0.65) 0%,
    rgba(10, 22, 44, 0.9) 100%
  );
}

.news-detail__hero-content {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
  /* max-width: var(--container-narrow); */
}

.news-detail__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.news-detail__cat-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
}

.news-detail__date,
.news-detail__read-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.news-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.news-detail__summary {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  /* max-width: 680px; */
  padding-bottom: 1rem;
}

/* ── Body section ─────────────────────────────── */
.news-detail__body-section {
  padding-block: 3.5rem 5rem;
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
}

.news-detail__layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
}

@media only screen and (max-width: 700px) {
.news-detail__layout {
    grid-template-columns: 1fr;
  }
  .news-detail__widget-share {
    display: none !important;
  }
  .news-detail__sidebar {
    /* order: -1; */
    display: none;
  }
}
/* @media (max-width: 900px) {
  
} */

/* Rich text content */
.news-detail__rich-text {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);

  font-size: 1rem;
  line-height: 1.8;
  color: var(--body-text);
}

.news-detail__rich-text h2,
.news-detail__rich-text h3,
.news-detail__rich-text h4 {
  color: var(--navy);
  font-family: var(--font-display);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-detail__rich-text h2 {
  font-size: 1.45rem;
}
.news-detail__rich-text h3 {
  font-size: 1.2rem;
}

.news-detail__rich-text p {
  margin-bottom: 1.25rem;
}
.news-detail__rich-text ul,
.news-detail__rich-text ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.news-detail__rich-text li {
  margin-bottom: 0.5rem;
}

.news-detail__rich-text a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-detail__rich-text blockquote {
  border-left: 4px solid var(--gold);
  background: var(--navy-pale);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--navy);
}

.news-detail__rich-text figure,
.news-detail__rich-text .richtext-image {
  margin: 1.5rem 0;
  padding: 0;
}

.news-detail__rich-text img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}
/* Tags */
.news-detail__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.news-detail__tags-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-detail__tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--navy-pale);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--transition);
}

.news-detail__tag:hover {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}

/* Back button */
.news-detail__back {
  margin-top: 2rem;
}

/* ── Sidebar widgets ──────────────────────────── */
.news-detail__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 5rem;
}

.news-detail__widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.news-detail__widget-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* Share buttons */
.news-detail__share {
  display: flex;
  gap: 0.65rem;
}

.news-detail__share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  flex-shrink: 0;
}

.news-detail__share-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
.news-detail__share-btn--x {
  background: #000;
}
.news-detail__share-btn--fb {
  background: #1877f2;
}
.news-detail__share-btn--wa {
  background: #25d366;
}

/* Sidebar category links */
.news-detail__cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.news-detail__cat-list .news-filter-tab {
  justify-content: flex-start;
}

/* ── Publications ──────────────────────────────────────────── */
.publications-section {
  background: var(--navy);
  padding-block: 6rem;
  position: relative;
  overflow: hidden;
}
.publications-section::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(247, 215, 1, 0.08);
  border-radius: 50%;
}
.publications-section::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(247, 215, 1, 0.06);
  border-radius: 50%;
}
.publications-section .section-eyebrow {
  color: var(--gold);
}
.publications-section h2 {
  color: var(--white);
}
.publications-section .section-header__sub {
  color: rgba(255, 255, 255, 0.6);
}

.pub-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.pub-filter-tab {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}
.pub-filter-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pub-filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pub-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
}
.pub-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(247, 215, 1, 0.4);
  transform: translateY(-3px);
}
.pub-card__type {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pub-card__type::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.pub-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.pub-card__meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}
.pub-card__download {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  transition: gap var(--transition);
}
.pub-card:hover .pub-card__download {
  gap: 0.75rem;
}
.pub-card__download svg {
  width: 14px;
  height: 14px;
}
/* ── Events ────────────────────────────────────────────────── */
.events-section {
  background: var(--white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
  padding-block: 6rem;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.event-card__header {
  background: var(--navy);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.event-card__date {
  text-align: center;
  flex-shrink: 0;
}
.event-card__day {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1;
}
.event-card__month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.event-card__type {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.event-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.event-card__info {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.event-card__info svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--gold-dark);
}
.event-card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
}
.event-register {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.event-card__summary {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.event-free {
  color: var(--gold-dark);
  font-weight: 700;
}
.event-detail-free {
  color: var(--gold);
  font-weight: 700;
}

.event-detail__fee {
  color: var(--gold);
  font-weight: 700;
  padding: 0 0 0.25rem 0;
}

/* ── Hero ─────────────────────────────────────── */
.event-detail__hero {
  position: relative;
  background: var(--navy);
  padding-bottom: 3rem;
}

.event-detail__hero-content {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
}

.event-detail__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.event-detail__cat-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
}

.event-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* Date & Location - MOBILE: Stack vertically */
.event-detail__date_location {
  display: flex;
  flex-direction: column; /* Stack on mobile */
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--white);
  padding-bottom: 0.5rem;
}

.event-detail__date_location .date-item {
  display: inline-flex;
  align-items: center;
}

/* Remove divider on mobile */
.event-detail__date_location .date-item:not(:last-child)::after {
  content: none;
}

.event-detail__date_location svg {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.event-detail__summary {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  padding-bottom: 1rem;
}

/* ── Body section ─────────────────────────────── */
.event-detail__body-section {
  padding-block: 3.5rem 5rem;
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
}

/* MOBILE: Single column, sidebar at bottom */
.event-detail__layout {
  display: grid;
  grid-template-columns: 1fr; /* Single column on mobile */
  gap: 2rem;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
}

/* Rich text content */
.event-detail__rich-text {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem; /* Reduced padding on mobile */
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body-text);
}

.event-detail__rich-text h2,
.event-detail__rich-text h3,
.event-detail__rich-text h4 {
  color: var(--navy);
  font-family: var(--font-display);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.event-detail__rich-text h2 {
  font-size: 1.45rem;
}
.event-detail__rich-text h3 {
  font-size: 1.2rem;
}

.event-detail__rich-text p {
  margin-bottom: 1.25rem;
}

.event-detail__rich-text ul,
.event-detail__rich-text ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.event-detail__rich-text li {
  margin-bottom: 0.5rem;
}

.event-detail__rich-text a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-detail__rich-text blockquote {
  border-left: 4px solid var(--gold);
  background: var(--navy-pale);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--navy);
}

.event-detail__rich-text img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin-block: 1.5rem;
}

/* Registration button */
.registration-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Back button */
.event-detail__back {
  margin-top: 2rem;
}

/* ── Sidebar ──────────────────────────────────── */
/* MOBILE: Sidebar at bottom, not sticky */
.event-detail__sidebar {
  display: none;

}

.event-detail__widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.event-detail__widget-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ── Share Widget (Mobile: Floating or Bottom) ── */

/* Option A: Bottom fixed share bar on mobile */
.event-detail__share {
  display: flex;
  gap: 0.75rem;
  justify-content: center; /* Center on mobile */
}

.event-detail__share-btn {
  width: 44px; /* Larger touch targets on mobile */
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.event-detail__share-btn:hover,
.event-detail__share-btn:active {
  transform: scale(1.1);
  opacity: 0.9;
}

.event-detail__share-btn--x { background: #000; }
.event-detail__share-btn--fb { background: #1877f2; }
.event-detail__share-btn--wa { background: #25d366; }

/* Option B: Single floating button that expands (alternative) */
.share-floating {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}

.share-floating__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.share-floating__menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.share-floating.is-active .share-floating__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-floating.is-active .share-floating__toggle {
  transform: rotate(45deg);
}

/* ════════════════════════════════════════════════
   DESKTOP BREAKPOINT (min-width: 900px)
   ════════════════════════════════════════════════ */
@media (min-width: 900px) {
  
  .event-detail__layout {
    grid-template-columns: 1fr 280px; /* Two columns */
    gap: 3rem;
  }
  
  /* Sidebar on desktop: sticky at top */
  .event-detail__sidebar {
    display: block;
    position: sticky;
    top: 5rem;
    order: 0; /* Reset order */
  }
  
  /* Date & Location side by side on desktop */
  .event-detail__date_location {
    flex-direction: row; /* Side by side */
    align-items: center;
    gap: 0.5rem;
  }
  
  .event-detail__date_location .date-item:not(:last-child)::after {
    content: "|";
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.4);
  }
  
  /* Share buttons left-aligned on desktop */
  .event-detail__share {
    justify-content: flex-start;
  }
  
  .event-detail__share-btn {
    width: 38px;
    height: 38px;
  }
  
  /* Hide floating share on desktop */
  .share-floating {
    display: none;
  }
  
  /* Rich text padding */
  .event-detail__rich-text {
    padding: 2.5rem 3rem;
  }
}

/* ════════════════════════════════════════════════
   TABLET ADJUSTMENTS (768px - 899px)
   ════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 899px) {
  .event-detail__rich-text {
    padding: 2rem;
  }
}

.registration-btn {
  color: var(--white) !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  background-color: var(--navy);
}

/* ── Complaint CTA ─────────────────────────────────────────── */
.complaint-cta {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy-mid) 50%,
    var(--navy-light) 100%
  );
  padding-block: 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.complaint-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(247, 215, 1, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(247, 215, 1, 0.06) 0%,
      transparent 50%
    );
}
.complaint-cta__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
  z-index: 2;
}
.complaint-cta__steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16.67%;
  right: 16.67%;
  height: 1px;
  background: rgba(247, 215, 1, 0.3);
}
.cta-step {
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(247, 215, 1, 0.15);
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.cta-step__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.cta-step__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Transparency Band ─────────────────────────────────────── */
.transparency-band {
  background: var(--gold-pale);
  border-top: 3px solid var(--gold);
  padding-block: 3rem;
}
.transparency-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.transparency-band__text h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.transparency-band__text p {
  font-size: 0.875rem;
  color: var(--muted);
}
.transparency-band__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  padding-top: 2rem;
  background-color: var(--navy-plain);
  background-image: linear-gradient(
    to bottom,
    var(--white) 0%,
    var(--navy-plain) 95%
  );
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--navy);
  position: relative;
}

/* Pattern overlay at top */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-image: url("../img/footer_bg_pattern.svg");
  background-position: center top;
  background-repeat: repeat-x;
  background-size: auto;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* ── Grid — equal columns, wide ──────────────────────────────── */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* was 1.6fr 1fr 1fr 1fr */
  gap: 0; /* gap handled by border separators */
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* Equal padding on every column */
.footer__grid > div {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__grid > div:first-child {
  padding-left: 0;
  /* text-align: center; */
}

.footer__grid > div:first-child .footer__desc {
  text-align: center;
}

.footer__grid > div:first-child .footer__social {
  justify-content: center;
}

.footer__grid > div:last-child {
  border-right: none;
  padding-right: 0;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid > div {
    border-right: none;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer__grid > div:last-child {
    border-bottom: none;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Deco separator — line with dots at ends + shield icon ──── */
.footer__col-deco {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.footer__col-deco svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--navy);
}

.footer__col-deco-line {
  flex: 1;
  position: relative;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* Dot at each end of the line */
.footer__col-deco-line::before,
.footer__col-deco-line::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
}

/* Left line — dot on the left only */
.footer__col-deco-line:first-child::before {
  left: 0;
}
.footer__col-deco-line:first-child::after {
  display: none;
}

/* Right line — dot on the right only */
.footer__col-deco-line:last-child::after {
  right: 0;
}
.footer__col-deco-line:last-child::before {
  display: none;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .footer__col-deco {
    display: none;
  }
}

/* ── Brand column ────────────────────────────────────────────── */
.footer__brand-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.footer__brand-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.footer__brand-sw {
  font-size: 0.7rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.footer__desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(21, 94, 170, 0.8);
  margin-bottom: 1.5rem;
}

/* ── Social links ────────────────────────────────────────────── */
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.8rem;
  transition: all var(--transition);
  border-radius: 50%;
}

.footer__social-link:hover {
  color: var(--gold);
  background: rgba(17, 85, 170, 0.08);
}

/* ── Column titles ───────────────────────────────────────────── */
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

/* ── Links ───────────────────────────────────────────────────── */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--navy);
  transition:
    color var(--transition),
    padding-left var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer__link:hover {
  color: var(--navy-mid);
  padding-left: 0.35rem;
}

/* ── Contact items ───────────────────────────────────────────── */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
}

.footer__contact-icon {
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 0.2rem;
  opacity: 0.7;
}

.footer__contact-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy);
}

.footer__contact-text {
  color: var(--navy);
  line-height: 1.5;
}

/* ── Bottom bar ──────────────────────────────────────────────── */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 1.5rem;
  font-size: 0.78rem;
  color: var(--off-white);
  gap: 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer__bottom-links a {
  color: var(--off-white);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: var(--gold);
}

/* Header & Nav overrides (from your snippet) */
.institution-name,
.institution-country {
  color: var(--navy) !important;
  font-weight: 700;
}

.top_nav {
  background-color: var(--navy);
}

.sub-menu {
  background-color: var(--navy) !important;
}

.sub-menu li a {
  color: var(--white) !important;
}

.logo-container {
  padding: 0 0 0.5px 0;
}

/* Responsive tweaks */
@media screen and (max-width: 698px) {
  .header .institution-name,
  .header .institution-country {
    font-size: 12px;
  }
  .header img {
    width: 50px;
  }
  .site-header-container {
    margin: 0;
    padding: 0;
  }
}

/* Utility Class */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ── Search Modal ──────────────────────────────────────────── */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.97);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.search-modal.open {
  opacity: 1;
  visibility: visible;
}
.search-modal__inner {
  width: 100%;
  max-width: 680px;
  padding-inline: 1.5rem;
}
.search-modal__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.search-modal__form {
  display: flex;
  align-items: center;
  gap: 0;
}
.search-modal__input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  padding: 0.5rem 0;
  outline: none;
  transition: border-color var(--transition);
}
.search-modal__input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.search-modal__input:focus {
  border-bottom-color: var(--gold);
}
.search-modal__submit {
  background: var(--gold);
  border: none;
  color: var(--navy);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: var(--radius-md);
  margin-left: 1rem;
}
.search-modal__submit:hover {
  background: var(--gold-bright);
}
.search-modal__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}
.search-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.search-modal__hints {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.search-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
}
.search-hint:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Input wrap inside modal ───────────────────── */
.search-modal__input-wrap {
  position: relative;
  flex: 1;
}

.search-modal__input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-modal__input {
  padding-left: 2.5rem; /* room for icon */
}

/* ── Live suggestions inside modal ────────────── */
.search-modal__suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  z-index: 300;
  overflow: hidden;
}

.search-modal__suggestions li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  color: var(--body-text);
  cursor: pointer;
  transition: background var(--transition);
}

.search-modal__suggestions li:hover,
.search-modal__suggestions li.is-active {
  background: var(--navy-pale);
  color: var(--navy-mid);
}

.search-modal__suggestions li strong {
  color: var(--off-white);
}

/* ── Section label (Popular / Recent) ─────────── */
.search-modal__section {
  margin-top: 1.25rem;
}

.search-modal__section-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white) important;
  margin-bottom: 0.65rem;
}

/* ── Hint chips — already styled globally,
      just ensure row wrap in modal ──────────────*/
.search-modal__hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ── Mobile nav ────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  padding: 2rem 1.5rem;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.mobile-nav__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav__link {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.mobile-nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

/* ── Back to top ───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 7rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 50;
  border: 1px solid rgba(247, 215, 1, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  background: var(--navy-pale);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  list-style: none;
}
.breadcrumb__list a {
  color: var(--navy-light);
}
.breadcrumb__list a:hover {
  color: var(--navy);
}
.breadcrumb__sep {
  color: var(--muted);
}
.breadcrumb__list li:last-child {
  color: var(--navy);
  font-weight: 500;
}

/* ── Page header ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
}
.page-hero__eyebrow {
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  font-size: 1.05rem;
}

/* ── Cards generic ─────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}
.badge--navy {
  background: var(--navy-pale);
  color: var(--navy);
}
.badge--gold {
  background: var(--gold-pale);
  color: var(--gold-dark);
}
.badge--green {
  background: #ebf7f0;
  color: #1e7d4a;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--body-text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(46, 116, 212, 0.12);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ── Pagination ────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  background: transparent;
  cursor: pointer;
}
.page-btn:hover,
.page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Alerts ────────────────────────────────────────────────── */
.alert {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}
.alert--success {
  background: #ebf7f0;
  border-left: 3px solid #27ae60;
  color: #1e7d4a;
}
.alert--warning {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  color: var(--gold-dark);
}
.alert--info {
  background: var(--navy-pale);
  border-left: 3px solid var(--navy-light);
  color: var(--navy);
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--off-white);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--navy-light);
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.animate-fade-up {
  animation: fadeInUp 0.7s ease both;
}
.animate-fade-up-d1 {
  animation: fadeInUp 0.7s 0.1s ease both;
}
.animate-fade-up-d2 {
  animation: fadeInUp 0.7s 0.2s ease both;
}
.animate-fade-up-d3 {
  animation: fadeInUp 0.7s 0.35s ease both;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .stats-section__inner {
    gap: 3rem;
  }
  .stats-section::before {
    width: 44%;
  }
  .stats-left__body {
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .services-grid,
  .pub-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-access__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-strip__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-section__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-section::before {
    display: none;
  }
  .stats-left {
    color: var(--body-text);
  }
  .stats-left__title {
    color: var(--navy);
  }
  .stats-left__body {
    color: var(--muted);
    max-width: 100%;
  }
  .stats-left__label {
    color: var(--gold-dark);
  }
  .nav__link {
    padding: 0 0.65rem;
    font-size: 0.78rem;
  }
  .identity-band__name {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
  }
}

.empty-div__mobile {
  display: none;
}

@media (max-width: 768px) {
  .empty-div__mobile {
    display: block;
  }
  .topbar__social {
    display: none !important;
  }
  .topbar__social__mobile {
    display: flex !important;
    justify-self: center;
    gap: 0.5rem;
    align-items: center;
    padding: 0 1rem;
    color: var(--off-white);
  }
  .topbar__search {
    display: none;
  }
  .topbar__divider {
    display: none;
  }
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .hamburger {
    display: none;
  }
  .services-grid,
  .pub-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .quick-access__grid {
    grid-template-columns: 1fr 1fr;
  }
  .complaint-cta__steps {
    grid-template-columns: 1fr;
  }
  .complaint-cta__steps::before {
    display: none;
  }
  
  /* Identity band responsive */
  .identity-band__emblem,
  .identity-band__right {
    display: none;
  }
  .identity-band__title-block {
    text-align: center;
  }
  .identity-band__name {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
  }
  .identity-band__republic {
    font-size: 0.65rem;
  }
}

.footer__grid > div {
  border-right: 1px solid var(--off-white);
  padding-right: 2rem;
}

.footer__grid > div:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .footer__grid > div {
    border-right: none;
    padding-right: 0;
  }
}

/* Hide on mobile — keeps columns clean when stacked */
@media (max-width: 768px) {
  .footer__col-deco {
    display: none;
  }
}

@media (max-width: 480px) {
  .quick-access__grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .transparency-band__inner {
    flex-direction: column;
  }
  .topbar__social {
    gap: 0.6rem;
  }
}

/* ── Language Switcher ─────────────────────────────────────── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  overflow: hidden;
  padding: 0;
}
.lang-switcher__btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.6;
}
.lang-switcher__btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.lang-switcher__btn.active {
  background: var(--gold);
  color: var(--navy);
}
.lang-switcher__sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  user-select: none;
}

/* ══════════════════════════════════════════════════════════════
   DG SECTION — Director General
   ══════════════════════════════════════════════════════════════ */
.dg-section {
  position: relative;
  background: var(--navy);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

/* Background decorations */
.dg-section__bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.dg-section__circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(247, 215, 1, 0.08);
}
.dg-section__circle--1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -150px;
}
.dg-section__circle--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -80px;
  border-color: rgba(247, 215, 1, 0.05);
}
.dg-section__lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Layout */
.dg-section__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── Photo card ─────────────────────────────────────────────── */
.dg-card {
  flex-shrink: 0;
}

.dg-card__photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(247, 215, 1, 0.2),
    0 25px 60px rgba(0, 0, 0, 0.5);
}
.dg-card__photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transition: transform 0.6s ease;
}
.dg-card__photo-wrap:hover .dg-card__photo {
  transform: scale(1.03);
}
.dg-card__photo-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(
    180deg,
    rgba(17, 85, 170, 0.4) 0%,
    rgba(10, 22, 40, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gold corner accent */
.dg-card__accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(225deg, var(--gold) 0%, transparent 60%);
  opacity: 0.7;
}

/* Name plate at bottom of photo */
.dg-card__nameplate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 22, 40, 0.95) 0%,
    transparent 100%
  );
  padding: 2.5rem 1.5rem 1.25rem;
}
.dg-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.dg-card__title-label {
  font-size: 0.75rem;
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Action buttons */
.dg-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.dg-card__actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
}
.dg-btn-bio {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(8px);
}
.dg-btn-bio:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: white !important;
}

/* ── Content area ────────────────────────────────────────────── */
.dg-content {
  padding-top: 0.5rem;
}

.dg-content__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 0.75rem 0 2rem;
  letter-spacing: -0.02em;
}
.dg-content__heading-accent {
  color: var(--gold-bright);
  font-style: italic;
}

/* Pull-quote */
.dg-quote {
  position: relative;
  margin: 0 0 2rem;
  padding: 1.75rem 2rem 1.75rem 2.5rem;
  background: rgba(247, 215, 1, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.dg-quote__mark {
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  pointer-events: none;
}
.dg-quote__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 0.75rem;
}
.dg-quote__footer {
}
.dg-quote__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}

/* Content preview text */
.dg-content__intro {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.dg-content__intro p + p {
  margin-top: 0.75rem;
}
.dg-content__preview p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* CTA row */
.dg-content__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}
.btn--navy {
  background: var(--navy-mid);
  color: var(--white);
  border: 2px solid var(--navy-mid);
}
.btn--navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
}

/* Signature */
.dg-signature {
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   DG MODALS
   ══════════════════════════════════════════════════════════════ */
.dg-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.dg-modal[hidden] {
  display: none;
}

.dg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 25, 0.85);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.dg-modal__box {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.dg-modal__box--bio {
  max-width: 860px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dg-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--off-white);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.dg-modal__close:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

/* Welcome note layout */
.dg-modal__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.dg-modal__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.dg-modal__avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.dg-modal__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.2rem;
}
.dg-modal__subtitle {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.dg-modal__body {
  padding: 1.75rem 2rem;
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.8;
}
.dg-modal__body p + p {
  margin-top: 1rem;
}

.dg-modal__footer {
  padding: 1.25rem 2rem 1.75rem;
  border-top: 1px solid var(--border-light);
  background: var(--off-white);
  border-radius: 0 0 20px 20px;
}
.dg-modal__sig-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.dg-modal__sig-title {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Bio modal layout */
.dg-modal__bio-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
}
.dg-modal__bio-photo {
  background: linear-gradient(180deg, #0a2a5e, #060f24);
  border-radius: 20px 0 0 20px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.dg-modal__bio-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.dg-modal__bio-placeholder {
  font-size: 4rem;
  padding: 2rem;
}
.dg-modal__bio-namecard {
  text-align: center;
  border-top: 1px solid rgba(247, 215, 1, 0.2);
  padding-top: 1rem;
  width: 100%;
}
.dg-modal__bio-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.dg-modal__bio-role {
  font-size: 0.72rem;
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
.dg-modal__bio-content {
  padding: 2rem;
  overflow-y: auto;
}
.dg-modal__bio-content .dg-modal__title {
  margin-bottom: 1.25rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dg-section__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .dg-card__photo-wrap {
    max-width: 360px;
    margin: 0 auto;
  }
  .dg-card__actions {
    max-width: 360px;
    margin: 1.25rem auto 0;
  }
  .dg-modal__bio-layout {
    grid-template-columns: 1fr;
  }
  .dg-modal__bio-photo {
    border-radius: 20px 20px 0 0;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }
  .dg-modal__bio-img {
    width: 100px;
    height: 120px;
    flex-shrink: 0;
  }
  .dg-modal__bio-namecard {
    border-top: none;
    padding-top: 0;
    text-align: left;
    border-left: 1px solid rgba(247, 215, 1, 0.2);
    padding-left: 1rem;
  }
}
@media (max-width: 600px) {
  .dg-section {
    padding: 4rem 0 3.5rem;
  }
  .dg-quote {
    padding: 1.25rem 1.25rem 1.25rem 1.75rem;
  }
  .dg-modal__header {
    padding: 1.5rem 1.5rem 1rem;
  }
  .dg-modal__body {
    padding: 1.25rem 1.5rem;
  }
  .dg-content__cta {
    flex-direction: column;
  }
  .dg-content__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   DG DEDICATED PAGES — Welcome Note & Biography
   ══════════════════════════════════════════════════════════════ */

/* ── Shared page elements ─────────────────────────────────── */
.dg-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}
.dg-page-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.dg-page-breadcrumb a:hover {
  color: var(--gold-bright);
}

.dg-page-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.dg-page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.dg-page-back-link:hover {
  color: var(--navy);
}

/* Sidebar shared */
.dg-page-sidebar__box {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.dg-page-sidebar__box--navy {
  background: var(--navy);
  border-color: rgba(247, 215, 1, 0.2);
}
.dg-page-sidebar__box-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.dg-page-sidebar__box-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.dg-page-sidebar__back {
  margin-top: 1rem;
}

.btn--outline-gold {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Welcome Note Hero ────────────────────────────────────── */
.dg-page-hero {
  position: relative;
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}
.dg-page-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.dg-page-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.dg-page-hero__orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(46, 116, 212, 0.3) 0%,
    transparent 70%
  );
  top: -100px;
  right: 5%;
}
.dg-page-hero__orb--2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(247, 215, 1, 0.1) 0%,
    transparent 70%
  );
  bottom: -50px;
  left: 10%;
}
.dg-page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.dg-page-hero__photo-wrap {
  flex-shrink: 0;
  position: relative;
}
.dg-page-hero__photo {
  width: 200px;
  height: 250px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  border: 2px solid rgba(247, 215, 1, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: block;
}
.dg-page-hero__photo-placeholder {
  width: 200px;
  height: 250px;
  border-radius: 14px;
  background: rgba(17, 85, 170, 0.4);
  border: 2px solid rgba(247, 215, 1, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dg-page-hero__photo-glow {
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(
    circle at center,
    rgba(247, 215, 1, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.dg-page-hero__info {
  flex: 1;
}
.dg-page-hero__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin: 0 0 0.35rem;
  line-height: 1.1;
}
.dg-page-hero__role {
  font-size: 0.9rem;
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.dg-page-hero__quote {
  background: rgba(247, 215, 1, 0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 0 0 1.75rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.65;
  position: relative;
}
.dg-page-hero__quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -0.3rem;
  left: 0.75rem;
  line-height: 1;
}
.dg-page-bio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Welcome Note Body ────────────────────────────────────── */
.dg-page-body {
  background: var(--off-white);
  padding: 4rem 0 5rem;
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
}
.dg-page-body__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.dg-page-article {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dg-page-article__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--navy-pale);
}
.dg-page-article__icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.dg-page-article__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.dg-page-article__body {
  padding: 2.5rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--body-text);
}
.dg-page-article__body p + p {
  margin-top: 1.1rem;
}

/* Signature */
.dg-page-signature {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--off-white);
}
.dg-page-signature__line {
  margin-bottom: 0.75rem;
}
.dg-page-signature__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.dg-page-signature__title {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Sidebar photo card */
.dg-page-sidebar__photo-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.25rem;
  background: var(--navy);
}
.dg-page-sidebar__photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.dg-page-sidebar__nameplate {
  padding: 1rem 1.25rem 1.25rem;
}
.dg-page-sidebar__name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}
.dg-page-sidebar__role {
  font-size: 0.75rem;
  color: var(--gold-bright);
  margin-top: 0.2rem;
}

/* ══════════════════════════════════════════════════════════════
   DG BIOGRAPHY PAGE
   ══════════════════════════════════════════════════════════════ */
.dg-bio-hero {
  position: relative;
  background: var(--navy);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.dg-bio-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.dg-bio-hero__inner {
  position: relative;
  z-index: 2;
}
.dg-bio-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin: 0.5rem 0 0;
  line-height: 1.1;
}
.dg-bio-hero__accent {
  color: var(--gold-bright);
  font-style: italic;
}

.dg-bio-body {
  background: var(--off-white);
  padding: 4rem 0 5rem;
}
.dg-bio-body__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Profile card */
.dg-bio-profile-card {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
}
.dg-bio-profile-card__photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: brightness(0.92);
}
.dg-bio-profile-card__placeholder {
  width: 100%;
  height: 340px;
  background: rgba(17, 85, 170, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dg-bio-profile-card__info {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 2px solid var(--gold);
}
.dg-bio-profile-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.dg-bio-profile-card__role {
  font-size: 0.75rem;
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Key facts */
.dg-bio-facts {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.dg-bio-facts__title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.dg-bio-fact {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.dg-bio-fact:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.dg-bio-fact__icon {
  width: 32px;
  height: 32px;
  background: var(--navy-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.dg-bio-fact__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.dg-bio-fact__value {
  font-size: 0.85rem;
  color: var(--body-text);
  line-height: 1.5;
}
.dg-bio-sidebar__cta {
  margin-bottom: 1rem;
}

/* Biography article */
.dg-bio-article {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.dg-bio-article__header {
  padding: 2.5rem 2.5rem 0;
}
.dg-bio-article__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.25rem;
}
.dg-bio-article__divider {
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.dg-bio-article__body {
  padding: 0 2.5rem 2.5rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--body-text);
}
.dg-bio-article__body p + p {
  margin-top: 1.1rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dg-page-hero__inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .dg-page-hero__photo {
    width: 160px;
    height: 200px;
  }
  .dg-page-hero__photo-placeholder {
    width: 160px;
    height: 200px;
  }
  .dg-page-hero__quote-mark {
    display: none;
  }
  .dg-page-breadcrumb {
    justify-content: center;
  }
  .dg-page-body__inner {
    grid-template-columns: 1fr;
  }
  .dg-page-sidebar {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .dg-page-sidebar__photo-card {
    grid-column: 1 / -1;
  }
  .dg-bio-body__layout {
    grid-template-columns: 1fr;
  }
  .dg-bio-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .dg-bio-profile-card {
    grid-column: 1 / -1;
  }
  .dg-bio-article__header {
    padding: 1.5rem 1.5rem 0;
  }
  .dg-bio-article__body {
    padding: 0 1.5rem 1.5rem;
  }
  .dg-page-article__body {
    padding: 1.5rem;
  }
  .dg-page-signature {
    padding: 1.5rem;
  }
}
@media (max-width: 600px) {
  .dg-page-sidebar {
    grid-template-columns: 1fr;
  }
  .dg-bio-sidebar {
    grid-template-columns: 1fr;
  }
  .dg-bio-hero__title {
    font-size: 1.8rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════════ */
.faq-section {
  max-width: 1600px;
  margin: 3rem auto 4rem;
}

.faq-section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.faq-section__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-pale);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}
.faq-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin: 0;
}

/* ── List ─────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ── Single item ──────────────────────────────────────────── */
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.faq-item:hover {
  border-color: rgba(17, 85, 170, 0.2);
  box-shadow: 0 4px 20px rgba(10, 42, 94, 0.06);
}
.faq-item.faq-open {
  border-color: var(--navy-light);
  box-shadow: 0 6px 28px rgba(10, 42, 94, 0.1);
}

/* ── Question button ──────────────────────────────────────── */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}
.faq-question:hover {
  background: var(--navy-pale);
}
.faq-item.faq-open .faq-question {
  background: var(--navy-pale);
}

.faq-question__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-dark);
  opacity: 0.6;
  min-width: 28px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.faq-item.faq-open .faq-question__num {
  opacity: 1;
  color: var(--navy-light);
}

.faq-question__text {
  flex: 1;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}
.faq-item.faq-open .faq-question__text {
  color: var(--navy-light);
}

/* +/– icon */
.faq-question__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.3s ease;
}
.faq-item.faq-open .faq-question__icon {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  transform: rotate(0deg);
}

.faq-icon-plus {
  display: block;
}
.faq-icon-minus {
  display: none;
}
.faq-item.faq-open .faq-icon-plus {
  display: none;
}
.faq-item.faq-open .faq-icon-minus {
  display: block;
}

/* ── Answer panel ─────────────────────────────────────────── */
.faq-answer {
  /* controlled via JS — hidden attr toggled */
  overflow: hidden;
}
.faq-answer[hidden] {
  display: block !important; /* override hidden so we can animate height */
  max-height: 0;
  visibility: hidden;
}
.faq-answer:not([hidden]) {
  max-height: none;
  visibility: visible;
}

.faq-answer__inner {
  padding: 0 1.5rem 0 4.25rem; /* left-aligned with question text */
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.8;
}
.faq-answer__inner p {
  margin-bottom: 0.75rem;
}
.faq-answer__inner p:last-child {
  margin-bottom: 0;
}
.faq-answer__inner ul,
.faq-answer__inner ol {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.faq-answer__inner li {
  margin-bottom: 0.35rem;
}
.faq-answer__inner a {
  color: var(--navy-light);
  text-decoration: underline;
}
.faq-answer__inner strong {
  color: var(--body-text);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .faq-question {
    padding: 1rem 1.1rem;
    gap: 0.85rem;
  }
  .faq-question__num {
    display: none;
  }
  .faq-answer__inner {
    padding: 0 1.1rem 1.25rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   FAQ TWO-PANEL LAYOUT
   ══════════════════════════════════════════════════════════════ */

.faq-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

/* ── LEFT sidebar ─────────────────────────────────────────── */
.faq-sidebar {
  position: sticky;
  top: 80px; /* below sticky nav */
}

.faq-sidebar__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.75rem;
  margin-bottom: 0.75rem;
}

.faq-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-sidebar__list li + li {
  border-top: 1px solid var(--border-light);
}

/* Category button */
.faq-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
  position: relative;
}
.faq-cat-btn:hover {
  background: var(--navy-pale);
}
.faq-cat-btn.active {
  background: var(--navy);
}

.faq-cat-btn__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.faq-cat-btn__label {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  transition: color 0.2s;
}
.faq-cat-btn.active .faq-cat-btn__label {
  color: var(--white);
}

.faq-cat-btn__count {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--navy-pale);
  color: var(--navy-mid);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  transition: all 0.2s;
}
.faq-cat-btn.active .faq-cat-btn__count {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.faq-cat-btn__arrow {
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.2s;
  opacity: 0;
}
.faq-cat-btn:hover .faq-cat-btn__arrow,
.faq-cat-btn.active .faq-cat-btn__arrow {
  opacity: 1;
  color: var(--gold-bright);
}

/* Active left border indicator */
.faq-cat-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.faq-cat-btn.active::before {
  opacity: 1;
}

/* ── RIGHT panels ─────────────────────────────────────────── */
.faq-panels {
  min-height: 400px;
}

.faq-panel {
  display: none;
  animation: faqPanelIn 0.3s ease both;
}
.faq-panel.active {
  display: block;
}

@keyframes faqPanelIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Panel header */
.faq-panel__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  border-radius: 14px 14px 0 0;
  margin-bottom: 0;
}
.faq-panel__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.faq-panel__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.faq-panel__count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(247, 215, 1, 0.12);
  border: 1px solid rgba(247, 215, 1, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

/* FAQ list inside panel */
.faq-panel .faq-list {
  border: 1.5px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.faq-panel .faq-item {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border-light);
}
.faq-panel .faq-item:last-child {
  border-bottom: none;
}
.faq-panel .faq-item.faq-open {
  box-shadow: none;
  border-color: transparent;
  background: var(--navy-pale);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    position: static;
  }
  .faq-sidebar__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-radius: 12px;
  }
  .faq-sidebar__list li {
    flex: 1 1 auto;
    min-width: 140px;
    border-top: none !important;
    border-right: 1px solid var(--border-light);
  }
  .faq-sidebar__list li:last-child {
    border-right: none;
  }
  .faq-cat-btn {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.85rem 0.75rem;
    gap: 0.35rem;
  }
  .faq-cat-btn__arrow {
    display: none;
  }
  .faq-cat-btn::before {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
    border-radius: 0;
  }
  .faq-panel__header {
    border-radius: 12px 12px 0 0;
  }
}

@media (max-width: 560px) {
  .faq-sidebar__list {
    flex-direction: column;
  }
  .faq-sidebar__list li {
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
  }
  .faq-sidebar__list li:last-child {
    border-bottom: none;
  }
  .faq-cat-btn {
    flex-direction: row;
    text-align: left;
  }
  .faq-cat-btn__arrow {
    display: block;
  }
  .faq-cat-btn::before {
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: auto;
  }
}

/* ══════════════════════════════════════════════════════════════
   PUBLICATIONS PAGES
   ══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ──────────────────────────────────────────────── */
.pub-breadcrumb {
  background: var(--navy-pale);
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 0;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pub-breadcrumb a {
  color: var(--navy-mid);
  transition: color 0.2s;
}
.pub-breadcrumb a:hover {
  color: var(--navy);
}
.pub-breadcrumb--detail {
  display: block;
}
.pub-breadcrumb--detail .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ── Index Hero ──────────────────────────────────────────────── */
.pubs-hero {
  position: relative;
  background: linear-gradient(160deg, #060f24 0%, #0a2a5e 55%, #0a2a5e 100%);
  padding: 4rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.pubs-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.pubs-hero__inner {
  position: relative;
  z-index: 2;
}
.pub-breadcrumb-light {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}
.pub-breadcrumb-light a {
  color: rgba(255, 255, 255, 0.5);
}
.pub-breadcrumb-light a:hover {
  color: var(--gold-bright);
}
.pubs-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 0.6rem 0 0.75rem;
}
.pubs-hero__title-accent {
  color: var(--gold-bright);
  font-style: italic;
}
.pubs-hero__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

/* Search bar */
.pubs-hero__search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.25rem;
  max-width: 480px;
  backdrop-filter: blur(8px);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.pubs-hero__search:focus-within {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}
.pubs-hero__search svg {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}
.pubs-hero__search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-ui);
}
.pubs-hero__search input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.pubs-hero__search-clear {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  display: flex;
  transition: color 0.2s;
}
.pubs-hero__search-clear:hover {
  color: var(--gold-bright);
}

/* ── Main layout ─────────────────────────────────────────────── */
.pubs-layout-section {
  background: var(--off-white);
  padding: 3rem 0 5rem;
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
}
.pubs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── Category sidebar ────────────────────────────────────────── */
.pubs-sidebar {
  position: sticky;
  top: 80px;
}
.pubs-sidebar__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.5rem;
  margin-bottom: 0.6rem;
}
.pubs-sidebar__nav {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.pubs-cat-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
  position: relative;
  cursor: pointer;
}
.pubs-cat-btn:last-child {
  border-bottom: none;
}
.pubs-cat-btn:hover {
  background: var(--navy-pale);
}
.pubs-cat-btn.active {
  background: var(--navy);
}
.pubs-cat-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.pubs-cat-btn.active::before {
  opacity: 1;
}
.pubs-cat-btn__icon {
  font-size: 1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.pubs-cat-btn__label {
  flex: 1;
  font-size: 0.855rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}
.pubs-cat-btn.active .pubs-cat-btn__label {
  color: var(--white);
}
.pubs-cat-btn__count {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--navy-pale);
  color: var(--navy-mid);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.pubs-cat-btn.active .pubs-cat-btn__count {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-bright);
}

/* Info box */
.pubs-sidebar__info {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 1.25rem;
}
.pubs-sidebar__info-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.pubs-sidebar__info-body {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Toolbar ─────────────────────────────────────────────────── */
.pubs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.pubs-toolbar__count {
  font-size: 0.875rem;
  color: var(--muted);
}
.pubs-toolbar__count strong {
  color: var(--navy);
  font-weight: 700;
}
.pubs-toolbar__count em {
  color: var(--navy-mid);
  font-style: normal;
  font-weight: 600;
}
.pubs-sort-select {
  font-size: 0.82rem;
  font-family: var(--font-ui);
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.35rem 0.75rem;
  background: var(--white);
  cursor: pointer;
}

/* ── Publications grid ───────────────────────────────────────── */
.pubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ── Publication card v2 ─────────────────────────────────────── */
.pub-card-v2 {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.pub-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(10, 42, 94, 0.12);
  border-color: rgba(17, 85, 170, 0.2);
}

/* Cover / colour band */
.pub-card-v2__cover {
  height: 130px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pub-card-v2__cover--guidelines {
  background: linear-gradient(135deg, #1155aa, #2e74d4);
}
.pub-card-v2__cover--regulations {
  background: linear-gradient(135deg, #1155aa, #2e74d4);
}
.pub-card-v2__cover--reports {
  background: linear-gradient(135deg, #0f4433, #1a7a5a);
}
.pub-card-v2__cover--research {
  background: linear-gradient(135deg, #0d3580, #2e74d4);
}
.pub-card-v2__cover--forms {
  background: linear-gradient(135deg, #6b3a1b, #a36b2e);
}
.pub-card-v2__cover--notices {
  background: linear-gradient(135deg, #6b1b1b, #a33030);
}
.pub-card-v2__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pub-card-v2__cover-icon {
  font-size: 3rem;
  opacity: 0.6;
}
.pub-card-v2__cat-badge {
  position: absolute;
  bottom: 0.6rem;
  left: 0.75rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* Body */
.pub-card-v2__body {
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
}
.pub-card-v2__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.pub-card-v2__title a {
  color: var(--navy);
  transition: color 0.2s;
}
.pub-card-v2__title a:hover {
  color: var(--navy-light);
}
.pub-card-v2__summary {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.pub-card-v2__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.pub-card-v2__date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Footer */
.pub-card-v2__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid var(--border-light);
  margin-top: 0.5rem;
  gap: 0.75rem;
}
.pub-card-v2__details {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-mid);
  transition: color 0.2s;
}
.pub-card-v2__details:hover {
  color: var(--navy);
}
.pub-card-v2__download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.pub-card-v2__download:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

/* Empty/no results states */
.pubs-empty,
.pubs-no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}
.pubs-empty__icon,
.pubs-no-results__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.pubs-empty h3,
.pubs-no-results p {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   PUBLICATION DETAIL PAGE
   ══════════════════════════════════════════════════════════════ */
.pub-detail-layout {
  background: var(--off-white);
  padding: 3rem 0 5rem;
}
.pub-detail-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* Meta row */
.pub-detail-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.pub-detail-cat {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  color: white;
  background: var(--navy);
}
/* .pub-detail-cat--guidelines {
  background: #1155aa;
}
.pub-detail-cat--regulations {
  background: #3a1b6b;
}
.pub-detail-cat--reports {
  background: #0f4433;
}
.pub-detail-cat--research {
  background: #0d3580;
}
.pub-detail-cat--forms {
  background: #6b3a1b;
}
.pub-detail-cat--notices {
  background: #6b1b1b;
} */
.pub-detail-date,
.pub-detail-pages,
.pub-detail-size {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Title */
.pub-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

/* Summary */
.pub-detail-summary {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

/* Download banner */
.pub-download-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--navy-pale);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.pub-download-banner__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pub-download-banner__icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.pub-download-banner__name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.pub-download-banner__info {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Body */
.pub-detail-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--body-text);
  margin-bottom: 2.5rem;
}
.pub-detail-body p + p {
  margin-top: 1rem;
}

/* Back link */
.pub-detail-back {
  margin-top: 2rem;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.pub-detail-sidebar__cover {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}
.pub-detail-sidebar__cover-img {
  width: 100%;
  display: block;
}
.pub-detail-sidebar__cover-placeholder {
  height: 220px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: var(--navy);
}
.pub-detail-sidebar__cover-placeholder--guidelines {
}
/* .pub-detail-sidebar__cover-placeholder--regulations {
  background: linear-gradient(135deg, #1a0e5e, #5a3aa3);
}
.pub-detail-sidebar__cover-placeholder--reports {
  background: linear-gradient(135deg, #0f4433, #1a7a5a);
}
.pub-detail-sidebar__cover-placeholder--research {
  background: linear-gradient(135deg, #0d3580, #2e74d4);
}
.pub-detail-sidebar__cover-placeholder--forms {
  background: linear-gradient(135deg, #6b3a1b, #a36b2e);
}
.pub-detail-sidebar__cover-placeholder--notices {
  background: linear-gradient(135deg, #6b1b1b, #a33030);
} */

/* Info card */
.pub-detail-sidebar__info-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.pub-detail-sidebar__info-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.pub-detail-sidebar__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
}
.pub-detail-sidebar__dl dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  align-self: start;
}
.pub-detail-sidebar__dl dd {
  font-size: 0.82rem;
  color: var(--body-text);
  margin: 0;
}

/* Related */
.pub-detail-sidebar__related {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
}
.pub-detail-sidebar__related-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.pub-detail-sidebar__related-item {
  display: block;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}
.pub-detail-sidebar__related-item:last-child {
  border-bottom: none;
}
.pub-detail-sidebar__related-item:hover {
  background: var(--navy-pale);
}
.pub-detail-sidebar__related-cat {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}
.pub-detail-sidebar__related-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pubs-layout {
    grid-template-columns: 220px 1fr;
  }
}
@media (max-width: 900px) {
  .pubs-layout {
    grid-template-columns: 1fr;
  }
  .pubs-sidebar {
    position: static;
  }
  .pubs-sidebar__nav {
    display: flex;
    flex-wrap: wrap;
    border-radius: 12px;
  }
  .pubs-cat-btn {
    flex: 1 1 auto;
    min-width: 120px;
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    gap: 0.25rem;
  }
  .pubs-cat-btn:last-child {
    border-right: none;
  }
  .pubs-cat-btn::before {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
    border-radius: 0;
  }
  .pub-detail-inner {
    grid-template-columns: 1fr;
  }
  .pub-detail-sidebar {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .pub-detail-sidebar__cover,
  .pub-detail-sidebar__cover-placeholder {
    grid-column: 1 / -1;
    height: 160px;
  }
  .pub-detail-sidebar__cover-img {
    height: 160px;
    object-fit: cover;
  }
}
@media (max-width: 600px) {
  .pubs-grid {
    grid-template-columns: 1fr;
  }
  .pubs-sidebar__nav {
    flex-direction: column;
  }
  .pubs-cat-btn {
    flex-direction: row;
    text-align: left;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .pubs-cat-btn::before {
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: auto;
    border-radius: 0;
  }
  .pub-detail-sidebar {
    grid-template-columns: 1fr;
  }
  .pub-download-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Publication bilingual extras ────────────────────────────── */

/* "SW version not yet available" notice */
.pub-lang-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #fff8e6;
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.pub-lang-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Language availability pills */
.pub-lang-available {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.pub-lang-available__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pub-lang-available__pills {
  display: flex;
  gap: 0.4rem;
}
.pub-lang-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}
.pub-lang-pill--active {
  background: var(--navy);
  color: var(--white);
}
.pub-lang-pill--inactive {
  background: var(--off-white);
  color: var(--muted);
  border: 1px solid var(--border);
  text-decoration: line-through;
  opacity: 0.6;
}

.rich-text-content {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Paragraph spacing */
.rich-text-content p {
  margin-bottom: 1.2rem;
  overflow-wrap: anywhere;
}

/* Headings */
.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Lists */
.rich-text-content ul,
.rich-text-content ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.rich-text-content li {
  margin-bottom: 0.5rem;
}

/* Links */
.rich-text-content a {
  color: var(--navy-mid);
  text-decoration: underline;
}

.rich-text-content[data-document-links="true"] {
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2rem;
}

.rich-text-content[data-document-links="true"] > h1,
.rich-text-content[data-document-links="true"] > h2,
.rich-text-content[data-document-links="true"] > h3,
.rich-text-content[data-document-links="true"] > h4,
.rich-text-content[data-document-links="true"] > ul,
.rich-text-content[data-document-links="true"] > ol {
  grid-column: 1 / -1;
}

.rich-text-content[data-document-links="true"] > p {
  margin: 0;
}

.rich-text-content[data-document-links="true"] > p > a {
  display: block;
  padding: 0.15rem 0;
}

.rich-text-content[data-document-links="true"] > ul,
.rich-text-content[data-document-links="true"] > ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2rem;
  padding-left: 0;
  list-style-position: inside;
}

.rich-text-content[data-document-links="true"] li {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .rich-text-content[data-document-links="true"],
  .rich-text-content[data-document-links="true"] > ul,
  .rich-text-content[data-document-links="true"] > ol {
    grid-template-columns: 1fr;
  }
}

/* Images */
.rich-text-content img {
  margin: 1.5rem 0;
  border-radius: 8px;
  max-width: 100%;
}

.flex-table-block {
  margin: 2rem auto;
  max-width: 100%;
  overflow-x: auto;
}

.flex-table-block table,
.rich-text-content table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
}

.flex-table-block th,
.flex-table-block td,
.rich-text-content th,
.rich-text-content td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.flex-table-block th,
.rich-text-content th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.flex-table-block tr:nth-child(even) td,
.rich-text-content tr:nth-child(even) td {
  background: var(--off-white);
}

.flex-page__body {
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
  padding: 2rem;
}

/* ==========================================================================
   DG & STATS SPLIT SECTION
   ========================================================================== */

.dg-stats-split {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default */
  width: 100%;
}

@media (min-width: 1024px) {
  .dg-stats-split {
    grid-template-columns: 1fr 1fr; /* 50/50 split on desktop */
  }
}

/* ── Left Column (DG - Navy) ── */
.dg-stats-split__left {
  background-color: var(--navy);
  color: var(--white);
  padding: 4rem 2rem;
  display: flex;
  justify-content: flex-end; /* Aligns content toward center on large screens */
}

.dg-stats-split__left-inner {
  max-width: 600px; /* Controls text width */
  width: 100%;
}

@media (min-width: 1024px) {
  .dg-stats-split__left {
    padding: 3rem 4rem 3rem 2rem;
  }
}

/* Row 1: DG Profile & Quote */
.dg-profile-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .dg-profile-row {
    flex-direction: row;
    align-items: center;
  }
}

/* Profile Card Styling */
.dg-profile-card {
  flex-shrink: 0;
  width: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
}

.dg-profile-card__photo-wrap {
  position: relative;
}

.dg-profile-card__photo {
  width: 100%;
  height: auto;
  display: block;
}

.dg-profile-card__nameplate {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95), transparent);
  padding: 2rem 1rem 1rem;
}

.dg-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}
.dg-title {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Quote Block */
.dg-quote-block {
  margin: 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  text-align: justify;
}

.dg-quote-block__icon {
  font-family: serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 0;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.dg-quote-block__text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.dg-quote-block__author {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

/* Row 2: Welcome Text & Actions */
.dg-welcome-content__title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.dg-welcome-content__text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

.dg-welcome-content__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Right Column (Stats - Off-White) ── */
.dg-stats-split__right {
  background-color: var(--off-white, #fdfbf7);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
  padding: 4rem 2rem;
  position: relative;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 1024px) {
  .dg-stats-split__right {
    padding: 3rem 2rem 3rem 4rem;
  }
}

.stats-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.dg-stats-split__right-inner {
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.stats-header {
  margin-bottom: 3rem;
}
.stats-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.stats-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(10, 22, 40, 0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border-left: 3px solid var(--gold);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}
.stat-card__number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-card__label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.stat-card__desc {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Utilities (If you don't already have them globally) */
.text-gold {
  color: var(--gold);
}
.text-white {
  color: var(--white);
}
.text-navy {
  color: var(--navy);
}
.text-light-alpha {
  color: rgba(255, 255, 255, 0.75);
}
.text-ink-light {
  color: rgba(10, 22, 40, 0.7);
}

.unlinked-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
}

.unlinked-page__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 6rem 0;
  text-align: center;
}

.unlinked-page__label {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.unlinked-page__title {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.unlinked-page__text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 auto 2.25rem;
  max-width: 560px;
}

.unlinked-page__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
/* ════════════════════════════════════════════════
   MEGA-MENU DROPDOWN
   ════════════════════════════════════════════════ */

/* ── Nav item: anchor for dropdown ───────────── */
.nav__item {
  position: relative;
}

/* ── Chevron ──────────────────────────────────── */
.nav__chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav__item.is-open > .nav__link .nav__chevron,
.nav__item:focus-within > .nav__link .nav__chevron {
  transform: rotate(180deg);
}

/* ── Mega panel ───────────────────────────────── */
.nav__mega {
  position: absolute;
  top: 100%;
  left: 0;
  width: 580px;
  z-index: 500;

  background-color: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;

  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  pointer-events: none;
}

/* Show on hover or focus */
.nav__item.has-dropdown:hover .nav__mega,
.nav__item.has-dropdown:focus-within .nav__mega,
.nav__item.is-open .nav__mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* Right-align last items to prevent viewport overflow */
.nav__item:last-child .nav__mega,
.nav__item:nth-last-child(2) .nav__mega {
  left: auto;
  right: 0;
  border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
}

/* ── Inner layout ─────────────────────────────── */
.nav__mega-inner {
  display: flex;
  align-items: stretch;
}

/* ── Links panel ──────────────────────────────── */
.nav__mega-links {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Section title */
.nav__mega-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  opacity: 1;
  margin-bottom: 0.4rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav__mega-title::before {
  content: "";
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
}

/* Description line */
.nav__mega-desc {
  font-size: 0.8rem;
  color: var(--navy);
  line-height: 1.55;
  max-width: 420px;
  margin-bottom: 1.1rem;
}

/* Links list — vertical single column */
.nav__mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__mega-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    color var(--transition),
    padding-left var(--transition);
}

.nav__mega-link:hover {
  background: rgba(255, 255, 255, 0.08);
  /* color: var(--gold); */
  padding-left: 1rem;
}

.nav__mega-link-icon {
  flex-shrink: 0;
  color: var(--navy);
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}

.nav__mega-link:hover .nav__mega-link-icon {
  transform: translateX(3px);
}

/* ── Image panel ──────────────────────────────── */
.nav__mega-image {
  position: relative;
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) 0;
}

.nav__mega-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.nav__item.has-dropdown:hover .nav__mega-image img {
  transform: scale(1.04);
}

/* Fade from navy into the photo */
.nav__mega-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--off-white) 0%,
    rgba(167, 196, 232, 0.6) 40%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Hide on mobile ───────────────────────────── */
@media (max-width: 1024px) {
  .site-header {
    overflow: visible;
  }

  .header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav__mega {
    display: block;
    left: 50% !important;
    right: auto !important;
    width: min(580px, calc(100vw - 2rem));
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    transform: translate(-50%, -8px);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav__item.has-dropdown:hover .nav__mega,
  .nav__item.has-dropdown:focus-within .nav__mega,
  .nav__item.is-open .nav__mega {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 560px) {
  .nav__link {
    height: 40px;
    padding: 0 0.45rem;
    font-size: 0.7rem;
  }

  .nav__mega {
    width: calc(100vw - 1rem);
  }

  .nav__mega-inner {
    flex-direction: column;
  }

  .nav__mega-image {
    display: none;
  }
}

.content-aligned {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* ════════════════════════════════════════════════
   VIDEOS SECTION
   ════════════════════════════════════════════════ */

.videos-index {
  background: var(--off-white);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
  padding: 2rem;
}

.videos-section {
  padding-block: 3rem;
  background: var(--navy);
  background-image: var(--bg-pattern);
  background-blend-mode: multiply;
  background-size: 1000px;
  background-position: center;
  background-repeat: repeat;
}

/* Override eyebrow + heading colour on dark bg */
.videos-section .section-eyebrow {
  color: var(--gold);
}

.videos-section h2 {
  color: var(--white);
}

.videos-section .btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

.videos-section .btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

/* ── Grid ─────────────────────────────────────── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card ─────────────────────────────────────── */
.video-card {
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  padding-bottom: 0.5rem;
}

.video-card-blue {
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  padding-bottom: 0.5rem;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  border-color: var(--gold);
}

/* ── Thumbnail button ─────────────────────────── */
.video-card__thumb-wrap {
  all: unset;
  display: block;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-mid);
  flex-shrink: 0;
}

.video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s ease,
    filter 0.3s ease;
}

.video-card__thumb-wrap:hover .video-card__thumb {
  transform: scale(1.04);
  filter: brightness(0.75);
}

/* Overlay with play button */
.video-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.video-card__thumb-wrap:hover .video-card__overlay {
  background: rgba(0, 0, 0, 0.38);
}

/* Play button circle */
.video-card__play {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
  flex-shrink: 0;
}

.video-card__thumb-wrap:hover .video-card__play {
  transform: scale(1.12);
  background: var(--gold);
  color: var(--navy);
}

/* YouTube watermark badge */
.video-card__yt-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.7rem;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  padding: 0.25rem 0.45rem;
  display: flex;
  align-items: center;
  color: #fff;
  opacity: 0.8;
}

/* ── Card body ────────────────────────────────── */
.video-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.video-card__title a:hover {
  color: var(--gold);
}

.video-card__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0.85rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__watch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.03em;
  margin-top: auto;
  transition: gap var(--transition);
}

.video-card__watch-link:hover {
  gap: 0.55rem;
}

/* ════════════════════════════════════════════════
   VIDEO MODAL / LIGHTBOX
   ════════════════════════════════════════════════ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 24, 0.94);
  backdrop-filter: blur(6px);
}

.video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
}

.video-modal__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* 16:9 responsive frame */
.video-modal__frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.video-modal__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* ── Filter tabs ── */
.videos-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.videos-filter__tab {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--navy-pale);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
}

.videos-filter__tab:hover,
.videos-filter__tab.is-active {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}

/* ── Category badge on card ── */
.video-card__category-badge {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background: rgba(10, 22, 44, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.video-card__date {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ── Detail page player ── */
.video-detail__player {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 1.75rem;
  background: #000;
}

.video-detail__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-detail__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.video-detail__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.video-detail__summary {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

/* ════════════════════════════════════════════════
   VIDEOS SECTION — simple card style
   ════════════════════════════════════════════════ */

/* ── Grid ─────────────────────────────────────── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card ─────────────────────────────────────── */
.video-card {
  cursor: pointer;
  outline: none;
}

.video-card:focus-visible .video-card__thumb-wrap {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ── Thumbnail wrapper ────────────────────────── */
.video-card__thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy-pale);
}

.video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.45s ease,
    filter 0.3s ease;
}

.video-card:hover .video-card__thumb {
  transform: scale(1.04);
  filter: brightness(0.72);
}

/* ── Play overlay — hidden until hover ───────── */
.video-card__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-card:hover .video-card__play-overlay {
  opacity: 1;
}

/* YouTube-style play button */
.video-card__play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.video-card:hover .video-card__play-btn {
  transform: scale(1.1);
}

/* ── Title below image ────────────────────────── */
.video-card__title {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white); /* amber — matches screenshot */
  padding: 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;

  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════════════════════
   VIDEO MODAL
   ════════════════════════════════════════════════ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 24, 0.94);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
}

.video-modal__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* 16:9 responsive iframe */
.video-modal__frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.video-modal__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.videos-section__footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Self-hosted thumbnail placeholder ───────── */
.video-card__thumb--placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Self-hosted play circle ─────────────────── */
.video-card__play-circle {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.video-card:hover .video-card__play-circle {
  transform: scale(1.1);
  background: var(--gold);
}

/* ── Source badge ────────────────────────────── */
.video-card__source-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.video-card__source-badge--hosted {
  background: rgba(17, 85, 170, 0.75);
  color: #fff;
}

/* ── HTML5 video player in modal ─────────────── */
.video-modal__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

video.video-modal__player {
  object-fit: contain;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Base button */
.pagination__btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;

  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);

  background: var(--white);
  color: var(--navy);

  cursor: pointer;
  text-decoration: none;

  transition: var(--transition);
}

/* Hover */
.pagination__btn:hover {
  background: var(--navy-pale);
  border-color: var(--navy-light);
  color: var(--navy-mid);
}

/* Active page */
.pagination__btn.is-active {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
  box-shadow: var(--shadow-sm);
}

/* Nav arrows */
.pagination__btn--nav {
  font-weight: 600;
}

/* Disabled */
.pagination__btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Ellipsis */
.pagination__ellipsis {
  padding: 0 6px;
  color: var(--muted);
  font-size: 14px;
}

/* Publication-style document grids used by CMS document pages. */
.flex-page__body--documents {
  padding: 3rem 0 5rem;
  background-color: var(--off-white);
  background-image: var(--bg-pattern);
  background-size: 980px;
  background-position: center top;
}

.flex-page__body--documents .container {
  max-width: var(--container);
}

.document-card-v2--regulations .pub-card-v2__cover-icon {
  color: #d6a13a !important;
  opacity: 0.92 !important;
}

.document-card-v2--guidelines .pub-card-v2__cover-icon {
  color: #9aa4b6 !important;
  opacity: 0.9 !important;
}

.document-card-v2 .pub-card-v2__body {
  min-height: 112px;
}

.flex-page__body--documents .pubs-cat-btn.active {
  box-shadow: inset 4px 0 0 var(--gold);
}

.flex-page__body--documents .pubs-cat-btn.active .pubs-cat-btn__label {
  font-weight: 800;
}
