/* =====================================================================
   Jordan Bilingual College — public website (mobile-first)
   Palette checked against the official logo: navy #1B2A4A (logo shield),
   gold #D4AF37 (logo border/stars), royal blue #2457A7, school orange #F28C28
   (uniforms and buildings) used sparingly as an accent.
   ===================================================================== */
:root {
  --navy: #1B2A4A;
  --navy-900: #111c33;
  --royal: #2457A7;
  --gold: #D4AF37;
  --gold-600: #b8952a;
  --orange: #F28C28;
  --white: #FFFFFF;
  --soft: #F5F7FA;
  --ink: #1f2937;
  --muted: #5b6475;
  --line: #e3e8f0;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(17, 28, 51, .12);
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color: var(--royal);
  --bs-link-color-rgb: 36, 87, 167;
}
html { scroll-behavior: smooth; }
body { background: var(--white); overflow-x: hidden; font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--navy); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; z-index: 2000; top: 8px; left: 8px; background: var(--gold); color: var(--navy); padding: .5rem 1rem; border-radius: 8px; font-weight: 700; }

/* ---------------------------------------------------------------- buttons */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.35rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.btn-lg { padding: .8rem 1.7rem; font-size: 1.02rem; min-height: 52px; }
.btn-sm { min-height: 36px; padding: .35rem 1rem; }
.btn-gold { background: var(--gold); border: 2px solid var(--gold); color: var(--navy-900); box-shadow: 0 8px 20px rgba(212, 175, 55, .3); }
.btn-gold:hover, .btn-gold:focus { background: #e2c25a; border-color: #e2c25a; color: var(--navy-900); }
.btn-navy { background: var(--navy); border: 2px solid var(--navy); color: #fff; }
.btn-navy:hover, .btn-navy:focus { background: var(--royal); border-color: var(--royal); color: #fff; }
.btn-outline-light { border-width: 2px; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.text-gold { color: var(--gold) !important; }
.text-white-75 { color: rgba(255, 255, 255, .8); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--royal); }
.link-arrow::after { content: ' →'; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------------------------------------------------------------- top bar & nav */
.topbar-site { background: var(--navy-900); color: #cfd8e6; padding: .4rem 0; }
.topbar-site a { color: #cfd8e6; text-decoration: none; }
.topbar-site a:hover { color: var(--gold); }
.topbar-site i { color: var(--gold); margin-right: .25rem; }
/* No backdrop-filter here: it would make the header the containing block of the
   fixed mobile offcanvas menu, squeezing the menu into the header and widening the page. */
.site-nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(17, 28, 51, .05); }
.site-nav .navbar { padding: .55rem 0; }
.navbar-brand img { object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1rem; white-space: normal; }
.brand-motto { font-size: .7rem; color: var(--gold-600); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 380px) { .brand-name { font-size: .88rem; } .navbar-brand img { width: 40px; height: 40px; } }
.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--navy); padding: .25rem .5rem; min-width: 44px; min-height: 44px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(212, 175, 55, .5); }
.site-nav .nav-link { color: var(--navy); font-weight: 600; font-size: .93rem; padding: .6rem .7rem !important; border-radius: 10px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--royal); background: #eef3fb; }
.site-nav .dropdown-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .4rem; }
.site-nav .dropdown-item { border-radius: 9px; padding: .55rem .9rem; font-size: .93rem; }
.site-nav .dropdown-item:hover { background: #eef3fb; color: var(--royal); }
.lang-switch { border: 1px solid var(--line); }
@media (max-width: 1199.98px) {
  .site-nav .offcanvas { --bs-offcanvas-width: min(340px, 88vw); }
  .site-nav .nav-link { padding: .8rem .9rem !important; font-size: 1rem; }
  .site-nav .dropdown-menu { box-shadow: none; border: 0; background: var(--soft); }
  .site-nav .offcanvas .btn-close { width: 44px; height: 44px; padding: 0; background-size: 14px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; padding: 3.5rem 0 4.5rem; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(36, 87, 167, .55), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(212, 175, 55, .16), transparent 60%),
    linear-gradient(135deg, #111c33 0%, #1B2A4A 55%, #20366a 100%);
}
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px;
  background: rgba(212, 175, 55, .14); border: 1px solid rgba(212, 175, 55, .55); color: #f3dc8d;
  font-weight: 600; font-size: .9rem; text-decoration: none; margin-bottom: 1.25rem;
}
.hero-badge:hover { background: rgba(212, 175, 55, .24); color: #fff; }
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212, 175, 55, .7); animation: pulse 2s infinite; }
.hero-title { font-family: 'Playfair Display', Georgia, serif; color: #fff; font-weight: 800; font-size: clamp(2rem, 6.4vw, 3.6rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 1.1rem; }
.hero-text { font-size: clamp(1rem, 2.4vw, 1.15rem); color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 560px; }
.hero-trust li { display: flex; align-items: center; gap: .65rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: .65rem .75rem; font-size: .82rem; color: rgba(255, 255, 255, .8); line-height: 1.25; }
.hero-trust strong { display: block; color: #fff; font-size: 1rem; }
.hero-trust .ti { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(212, 175, 55, .18); color: var(--gold); font-size: 1.15rem; }
@media (min-width: 1200px) { .hero-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; } .hero-trust li { flex-direction: column; align-items: flex-start; } }

.hero-visual { position: relative; margin: 0 auto; max-width: 560px; padding: 1.5rem 1.75rem 2.5rem; }
.hero-main { position: relative; border-radius: 28px; overflow: hidden; border: 5px solid var(--gold); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); aspect-ratio: 4 / 4.2; background: var(--navy-900); }
.hero-main img, .hero-main picture { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; display: block; }
.hero-orbit { position: absolute; border-radius: 50%; overflow: hidden; border: 4px solid var(--gold); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); background: var(--navy); animation: float 6s ease-in-out infinite; }
.hero-orbit img, .hero-orbit picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.orbit-1 { width: 26%; aspect-ratio: 1; top: 0; left: -2%; }
.orbit-2 { width: 22%; aspect-ratio: 1; top: 30%; right: -4%; animation-delay: -1.5s; }
.orbit-3 { width: 20%; aspect-ratio: 1; bottom: 4%; left: -5%; animation-delay: -3s; }
.orbit-4 { width: 18%; aspect-ratio: 1; bottom: -1%; right: 14%; animation-delay: -4.5s; }
.hero-motto { position: absolute; left: 50%; transform: translateX(-50%); bottom: .2rem; white-space: nowrap; background: #fff; color: var(--navy); font-weight: 700; font-size: .82rem; padding: .5rem 1rem; border-radius: 999px; box-shadow: var(--shadow); }
.hero-motto i { color: var(--gold-600); margin-right: .35rem; }
/* phones: fewer, smaller decorative circles and no overflow */
@media (max-width: 575.98px) {
  .hero { padding: 2.25rem 0 3rem; }
  .hero-visual { padding: .75rem 1rem 2.25rem; }
  .orbit-3, .orbit-4 { display: none; }
  .orbit-1 { width: 24%; left: 0; top: -2%; }
  .orbit-2 { width: 22%; right: 0; top: auto; bottom: 14%; }
  .hero-ctas .btn { width: 100%; }
  .hero-motto { font-size: .74rem; padding: .4rem .8rem; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, .7); } 70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: 4rem 0; }
@media (min-width: 992px) { .section { padding: 5.5rem 0; } }
.bg-soft { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.section-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.4rem); line-height: 1.2; margin-bottom: .9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--gold-600); margin-bottom: .5rem; }
.eyebrow::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: .5rem; }
.section-head .eyebrow::before { display: none; }
.lead-sm { font-size: 1.1rem; color: var(--navy); font-weight: 500; }

