/* =====================================================================
   NRSFC 2026 — CORPORATE POLISH LAYER
   Loaded LAST on every page. Harmonises widths, rhythm, typography
   rendering and fixes visual defects. Changes no copy.
   ===================================================================== */

:root {
  --cp-max: 1280px;                         /* one content width for the whole site */
  --cp-gutter: clamp(20px, 4.2vw, 40px);    /* side padding below the max width */
  --cp-sec-y: clamp(64px, 7vw, 104px);      /* vertical rhythm between sections */
  --cp-ring: 0 0 0 3px rgba(245, 197, 66, .55);
}

/* ---------- Rendering quality (crisp "HD" type & images) ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h, 72px); }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
section img, footer img { image-rendering: auto; }

/* Accessible, consistent focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--cp-ring);
  border-radius: 10px;
}

/* No accidental sideways scrolling on any device */
html, body { overflow-x: clip; }

/* =====================================================================
   1. ONE CONTENT WIDTH  (every section lines up at 1280px)
   ===================================================================== */
.hero-clean > .container,
.countdown-strip .container,
.rd-languages-wrap {
  max-width: calc(var(--cp-max) + 2 * var(--cp-gutter));
  padding-left: var(--cp-gutter);
  padding-right: var(--cp-gutter);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  width: 100%;
}
.nav-clean > .container {
  max-width: 1540px !important;
  padding-left: clamp(12px, 2vw, 32px) !important;
  padding-right: clamp(12px, 2vw, 32px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
.who-heritage-container { max-width: var(--cp-max); }
#patrons .nrsfc-container {
  max-width: calc(var(--cp-max) + 2 * var(--cp-gutter));
  padding-left: var(--cp-gutter);
  padding-right: var(--cp-gutter);
}
.rd-languages-carousel { max-width: 100%; }

/* =====================================================================
   2. CREATOR JOURNEY — clean white prints (no cream/white mismatch)
   ===================================================================== */
.journey-print-card { padding: 10px; border-radius: 14px; max-width: 300px; }
.journey-print-inner {
  aspect-ratio: 4 / 5;
  background: #FFFFFF;
  border-radius: 9px;
}
.journey-print-img {
  object-fit: cover;
  object-position: center top;
  padding: 0;
}

/* =====================================================================
   3. PEOPLE SUPPORTING THE VISION — balanced cards & legible logos
   ===================================================================== */
#patrons .dignitary-photo-wrap {
  height: auto;
  aspect-ratio: 4 / 4.2;
  box-shadow: 0 14px 32px rgba(13, 34, 36, .10);
}
#patrons .media-partner-tile {
  border-style: solid;
  border-color: #D6E4E4;
  height: 120px;
  padding: 14px;
  box-sizing: border-box;
}
#patrons .media-partner-tile img {
  max-height: 64px !important;
  max-width: 82% !important;
  width: auto !important;
  height: auto !important;
}

/* =====================================================================
   4. FOOTER — no dead gap, readable sizes, aligned to the grid
   ===================================================================== */
.sf-wrap { max-width: calc(var(--cp-max) + 2 * var(--cp-gutter)); padding-left: var(--cp-gutter); padding-right: var(--cp-gutter); }
.sf-quote::before, .sf-quote::after { display: none; }
@media (min-width: 1024px) {
  .sf-footer { min-height: 0 !important; justify-content: flex-start !important; }
  .sf-main { flex: 0 0 auto !important; align-content: start !important; padding-top: 56px !important; padding-bottom: 40px !important; }
  .sf-quote { padding: 16px 24px !important; }
}
.sf-brand p { font-size: 14px; line-height: 1.65; }
.sf-brand-title { font-size: 12px; }
.sf-logo { flex-basis: 42px; width: 42px; height: 42px; font-size: 22px; border-radius: 11px; }
.sf-col-head { font-size: 15px !important; }
.sf-links li + li { margin-top: 6px !important; }
.sf-links a { font-size: 14px; line-height: 1.5; padding: 3px 0; }

/* =====================================================================
   5. MOBILE REFINEMENTS
   ===================================================================== */
@media (max-width: 640px) {
  /* Languages: let the track run edge to edge instead of looking cut off */
  .rd-languages-carousel { margin-left: calc(-1 * var(--cp-gutter)); margin-right: calc(-1 * var(--cp-gutter)); }
  .rd-languages-grid { padding-left: var(--cp-gutter); padding-right: var(--cp-gutter); scroll-padding-left: var(--cp-gutter); }

  /* Dignitary portraits: sensible height on phones */
  #patrons .dignitary-photo-wrap { aspect-ratio: 4 / 3.4; }

  /* Footer links: comfortable tap targets */
  .sf-links a { padding: 6px 0; }
}

