

/* ── Tokens ────────────────────────────────────────────────── */
:root {
    /* Palette — Light */
    --bg:           #f5f4f0;
    --bg-alt:       #eceae4;
    --surface:      #ffffff;
    --border:       #d4d0c8;
    --text:         #1a1917;
    --text-muted:   #6b6760;
    --accent:       #c0111f;       /* crimson red */
    --accent-dark:  #f70015;
    --accent-light: #f5e6e7;
  
    /* Typography */
    --font-display: "Public Sans", sans-serif;
    --font-body:    'Source Serif 4', 'Georgia', serif;
    --font-mono:    'JetBrains Mono', 'Fira Mono', monospace;
    --font-ui:      'DM Sans', 'Helvetica Neue', sans-serif;
  
    /* Scale */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1.2rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.5rem;
  
    /* Space */
    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-6:  1.5rem;
    --sp-8:  2rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-24: 6rem;
  
    /* Layout */
    --max-w:       900px;
    --max-w-wide:  1100px;
    --radius:      4px;
    --radius-lg:   8px;
  
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow:    0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur:  180ms;
  }
  
  @media (prefers-color-scheme: light) {
    :root {
      --bg:           #111110;
      --bg-alt:       #1a1917;
      --surface:      #1f1e1c;
      --border:       #2e2c29;
      --text:         #e8e6e1;
      --text-muted:   #7a7874;
      --accent:       #e8202f;
      --accent-dark:  #ff3342;
      --accent-light: #2a1214;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
      --shadow:    0 4px 12px rgba(0,0,0,0.4);
      --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
    }
  }
  
  /* ── Google Fonts ───────────────────────────────────────────── */

  @import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

  /* ── Base ───────────────────────────────────────────────────── */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }
  
  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* ── Layout ─────────────────────────────────────────────────── */
  .container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--sp-6);
    
  }
  
  .container--wide {
    max-width: var(--max-w-wide);
  }
  
  main {
    flex: 1;
    padding-block: var(--sp-12);

  }


  
  /* ── Header ─────────────────────────────────────────────────── */
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    border-bottom: 1px solid var(--border);

    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 1em;
  }
  
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: var(--sp-4);
  }
  
  header h1 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
    line-height: 1.2;

  }
  
  header h1 span,
  header h1 em {
    color: var(--accent);
    font-style: normal;
  }
  
  @media (min-width: 640px) {
    header {
      flex-direction: row;
      gap:2em;
    }
    header .container {
      min-height: 64px;
    }
    header h1 {
      font-size: var(--text-xl);
    }
  }
  
  /* ── Banner ─────────────────────────────────────────────────── */
  .hero-banner {
    min-height: 100vh; 
    background-image: 
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 15%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.7) 100%
      ),
      url("/img/broadnax_header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 8%;
    color: white;
  }

  .hero-banner-alt {
    min-height: 100vh; 
    background-image: 
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 15%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.7) 100%
      ),
      url("/img/broadnax_header2.png");
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
  
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 8%;
    color: white;
  }
  
  
  .hero-overlay {
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  .hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .eyebrow {
    color: #c89b3c;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: bold;
  }
  
  .hero-content h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
    text-transform: uppercase;
    font-weight: 900;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .subtext {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  
  .btn {
    padding: 0.9rem 1.8rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s ease;
  }
  
  .btn.primary {
    background: #c89b3c;
    color: black;
  }
  
  .btn.primary:hover {
    background: #e0b04c;
  }
  
  .btn.secondary {
    border: 2px solid white;
    color: white;
  }
  
  .btn.secondary:hover {
    background: white;
    color: black;
  }
  

  @media (max-width: 768px) {
    .hero-banner {
      justify-content: center;
      text-align: center;
      padding: 2rem;
    }
  
    .hero-content {
      align-items: center;
    }
  
    .hero-buttons {
      justify-content: center;
    }
  }



  
  
  /* ── Typography ─────────────────────────────────────────────── */
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-4);
  }
  
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl);  }
  h4 { font-size: var(--text-lg);  font-weight: 700; }
  h5 { font-size: var(--text-base); font-weight: 700; }
  h6 { font-size: var(--text-sm);   font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
  
  p {
    margin-top: 0;
    margin-bottom: var(--sp-4);
    max-width: 72ch;
  }
  
  strong, b { font-weight: 600; }
  em, i     { font-style: italic; }
  
  a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color var(--dur) var(--ease),
                color var(--dur) var(--ease);
  }
  
  a:hover {
    color: var(--accent-dark);
    text-decoration-color: currentColor;
  }
  
  small {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-family: var(--font-ui);
  }
  
  /* ── Styled Headings with Red Accent ───────────────────────── */
  /* Apply .heading-accent to any h2/h3 for the red rule treatment */
  .heading-accent {
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--accent);
    margin-bottom: var(--sp-6);
  }
  
  /* Inline accent mark before heading */
  .heading-marked::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--accent);
    margin-right: var(--sp-3);
    vertical-align: middle;
    border-radius: 2px;
  }
  
  /* Section label style — uppercase small caps */
  .heading-label {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: var(--sp-2);
  }
  
  /* ── Lists ───────────────────────────────────────────────────── */
  ul, ol {
    padding-left: var(--sp-6);
    margin-bottom: var(--sp-6);
  }
  
  li {
    margin-bottom: var(--sp-2);
    line-height: 1.7;
  }
  
  /* Styled bullet list */
  ul.styled-list {
    list-style: none;
    padding-left: 0;
  }
  
  ul.styled-list li {
    padding-left: var(--sp-6);
    position: relative;
  }
  
  ul.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: transparent;
    transition: background var(--dur) var(--ease);
  }
  
  ul.styled-list li:hover::before {
    background: var(--accent);
  }
  
  /* Checkmark list */
  ul.check-list {
    list-style: none;
    padding-left: 0;
  }
  
  ul.check-list li {
    padding-left: var(--sp-8);
    position: relative;
  }
  
  ul.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: var(--text-sm);
    line-height: 1.75;
  }
  
  /* Ordered list — legal style */
  ol.legal-list {
    list-style: none;
    padding-left: 0;
    counter-reset: legal-counter;
  }
  
  ol.legal-list li {
    counter-increment: legal-counter;
    padding-left: var(--sp-10);
    position: relative;
  }
  
  ol.legal-list li::before {
    content: counter(legal-counter, decimal) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent);
    min-width: var(--sp-8);
    line-height: 1.75;
  }
  
  /* ── Fact / Info Cards ──────────────────────────────────────── */
  /* .fact-card — standard content card */
  .fact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    margin-bottom: var(--sp-6);
    box-shadow: var(--shadow-sm);
  }
  
  /* .accent-card — red left-border emphasis block */
  .accent-card {
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--sp-6);
    margin-bottom: var(--sp-6);
  }
  
  .accent-card > *:last-child { margin-bottom: 0; }
  
  /* ── Dividers with Red Accent ───────────────────────────────── */
  /* Apply .section-divider to a div/section for accent top border */
  .section-divider {
    border-top: 3px solid var(--accent);
    padding-top: var(--sp-8);
    margin-top: var(--sp-12);
  }
  
  hr {
    border: none;
    border-top: 1px solid var(--border);
    margin-block: var(--sp-8);
  }
  
  hr.accent-rule {
    border-top: 2px solid var(--accent);
  }
  
  /* ── Callout / Alert Boxes ──────────────────────────────────── */
  .callout {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-6);
    font-size: var(--text-sm);
    line-height: 1.6;
    font-family: var(--font-ui);
  }
  
  .callout--info {
    background: var(--bg-alt);
    border-left: 3px solid var(--text-muted);
  }
  
  .callout--warning {
    background: #fff8e6;
    border-left: 3px solid #d97706;
  }
  
  .callout--critical {
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    color: var(--text);
  }
  
  @media (prefers-color-scheme: dark) {
    .callout--warning {
      background: #2a1f08;
    }
  }
  
  /* ── Tables ─────────────────────────────────────────────────── */
  .table-wrap {
    overflow-x: auto;
    margin-bottom: var(--sp-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
  }
  
  thead {
    background: var(--text);
    color: var(--bg);
  }
  
  thead th {
    padding: var(--sp-3) var(--sp-4);
    text-align: left;
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  
  thead th:first-child {
    border-left: 3px solid var(--accent);
  }
  
  tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--dur) var(--ease);
  }
  
  tbody tr:last-child { border-bottom: none; }
  tbody tr:hover { background: var(--bg-alt); }
  
  td {
    padding: var(--sp-3) var(--sp-4);
    vertical-align: top;
    color: var(--text);
  }
  
  /* ── Blockquote ─────────────────────────────────────────────── */
  blockquote {
    margin: 0 0 var(--sp-6);
    padding: var(--sp-4) var(--sp-6);
    border-left: 3px solid var(--accent);
    background: var(--bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-muted);
    max-width: 68ch;
  }
  
  blockquote p:last-child { margin-bottom: 0; }
  
  blockquote cite {
    display: block;
    margin-top: var(--sp-2);
    font-size: var(--text-sm);
    font-family: var(--font-ui);
    font-style: normal;
    font-weight: 600;
    color: var(--text);
  }
  
  blockquote cite::before { content: '— '; }
  
  /* ── Code ───────────────────────────────────────────────────── */
  code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.15em 0.4em;
    color: var(--accent-dark);
  }
  
  pre {
    background: var(--text);
    color: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    overflow-x: auto;
    margin-bottom: var(--sp-6);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.7;
    box-shadow: var(--shadow);
  }
  
  pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
  }
  
  /* ── Navigation ─────────────────────────────────────────────── */
  nav {
    display: flex;
    align-items: center;
   
    gap: var(--sp-1);
    flex-wrap: wrap;
  }
  
  nav a {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--radius);
    transition: color var(--dur) var(--ease),
                background var(--dur) var(--ease);
  }
  
  nav a:hover {
    color: var(--text);
    background: var(--bg-alt);
  }
  
  nav a.active {
    color: var(--accent);
    font-weight: 600;
  }

  @media (max-width: 640px) {
    nav {
      justify-content: center;
      padding-top:1em;
      flex-direction: column;
    }
    nav > a {
      padding: 0;
    }
  }
  
  /* ── Breadcrumb ─────────────────────────────────────────────── */
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--sp-8);
    flex-wrap: wrap;
  }
  
  .breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
  }
  
  .breadcrumb a:hover { color: var(--accent); }
  
  .breadcrumb-sep {
    color: var(--border);
    user-select: none;
  }
  
  .breadcrumb-current {
    color: var(--text);
    font-weight: 500;
  }
  
  /* ── Footer ─────────────────────────────────────────────────── */
  footer {
    background: var(--text);
    font-weight: 800;
    border-top: 1px solid var(--border);
    padding-block: var(--sp-8);
    margin-top: auto;
  }
  
  footer p {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: white;
    margin: 0;
    padding-left: 1em;
  }
  
  footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-4);
  }
  
  footer a {
    color: var(--text-muted);
  }
  
  footer a:hover { color: var(--accent); }
  
  /* ── Utility ─────────────────────────────────────────────────── */
  .text-accent   { color: var(--accent); }
  .text-muted    { color: var(--text-muted); }
  .text-sm       { font-size: var(--text-sm); }
  .text-xs       { font-size: var(--text-xs); }
  .font-ui       { font-family: var(--font-ui); }
  .font-display  { font-family: var(--font-display); }
  .text-center { text-align: center; }
  .img-center {
    margin: 0 auto;
  }
  

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  /* ── Responsive ─────────────────────────────────────────────── */
  @media (min-width: 640px) {
    main { padding-block: var(--sp-16); }
    h1   { font-size: var(--text-4xl); }
    h2   { font-size: var(--text-3xl); }
    h3   { font-size: var(--text-2xl); }
  }


 /* ── MEMORY / MEDIA SECTION ───────────────────────────────────
   Cleaned up so it stops fighting itself.
   Video on left, strict 3x3 gallery max on right.
============================================================== */

