/* =====================================================
   SECOND-TERM-HIGHLIGHTS.CSS  –  School Masters Academy
   Styles for second-term-highlights.html
   ===================================================== */

/* ── Global smooth scroll ───────────────────────────── */
html { scroll-behavior: smooth; }

/* ── CSS Variables ──────────────────────────────────── */
:root {
  --sth-gold:         #FBB911;
  --sth-navy:         #1a087e;
  --sth-navy-deep:    #2a1a8e;
  --sth-accent-blue:  #007bff;
  --sth-dark:         #111111;
  --sth-soft-bg:      #f4f6fb;
  --sth-radius:       14px;
  --sth-shadow:       0 4px 18px rgba(0, 0, 0, 0.10);
  --sth-trans:        0.32s ease;
}

/* ── Body base ──────────────────────────────────────── */
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVBAR  (inherits shared rules from gallery.css)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


@media (max-width: 991px) {
  a.nav-link {
    font-size: 1.2rem !important;
    padding: 0.8rem 0 !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO BANNER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0540 0%, #1a087e 55%, #0055a5 100%);
  overflow: hidden;
}

.sth-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(251, 185, 17, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(0, 123, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.sth-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 64, 0.30);
}

.sth-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px 52px;
  max-width: 860px;
  width: 100%;
}

.sth-term-badge {
  display: inline-block;
  background: var(--sth-gold);
  color: var(--sth-navy);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.sth-hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.15;
}
.sth-hero-content h1 span { color: var(--sth-gold); }

.sth-hero-content .sth-intro {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.sth-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sth-jump-pill {
  display: inline-block;
  padding: 7px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none !important;
  transition: background var(--sth-trans), border-color var(--sth-trans), color var(--sth-trans);
}
.sth-jump-pill:hover {
  background: var(--sth-gold);
  border-color: var(--sth-gold);
  color: var(--sth-navy) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STATS RIBBON
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-stats-ribbon {
  background: var(--sth-gold);
  padding: 28px 0;
}

.sth-stat {
  text-align: center;
  padding: 8px 16px;
}

.sth-stat .stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--sth-navy);
  line-height: 1;
  display: block;
}

.sth-stat .stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sth-navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MAIN  &  SECTIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-main { background: var(--sth-soft-bg); }

.sth-section         { padding: 72px 0 56px; }
.sth-section-alt     { background: #fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION HEADERS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-section-header { margin-bottom: 44px; }

.sth-event-tag {
  display: inline-block;
  background: rgba(26, 8, 126, 0.08);
  color: var(--sth-navy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(26, 8, 126, 0.15);
}

.sth-section-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--sth-navy);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sth-section-header h2.revealed {
  opacity: 1;
  transform: none;
}
.sth-section-header h2 em {
  color: var(--sth-gold);
  font-style: normal;
}

.sth-underline {
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sth-navy) 0%, var(--sth-gold) 100%);
  border-radius: 3px;
  margin-bottom: 20px;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}
.sth-section-header h2.revealed ~ .sth-underline { width: 80px; }

.sth-section-header .sth-lead {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.75;
  max-width: 680px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TROPHY BANNER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-trophy-banner {
  background: linear-gradient(135deg, var(--sth-navy) 0%, var(--sth-navy-deep) 60%, #0055a5 100%);
  border-radius: 16px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 44px;
  box-shadow: 0 8px 40px rgba(26, 8, 126, 0.22);
  position: relative;
  overflow: hidden;
}

.sth-trophy-banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: rgba(251, 185, 17, 0.08);
  border-radius: 50%;
}

.sth-trophy-icon {
  font-size: 5rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.sth-trophy-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--sth-gold);
  margin-bottom: 8px;
}
.sth-trophy-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PODIUM
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin: 40px 0;
}

.sth-podium-item {
  flex: 1;
  max-width: 160px;
  text-align: center;
}

.sth-podium-block {
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 12px 16px;
  font-weight: 800;
  font-size: 2rem;
}

.sth-podium-block.gold   { background: var(--sth-gold); height: 120px; color: var(--sth-navy); }
.sth-podium-block.silver { background: #b0b8c9;          height: 90px;  color: #1a1a2e; }
.sth-podium-block.bronze { background: #cd7f32;          height: 75px;  color: #fff; }

.sth-podium-item .sth-podium-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #444;
  margin-top: 8px;
}
.sth-podium-item .sth-podium-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sth-navy);
  margin-top: 3px;
}