/* =====================================================================
   6. FAQ SPLIT — full-bleed halves, content on the 1280 grid (wide screens)
   ===================================================================== */
@media (min-width: 1025px) {
  .faq-split-section { background: linear-gradient(90deg, #F5C542 50%, #053F43 50%); }
  .faq-split-wrapper {
    max-width: calc(var(--cp-max) + 2 * var(--cp-gutter));
    margin: 0 auto;
  }
  .faq-split-left { padding-left: var(--cp-gutter) !important; width: 440px; min-width: 440px; max-width: 440px; }
  .faq-split-right { padding-right: var(--cp-gutter) !important; }
}

/* =====================================================================
   7. NAVBAR FIT & ZERO-OVERFLOW GUARANTEE (Single-Screen Navigation)
   ===================================================================== */
.nav-clean {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  padding: 8px 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  border-bottom: 1px solid rgba(7, 94, 99, 0.08) !important;
}

.nav-clean .nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(6px, 1vw, 16px) !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.nav-clean .nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}

.nav-clean .nav-logo img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

.nav-clean .logo-name {
  font-family: var(--font-body, "Outfit", sans-serif) !important;
  font-weight: 800 !important;
  font-size: clamp(0.85rem, 0.95vw, 1rem) !important;
  line-height: 1.15 !important;
  color: #052f32 !important;
  letter-spacing: -0.015em !important;
  white-space: nowrap !important;
}

.nav-clean .logo-sub {
  font-family: var(--font-body, "Outfit", sans-serif) !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #075e63 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}

@media (min-width: 1201px) {
  .nav-clean .nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(4px, 0.6vw, 10px) !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    min-width: max-content !important;
    white-space: nowrap !important;
  }
  .nav-clean .nav-hamburger {
    display: none !important;
  }
}

.nav-clean .nav-links li {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.nav-clean .nav-links a,
.nav-clean.scrolled .nav-links a,
.nav-clean .nav-link-dropdown {
  padding: 4px 6px !important;
  font-size: clamp(0.72rem, 0.78vw, 0.83rem) !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  border-radius: 6px !important;
  letter-spacing: -0.01em !important;
  color: #4B6366 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color 0.15s ease, background-color 0.15s ease !important;
}

.nav-clean .nav-links a:hover,
.nav-clean.scrolled .nav-links a:hover,
.nav-clean .nav-link-dropdown:hover {
  color: #075E63 !important;
  background: #E6F2F2 !important;
}

.nav-clean .nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: clamp(6px, 0.75vw, 10px) !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.nav-clean .nav-btn-back {
  background: transparent !important;
  color: #4B6366 !important;
  font-family: var(--font-body, 'Outfit', sans-serif) !important;
  font-size: clamp(0.72rem, 0.78vw, 0.83rem) !important;
  font-weight: 600 !important;
  padding: 4px 6px !important;
  border: none !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  letter-spacing: -0.01em !important;
  flex-shrink: 0 !important;
  transition: color 0.15s ease, background-color 0.15s ease !important;
}

.nav-clean .nav-btn-back:hover {
  background: #E6F2F2 !important;
  color: #075E63 !important;
  transform: none !important;
  box-shadow: none !important;
}

.nav-clean .nav-btn-login {
  background: #fff !important;
  color: #075e63 !important;
  font-family: var(--font-body, "Outfit", sans-serif) !important;
  font-size: clamp(0.76rem, 0.8vw, 0.84rem) !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  border: 1.5px solid #075E63 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-clean .nav-btn-login:hover {
  background: #E6F2F2 !important;
  color: #054549 !important;
  border-color: #054549 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(7, 94, 99, 0.15) !important;
}

.nav-clean .nav-btn-register {
  background: #F5C542 !important;
  color: #0D2224 !important;
  font-family: var(--font-body, "Outfit", sans-serif) !important;
  font-size: clamp(0.76rem, 0.8vw, 0.85rem) !important;
  font-weight: 800 !important;
  padding: 7px 16px !important;
  border-radius: 9999px !important;
  border: 1.5px solid #F5C542 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 10px rgba(245, 197, 66, 0.38) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-clean .nav-btn-register:hover {
  background: #F5C542 !important;
  border-color: #F5C542 !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 16px rgba(245, 197, 66, 0.48) !important;
}

@media (max-width: 1200px) {
  .nav-clean .nav-links {
    display: none !important;
  }
  .nav-clean .nav-btn-back {
    display: none !important;
  }
  .nav-clean .nav-hamburger {
    display: flex !important;
    width: 26px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    margin-left: 8px !important;
  }
}
@media (min-width: 1201px) {
  .nav-clean .nav-hamburger {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-clean .nav-inner { gap: 8px; }
  .nav-clean .nav-logo { min-width: 0; flex: 1 1 auto; gap: 8px; }
  .nav-clean .nav-logo img { width: 36px; height: 36px; flex: 0 0 36px; }
  .nav-clean .nav-logo-text { min-width: 0; }
  .nav-clean .logo-name { font-size: 12px; line-height: 1.15; white-space: normal; }
  .nav-clean .logo-sub { font-size: 9px; letter-spacing: .12em; }
  .nav-clean .nav-actions { flex: 0 0 auto; }
  .nav-clean .nav-btn-register { padding: 7px 14px; font-size: 13px; }
  .nav-clean .nav-hamburger { flex: 0 0 40px; width: 40px; padding: 0; }
  .nav-clean .nav-hamburger span { width: 22px; }
}
@media (max-width: 380px) {
  .nav-clean .logo-sub { display: none; }
  .nav-clean .nav-btn-register { padding: 6px 10px; font-size: 12px; }
}

/* Live-audit fix (2026-10-30): on phones the inner-page header overflowed —
   Login + Register pushed the hamburger off-screen (x=461px on a 390px viewport)
   and clipped "Register for ₹500". Base rules above use !important, so the
   overrides must too. Login remains available inside #mobile-menu. */
@media (max-width: 640px) {
  .nav-clean .nav-inner { gap: 8px !important; min-width: 0 !important; }
  .nav-clean .nav-logo { min-width: 0 !important; flex: 1 1 auto !important; }
  .nav-clean .nav-logo-text { min-width: 0 !important; overflow: hidden !important; }
  .nav-clean .logo-name { font-size: 0.82rem !important; white-space: normal !important; }
  .nav-clean .nav-actions { gap: 6px !important; min-width: 0 !important; flex: 0 1 auto !important; }
  .nav-clean .nav-btn-login,
  .nav-clean .nav-btn-back { display: none !important; }
  .nav-clean .nav-btn-register { padding: 7px 12px !important; font-size: 0.76rem !important; }
  .nav-clean .nav-hamburger { flex: 0 0 40px !important; width: 40px !important; height: 40px !important; margin-left: 0 !important; justify-content: center !important; gap: 5px !important; }
  .nav-clean .nav-hamburger span { width: 22px !important; }
}
@media (max-width: 360px) {
  .nav-clean .nav-btn-register { padding: 6px 9px !important; font-size: 0.7rem !important; }
}

/* =====================================================================
   8. THEMES ON PHONES — swipeable row instead of a 10-card scroll marathon
   ===================================================================== */
@media (max-width: 639px) {
  .ct-grid {
    display: grid !important;
    grid-auto-flow: column;
    grid-template-columns: none !important;
    grid-auto-columns: 78%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px var(--cp-gutter) 14px !important;
    margin: 0 calc(-1 * var(--cp-gutter)) !important;
    scroll-padding-left: var(--cp-gutter);
  }
  .ct-grid::-webkit-scrollbar { display: none; }
  .ct-grid > * { scroll-snap-align: start; }
}

/* Footer social icons — proper touch-size */
.sf-social-row a { width: 40px !important; height: 40px !important; border-radius: 11px !important; }
.sf-social-row svg { width: 19px !important; height: 19px !important; }
.sf-social .sf-label { font-size: 10.5px !important; }
@media (min-width: 1024px) { .sf-main { grid-template-columns: minmax(250px, 1.3fr) repeat(4, minmax(0, 1fr)) !important; } }

/* Space under the fixed site nav on inner pages that used a static header */
.cp-nav-spacer { height: 69px; }
@media (max-width: 768px) { .cp-nav-spacer { height: 64px; } }

/* =====================================================================
   9. SHARED INNER-PAGE HERO (applies only where a page has no own rules)
   ===================================================================== */
:where(.subpage-hero) { padding: 64px 24px 64px; background: linear-gradient(180deg, #123F46 0%, #087F86 55%, #06282B 100%); color: #fff; text-align: center; }
:where(.subpage-hero-inner) { max-width: 1080px; margin: 0 auto; }
:where(.subpage-breadcrumb) { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-size: .88rem; color: rgba(255,255,255,.8); }
:where(.subpage-breadcrumb a) { color: rgba(255,255,255,.8); text-decoration: none; }
:where(.subpage-breadcrumb .current) { color: #F5C542; font-weight: 700; }
:where(.subpage-eyebrow) { display: inline-block; background: rgba(245, 197, 66,.2); border: 1px solid rgba(245, 197, 66,.5); color: #F5C542; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 6px 18px; border-radius: 9999px; margin-bottom: 16px; }
:where(.subpage-title) { font-family: 'Outfit', system-ui, sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; margin: 0 0 16px; line-height: 1.2; }
:where(.subpage-title em) { font-style: italic; color: #F5C542; }
:where(.subpage-lead) { max-width: 820px; margin: 0 auto 24px; font-size: 1.08rem; color: rgba(244,248,248,.92); line-height: 1.65; }
:where(.subpage-pills) { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
:where(.subpage-pill) { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 6px 16px; border-radius: 9999px; font-size: .84rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
:where(.subpage-pill .pill-dot) { width: 6px; height: 6px; background: #F5C542; border-radius: 50%; display: inline-block; }

/* =====================================================================
   10. PHONE OVERFLOW FIXES (inner pages)
   ===================================================================== */
@media (max-width: 900px) {
  .guide-layout, .framework-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .guide-content, .framework-content { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .guide-layout > *, .framework-layout > * { min-width: 0; }
  .guide-content [class*="-grid"], .framework-content [class*="-grid"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important; }
}
@media (max-width: 640px) {
  .guide-content, .framework-content { padding-left: 18px !important; padding-right: 18px !important; }
  a.btn { max-width: 100%; white-space: normal; text-align: center; box-sizing: border-box; }
  code { white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
  .leaderboard-container { box-sizing: border-box; }
}

/* Policy pages built for a fixed header: drop the double gap under the shared nav */
.cp-nav-spacer ~ .policy-page-wrapper { padding-top: 32px !important; }
@media (max-width: 640px) {
  .policy-hero-panel { flex-direction: column; align-items: flex-start !important; padding: 28px 22px !important; }
  .policy-hero-illustration { display: none !important; }
  /* FAQ popular-search chips wrap cleanly */
  .faq-search-hint { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 6px; line-height: 1.2; }
}

/* Tablet: dignitaries side by side instead of two giant stacked portraits */
@media (min-width: 560px) and (max-width: 1023px) {
  #patrons .dignitaries-two-cards { grid-template-columns: 1fr 1fr !important; }
}

/* =====================================================================
   11. FEATURED DEMOS & PREVIEW SECTION
   ===================================================================== */
/* Wrapper for the Media & Broadcast Partners section (Featured Demos now live on pages/demos.html) */
.landing-showcase-section {
  padding: 80px 0;
  background: #FFFFFF;
  position: relative;
}
.landing-showcase-section .showcase-block {
  position: relative;
}
.showcase-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(7,94,99,0.18), transparent);
  margin: 56px 0 48px;
}
/* Partners sub-block sits flush inside the shared container */
.landing-showcase-section .media-partners-full-section {
  background: transparent;
}
.demos-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.demos-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .demos-preview-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}
.demo-preview-card:hover .demo-preview-thumb-wrap img {
  transform: scale(1.05);
}
.demo-preview-card:hover .demo-play-circle {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 12px 30px rgba(245,197,66,0.6);
}
.demos-bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* =====================================================================
   12. TEN-MEMBER JURY SHOWCASE SECTION
   ===================================================================== */
.jury-showcase-section {
  padding: 88px 0;
  background: #F4F8F8;
  position: relative;
}
.jury-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}
.jury-grid-10 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
@media (max-width: 1100px) {
  .jury-grid-10 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .jury-grid-10 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 440px) {
  .jury-grid-10 {
    grid-template-columns: 1fr;
  }
}
.jury-member-card {
  background: #FFFFFF;
  border: 1px solid #E6F2F2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(7,94,99,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.jury-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(7,94,99,0.1);
  border-color: #F5C542;
}
.jury-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #123F46;
  position: relative;
}
.jury-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.jury-member-card:hover .jury-photo {
  transform: scale(1.06);
}
.jury-info {
  padding: 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.jury-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #123F46;
  margin: 0 0 4px 0;
  line-height: 1.25;
}
.jury-designation {
  font-size: 0.76rem;
  font-weight: 700;
  color: #075E63;
  margin-bottom: 8px;
  line-height: 1.35;
}
.jury-bio {
  font-size: 0.78rem;
  color: #555555;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =====================================================================
   13. MEDIA PARTNERS SLIDER & BRAND TRACK
   ===================================================================== */
.media-partners-full-section {
  padding: 0;
  background: transparent;
}
/* The global box-shadow focus ring is clipped by the track's overflow:hidden,
   so give the focusable carousel track a real outline instead. */
.media-slider-track:focus-visible {
  outline: 3px solid #075E63;
  outline-offset: 2px;
  box-shadow: none;
}
.media-partners-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.media-slider-wrapper {
  position: relative;
  overflow: hidden;
}
.media-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px 4px;
}
.media-slider-track::-webkit-scrollbar {
  height: 6px;
}
.media-slider-track::-webkit-scrollbar-track {
  background: #F4F8F8;
  border-radius: 4px;
}
.media-slider-track::-webkit-scrollbar-thumb {
  background: #CCE4E4;
  border-radius: 4px;
}
.media-partner-slide {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: #F8FAFA;
  border: 1px solid #E6F2F2;
  border-radius: 12px;
  padding: 20px 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.media-partner-slide:hover {
  border-color: #075E63;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(7,94,99,0.06);
}
.partner-logo-container {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  width: 100%;
}
.partner-logo-img {
  max-height: 48px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-desc-tag {
  font-size: 0.72rem;
  color: #666666;
  line-height: 1.35;
  margin-top: 4px;
}
.slider-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #D6E4E4;
  background: #FFFFFF;
  color: #123F46;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.slider-ctrl-btn:hover {
  background: #075E63;
  color: #FFFFFF;
  border-color: #075E63;
}
@media (prefers-reduced-motion: reduce) {
  .media-slider-track {
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   14. DIGNITARIES & PUBLIC FIGURES SECTION
   ===================================================================== */
.dignitaries-full-section {
  padding: 80px 0;
  background: #F4F8F8;
}
.dignitaries-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}
.dignitary-message {
  font-size: 0.82rem;
  font-style: italic;
  color: #4B6366;
  background: #F8FAFA;
  padding: 8px 12px;
  border-left: 3px solid #F5C542;
  border-radius: 4px;
  margin-top: 10px;
  line-height: 1.4;
}

/* =====================================================================
   15. DEMO VIDEO MODAL (LANDING PREVIEW)
   ===================================================================== */
.landing-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 63, 70, 0.94);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.landing-video-modal.active {
  display: flex;
}
.landing-modal-box {
  background: #075E63;
  border: 1px solid rgba(245,197,66,0.3);
  border-radius: 18px;
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.landing-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #123F46;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #FFFFFF;
}
.landing-modal-close {
  background: none;
  border: none;
  color: #F5C542;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}
.landing-modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}
.landing-modal-video.vertical {
  max-width: 380px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
}
.landing-modal-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =====================================================================
   FINAL CORPORATE PASS (layout & UX consistency)
   ===================================================================== */
/* Demos: uniform 16:9 cards aligned on a clean grid (equal heights, tops aligned) */
.demos-preview-grid { align-items: start; }
/* Stronger bottom scrim so gold category labels + bylines stay readable on bright thumbnails */
.demo-preview-card .demo-preview-thumb-wrap > div:nth-child(2) {
  background: linear-gradient(to top, rgba(7,94,99,0.94) 0%, rgba(7,94,99,0.35) 46%, transparent 70%) !important;
}
.demo-preview-card .demo-preview-thumb-wrap > div:last-child { text-shadow: 0 1px 4px rgba(0,0,0,0.55); }

/* Supporters: dignitaries auto-scroll track & elegant 1:1 executive framing */
.dignitaries-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 24px;
}
.dignitaries-scroll-track {
  display: flex !important;
  gap: 24px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 8px 4px 16px !important;
}
.dignitaries-scroll-track::-webkit-scrollbar {
  display: none !important;
}
.dignitaries-scroll-track .dignitary-portrait-card {
  flex: 0 0 380px !important;
  max-width: 380px !important;
  background: #FFFFFF !important;
  border: 1px solid #D6E4E4 !important;
  border-radius: 18px !important;
  padding: 16px !important;
  box-shadow: 0 8px 24px rgba(7, 94, 99, 0.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.dignitaries-scroll-track .dignitary-portrait-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(7, 94, 99, 0.12) !important;
}
#patrons .dignitary-photo-wrap {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  max-height: 320px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #E6F2F2 !important;
}
#patrons .dignitary-photo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  display: block !important;
}
.dignitaries-scroll-track .dignitary-role-badge {
  display: inline-block !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #075E63 !important;
  background: #E6F2F2 !important;
  padding: 4px 10px !important;
  border-radius: 100px !important;
  margin-bottom: 8px !important;
}
.dignitaries-scroll-track .dignitary-name {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #053F43 !important;
  margin-bottom: 2px !important;
}
.dignitaries-scroll-track .dignitary-locale {
  font-size: 0.85rem !important;
  color: #4B6366 !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
}
.dignitaries-scroll-track .dignitary-message {
  font-size: 0.88rem !important;
  color: #123F46 !important;
  font-style: italic !important;
  line-height: 1.45 !important;
  background: #F4F8F8 !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  border-left: 3px solid #F5C542 !important;
}
@media (max-width: 640px) {
  .dignitaries-scroll-track .dignitary-portrait-card {
    flex: 0 0 290px !important;
    max-width: 290px !important;
    padding: 12px !important;
  }
}

/* Jury on phones: one swipeable row instead of ten full-screen cards */
@media (max-width: 640px) {
  .jury-grid-10 {
    display: grid !important;
    grid-auto-flow: column;
    grid-template-columns: none !important;
    grid-auto-columns: 74%;
    gap: 14px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100vw; box-sizing: border-box;
    margin-left: calc(50% - 50vw); margin-right: 0;
    padding: 4px 20px 14px; scroll-padding-left: 20px;
  }
  .jury-grid-10::-webkit-scrollbar { display: none; }
  .jury-grid-10 > * { scroll-snap-align: start; }
}

/* =====================================================================
   8. CREATOR INSIGHTS & INDUSTRY VOICES — Single-Screen Laptop Section
   Continuous auto-scrolling track with pause-on-hover
   ===================================================================== */
.creator-insights-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #073539 0%, #031D20 70%, #021315 100%);
  color: #FFFFFF;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  padding: 4rem 0 3.5rem;
  scroll-margin-top: 70px;
}

@media (min-width: 1024px) {
  .creator-insights-section {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1rem, 2.5vh, 2.2rem) 0;
  }
}

@media (min-width: 1024px) and (max-height: 640px) {
  .creator-insights-section {
    height: auto;
    min-height: 100vh;
    max-height: none;
    padding: 2rem 0;
  }
}

.creator-insights-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(10px, 1.8vh, 18px);
}

.insights-header-text {
  max-width: 780px;
}

.insights-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(0.72rem, 0.85vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F5C542;
  margin-bottom: 6px;
}

.insights-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F5C542;
  display: inline-block;
  box-shadow: 0 0 10px #F5C542;
}

.insights-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.insights-title span {
  color: #F5C542;
}

.insights-lead {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(0.86rem, 1vw, 0.95rem);
  color: #A3C9CC;
  line-height: 1.45;
  margin: 0;
}

.insights-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insights-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: auto 0;
}

.insights-slider-wrapper::before,
.insights-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 5;
  pointer-events: none;
}

.insights-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(3, 29, 32, 0.95), transparent);
}