.memory {
  width: min(1400px, 95%);
  margin: 0 auto var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: var(--sp-4) 0;
}

.memory-steve {
  display: flex;
  gap: var(--sp-6);
  flex-direction: column;

}


.steve-videos {
  display: flex;
  flex-direction: column;
  gap: 1em;

}

.steve-videos iframe {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

/* Responsive YouTube/video */
.memory iframe {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

/* =========================
   GALLERY BASE
========================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

/* Gallery item wrapper */
.gallery-item,
.gallery a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  line-height: 0;
  background: #111;
  cursor: pointer;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.gallery-item:hover,
.gallery-item:focus-visible,
.gallery a:hover,
.gallery a:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Images */
.gallery-item img,
.gallery a img,
.gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img,
.gallery a:hover img,
.gallery a:focus-visible img {
  transform: scale(1.04);
  opacity: 0.92;
}


.gallery-item:first-child,
.gallery a:first-child {
  grid-column: 1 / -1;
}

.gallery-item:first-child img,
.gallery a:first-child img {
  height: 220px;
}

/* =========================
   TABLET+
   Side-by-side layout
========================= */

@media (min-width: 640px) {
  .memory {
    flex-direction: row;
    align-items: flex-start;
  }

  .memory-steve {
    flex-direction: row;
    align-items: flex-start;
  }

  .steve-videos {
    flex: 1 1 58%;
    min-width: 0;
  }

  /* Video takes slightly more room */
  .memory iframe {
    flex: 1 1 58%;
    min-width: 0;
  }

  /* Gallery beside it */
  .gallery {
    flex: 1 1 42%;
    min-width: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-2);
    align-content: start;
  }

  .gallery-item,
  .gallery a {
    grid-column: auto;
  }

  .gallery-item img,
  .gallery a img,
  .gallery-item:first-child img,
  .gallery a:first-child img {
    height: 120px;
  }
}

/* =========================
   DESKTOP
   Hard cap at 3 columns x 3 rows
========================= */

@media (min-width: 1024px) {
  .memory iframe {
    flex: 1 1 60%;
  }

  .gallery {
    flex: 1 1 40%;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
    max-width: 520px;
  }

  .gallery-item,
  .gallery a,
  .gallery-item:first-child,
  .gallery a:first-child {
    grid-column: auto;
  }

  .gallery-item img,
  .gallery a img,
  .gallery-item:first-child img,
  .gallery a:first-child img {
    height: 110px;
  }
}

/* =========================
   LIGHTBOX
   Your original one was mostly fine,
   humanity somehow survived.
========================= */

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lb-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lb-img-wrap {
  max-width: min(90vw, 1200px);
  max-height: 72vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lb-close:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.08);
}