.sth-podium-item.our-school .sth-podium-name { color: var(--sth-gold); }
.sth-podium-item.our-school .sth-podium-block.bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #e8a045 100%);
  box-shadow: 0 4px 20px rgba(205, 127, 50, 0.40);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STORY BLOCKS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-story-block {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.sth-story-block.reverse { flex-direction: row-reverse; }

.sth-story-img {
  width: 260px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
}
.sth-story-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}
.sth-story-img:hover img { transform: scale(1.05); }

/* Full-width story images inside Bootstrap rows */
.row .sth-story-img {
  width: 100%;
}
.row .sth-story-img img {
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.sth-story-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sth-navy);
  margin-bottom: 10px;
}
.sth-story-text p {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.78;
  margin-bottom: 10px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   IMAGE MOSAICS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-mosaic           { display: grid; gap: 14px; }
.sth-mosaic-3         { grid-template-columns: repeat(3, 1fr); }
.sth-mosaic-4         { grid-template-columns: repeat(4, 1fr); }

.sth-mosaic-featured {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
}
.sth-mosaic-featured .sth-mosaic-item:first-child {
  grid-row: span 2;
}
.sth-mosaic-featured .sth-mosaic-item:first-child img,
.sth-mosaic-featured .sth-mosaic-item img { height: 100%; }

.sth-mosaic-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}
.sth-mosaic-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.sth-mosaic-item:hover img { transform: scale(1.07); }

.sth-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 5, 64, 0.75) 0%, transparent 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 20px 10px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sth-mosaic-item:hover .sth-img-caption { opacity: 1; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   QUOTE BLOCK
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-quote {
  background: var(--sth-navy);
  border-radius: var(--sth-radius);
  padding: 36px 40px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}

.sth-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 10rem;
  color: rgba(251, 185, 17, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.sth-quote p {
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.sth-quote cite {
  color: var(--sth-gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-style: normal;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HIGHLIGHT CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.sth-hcard {
  background: #fff;
  border-radius: var(--sth-radius);
  padding: 28px 24px;
  box-shadow: var(--sth-shadow);
  border-top: 4px solid var(--sth-navy);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow var(--sth-trans);
}
.sth-hcard.item-visible {
  opacity: 1;
  transform: none;
}
.sth-hcard:hover {
  box-shadow: 0 10px 32px rgba(26, 8, 126, 0.14);
  transform: translateY(-4px);
}

.sth-hcard.gold-top  { border-top-color: var(--sth-gold); }
.sth-hcard.blue-top  { border-top-color: var(--sth-accent-blue); }

.sth-hcard-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.sth-hcard h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sth-navy);
  margin-bottom: 8px;
}
.sth-hcard p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA STRIP
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.sth-cta-strip {
  background: linear-gradient(135deg, #0a0540 0%, #1a087e 100%);
  padding: 64px 0;
  text-align: center;
}
.sth-cta-strip h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.sth-cta-strip p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.sth-btn-gold {
  display: inline-block;
  padding: 14px 36px;
  background: var(--sth-gold);
  color: var(--sth-navy) !important;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  letter-spacing: 0.5px;
  transition: transform var(--sth-trans), box-shadow var(--sth-trans);
  box-shadow: 0 4px 20px rgba(251, 185, 17, 0.35);
  margin: 6px 8px;
}
.sth-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(251, 185, 17, 0.50);
}

.sth-btn-outline {
  display: inline-block;
  padding: 13px 34px;
  border: 2px solid rgba(255, 255, 255, 0.50);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: border-color var(--sth-trans), background var(--sth-trans);
  margin: 6px 8px;
}
.sth-btn-outline:hover {
  border-color: var(--sth-gold);
  background: rgba(251, 185, 17, 0.10);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

#footer.bg-primary {
  background-color: #1a087e !important;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-menu { margin-bottom: 2rem; }
.footer-menu h5,
.footer-menu h6 { color: #fff; font-weight: 600; margin-bottom: 1rem; }

.footer-menu ul.menu-list { padding-left: 0; }
.footer-menu ul.menu-list li { margin-bottom: 0.5rem; }
.footer-menu ul.menu-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
  text-transform: capitalize;
}
.footer-menu ul.menu-list a:hover {
  color: var(--sth-gold);
  text-decoration: underline;
}

.social-links a { color: #fff; margin-right: 0.5rem; transition: color 0.2s; }
.social-links a:hover { color: var(--sth-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 1rem;
  color: #fff;
}
.footer-bottom p { margin-bottom: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LINK RESETS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

a { color: inherit; text-decoration: none; transition: 0.3s ease-in-out; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LIGHTBOX
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

#sth-lb {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}
#sth-lb.lb-open {
  visibility: visible;
  pointer-events: auto;
}

#sth-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 22, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.32s ease;
}
#sth-lb.lb-open #sth-lb-backdrop {
  opacity: 1;
}

#sth-lb-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  padding: 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1),
              transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
#sth-lb.lb-open #sth-lb-wrap {
  opacity: 1;
  transform: none;
}

/* Top bar */
#sth-lb-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#sth-lb-section-tag {
  display: inline-block;
  background: var(--sth-gold);
  color: var(--sth-navy);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 50px;
}

#sth-lb-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
#sth-lb-close:hover {
  background: #e53e3e;
  border-color: #e53e3e;
  transform: rotate(90deg) scale(1.1);
}

/* Image frame */
#sth-lb-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.06);
  background: #07052a;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 66vh;
}
#sth-lb-img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}
#sth-lb-img.lb-anim {
  animation: lbZoom 0.28s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes lbZoom {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* Bottom controls */
#sth-lb-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#sth-lb-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lb-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.18s, box-shadow 0.2s;
  user-select: none;
}
.lb-nav-btn:hover {
  background: var(--sth-gold);
  border-color: var(--sth-gold);
  color: var(--sth-navy);
  transform: scale(1.12);
  box-shadow: 0 0 22px rgba(251,185,17,0.45);
}
.lb-nav-btn:active { transform: scale(0.96); }

#sth-lb-counter {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  min-width: 60px;
  text-align: center;
}