.facts-strip { margin-top: -2.2rem; position: relative; z-index: 2; }
.fact { display: flex; flex-direction: column; align-items: center; gap: .2rem; height: 100%; padding: 1.15rem .75rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; transition: transform .2s, border-color .2s; }
.fact:hover { transform: translateY(-4px); border-color: var(--gold); }
.fact i { font-size: 1.6rem; color: var(--royal); }
.fact-h { font-weight: 700; color: var(--navy); font-size: .95rem; }
.fact-p { font-size: .8rem; color: var(--muted); line-height: 1.35; }

.values { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.values span { background: #fff8e3; color: #7a5c00; border: 1px solid #f1df9e; border-radius: 999px; padding: .3rem .85rem; font-size: .85rem; font-weight: 600; }
.img-stack { position: relative; padding-bottom: 12%; }
.img-stack .img-a, .img-stack picture:first-child img { border-radius: var(--radius); box-shadow: var(--shadow); width: 88%; }
.img-stack picture:last-child { position: absolute; right: 0; bottom: 0; width: 46%; }
.img-stack picture:last-child img { border-radius: var(--radius); border: 5px solid #fff; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.program-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 22px rgba(17, 28, 51, .08); transition: transform .25s, box-shadow .25s; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-img { aspect-ratio: 16 / 10; overflow: hidden; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.program-card:hover .program-img img { transform: scale(1.06); }
.program-body { padding: 1.4rem 1.4rem 1.6rem; border-top: 4px solid var(--gold); }
.program-body h3 { font-size: 1.2rem; font-weight: 700; }
.program-body p { color: var(--muted); font-size: .95rem; }

.feature { display: flex; gap: 1rem; height: 100%; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: var(--gold); box-shadow: 0 8px 22px rgba(17, 28, 51, .07); }
.feature-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--royal)); color: var(--gold); font-size: 1.35rem; }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