.lb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.lb-btn {
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: white;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lb-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.lb-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lb-counter {
  color: white;
  font-size: 0.95rem;
}

.lb-strip {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  max-width: min(90vw, 1000px);
  padding: 1rem 0.25rem;
  margin-top: 1rem;
  scrollbar-width: thin;
}

.lb-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.55;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.lb-thumb:hover {
  opacity: 0.9;
}

.lb-thumb.active {
  opacity: 1;
  border-color: white;
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-caption {
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin-top: 0.75rem;
  max-width: 800px;
  line-height: 1.5;
}

/* Mobile lightbox fixes */
@media (max-width: 768px) {
  .lb-overlay {
    padding: 1rem;
  }

  .lb-img-wrap img {
    max-height: 60vh;
  }

  .lb-thumb {
    width: 58px;
    height: 58px;
  }

  .lb-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }
}





.transcript-container {
  max-width: 1000px;
  margin: auto;

  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}



.line {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.reporter {
  background: rgba(70, 130, 180, 0.15);
  border-left: 4px solid #4682b4;
}

.james {
  background: rgba(220, 20, 60, 0.15);
  border-left: 4px solid #dc143c;
}

.speaker {
  font-weight: bold;
  display: inline-block;
  margin-right: 0.5rem;
}

.reporter .speaker {
  color: #6cb4ff;
}

.james .speaker {
  color: #aa1e33;
}

.timestamp {
  color: #888;
  font-size: 0.85rem;
  margin-right: 0.75rem;
}