.insights-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(3, 29, 32, 0.95), transparent);
}

.insights-scroll-track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px 4px;
  box-sizing: border-box;
}

.insights-scroll-track::-webkit-scrollbar {
  display: none;
}

.insight-card-item {
  flex: 0 0 clamp(230px, 21vw, 310px);
  max-width: clamp(230px, 21vw, 310px);
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 197, 66, 0.15);
  background: #06282B;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  user-select: none;
  box-sizing: border-box;
}

.insight-card-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.75), 0 0 0 2px rgba(245, 197, 66, 0.5);
  z-index: 2;
}

.insight-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.insights-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: clamp(8px, 1.2vh, 12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.insights-disclaimer {
  font-size: clamp(0.7rem, 0.8vw, 0.76rem);
  color: #7A9E9F;
  letter-spacing: 0.02em;
}

.insights-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F5C542;
  color: #0D2224 !important;
  font-weight: 800;
  font-size: clamp(0.8rem, 0.9vw, 0.86rem);
  padding: 6px 18px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(245, 197, 66, 0.3);
  transition: all 0.2s ease;
}

.insights-cta-btn:hover {
  background: #FFD452;
  transform: translateY(-1.5px);
  box-shadow: 0 5px 16px rgba(245, 197, 66, 0.45);
}

@media (max-width: 768px) {
  .insight-card-item {
    flex: 0 0 260px;
    max-width: 260px;
  }
  .insights-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