.admissions-band { background: linear-gradient(120deg, var(--navy-900), var(--navy) 50%, var(--royal)); position: relative; overflow: hidden; }
.admissions-band::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(212, 175, 55, .09); right: -120px; top: -140px; }
.req-card { position: relative; z-index: 1; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); border-top: 5px solid var(--gold); }
.req-card h3 { font-size: 1.15rem; font-weight: 700; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding: .3rem 0 .3rem 1.9rem; }
.check-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .3rem; color: var(--gold-600); font-size: 1.1rem; }

.news-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 1.15rem 1.25rem 1.35rem; }
.news-body time { font-size: .78rem; font-weight: 700; color: var(--gold-600); text-transform: uppercase; letter-spacing: .06em; }
.news-body h3 { font-size: 1.05rem; font-weight: 700; margin: .35rem 0 .45rem; line-height: 1.35; }
.news-body h3 a { color: var(--navy); text-decoration: none; }
.news-body p { color: var(--muted); font-size: .9rem; margin: 0; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-list li { display: flex; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.event-date { flex-shrink: 0; width: 62px; height: 62px; border-radius: 14px; background: var(--navy); color: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.event-date span { font-size: 1.4rem; color: #fff; line-height: 1; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.gallery-item { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; background: linear-gradient(transparent, rgba(17, 28, 51, .85)); color: #fff; font-size: .82rem; font-weight: 600; }
.gallery-item:hover img { transform: scale(1.06); }
button.gallery-item { border: 0; padding: 0; width: 100%; text-align: left; cursor: zoom-in; }

.contact-tile { height: 100%; padding: 1.6rem; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.contact-tile i { font-size: 1.6rem; color: var(--gold-600); }
.contact-tile h3 { font-size: 1.05rem; font-weight: 700; margin: .5rem 0; }
.contact-tile p { margin: 0 0 .5rem; color: var(--muted); }

/* ---------------------------------------------------------------- inner pages */
.page-banner { position: relative; color: #fff; padding: 3rem 0 2.6rem; background: linear-gradient(120deg, rgba(17, 28, 51, .94), rgba(27, 42, 74, .86) 55%, rgba(36, 87, 167, .78)), var(--banner, none) center / cover, var(--navy); }
.page-banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--orange)); }
.page-banner h1 { color: #fff; font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.8rem); margin: .25rem 0 .5rem; }
.page-banner .lead { color: rgba(255, 255, 255, .85); max-width: 720px; font-size: 1.05rem; margin: 0; }
.page-banner .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: var(--gold); font-size: .85rem; margin: 0; }
.page-banner .breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.prose { font-size: 1.04rem; }
.prose h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.tbc { background: #fff3cd; color: #7a5c00; border-radius: 4px; padding: 0 .25rem; font-size: .92em; }
.side-card { background: var(--soft); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); }
.side-card h2 { font-size: 1.05rem; font-weight: 700; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: block; padding: .55rem .75rem; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 500; }
.side-nav a:hover, .side-nav a.active { background: #fff; color: var(--royal); box-shadow: 0 2px 8px rgba(17, 28, 51, .06); }
.page-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.staff-card { text-align: center; padding: 1.5rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; }
.staff-photo { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1rem; border: 4px solid var(--gold); background: var(--soft); display: grid; place-items: center; overflow: hidden; color: var(--navy); font-size: 2.4rem; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .1rem; }
.staff-role { color: var(--gold-600); font-weight: 600; font-size: .88rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-pills button { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .88rem; min-height: 40px; }
.filter-pills button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.accordion-button:not(.collapsed) { background: #eef3fb; color: var(--navy); box-shadow: none; }
.accordion-button { font-weight: 600; color: var(--navy); }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(212, 175, 55, .4); }
.form-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
@media (min-width: 768px) { .form-card { padding: 2.25rem; } }
.form-control, .form-select { border-radius: 12px; min-height: 48px; border-color: #ccd5e3; }
.form-control:focus, .form-select:focus { border-color: var(--royal); box-shadow: 0 0 0 .2rem rgba(36, 87, 167, .15); }
.form-label { font-weight: 600; color: var(--navy); font-size: .92rem; }
.form-section { font-size: 1.05rem; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--line); padding-bottom: .4rem; margin: 1.75rem 0 1rem; }
.form-section:first-of-type { margin-top: 0; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.map-box { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--royal)); color: #fff; min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; }
.ref-box { background: #eef7ee; border: 2px dashed #6cb36c; border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.ref-box code { font-size: 1.5rem; color: #1d5e1d; font-weight: 700; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-900); color: #b9c4d6; padding: 3.5rem 0 1.25rem; margin-top: 0; border-top: 4px solid var(--gold); }
.site-footer a { color: #d7deea; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-logo { background: #fff; border-radius: 12px; padding: 3px; object-fit: contain; }
.footer-h { color: #fff; font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .45rem; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .6rem; }
.footer-contact i { color: var(--gold); }
.social { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 1.15rem; }
.social:hover { background: var(--gold); color: var(--navy-900) !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; }

/* lightbox */
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox img { border-radius: 14px; max-height: 80vh; width: auto; margin: 0 auto; display: block; }
.lightbox .caption { color: #fff; text-align: center; margin-top: .75rem; }

@media print { .site-nav, .topbar-site, .site-footer, .hero-orbit { display: none !important; } }

/* keep header buttons on one line; tighten the menu on mid-size desktops */
.site-nav .btn-gold, .site-nav .lang-switch, .site-nav .nav-link { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-nav .nav-link { padding: .55rem .5rem !important; font-size: .88rem; }
  .brand-motto { display: none !important; }
}

/* ID card verification */
.verify-badge { width: 86px; height: 86px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; font-size: 2.6rem; }
.verify-badge.ok { background: #dcfce7; color: #15803d; }
.verify-badge.bad { background: #fee2e2; color: #b91c1c; }
.verify-badge.warn { background: #fef3c7; color: #b45309; }
.verify-photo { width: 120px; height: 160px; object-fit: cover; border-radius: 12px; border: 4px solid var(--gold); margin: .5rem auto 1rem; display: block; }
.verify-dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; text-align: left; max-width: 360px; margin: 0 auto 1rem; }
.verify-dl dt { color: var(--muted); font-weight: 500; }
.verify-dl dd { margin: 0; font-weight: 700; color: var(--navy); }

/* =====================================================================
   Learning platform components (migration 009)
   ===================================================================== */
.topbar-phones a i, .topbar-site .topbar-social i { margin-right: .3rem; }
.topbar-site .topbar-social { color: #cfd8e6; }
.topbar-site .topbar-social:hover { color: var(--gold); }
@media (max-width: 575.98px) { .topbar-site { font-size: .8rem; } }

/* news ticker (marquee) */
.news-ticker { background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold); font-size: .92rem; }
.news-ticker .container { min-height: 44px; }
.ticker-label { flex-shrink: 0; background: var(--gold); color: var(--navy-900); font-weight: 700; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.ticker-window { position: relative; overflow: hidden; flex: 1; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-window:focus-visible { outline: 2px solid var(--gold); }
.ticker-track { display: flex; flex-shrink: 0; gap: 2.5rem; padding: 0 1.25rem; margin: 0; list-style: none; animation: ticker var(--ticker-duration, 40s) linear infinite; white-space: nowrap; }
.ticker-track li a, .ticker-track li span { color: #fff; text-decoration: none; }
.ticker-track li a:hover, .ticker-track li a:focus { color: var(--gold); text-decoration: underline; }
.ticker-track li i { color: var(--gold); }
.news-ticker.paused .ticker-track, .ticker-window:hover .ticker-track, .ticker-window:focus-within .ticker-track { animation-play-state: paused; }
.ticker-toggle { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; display: grid; place-items: center; }
.ticker-toggle:hover, .ticker-toggle:focus-visible { background: var(--gold); color: var(--navy-900); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; white-space: normal; gap: .4rem 1.5rem; }
  .ticker-clone, .ticker-toggle { display: none !important; }
  .ticker-window { -webkit-mask-image: none; mask-image: none; padding: .35rem 0; }
}
@media (max-width: 575.98px) { .ticker-label { font-size: .7rem; padding: .2rem .5rem; } }

/* YouTube: privacy-enhanced, click-to-load */
.video-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.yt-figure { margin: 0; }
.yt-figure figcaption { padding-top: .5rem; font-size: .92rem; }
.yt-lite { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; }
.yt-short .yt-lite { aspect-ratio: 9 / 16; max-width: 340px; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; border: 0; border-radius: 14px; background: rgba(204, 0, 0, .92); color: #fff; font-size: 2rem; display: grid; place-items: center; }
.yt-play:hover, .yt-play:focus-visible { background: #c00; transform: scale(1.06); }

/* blog, tags, sharing, comments, author */
.badge-cat { background: rgba(212, 175, 55, .18); color: var(--navy); font-weight: 600; }
.tag-chip { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .82rem; text-decoration: none; color: var(--navy); }
.tag-chip:hover, .tag-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.blog-card-big .news-img { aspect-ratio: 21 / 9; }
.share-links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.share-links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy); text-decoration: none; }
.share-links a:hover { background: var(--navy); color: #fff; }
.comment { border-left: 3px solid var(--gold); padding: .6rem 1rem; margin: .8rem 0; background: var(--soft); border-radius: 0 10px 10px 0; }
.author-box { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.author-box img { border-radius: 50%; object-fit: cover; }
.rich-quote { border-left: 4px solid var(--gold); padding: .5rem 1rem; color: var(--navy); background: rgba(212, 175, 55, .08); border-radius: 0 10px 10px 0; }
.rich-table { background: #fff; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .6rem; }
.search-results li a { display: block; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; text-decoration: none; color: var(--ink); }
.search-results li a:hover { border-color: var(--gold); box-shadow: 0 6px 18px rgba(17, 28, 51, .07); }

/* leadership */
.leader-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 6px 22px rgba(17, 28, 51, .06); }
.leader-photo { aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--navy), var(--royal)); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .35); font-size: 6rem; }
.leader-body { padding: 1.4rem; }
.leader-body .social, .leader-profile-card .social { position: relative; z-index: 2; }
.leader-profile-card { position: sticky; top: 100px; }
.social-dark { background: var(--soft) !important; color: var(--navy) !important; }
.social-dark:hover { background: var(--navy) !important; color: #fff !important; }

/* clubs, programmes, mission */
.club-card { position: relative; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s, border-color .2s; }
.club-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--gold); }
.club-icon, .program-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--royal)); color: var(--gold); font-size: 1.6rem; margin-bottom: 1rem; }
.program-icon { margin: 1.25rem 1.25rem 0; }
.mission-band { padding: 2rem; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.journey li { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--navy); }
.journey li span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); font-weight: 800; flex-shrink: 0; }
.mission-action { background: linear-gradient(180deg, #fff, var(--soft)); }

/* admissions popup */
.adm-pop-dialog { max-width: 720px; }
.adm-pop { border: 0; border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1fr; }
.adm-pop-img { max-height: 200px; overflow: hidden; }
.adm-pop-img img { width: 100%; height: 100%; object-fit: cover; }
.adm-pop-body { position: relative; padding: 1.6rem; }
.adm-pop-body h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; padding-right: 2rem; }
.adm-pop-close { position: absolute; top: 1rem; right: 1rem; }
@media (min-width: 768px) { .adm-pop { grid-template-columns: 5fr 7fr; } .adm-pop-img { max-height: none; } .adm-pop-body { padding: 2.2rem; } }
@media (max-width: 575.98px) { .adm-pop-dialog { margin: .75rem; } .adm-pop-img { display: none; } .adm-pop-body h2 { font-size: 1.3rem; } }

/* floating contact buttons, consent bar, low-data mode */
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 1030; display: flex; flex-direction: column; gap: .6rem; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); text-decoration: none; }
.float-wa { background: #25D366; }
.float-call { background: var(--navy); }
.float-btn:hover { color: #fff; transform: scale(1.06); }
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: var(--navy-900); color: #fff; padding: .85rem 0; box-shadow: 0 -6px 20px rgba(0, 0, 0, .2); }
.consent-bar a { color: var(--gold); }
.lowbw-note { position: fixed; left: 16px; bottom: 16px; z-index: 1029; max-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; font-size: .82rem; box-shadow: var(--shadow); }
html.low-bw .hero-orbit, html.low-bw .hero-bg { display: none; }
html.low-bw main img:not([data-keep]), html.low-bw .yt-lite img { visibility: hidden; }
html.low-bw main picture, html.low-bw .news-img, html.low-bw .program-img, html.low-bw .gallery-item, html.low-bw .yt-lite { background-color: var(--soft); }
html.low-bw img.lowbw-shown { visibility: visible; }
html.low-bw [data-lowbw-toggle] { color: var(--gold) !important; }
.blank-slot { display: inline-block; min-width: 3.5rem; border-bottom: 2px solid var(--navy); text-align: center; font-weight: 700; color: var(--muted); }
@media print { .news-ticker, .float-actions, .consent-bar, .modal { display: none !important; } }

/* wide gutters are too wide for phones: keep rows inside the container */
@media (max-width: 575.98px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; } }
/* desktop widths where the full menu is tight (French labels are longer) */
@media (min-width: 1200px) and (max-width: 1799.98px) {
  .site-nav .nav-link { padding: .5rem .38rem !important; font-size: .84rem; }
  .site-nav .btn-sm { padding: .3rem .7rem; font-size: .82rem; }
  .site-nav .nav-btn-text { display: none; }
  .site-nav .brand-name { font-size: .95rem; }
}

/* =====================================================================
   Hero slider — photos change with a 360° sweep-and-fade transition
   ===================================================================== */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
.hero-slider { min-height: clamp(560px, 88vh, 860px); display: flex; flex-direction: column; justify-content: center; padding: 4rem 0 6.5rem; background: var(--navy-900); }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide.is-leaving { opacity: 1; z-index: 1; }
.hero-slide picture, .hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* Slow zoom while a photo is on screen */
.hero-slide.is-active img { animation: hero-zoom 9s ease-out both; }
/* The 360° reveal: a clockwise conic sweep around the centre that fades the new photo in.
   Applied only when the browser supports animating the angle (JS adds html.sweep-ok);
   otherwise photos simply cross-fade. */
html.sweep-ok .hero-slide.is-active.is-entering {
  -webkit-mask-image: conic-gradient(from -90deg at 50% 50%, #000 calc(var(--sweep) - 40deg), rgba(0, 0, 0, .35) var(--sweep), transparent calc(var(--sweep) + 1deg));
  mask-image: conic-gradient(from -90deg at 50% 50%, #000 calc(var(--sweep) - 40deg), rgba(0, 0, 0, .35) var(--sweep), transparent calc(var(--sweep) + 1deg));
  animation: hero-sweep 1.7s cubic-bezier(.55, .1, .25, 1) both;
}
html.sweep-ok .hero-slide.is-active.is-entering img { animation: hero-zoom 9s ease-out both, hero-spin-in 1.7s cubic-bezier(.55, .1, .25, 1) both; }
@keyframes hero-sweep { from { --sweep: 0deg; } to { --sweep: 400deg; } }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes hero-spin-in { from { transform: scale(1.18) rotate(-4deg); filter: brightness(1.25); } to { transform: scale(1.12) rotate(0); filter: none; } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 28, 51, .94) 0%, rgba(17, 28, 51, .82) 38%, rgba(27, 42, 74, .45) 68%, rgba(27, 42, 74, .15) 100%),
    linear-gradient(0deg, rgba(17, 28, 51, .85) 0%, transparent 35%);
}
.hero-motto-line { color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin-bottom: .6rem; }
.hero-slider .hero-title, .hero-slider .hero-text { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-controls { position: absolute; left: 0; right: 0; bottom: -4.6rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding: 0 .75rem; }
.hero-caption { margin: 0; color: rgba(255, 255, 255, .85); font-size: .88rem; background: rgba(17, 28, 51, .55); border: 1px solid rgba(255, 255, 255, .15); padding: .35rem .8rem; border-radius: 999px; max-width: 100%; }
.hero-caption i { color: var(--gold); }
.hero-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(17, 28, 51, .45); color: #fff; display: grid; place-items: center; transition: background .2s, color .2s; }
.hero-btn:hover, .hero-btn:focus-visible { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.hero-dots { display: flex; gap: .4rem; }
.hero-dot { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: transparent; transition: width .3s, background .3s; }
.hero-dot.is-active { width: 28px; border-radius: 999px; background: var(--gold); border-color: var(--gold); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.hero-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--orange)); }
.hero-progress.run span { animation: hero-progress var(--interval, 6.5s) linear forwards; }
.hero-slider.is-paused .hero-progress span { animation-play-state: paused; }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
@media (max-width: 767.98px) {
  .hero-slider { min-height: 0; padding: 2.5rem 0 7rem; }
  .hero-overlay { background: linear-gradient(180deg, rgba(17, 28, 51, .82) 0%, rgba(17, 28, 51, .9) 60%, rgba(17, 28, 51, .96) 100%); }
  .hero-controls { bottom: -5.6rem; flex-direction: column-reverse; align-items: flex-start; }
  .hero-caption { font-size: .8rem; }
  .hero-dot { width: 9px; height: 9px; }
  .hero-dot.is-active { width: 22px; }
}
html.low-bw .hero-slides { display: none; }

/* =====================================================================
   Sequenced animations: page parts appear one after another on load,
   then sections and cards fade up in order as they scroll into view.
   Only applied when JavaScript runs (html.js-anim) and motion is allowed.
   ===================================================================== */
html.js-anim .seq { opacity: 0; transform: translateY(16px); }
html.js-anim .seq.seq-in { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--seq-delay, 0ms); }
html.js-anim .seq-fade { opacity: 0; }
html.js-anim .seq-fade.seq-in { opacity: 1; transition: opacity .8s ease; transition-delay: var(--seq-delay, 0ms); }
html.js-anim .reveal { transition-delay: var(--seq-delay, 0ms); }
html.js-anim .reveal-left { opacity: 0; transform: translateX(-24px); }
html.js-anim .reveal-right { opacity: 0; transform: translateX(24px); }
html.js-anim .reveal-zoom { opacity: 0; transform: scale(.94); }
html.js-anim .reveal-left.is-visible, html.js-anim .reveal-right.is-visible, html.js-anim .reveal-zoom.is-visible { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; transition-delay: var(--seq-delay, 0ms); }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .seq, html.js-anim .seq-fade, html.js-anim .reveal-left, html.js-anim .reveal-right, html.js-anim .reveal-zoom { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   Right-hand floating buttons: WhatsApp, call (phones) and back to top
   ===================================================================== */
.float-actions { right: 18px; bottom: 18px; align-items: center; transition: bottom .3s; }
body.consent-open .float-actions { bottom: 110px; }
.float-wa { position: relative; width: 56px; height: 56px; font-size: 1.6rem; }
.float-wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: wa-ring 2.6s infinite; }
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.float-wa .float-label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: #fff; color: #128C7E; font-size: .82rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); opacity: 0; pointer-events: none; transition: opacity .2s; }
.float-wa:hover .float-label, .float-wa:focus-visible .float-label { opacity: 1; }
.float-top { background: var(--gold); color: var(--navy-900); border: 0; width: 46px; height: 46px; font-size: 1.25rem; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; }
.float-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.float-top:hover, .float-top:focus-visible { background: #e2c25a; color: var(--navy-900); }
.float-top svg { position: absolute; inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); transform: rotate(-90deg); pointer-events: none; }
.float-top { position: relative; }
.float-top circle { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: calc(150.8 - 150.8 * var(--scroll, 0)); }
@media (max-width: 575.98px) { .float-actions { right: 12px; bottom: 12px; } .float-wa { width: 52px; height: 52px; } .float-wa .float-label { display: none; } }

/* contact page map */
.contact-map { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--navy); }
.contact-map-frame { position: relative; aspect-ratio: 16 / 10; background: var(--soft); }
.contact-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map-load { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; }
.contact-map-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; color: #fff; }
@media (max-width: 575.98px) { .contact-map-frame { aspect-ratio: 4 / 3.4; } }

/* =====================================================================
   Hero slider v2 — 1920 × 650 on desktop, ~520 px tablet, ~350 px phone;
   every slide has its own text, which animates in line by line.
   ===================================================================== */
.hero-slider { height: 650px; min-height: 0; max-width: 1920px; margin-inline: auto; padding: 0; display: block; }
.hero-stage { position: relative; height: 100%; }
.hero-text-slide { position: absolute; left: calc(var(--bs-gutter-x, 1.5rem) * .5); right: calc(var(--bs-gutter-x, 1.5rem) * .5); top: 46%; transform: translateY(-50%); max-width: 700px; visibility: hidden; }
.hero-text-slide.is-active { visibility: visible; }
.hero-text-slide .hero-badge { margin-bottom: 1rem; }
.hero-slider .hero-title { font-size: clamp(1.9rem, 3.6vw, 3.25rem); margin-bottom: .9rem; }
.hero-slider .hero-text { margin-bottom: 1.5rem; max-width: 600px; }
.hero-slider .hero-ctas { margin-bottom: 0; }
.hero-text-slide.is-active > * { animation: hero-text-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text-slide.is-active > :nth-child(1) { animation-delay: .15s; }
.hero-text-slide.is-active > :nth-child(2) { animation-delay: .3s; }
.hero-text-slide.is-active > :nth-child(3) { animation-delay: .45s; }
.hero-text-slide.is-active > :nth-child(4) { animation-delay: .6s; }
@keyframes hero-text-in { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-slider .hero-controls { position: absolute; left: calc(var(--bs-gutter-x, 1.5rem) * .5); right: calc(var(--bs-gutter-x, 1.5rem) * .5); bottom: 1.6rem; padding: 0; }
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-slider { height: 520px; }
}
@media (max-width: 767.98px) {
  .hero-slider { height: 350px; }
  .hero-text-slide { top: 43%; }
  .hero-text-slide .hero-badge { font-size: .74rem; padding: .25rem .65rem; margin-bottom: .5rem; }
  .hero-slider .hero-title { font-size: 1.4rem; line-height: 1.2; margin-bottom: .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-slider .hero-text { font-size: .86rem; line-height: 1.45; margin-bottom: .75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-slider .hero-ctas { gap: .5rem; flex-wrap: nowrap; }
  .hero-slider .hero-ctas .btn { width: auto; min-height: 36px; padding: .35rem .85rem; font-size: .82rem; }
  .hero-slider .hero-ctas .btn-outline-light { display: none; }
  .hero-slider .hero-controls { bottom: .7rem; flex-direction: row; justify-content: flex-start; }
  .hero-slider .hero-caption { display: none; }
  .hero-slider .hero-btn { width: 32px; height: 32px; font-size: .85rem; }
}
@media (max-width: 359.98px) { .hero-slider .hero-title { font-size: 1.25rem; } .hero-slider .hero-text { -webkit-line-clamp: 1; } }
