/* =============================================
   FONTS (lokal, assets/fonts/*.woff2)
   Pacifico 400, Nunito 400/600/700/800 – latin + latin-ext
   Quelle: Google Fonts, lokal installiert (keine externen Requests)
============================================= */

@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pacifico-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pacifico-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =============================================
   DESIGN (aus example_index.html ausgelagert)
============================================= */

/* =============================================
       TOKENS
    ============================================= */
    :root {
      --navy:      #1a2f5e;
      --navy-dark: #111e3e;
      --red:       #e8453c;
      --red-dark:  #c23028;
      --gold:      #f5c842;
      --teal:      #2a9d8f;
      --white:     #ffffff;
      --text-body: #e8edf8;

      --font-display: 'Pacifico', cursive;
      --font-body:    'Nunito', sans-serif;

      --radius-pill: 9999px;
      --radius-card: 1rem;

      --max-w: 860px;
      --section-gap: 4rem;
    }

    /* =============================================
       RESET & BASE
    ============================================= */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html  { scroll-behavior: smooth; }
    body  {
      background: var(--navy);
      color: var(--text-body);
      font-family: var(--font-body);
      font-size: 1rem;
      line-height: 1.7;
      overflow-x: hidden;
    }
    a { color: inherit; }
    a:focus-visible {
      outline: 3px solid var(--gold);
      outline-offset: 3px;
      border-radius: 3px;
    }
    img { max-width: 100%; height: auto; display: block; }

    /* =============================================
       SKIP LINK
    ============================================= */
    .skip-link {
      position: absolute;
      top: -4rem; left: 1rem;
      background: var(--gold);
      color: var(--navy-dark);
      font-weight: 800;
      padding: .4rem 1rem;
      border-radius: var(--radius-pill);
      z-index: 9999;
      transition: top .2s;
    }
    .skip-link:focus { top: .5rem; }

    /* =============================================
       NAV
    ============================================= */
    .site-nav {
      position: sticky; top: 0; z-index: 100;
      background: var(--navy-dark);
      border-bottom: 2px solid rgba(245,200,66,.25);
    }
    .site-nav .inner {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: .6rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .site-nav .brand {
      font-family: var(--font-display);
      font-size: 1.1rem;
      color: var(--gold);
      text-decoration: none;
      white-space: nowrap;
    }
    .site-nav ul {
      display: flex;
      gap: 1.5rem;
      list-style: none;
      flex-wrap: wrap;
    }
    .site-nav ul a {
      text-decoration: none;
      font-weight: 700;
      font-size: .9rem;
      color: var(--white);
      letter-spacing: .04em;
      text-transform: uppercase;
      padding: .2rem 0;
      border-bottom: 2px solid transparent;
      transition: border-color .2s, color .2s;
    }
    .site-nav ul a:hover,
    .site-nav ul a:focus-visible {
      color: var(--gold);
      border-bottom-color: var(--gold);
    }

    /* =============================================
       WIMPELKETTE
       Schnur bei y=8; Dreiecke hängen nach unten.
       Dreieck: obere Kante y=8, Spitze y=44, Breite ±12px.
    ============================================= */
    .bunting {
      width: 100%;
      overflow: hidden;
      line-height: 0;
      pointer-events: none;
      user-select: none;
    }
    .bunting svg { width: 100%; height: auto; display: block; }

    /* =============================================
       HERO
    ============================================= */
    .hero {
      position: relative;
      padding: 2rem 1.5rem 0;
      text-align: center;
      background:
        radial-gradient(ellipse 80% 60% at 50% 0%,
          rgba(42,157,143,.18) 0%, transparent 70%),
        var(--navy);
      overflow: hidden;
    }
    .hero::before, .hero::after {
      content: '';
      position: absolute;
      width: 220px; height: 220px;
      border-radius: 50% 50% 50% 10% / 50% 50% 10% 50%;
      pointer-events: none;
    }
    .hero::before { top:-60px; left:-60px; transform:rotate(-20deg); background:rgba(42,157,143,.10); }
    .hero::after  { top:-40px; right:-60px; transform:rotate(40deg);  background:rgba(245,200,66,.07); }

    /* Eyebrow */
    .hero h5 {
      display: block;
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 1.25rem;
    }

    /* -----------------------------------------------
       H1: Straßenschild-Look
       Hamburger Straßenschild: navy Hintergrund,
       weißer Text, doppelter weißer Rahmen,
       abgerundete Ecken — Body-Font, kein Pacifico.
    ----------------------------------------------- */
    .hero h1 {
      display: inline-block;
      font-family: var(--font-body);
      font-weight: 800;
      font-size: clamp(2rem, 7vw, 4rem);
      letter-spacing: .04em;
      color: var(--white);
      background: var(--navy-dark);
      /* Doppelter Rahmen: äußerer border + innerer box-shadow */
      border: 4px solid var(--white);
      box-shadow:
        inset 0 0 0 5px var(--navy-dark),
        inset 0 0 0 9px var(--white);
      border-radius: .55em;
      padding: .35em 1.1em .35em;
      line-height: 1.15;
      margin-bottom: 1rem;
    }

    .hero h2 {
      font-family: var(--font-display);
      font-size: clamp(1rem, 3.5vw, 1.8rem);
      color: var(--gold);
      font-weight: normal;
      margin-bottom: 1.5rem;
    }
    .hero > p {
      max-width: 560px;
      margin: 0 auto 2rem;
      font-size: 1.05rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .04em;
      line-height: 1.6;
    }

    /* Datum-Badge */
    .date-badge {
      display: inline-block;
      background: var(--red);
      color: var(--white);
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 5vw, 2.4rem);
      padding: .7rem 2.2rem;
      border-radius: var(--radius-pill);
      box-shadow: 0 4px 24px rgba(232,69,60,.4);
      line-height: 1.2;
    }
    .date-badge span {
      display: block;
      font-family: var(--font-body);
      font-size: .85em;
      font-weight: 700;
      letter-spacing: .06em;
    }

    /* Highlights (ul kommt aus Markdown, Wrapper aus Chunk) */
    div.highlights > ul {
      margin: 2.5rem auto 0;
      max-width: 600px;
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      justify-content: center;
      padding: 0;
      list-style: none;
    }
    .highlights li {
      list-style: none;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.15);
      border-radius: var(--radius-pill);
      padding: .3rem 1rem;
      font-size: .85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    /* =============================================
       SECTION WRAPPER
    ============================================= */
    .section { padding: var(--section-gap) 1.5rem; }
    .section > .inner {
      max-width: var(--max-w);
      margin: 0 auto;
    }

    /* Section-Heading (Pacifico im roten Pill) */
    .section > .inner > h2 {
      display: block;
      text-align: center;
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 6vw, 3rem);
      color: var(--white);
      background: var(--red);
      padding: .4rem 2rem .5rem;
      border-radius: var(--radius-pill);
      box-shadow: 0 3px 0 var(--red-dark), 0 6px 20px rgba(232,69,60,.35);
      margin-bottom: 2.5rem;
    }

    /* =============================================
       BÜHNENPROGRAMM
    ============================================= */
    #programm { background: var(--navy-dark); }

    /* Trenner-Kette: steht im Markup innerhalb .inner (max-width),
       bricht per Full-Bleed wieder auf Viewport-Breite aus –
       wie in der Vorlage, wo sie direkt in <section> stand. */
    #programm .inner > .bunting {
      width: 100vw;
      max-width: 100vw;
      margin-left: calc(50% - 50vw);
    }

    .program-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    @media (max-width: 600px) {
      .program-grid { grid-template-columns: 1fr; }
    }

    .program-grid article {
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius-card);
      padding: 1.25rem 1.25rem 1rem;
      transition: transform .2s, box-shadow .2s;
    }
    .program-grid article:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 28px rgba(0,0,0,.3);
    }
    .program-grid article p {
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--white);
      opacity: .7;
      margin-bottom: .2rem;
    }
    .program-grid article h3 {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--gold);
      margin-bottom: .4rem;
      line-height: 1.3;
    }
    .program-grid article p + p {
      font-size: .9rem;
      opacity: .85;
      font-weight: 400;
      text-transform: none;
      letter-spacing: normal;
    }
    .program-grid .full {
      grid-column: 1 / -1;
      text-align: center;
      background: linear-gradient(135deg,
        rgba(245,200,66,.12), rgba(232,69,60,.12));
      border-color: rgba(245,200,66,.3);
    }
    .program-grid .full h3 { font-size: 1.4rem; }

    /* =============================================
       FLOHMARKT
    ============================================= */
    #flohmarkt { background: var(--navy); }

    #flohmarkt .inner > p {
      font-size: 1rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .05em;
      text-align: center;
      margin-bottom: 2rem;
      line-height: 1.6;
    }
    .price-block {
      text-align: center;
      margin-bottom: 2rem;
    }
    .price-block p { margin: 0; }
    .price-block strong {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 5vw, 2.2rem);
      color: var(--gold);
      display: block;
    }
    .price-block em {
      font-family: var(--font-display);
      font-size: clamp(1rem, 3.5vw, 1.4rem);
      color: var(--red);
      font-style: normal;
      display: block;
      margin-top: .2rem;
    }
    .price-block small {
      display: block;
      font-size: .85rem;
      font-style: italic;
      opacity: .75;
      margin-top: .3rem;
    }
    .info-box {
      background: rgba(42,157,143,.12);
      border: 1px solid rgba(42,157,143,.4);
      border-radius: var(--radius-card);
      padding: 1.5rem;
      max-width: 540px;
      margin: 0 auto;
      font-size: .95rem;
      line-height: 1.8;
    }
    .info-box p + p { margin-top: .8rem; }
    .info-box a {
      color: var(--gold);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .info-box b, .info-box strong {
      font-size: .75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: var(--teal);
      display: block;
      margin-bottom: .2rem;
    }

    /* =============================================
       GALERIE  #galerie
    ============================================= */
    #galerie { background: var(--navy-dark); }

    /* Jahres-Gruppe */
    .gallery-year {
      margin-bottom: 3rem;
    }
    .gallery-year:last-child { margin-bottom: 0; }

    /* Jahres-Überschrift: schlicht, dezent */
    .gallery-year h3 {
      font-family: var(--font-body);
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--teal);
      border-bottom: 1px solid rgba(42,157,143,.3);
      padding-bottom: .4rem;
      margin-bottom: 1.25rem;
    }

    /* Thumbnail-Raster: quadratisch, max. 4 Spalten */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: .5rem;
    }
    @media (max-width: 640px) {
      .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 400px) {
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* Thumbnail-Button (kein <a>, sondern <button> für A11y) */
    .thumb-btn {
      all: unset;
      display: block;
      cursor: pointer;
      border-radius: .4rem;
      overflow: hidden;
      aspect-ratio: 1 / 1;
      background: rgba(255,255,255,.06);
      position: relative;
      transition: transform .2s, box-shadow .2s;
    }
    .thumb-btn:hover,
    .thumb-btn:focus-visible {
      transform: scale(1.04);
      box-shadow: 0 4px 20px rgba(0,0,0,.45);
      outline: 3px solid var(--gold);
      outline-offset: 2px;
    }
    .thumb-btn img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* =============================================
       LIGHTBOX
    ============================================= */
    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 500;
      background: rgba(10,18,40,.94);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      opacity: 0;
      visibility: hidden;
      transition: opacity .25s, visibility .25s;
    }
    .lightbox.open {
      opacity: 1;
      visibility: visible;
    }

    .lightbox-img-wrap {
      position: relative;
      max-width: min(1600px, 95vw);
      max-height: 85vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .lightbox-img-wrap img {
      max-width: 100%;
      max-height: 85vh;
      border-radius: .5rem;
      box-shadow: 0 20px 60px rgba(0,0,0,.6);
      object-fit: contain;
    }

    /* Prev/Next-Buttons */
    .lb-prev, .lb-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.2);
      color: var(--white);
      border-radius: 50%;
      width: 44px; height: 44px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      font-size: 1.2rem;
      transition: background .2s;
      flex-shrink: 0;
    }
    .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
    .lb-prev { left: -56px; }
    .lb-next { right: -56px; }
    @media (max-width: 680px) {
      /* Buttons liegen auf dem Bild (außen wäre Off-Screen) */
      .lb-prev, .lb-next { background: rgba(26,47,94,.75); }
      .lb-prev { left: 10px; }
      .lb-next { right: 10px; }
    }

    /* Bildunterschrift */
    .lightbox-caption {
      margin-top: 1rem;
      font-size: .9rem;
      color: var(--text-body);
      opacity: .85;
      text-align: center;
      max-width: min(700px, 90vw);
      min-height: 1.4em;
    }

    /* Counter */
    .lightbox-counter {
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .1em;
      opacity: .45;
      margin-top: .4rem;
    }

    /* Schließen-Button */
    .lb-close {
      position: fixed;
      top: 1rem; right: 1rem;
      z-index: 2;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.2);
      color: var(--white);
      border-radius: 50%;
      width: 44px; height: 44px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      font-size: 1.4rem;
      line-height: 1;
      transition: background .2s;
    }
    .lb-close:hover { background: rgba(255,255,255,.25); }

    /* =============================================
       FOOTER
    ============================================= */
    .site-footer {
      background: var(--navy-dark);
      border-top: 2px solid rgba(245,200,66,.2);
      padding: 2.5rem 1.5rem 1.5rem;
      font-size: .85rem;
    }
    .site-footer .inner {
      max-width: var(--max-w);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem 3rem;
      align-items: start;
    }
    @media (max-width: 560px) {
      .site-footer .inner { grid-template-columns: 1fr; }
    }
    .site-footer h3 {
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: .6rem;
    }
    .site-footer address {
      font-style: normal;
      line-height: 1.7;
      opacity: .8;
    }
    .site-footer ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: .35rem;
    }
    .site-footer ul a {
      text-decoration: none;
      font-weight: 600;
      transition: color .2s;
    }
    .site-footer ul a:hover { color: var(--gold); }
    .social-link {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      font-weight: 700;
      text-decoration: none;
      transition: color .2s;
    }
    .social-link:hover { color: var(--gold); }
    .social-link svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
    .flag-row { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
    .flag-row span { font-size: 1.4rem; line-height: 1; }
    .site-footer .bottom {
      margin-top: 2rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255,255,255,.1);
      text-align: center;
      font-size: .78rem;
      opacity: .5;
    }

    /* =============================================
       TO-TOP
    ============================================= */
    .to-top {
      position: fixed;
      bottom: 1.5rem; right: 1.5rem;
      background: var(--red);
      color: var(--white);
      border-radius: var(--radius-pill);
      width: 44px; height: 44px;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 16px rgba(232,69,60,.4);
      transition: opacity .3s, transform .3s, background .2s;
      opacity: 0; transform: translateY(10px);
      pointer-events: none; z-index: 200;
      text-decoration: none;
    }
    .to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
    .to-top:hover   { background: var(--red-dark); }
    .to-top svg     { width: 20px; height: 20px; fill: currentColor; }

    /* =============================================
       SUBPAGE (Impressum, Datenschutz & Co.)
       Schmälere Laufweite, ruhige Lesetypografie
    ============================================= */
    .subpage { padding: 3rem 1.5rem 4rem; }
    .subpage > .inner {
      max-width: 680px;
      margin: 0 auto;
    }
    .subpage h1 {
      font-size: clamp(1.6rem, 5vw, 2.4rem);
      font-weight: 800;
      line-height: 1.25;
      color: var(--white);
      margin-bottom: 1.5rem;
    }
    .subpage h2 {
      font-size: clamp(1.3rem, 4vw, 1.7rem);
      font-weight: 800;
      line-height: 1.3;
      color: var(--gold);
      margin: 2.25rem 0 .75rem;
    }
    .subpage h3 {
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--teal);
      margin: 2rem 0 .6rem;
    }
    .subpage h4 {
      font-size: .95rem;
      font-weight: 600;
      line-height: 1.6;
      border-left: 3px solid var(--teal);
      padding-left: 1rem;
      margin: 1.5rem 0;
    }
    .subpage p { margin: 0 0 1rem; }
    .subpage ul, .subpage ol {
      margin: 0 0 1rem;
      padding-left: 1.25rem;
    }
    .subpage li + li { margin-top: .25rem; }
    .subpage li::marker { color: var(--gold); }
    .subpage a {
      color: var(--gold);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .subpage hr { margin: 2.5rem 0; }

    /* =============================================
       DIVIDER & REDUCED MOTION
    ============================================= */
    hr { border: none; border-top: 1px solid rgba(255,255,255,.08); }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .program-grid article:hover, .thumb-btn:hover { transform: none; }
      .lightbox { transition: none; }
    }