/* Thumbnail strip */
#sth-lb-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(251,185,17,0.4) transparent;
}
#sth-lb-thumbs::-webkit-scrollbar { height: 3px; }
#sth-lb-thumbs::-webkit-scrollbar-thumb {
  background: rgba(251,185,17,0.4);
  border-radius: 3px;
}

.lb-thumb {
  width: 54px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.4;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lb-thumb:hover { opacity: 0.75; transform: scale(1.07); }
.lb-thumb.lb-active {
  border-color: var(--sth-gold);
  opacity: 1;
  transform: scale(1.1);
}

/* Caption */
#sth-lb-caption {
  color: rgba(255,255,255,0.5);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  min-height: 1em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 991px) {
  .sth-trophy-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .sth-mosaic-4 { grid-template-columns: repeat(2, 1fr); }

  .sth-mosaic-featured {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .sth-mosaic-featured .sth-mosaic-item:first-child { grid-row: span 1; }
  .sth-mosaic-featured .sth-mosaic-item:first-child img { height: 200px; }

  .sth-highlight-cards { grid-template-columns: repeat(2, 1fr); }

  #bdNavbar { background-color: #000 !important; }
  a.nav-link {
    font-size: 1.2rem !important;
    padding: 0.8rem 0 !important;
  }

  #sth-lb-wrap { padding: 18px 52px; }
}

@media (max-width: 767px) {
  .sth-hero { min-height: 300px; }
  .sth-hero-content { padding: 44px 16px 36px; }

  .sth-story-block,
  .sth-story-block.reverse { flex-direction: column; }
  .sth-story-img { width: 100%; }
  .sth-story-img img { height: 220px; }

  .sth-mosaic-3,
  .sth-mosaic-4,
  .sth-mosaic-featured {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .sth-mosaic-featured .sth-mosaic-item:first-child { grid-row: span 1; }

  .sth-podium { gap: 6px; }
  .footer-menu { text-align: center; }

  #sth-lb-wrap { padding: 16px 48px; gap: 12px; }
  .lb-nav-btn { width: 44px; height: 44px; }
  #sth-lb-frame { max-height: 54vh; }
  #sth-lb-img   { max-height: 54vh; }
}

@media (max-width: 480px) {
  .sth-hero { min-height: 240px; }

  .sth-jump-nav { gap: 7px; }
  .sth-jump-pill { font-size: 0.68rem; padding: 5px 12px; }

  .sth-highlight-cards { grid-template-columns: 1fr; }

  .sth-quote { padding: 24px 20px; }
  .sth-trophy-banner { padding: 24px 18px; }

  .sth-mosaic-3,
  .sth-mosaic-4 { grid-template-columns: 1fr 1fr; gap: 10px; }

  .sth-mosaic-item img { height: 160px; }

  .sth-section { padding: 44px 0 36px; }
  .sth-section-header { margin-bottom: 28px; }

  .sth-cta-strip { padding: 44px 0; }

  #sth-lb-wrap { padding: 12px 44px; }
  #sth-lb-frame { max-height: 48vh; border-radius: 10px; }
  #sth-lb-img   { max-height: 48vh; }
  .lb-thumb { width: 42px; height: 32px; }
}

@media (max-width: 360px) {
  .sth-mosaic-3,
  .sth-mosaic-4 { grid-template-columns: 1fr; }
  .sth-mosaic-item img { height: 200px; }
}