/* ==========================================================================
   BSS Foundation – theme on top of Bootstrap 5.3
   Look & feel: deep green ink, warm cream, gold accent, serif display type,
   rounded cards, stat strips, logo marquee (inspired by modern B-school sites)
   ========================================================================== */
:root {
    /* Colour theme taken from bssfoundation.net */
    --bss-ink: #1d5a69;          /* dark teal – bars, footer, hero */
    --bss-ink-2: #2986a2;        /* mid teal */
    --bss-ink-rgb: 29, 90, 105;
    --bss-cream: #e2e2e2;        /* light grey sections */
    --bss-accent: #41a5c1;       /* bright teal – buttons, Apply now */
    --bss-accent-dark: #2986a2;
    --bss-accent-light: #9ed8e8; /* teal text on dark backgrounds */
    --bss-accent-rgb: 65, 165, 193;
    --bss-blue: #066aab;         /* form buttons on the old site */
    --bss-nav: #325478;          /* menu link colour on the old site */
    --bss-text: #1c2b30;
    --bss-muted: #5a6b70;
    --bss-line: rgba(var(--bss-ink-rgb), .14);
    --bss-radius: 16px;
    --bss-font-head: "Poppins", sans-serif;
    --bss-font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bss-head-weight: 700;
    --bss-on-accent: #fff;       /* text on accent-coloured buttons/chips */
    --bss-tile-1: var(--bss-accent);
    --bss-tile-2: var(--bss-ink-2);
    --bss-tile-value: #fff;
    --bss-footer: var(--bss-ink);
    --bs-body-font-family: var(--bss-font-body);
    --bs-body-color: var(--bss-text);
    --bs-link-color-rgb: 29, 90, 105;
    --bs-link-hover-color-rgb: 41, 134, 162;
}

/* ------------------------------------------------------------------------
   Navy & gold theme (from bss-foundation.ai.studio).
   Active when config('bss.theme') = 'navy' → <html data-theme="navy">.
   ------------------------------------------------------------------------ */
[data-theme="navy"] {
    --bss-ink: #0a1f44;          /* deep navy – bars, hero, page headers */
    --bss-ink-2: #12306a;        /* lighter navy */
    --bss-ink-rgb: 10, 31, 68;
    --bss-cream: #f3f5f9;        /* light slate sections */
    --bss-accent: #c59b27;       /* gold – buttons, Apply now, chips */
    --bss-accent-dark: #8f6d12;  /* gold text on white (readable) */
    --bss-accent-light: #f2cc55; /* gold text on navy */
    --bss-accent-rgb: 197, 155, 39;
    --bss-nav: #0a1f44;
    --bss-text: #0f172a;
    --bss-muted: #475569;
    --bss-on-accent: #0a1f44;    /* navy text on gold, as on the AI Studio site */
    --bss-tile-1: #0a1f44;
    --bss-tile-2: #12306a;
    --bss-tile-value: #f2cc55;
    --bss-footer: #051329;
    --bss-font-head: "Playfair Display", Georgia, serif;
    --bss-font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bss-head-weight: 800;
    --bs-link-color-rgb: 10, 31, 68;
    --bs-link-hover-color-rgb: 143, 109, 18;
}


html, body { overflow-x: clip; }
body { background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

.bss-display { font-family: var(--bss-font-head); font-weight: var(--bss-head-weight); letter-spacing: -.01em; line-height: 1.2; }
h2.bss-display { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.bss-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bss-accent-dark); }
.text-accent { color: var(--bss-accent-light) !important; }
.bss-rounded { border-radius: var(--bss-radius); }

.bss-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.bss-bg-cream { background: var(--bss-cream); }
.bss-bg-ink { background: var(--bss-ink); }

/* Buttons ---------------------------------------------------------------- */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.4rem; }
.btn-lg { padding: .85rem 1.8rem; }
.btn-bss { background: var(--bss-accent); color: var(--bss-on-accent); border: 0; }
.btn-bss:hover, .btn-bss:focus { background: var(--bss-ink); color: #fff; }
.btn-outline-bss { border: 1.5px solid var(--bss-ink); color: var(--bss-ink); }
.btn-outline-bss:hover { background: var(--bss-ink); color: #fff; }
.bss-bg-ink .btn-outline-bss { border-color: #fff; color: #fff; }

/* Top bar + header -------------------------------------------------------- */
.bss-topbar { background: var(--bss-ink); color: #fff; font-weight: 700; font-size: 1rem; overflow: hidden; }
.bss-topbar a { color: #fff; text-decoration: none; }
.bss-topbar a:hover { color: var(--bss-accent-light); text-decoration: underline; }
.bss-ticker { display: flex; width: max-content; animation: bss-ticker 28s linear infinite; }
.bss-ticker:hover, .bss-ticker:focus-within { animation-play-state: paused; }
.bss-ticker-item { padding: .55rem 3rem; white-space: nowrap; }
.bss-ticker-item i { color: var(--bss-accent-light); margin-right: .4rem; }
@keyframes bss-ticker { to { transform: translateX(-50%); } }
@media (max-width: 575.98px) { .bss-topbar { font-size: .88rem; } .bss-ticker-item { padding: .45rem 2rem; } }
@media (prefers-reduced-motion: reduce) {
    .bss-ticker { animation: none; width: auto; justify-content: center; }
    .bss-ticker-item[aria-hidden="true"] { display: none; }
}
.bss-header { background: #fff; border-bottom: 1px solid var(--bss-line); transition: box-shadow .2s; }
.bss-header.is-scrolled { box-shadow: 0 6px 24px rgba(var(--bss-ink-rgb), .08); }
.bss-header .navbar { padding: .7rem 0; }
.navbar-brand strong { color: var(--bss-ink); font-size: 1.05rem; }
.navbar-brand small { color: var(--bss-muted); font-size: .75rem; }
.bss-header .nav-link { font-weight: 600; color: var(--bss-nav); padding: .5rem .9rem !important; border-radius: 999px; }
.bss-header .nav-link:hover, .bss-header .nav-link.active { background: var(--bss-cream); }
.dropdown-menu { border: 1px solid var(--bss-line); border-radius: 16px; box-shadow: 0 18px 40px rgba(var(--bss-ink-rgb), .12); padding: .5rem; }
.dropdown-item { border-radius: 10px; padding: .55rem .8rem; }
.dropdown-item:active { background: var(--bss-ink); }
.bss-mega-item { display: flex; flex-direction: column; white-space: normal; }
.bss-mega-item small { color: var(--bss-muted); }

@media (min-width: 1200px) {
    .bss-mega .dropdown-menu { min-width: 560px; }
    .offcanvas-body { display: flex; }
}
.dropdown-item.active, .dropdown-item:active { background: var(--bss-ink); color: #fff; }

/* Hero ------------------------------------------------------------------ */
.bss-hero { background: radial-gradient(1200px 500px at 85% 0%, var(--bss-ink-2), var(--bss-ink)); color: #fff; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.bss-hero-title { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.bss-hero-media { position: relative; }
.bss-hero-media img { border-radius: 28px; aspect-ratio: 4/3.4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.bss-hero-badge { position: absolute; left: -1rem; bottom: 1.5rem; background: #fff; color: var(--bss-ink); border-radius: 16px; padding: .8rem 1rem; display: flex; gap: .75rem; align-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.bss-hero-badge i { font-size: 1.6rem; color: var(--bss-accent-dark); }
.bss-trust { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; font-size: .8rem; opacity: .9; }
.bss-trust img { height: 34px; width: auto; background: #fff; border-radius: 8px; padding: 3px 6px; }
@media (max-width: 575.98px) { .bss-hero-badge { left: .75rem; } }

/* Stats ----------------------------------------------------------------- */
.bss-stats-band { background: var(--bss-tile-1); padding: 0; }
.bss-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); text-align: center; }
.bss-stat { padding: 1.9rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.bss-stat:nth-child(odd) { background: var(--bss-tile-1); }
.bss-stat:nth-child(even) { background: var(--bss-tile-2); }
.bss-stat-value { font-family: var(--bss-font-head); font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; color: var(--bss-tile-value); line-height: 1.1; }
.bss-stat-text { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.35; padding-top: .3rem; }
.bss-stat-label { font-size: .9rem; color: #fff; font-weight: 600; margin-top: .35rem; }
@media (max-width: 575.98px) { .bss-stats { grid-template-columns: 1fr 1fr; } .bss-stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Spotlight + pills ----------------------------------------------------- */
.bss-spotlight { background: var(--bss-cream); border-radius: 28px; overflow: hidden; border: 1px solid var(--bss-line); }
.bss-spotlight-img { min-height: 320px; position: relative; overflow: hidden; }
.bss-spotlight-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bss-pill { display: inline-flex; gap: .35rem; align-items: center; background: #fff; border: 1px solid var(--bss-line); border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; font-weight: 600; }

/* Program cards -------------------------------------------------------- */
.bss-program-card { display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: var(--bss-radius); overflow: hidden; border: 1px solid var(--bss-line); color: var(--bss-text); transition: transform .25s, box-shadow .25s; }
.bss-program-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(var(--bss-ink-rgb), .12); color: var(--bss-text); }
.bss-program-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bss-cream); }
.bss-program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bss-program-card:hover .bss-program-img img { transform: scale(1.05); }
.bss-chip { position: absolute; top: .8rem; left: .8rem; background: var(--bss-accent); color: var(--bss-on-accent); font-size: .72rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; display: inline-block; }
.bss-meta { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--bss-muted); }
.bss-meta i { color: var(--bss-accent-dark); margin-right: .2rem; }
.bss-meta-lg { font-size: .95rem; margin: 1rem 0 1.25rem; }
.bss-link { font-weight: 700; color: var(--bss-ink); }
.bss-link i { transition: transform .2s; display: inline-block; }
.bss-program-card:hover .bss-link i, .bss-link:hover i { transform: translateX(4px); }

.bss-tabs { background: #fff; border-radius: 999px; padding: .3rem; border: 1px solid var(--bss-line); }
.bss-tabs .nav-link { border-radius: 999px; color: var(--bss-ink); font-weight: 600; padding: .45rem 1.1rem; }
.bss-tabs .nav-link.active { background: var(--bss-ink); color: #fff; }

/* Pillars --------------------------------------------------------------- */
.bss-pillar { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--bss-radius); padding: 2rem; transition: background .25s; }
.bss-pillar:hover { background: rgba(255, 255, 255, .09); }
.bss-pillar-num { position: absolute; top: 1.2rem; right: 1.5rem; font-family: var(--bss-font-head); font-size: 2.4rem; font-weight: 700; color: rgba(var(--bss-accent-rgb), .3); }
.bss-pillar-icon { font-size: 1.8rem; color: var(--bss-accent-light); display: block; margin-bottom: 1rem; }

/* Marquee --------------------------------------------------------------- */
.bss-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bss-marquee-track { display: flex; gap: 1rem; width: max-content; animation: bss-scroll 40s linear infinite; }
.bss-marquee:hover .bss-marquee-track { animation-play-state: paused; }
.bss-logo-tile { width: 160px; height: 84px; background: #fff; border: 1px solid var(--bss-line); border-radius: 14px; display: grid; place-items: center; padding: .75rem; }
.bss-logo-tile img { width: auto; max-height: 56px; object-fit: contain; }
@keyframes bss-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bss-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* Story scroller -------------------------------------------------------- */
.bss-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.bss-story { scroll-snap-align: start; position: relative; border-radius: var(--bss-radius); overflow: hidden; min-height: 420px; color: #fff; }
.bss-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bss-story-body { position: absolute; inset: auto 0 0 0; padding: 1.5rem; background: linear-gradient(transparent, rgba(var(--bss-ink-rgb), .95) 45%); }

/* Steps ----------------------------------------------------------------- */
.bss-step { background: var(--bss-cream); border-radius: var(--bss-radius); padding: 1.75rem; position: relative; }
.bss-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--bss-ink); color: #fff; display: grid; place-items: center; font-family: var(--bss-font-head); font-weight: 700; font-size: 1.2rem; }

/* Accordion ------------------------------------------------------------- */
.bss-accordion .accordion-item { border: 1px solid var(--bss-line); border-radius: 16px !important; margin-bottom: .75rem; overflow: hidden; }
.bss-accordion .accordion-button { font-weight: 600; padding: 1.1rem 1.25rem; }
.bss-accordion .accordion-button:not(.collapsed) { background: var(--bss-cream); color: var(--bss-ink); box-shadow: none; }
.bss-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(var(--bss-accent-rgb), .45); }

/* Forms ----------------------------------------------------------------- */
.bss-form-card { background: #fff; color: var(--bss-text); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 24px 50px rgba(var(--bss-ink-rgb), .12); border: 1px solid var(--bss-line); }
.bss-form .form-control, .bss-form .form-select { border-radius: 12px; padding: .7rem .9rem; border-color: rgba(var(--bss-ink-rgb), .2); }
.bss-form .form-control:focus, .bss-form .form-select:focus { border-color: var(--bss-accent-dark); box-shadow: 0 0 0 .2rem rgba(var(--bss-accent-rgb), .35); }
.bss-form .form-label { font-size: .85rem; font-weight: 600; }
.bss-modal { border-radius: 24px; }
@media (min-width: 992px) { .bss-sticky { position: sticky; top: 110px; } }

/* Inner pages ------------------------------------------------------------ */
.bss-page-hero { background: var(--bss-ink); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.bss-page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.bss-page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: rgba(255,255,255,.7); font-size: .85rem; }
.bss-page-hero .breadcrumb a { color: var(--bss-accent-light); }
.bss-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.bss-detail-grid > div { background: var(--bss-cream); border-radius: 16px; padding: 1.1rem; display: flex; flex-direction: column; }
.bss-detail-grid i { color: var(--bss-accent-dark); font-size: 1.3rem; }
.bss-detail-grid small { color: var(--bss-muted); margin-top: .4rem; }
.bss-highlight { border: 1px solid var(--bss-line); border-radius: 14px; padding: 1rem; display: flex; gap: .8rem; align-items: center; font-weight: 600; }
.bss-highlight span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bss-accent); color: var(--bss-on-accent); display: grid; place-items: center; font-size: .9rem; }
.bss-ol li { margin-bottom: .6rem; }
.bss-partner { text-align: center; border: 1px solid var(--bss-line); border-radius: var(--bss-radius); padding: 1.5rem; }
.bss-partner img { height: 70px; width: auto; object-fit: contain; }
.bss-gallery-item { display: block; border-radius: 16px; overflow: hidden; }
.bss-gallery-item img { width: 100%; transition: transform .4s; }
.bss-gallery-item:hover img { transform: scale(1.04); }
.bss-masonry { columns: 3 260px; column-gap: 1rem; }
.bss-masonry .bss-gallery-item { margin-bottom: 1rem; break-inside: avoid; }
.bss-event { border: 1px solid var(--bss-line); border-radius: var(--bss-radius); overflow: hidden; }
.bss-event img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.bss-contact-card { background: var(--bss-cream); border-radius: var(--bss-radius); padding: 1.5rem; }

/* Footer --------------------------------------------------------------- */
.bss-footer { background: var(--bss-footer); color: #fff; padding-top: 3rem; }
.bss-footer a { color: rgba(255, 255, 255, .8); }
.bss-footer a:hover { color: var(--bss-accent-light); }
.bss-footer .btn-bss, .bss-footer .btn-bss:hover { color: var(--bss-on-accent); }
.bss-footer-h { color: var(--bss-accent-light); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; margin-bottom: 1rem; }
.bss-footer li { margin-bottom: .5rem; }
.bss-footer-cta { background: var(--bss-ink-2); border-radius: 24px; padding: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; }
.bss-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.25rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; opacity: .75; }

/* WhatsApp + reveal ---------------------------------------------------- */
.bss-whatsapp { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); z-index: 1040; }
.bss-whatsapp:hover { color: #fff; transform: scale(1.06); }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Added pages ----------------------------------------------------------- */
.text-accent-dark { color: var(--bss-accent-dark) !important; }
.bss-vm { background: var(--bss-ink); color: #fff; border-radius: var(--bss-radius); padding: 2rem; }
.bss-vm i { font-size: 2rem; color: var(--bss-accent-light); display: block; margin-bottom: 1rem; }
.bss-tile { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; height: 100%; border: 1px solid var(--bss-line); border-radius: 16px; padding: 1.1rem; font-weight: 600; color: var(--bss-ink); background: #fff; transition: border-color .2s, transform .2s; }
a.bss-tile:hover { border-color: var(--bss-accent-dark); transform: translateY(-3px); color: var(--bss-ink); }
.bss-tile i { font-size: 1.5rem; color: var(--bss-accent-dark); }
.bss-portrait { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.bss-person { display: flex; gap: 1.25rem; border: 1px solid var(--bss-line); border-radius: var(--bss-radius); padding: 1.5rem; }
.bss-person img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 575.98px) { .bss-person { flex-direction: column; } }
.bss-faculty { border: 1px solid var(--bss-line); border-radius: var(--bss-radius); overflow: hidden; background: #fff; }
.bss-faculty img, .bss-faculty-ph { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.bss-faculty-ph { display: grid; place-items: center; background: var(--bss-cream); font-family: var(--bss-font-head); font-size: 3rem; color: var(--bss-ink); }
.bss-club { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--bss-cream); border-radius: var(--bss-radius); padding: 1.75rem; }
.bss-club img { flex: none; }
.bss-mag img { width: 100%; border-radius: 12px; box-shadow: 0 18px 40px rgba(var(--bss-ink-rgb), .18); }
.bss-check { list-style: none; padding: 0; }
.bss-check li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.bss-check li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--bss-accent-dark); }
.bss-qa { background: #fff; border: 1px solid var(--bss-line); border-radius: 16px; padding: 1.25rem; }
.bss-sem { border: 1px solid var(--bss-line); border-radius: 16px; padding: 1.25rem; }
.bss-sem ul { padding-left: 1.1rem; font-size: .92rem; }
.bss-table { border: 1px solid var(--bss-line); border-radius: 16px; }
.bss-table table th, .bss-table table td { padding: .85rem 1rem; }
.bss-table thead th { background: var(--bss-cream); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.bss-timeline { list-style: none; padding: 0; display: grid; gap: .75rem; }
.bss-timeline li { display: flex; gap: 1.25rem; align-items: center; border: 1px solid var(--bss-line); border-radius: 16px; padding: 1rem 1.25rem; }
.bss-timeline time { flex: none; width: 72px; text-align: center; background: var(--bss-ink); color: #fff; border-radius: 12px; padding: .5rem; font-size: .72rem; line-height: 1.2; }
.bss-timeline time strong { display: block; font-size: 1.5rem; font-family: var(--bss-font-head); color: var(--bss-accent-light); }
.bss-prose { font-size: 1.05rem; line-height: 1.75; }
.bss-prose h2, .bss-prose h3 { font-family: var(--bss-font-head); font-weight: 700; margin-top: 2rem; }
.bss-prose img { border-radius: 14px; height: auto; }
.bss-prose table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.bss-prose td, .bss-prose th { border: 1px solid var(--bss-line); padding: .5rem; }
address { font-style: normal; }
.pagination { --bs-pagination-active-bg: var(--bss-ink); --bs-pagination-active-border-color: var(--bss-ink); --bs-pagination-color: var(--bss-ink); }

/* Mobile fixes ---------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* g-5 gutters (3rem) are wider than the container padding on phones */
    .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
}
.bss-footer .btn-light { color: var(--bss-ink); }
.bss-footer .btn-light:hover { color: var(--bss-on-accent); background: var(--bss-accent); border-color: var(--bss-accent); }

/* Navy theme: gold rule under the admissions bar, as on the AI Studio site */
[data-theme="navy"] .bss-topbar { border-bottom: 2px solid var(--bss-accent); }
[data-theme="navy"] .bss-footer-cta { background: var(--bss-ink); border: 1px solid rgba(var(--bss-accent-rgb), .35); }

/* ==========================================================================
   Mesa theme (from mesaschool.co) – dark green-black, lime CTA, Manrope.
   Active when config('bss.theme') = 'mesa' → <html data-theme="mesa"
   data-bs-theme="dark">, so Bootstrap's own dark mode styles forms,
   dropdowns, the mobile menu, modals, accordions and tables.
   ========================================================================== */
[data-theme="mesa"] {
    --bss-ink: #0b1818;          /* page background, as on Mesa */
    --bss-ink-2: #183d2c;        /* forest-green cards */
    --bss-ink-rgb: 11, 24, 24;
    --bss-cream: #112121;        /* raised surfaces / alternate sections */
    --bss-accent: #d9e38a;       /* lime – buttons, Apply now, chips */
    --bss-accent-dark: #6ed190;  /* mint – eyebrows, icons */
    --bss-accent-light: #d9e38a; /* lime text on dark */
    --bss-accent-rgb: 217, 227, 138;
    --bss-nav: rgba(255, 255, 255, .85);
    --bss-text: #e6ece9;
    --bss-muted: #9aaca6;
    --bss-line: rgba(255, 255, 255, .12);
    --bss-radius: 21px;
    --bss-on-accent: #0b1818;    /* dark text on lime */
    --bss-tile-1: #112121;
    --bss-tile-2: #183d2c;
    --bss-tile-value: #fff;
    --bss-footer: #06261b;
    --bss-font-head: "Manrope", sans-serif;
    --bss-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bss-head-weight: 300;      /* Mesa uses light, airy headlines */
    --bs-body-bg: #0b1818;
    --bs-body-color: #e6ece9;
    --bs-emphasis-color: #fff;
    --bs-secondary-color: rgba(230, 236, 233, .72);
    --bs-tertiary-bg: #112121;
    --bs-border-color: rgba(255, 255, 255, .14);
    --bs-link-color-rgb: 217, 227, 138;
    --bs-link-hover-color-rgb: 110, 209, 144;
}
[data-theme="mesa"] body { background: var(--bs-body-bg); }

/* Buttons: lime, 14px corners, uppercase – exactly like Mesa's CTAs */
[data-theme="mesa"] .btn { border-radius: 14px; text-transform: uppercase; letter-spacing: .03em; font-size: .82rem; padding: .8rem 1.5rem; }
[data-theme="mesa"] .btn-lg { font-size: .88rem; padding: 1rem 1.8rem; }
[data-theme="mesa"] .btn-bss:hover, [data-theme="mesa"] .btn-bss:focus { background: #6ed190; color: #0b1818; }
[data-theme="mesa"] .btn-outline-bss { border-color: rgba(217, 227, 138, .8); color: #d9e38a; }
[data-theme="mesa"] .btn-outline-bss:hover { background: #d9e38a; color: #0b1818; border-color: #d9e38a; }
[data-theme="mesa"] .bss-bg-ink .btn-outline-bss { border-color: rgba(217, 227, 138, .8); color: #d9e38a; }
[data-theme="mesa"] .bss-footer .btn-light { background: transparent; border: 1px solid rgba(217, 227, 138, .8); color: #d9e38a; }

/* Admissions marquee: lime bar, dark bold text */
[data-theme="mesa"] .bss-topbar { background: #d9e38a; color: #0b1818; }
[data-theme="mesa"] .bss-topbar a { color: #0b1818; }
[data-theme="mesa"] .bss-topbar a:hover { color: #0b1818; }
[data-theme="mesa"] .bss-ticker-item i { color: #183d2c; }

/* Header on dark; logo sits on a small white card so it stays visible */
[data-theme="mesa"] .bss-header { background: rgba(11, 24, 24, .96); }
[data-theme="mesa"] .navbar-brand img { background: #fff; border-radius: 8px; padding: 2px; }
[data-theme="mesa"] .navbar-brand strong { color: #fff; }
[data-theme="mesa"] .navbar-toggler { color: #fff; }
[data-theme="mesa"] .bss-header .nav-link.active, [data-theme="mesa"] .bss-header .nav-link:hover { color: #d9e38a; }
[data-theme="mesa"] .dropdown-item.active, [data-theme="mesa"] .dropdown-item:active { background: #183d2c; color: #d9e38a; }

/* Bands: subtle green glow instead of flat colour, so sections separate */
[data-theme="mesa"] .bss-hero { background: radial-gradient(1100px 520px at 80% 0%, #183d2c, #0b1818 70%); }
[data-theme="mesa"] .bss-page-hero, [data-theme="mesa"] .bss-bg-ink { background: linear-gradient(180deg, #102a22, #0b1818); }
[data-theme="mesa"] .bss-page-hero { border-bottom: 1px solid var(--bss-line); }
[data-theme="mesa"] .bss-stats-band { border-top: 1px solid var(--bss-line); border-bottom: 1px solid var(--bss-line); }

/* Cards and surfaces that were white */
[data-theme="mesa"] .bss-program-card, [data-theme="mesa"] .bss-tile, [data-theme="mesa"] .bss-faculty,
[data-theme="mesa"] .bss-qa, [data-theme="mesa"] .bss-form-card, [data-theme="mesa"] .bss-tabs { background: #112121; color: var(--bss-text); }
[data-theme="mesa"] .bss-program-card:hover { color: var(--bss-text); box-shadow: 0 22px 44px rgba(0, 0, 0, .45); border-color: rgba(217, 227, 138, .35); }
[data-theme="mesa"] .bss-pill { background: transparent; border-color: #81a093; color: #f5f7e0; }
[data-theme="mesa"] .bss-spotlight { background: #183d2c; border-color: transparent; }
[data-theme="mesa"] .bss-link, [data-theme="mesa"] .bss-tile, [data-theme="mesa"] a.bss-tile:hover { color: #d9e38a; }
[data-theme="mesa"] .bss-tabs .nav-link { color: rgba(255, 255, 255, .8); }
[data-theme="mesa"] .bss-tabs .nav-link.active { background: #d9e38a; color: #0b1818; }
[data-theme="mesa"] .bss-hero-badge { background: #183d2c; color: #fff; }
[data-theme="mesa"] .bss-hero-badge i { color: #d9e38a; }
[data-theme="mesa"] .bss-step-num { background: #d9e38a; color: #0b1818; }
[data-theme="mesa"] .bss-vm, [data-theme="mesa"] .bss-timeline time { background: #183d2c; }
[data-theme="mesa"] .bss-faculty-ph { color: #d9e38a; }
[data-theme="mesa"] .bss-accordion .accordion-button:not(.collapsed) { color: #d9e38a; }
[data-theme="mesa"] .bss-form .form-control, [data-theme="mesa"] .bss-form .form-select { border-color: rgba(255, 255, 255, .18); background-color: #0b1818; }
[data-theme="mesa"] .bss-form-card { box-shadow: none; }
[data-theme="mesa"] .bss-footer-cta { background: #183d2c; }
[data-theme="mesa"] .pagination { --bs-pagination-active-bg: #d9e38a; --bs-pagination-active-border-color: #d9e38a; --bs-pagination-active-color: #0b1818; --bs-pagination-color: #d9e38a; }

/* Dark-on-transparent icons and logos need a light backing on dark pages */
[data-theme="mesa"] .bss-club img, [data-theme="mesa"] .bss-partner img { background: #fff; border-radius: 12px; padding: 6px; }
[data-theme="mesa"] .bss-story-body { background: linear-gradient(transparent, rgba(11, 24, 24, .96) 45%); }

/* Headings: light weight like Mesa; small card titles stay semi-bold */
[data-theme="mesa"] .bss-display { letter-spacing: -.02em; }
[data-theme="mesa"] .bss-hero-title { font-weight: 300; }
[data-theme="mesa"] .bss-stat-value { font-weight: 700; }
[data-theme="mesa"] .bss-footer .btn-bss:hover { color: #0b1818; }
[data-theme="mesa"] .bss-partner.bg-white { color: #0b1818; }

/* Hero background photos ----------------------------------------------
   Phones/tablets: photo at the top (faces visible), fading into the page
   colour behind the headline. Desktop: full-width photo, dark on the left
   behind the text and clear on the right. Uses --bss-ink, so all themes work. */
.bss-hero { position: relative; isolation: isolate; }
.bss-hero-bg { display: none; }
.bss-hero-bg::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 991.98px) {
    .bss-hero { padding-top: 270px; }
    .bss-hero-bg--mobile { display: block; position: absolute; inset: 0 0 auto 0; height: 460px; z-index: -1; }
    .bss-hero-bg--mobile img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; }
    .bss-hero-bg--mobile::after {
        background: linear-gradient(180deg,
            rgba(var(--bss-ink-rgb), .10) 0%,
            rgba(var(--bss-ink-rgb), .20) 50%,
            rgba(var(--bss-ink-rgb), .80) 78%,
            var(--bss-ink) 100%);
    }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    .bss-hero { padding-top: 340px; }
    .bss-hero-bg--mobile { height: 560px; }
}
@media (min-width: 992px) {
    .bss-hero { min-height: min(86vh, 760px); display: flex; align-items: center; }
    .bss-hero > .container { width: 100%; }
    .bss-hero-bg--desktop { display: block; position: absolute; inset: 0; z-index: -1; }
    .bss-hero-bg--desktop img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
    .bss-hero-bg--desktop::after {
        background:
            linear-gradient(90deg,
                var(--bss-ink) 0%,
                rgba(var(--bss-ink-rgb), .92) 28%,
                rgba(var(--bss-ink-rgb), .55) 52%,
                rgba(var(--bss-ink-rgb), .12) 75%,
                rgba(var(--bss-ink-rgb), 0) 100%),
            linear-gradient(0deg, rgba(var(--bss-ink-rgb), .85) 0%, rgba(var(--bss-ink-rgb), 0) 22%);
    }
    .bss-hero-float { position: absolute; left: auto; right: .75rem; bottom: -1rem; }
}
}

/* Blog ------------------------------------------------------------------ */
.bss-blog-tools { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.bss-cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.bss-cat-chips a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border: 1px solid var(--bss-line); border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--bss-text); }
.bss-cat-chips a span { font-size: .75rem; opacity: .65; }
.bss-cat-chips a:hover { border-color: var(--bss-accent-dark); }
.bss-cat-chips a.active { background: var(--bss-accent); border-color: var(--bss-accent); color: var(--bss-on-accent); }
.bss-blog-search { display: flex; gap: .5rem; min-width: min(100%, 320px); }
.bss-blog-search .form-control { border-radius: 12px; }
.bss-featured-post { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--bss-line); border-radius: var(--bss-radius); overflow: hidden; background: var(--bss-cream); }
.bss-featured-img { display: block; min-height: 300px; position: relative; overflow: hidden; }
.bss-featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bss-featured-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 767.98px) { .bss-featured-post { grid-template-columns: 1fr; } .bss-featured-img { min-height: 220px; } }

.bss-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; font-size: .88rem; color: var(--bss-muted); margin-bottom: 1.5rem; }
.bss-post-meta i { color: var(--bss-accent-dark); margin-right: .2rem; }
.bss-toc { border: 1px solid var(--bss-line); border-left: 4px solid var(--bss-accent); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 2rem; background: var(--bss-cream); }
.bss-toc summary { font-weight: 700; cursor: pointer; }
.bss-toc ol { margin: .75rem 0 0; padding-left: 1.2rem; }
.bss-toc li { margin-bottom: .35rem; }
.bss-toc a { color: var(--bss-text); }
.bss-toc a:hover { color: var(--bss-accent-dark); }
.bss-prose h2, .bss-prose h3 { scroll-margin-top: 110px; }
.bss-prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.bss-prose h3 { font-size: 1.2rem; }
.bss-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--bss-accent-rgb), .6); }
.bss-prose ul, .bss-prose ol { padding-left: 1.3rem; }
.bss-prose li { margin-bottom: .4rem; }
.bss-prose img { display: block; margin: 1.5rem auto; max-width: 100%; height: auto; }
.bss-post-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; margin: 2.5rem 0 1.5rem; padding: 1.75rem; border-radius: var(--bss-radius); background: var(--bss-ink-2); color: #fff; }
.bss-post-cta .bss-eyebrow { color: var(--bss-accent-light); }
.bss-post-cta .btn-outline-bss { border-color: rgba(255, 255, 255, .7); color: #fff; }
.bss-share { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.bss-share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--bss-line); color: var(--bss-text); font-size: 1.1rem; }
.bss-share a:hover { background: var(--bss-accent); color: var(--bss-on-accent); border-color: var(--bss-accent); }
.bss-side-program .bss-program-img { aspect-ratio: 16/9; }

/* Bold-headline themes: keep the hero headline to ~4 lines so the photo shows */
[data-theme="teal"] .bss-hero-title, [data-theme="navy"] .bss-hero-title { font-size: clamp(2rem, 3.4vw, 3rem); }
/* Teal theme: darker panel behind the blog call-to-action so its light-teal label stays readable */
[data-theme="teal"] .bss-post-cta { background: var(--bss-ink); }

/* ==========================================================================
   Sky theme – light blue-white pages, deep teal-blue actions, blue gradient
   panels, near-black navy headings, Inter. Taken from the reference design.
   Active when config('bss.theme') = 'sky' (the default).
   ========================================================================== */
[data-theme="sky"] {
    --bss-ink: #0c506e;          /* deep teal-blue – buttons, bars, footer */
    --bss-ink-2: #1f78a3;        /* mid blue */
    --bss-ink-rgb: 12, 80, 110;
    --bss-cream: #eaf4f9;        /* pale blue sections / cards */
    --bss-accent: #0c506e;       /* primary buttons (Enquire Now style) */
    --bss-accent-dark: #2c6e89;  /* spaced uppercase labels, icons */
    --bss-accent-light: #9fd6ef; /* light blue text on dark panels */
    --bss-accent-rgb: 51, 149, 197;
    --bss-nav: #0f1f2a;
    --bss-text: #0f1f2a;         /* near-black navy headings */
    --bss-muted: #5b6b73;        /* soft grey body copy */
    --bss-line: rgba(12, 80, 110, .12);
    --bss-radius: 22px;
    --bss-on-accent: #fff;
    --bss-tile-1: #1f78a3;
    --bss-tile-2: #15526e;
    --bss-tile-value: #fff;
    --bss-footer: #0a3f58;
    --bss-font-head: "Inter", system-ui, sans-serif;
    --bss-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bss-head-weight: 700;
    --bs-body-bg: #f7fcff;
    --bs-link-color-rgb: 12, 80, 110;
    --bs-link-hover-color-rgb: 31, 120, 163;
}
[data-theme="sky"] body { background: #f7fcff; }
[data-theme="sky"] .bss-display { letter-spacing: -.035em; line-height: 1.1; }
[data-theme="sky"] .bss-eyebrow { letter-spacing: .2em; font-weight: 600; }
[data-theme="sky"] p, [data-theme="sky"] .lead { color: inherit; }
[data-theme="sky"] .text-body-secondary { color: var(--bss-muted) !important; }

/* Header: white, navy brand name with spaced teal subtitle, pill "Enquire" */
[data-theme="sky"] .bss-header { background: #fff; box-shadow: 0 1px 0 rgba(12, 80, 110, .06); }
[data-theme="sky"] .navbar-brand strong { color: #0f1f2a; letter-spacing: .02em; text-transform: uppercase; font-weight: 700; }
[data-theme="sky"] .navbar-brand small { color: #274d58; letter-spacing: .18em; text-transform: uppercase; font-size: .66rem; font-weight: 600; }
[data-theme="sky"] .bss-header .nav-link:hover, [data-theme="sky"] .bss-header .nav-link.active { background: #eaf4f9; color: #0c506e; }
[data-theme="sky"] .btn-bss { box-shadow: 0 8px 20px rgba(12, 80, 110, .25); }
[data-theme="sky"] .btn-bss:hover, [data-theme="sky"] .btn-bss:focus { background: #1f78a3; color: #fff; }
[data-theme="sky"] .btn-outline-bss { border-color: #0c506e; color: #0c506e; }

/* Blue gradient panels – the hero card look from the reference */
[data-theme="sky"] .bss-hero { background: linear-gradient(145deg, #3395c5 0%, #1f78a3 45%, #15526e 100%); }
[data-theme="sky"] .bss-page-hero,
[data-theme="sky"] .bss-bg-ink { background: linear-gradient(145deg, #3395c5 0%, #1f78a3 45%, #15526e 100%); position: relative; overflow: hidden; }
[data-theme="sky"] .bss-page-hero::before,
[data-theme="sky"] .bss-bg-ink::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); pointer-events: none; }
[data-theme="sky"] .bss-page-hero > .container, [data-theme="sky"] .bss-bg-ink > .container { position: relative; }
[data-theme="sky"] .bss-hero .text-accent, [data-theme="sky"] .bss-page-hero .text-accent { color: #d6f0fb !important; }
[data-theme="sky"] .bss-topbar { background: #0c506e; }
[data-theme="sky"] .bss-topbar a:hover { color: #d6f0fb; }
[data-theme="sky"] .bss-hero-title { font-size: clamp(2rem, 3.5vw, 3.1rem); }

/* Rounded light-blue cards */
[data-theme="sky"] .bss-program-card, [data-theme="sky"] .bss-form-card, [data-theme="sky"] .bss-qa,
[data-theme="sky"] .bss-faculty, [data-theme="sky"] .bss-tile, [data-theme="sky"] .bss-tabs { background: #fff; border-color: rgba(12, 80, 110, .10); }
[data-theme="sky"] .bss-program-card:hover { box-shadow: 0 22px 44px rgba(12, 80, 110, .14); }
[data-theme="sky"] .bss-spotlight { background: #eaf4f9; border-color: transparent; }
[data-theme="sky"] .bss-chip { background: #0c506e; color: #fff; }
[data-theme="sky"] .bss-pill { background: #fff; }
[data-theme="sky"] .bss-step-num { background: linear-gradient(145deg, #3395c5, #15526e); color: #fff; }
[data-theme="sky"] .bss-highlight span { background: #0c506e; }
[data-theme="sky"] .bss-post-cta, [data-theme="sky"] .bss-vm { background: linear-gradient(145deg, #1f78a3, #15526e); }
[data-theme="sky"] .bss-footer-cta { background: linear-gradient(145deg, #3395c5, #15526e); }
[data-theme="sky"] .bss-toc { border-left-color: #3395c5; background: #fff; }
[data-theme="sky"] .bss-cat-chips a { background: #fff; }
[data-theme="sky"] .bss-cat-chips a.active { background: #0c506e; border-color: #0c506e; color: #fff; }
[data-theme="sky"] .bss-featured-post { background: #fff; }
[data-theme="sky"] .bss-post-cta .btn-outline-bss, [data-theme="sky"] .bss-bg-ink .btn-outline-bss,
[data-theme="sky"] .bss-footer-cta .btn-outline-bss { border-color: rgba(255, 255, 255, .85); color: #fff; }
[data-theme="sky"] .bss-post-cta .btn-outline-bss:hover, [data-theme="sky"] .bss-bg-ink .btn-outline-bss:hover { background: #fff; color: #0c506e; }
[data-theme="sky"] .bss-pillar-num { color: rgba(255, 255, 255, .28); }
[data-theme="sky"] .bss-pillar-icon { color: #d6f0fb; }

/* Header brand text + compact Enquire pill on phones */
@media (max-width: 575.98px) {
    .bss-brand-text strong { font-size: .82rem; }
    .bss-brand-text small { font-size: .55rem; }
    .navbar-brand img { width: 28px; height: auto; }
    .bss-enquire-mobile { padding: .4rem .8rem; font-size: .75rem; }
}
@media (max-width: 359.98px) { .bss-brand-text { display: none; } }
@media (max-width: 1199.98px) {
    .bss-header .navbar > .container { flex-wrap: nowrap; }
    .bss-header .navbar-brand { min-width: 0; margin-right: .5rem; }
    .bss-header .navbar-toggler { padding: .25rem .35rem; flex: none; }
    .bss-enquire-mobile { flex: none; }
}
@media (max-width: 575.98px) { .bss-brand-text { white-space: nowrap; overflow: hidden; } }


/* ==========================================================================
   LAYOUT A – "Stacked squares" (config('bss.layout') = 'squares' →
   <html data-layout="squares">). Built from the logo: its three overlapping
   squares become photo frames and corner brackets, and every corner is square.
   The layout takes its colours from the --sq-* variables, so it works with any
   colour theme; the Mesa and teal ("squares") palettes are set further down.
   ========================================================================== */
[data-layout="squares"] {
    --sq-1: var(--bss-ink);          /* front square / main bracket */
    --sq-2: var(--bss-ink-2);        /* middle square */
    --sq-3: var(--bss-accent);       /* back square */
    --sq-gap: var(--bs-body-bg, #fff); /* frame borders = page colour */
    --sq-kicker: var(--bss-accent-dark);
    --sq-title: var(--bss-text);
    --sq-highlight: var(--bss-accent-dark);
    --sq-lead: var(--bss-muted);
    --sq-badge-bg: #fff;
    --sq-badge-value: var(--bss-ink);
    --sq-badge-label: var(--bss-muted);
    --sq-card: var(--bss-cream);
    --bss-radius: 0;
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
    --bs-border-radius-pill: 0;
}

/* Square corners everywhere */
[data-layout="squares"] .bss-spotlight, [data-layout="squares"] .bss-pill, [data-layout="squares"] .bss-chip,
[data-layout="squares"] .bss-logo-tile, [data-layout="squares"] .bss-qa, [data-layout="squares"] .bss-form-card,
[data-layout="squares"] .bss-footer-cta, [data-layout="squares"] .bss-tabs, [data-layout="squares"] .bss-tabs .nav-link,
[data-layout="squares"] .bss-header .nav-link, [data-layout="squares"] .bss-trust img, [data-layout="squares"] .bss-step-num,
[data-layout="squares"] .bss-accordion .accordion-item, [data-layout="squares"] .form-control, [data-layout="squares"] .form-select,
[data-layout="squares"] .btn, [data-layout="squares"] .dropdown-menu, [data-layout="squares"] .modal-content,
[data-layout="squares"] .bss-cat-chips a, [data-layout="squares"] .navbar-brand img,
[data-layout="squares"] .bss-club img, [data-layout="squares"] .bss-partner img { border-radius: 0 !important; }
[data-layout="squares"] .navbar-brand strong { font-family: var(--bss-font-head); font-weight: 800; }
[data-layout="squares"] .navbar-brand small { letter-spacing: .18em; text-transform: uppercase; font-size: .64rem; font-weight: 600; }
[data-layout="squares"] .bss-display { font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
[data-layout="squares"] .bss-eyebrow { letter-spacing: .2em; font-weight: 600; }

/* Hero: text left, stacked-squares photo collage right (photo on top on phones) */
.bss-sq-hero { background: var(--sq-gap); color: var(--sq-title); padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.bss-sq-kicker { display: flex; align-items: center; gap: .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sq-kicker); margin-bottom: 1.25rem; }
.bss-sq-kicker span { width: 28px; height: 3px; background: var(--sq-3); display: block; }
.bss-sq-title { font-family: var(--bss-font-head); font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.03; letter-spacing: -.02em; color: var(--sq-title); margin-bottom: 1.25rem; }
.bss-sq-accent { color: var(--sq-highlight); }
.bss-sq-lead { font-size: 1.1rem; line-height: 1.6; color: var(--sq-lead); max-width: 540px; margin-bottom: 1.75rem; }
.bss-sq-hero .bss-trust { margin-top: 2rem; color: var(--sq-lead); opacity: 1; }
.bss-sq-hero .bss-trust img { border: 1px solid var(--bss-line); background: #fff; }
.bss-sq-collage { position: relative; aspect-ratio: 1 / .95; max-width: 600px; margin-left: auto; }
.bss-sq-block { position: absolute; display: block; }
.bss-sq-block--back { top: 0; right: 0; width: 80%; height: 82%; background: var(--sq-3); }
.bss-sq-block--mid { top: 9%; right: 9%; width: 80%; height: 82%; background: var(--sq-2); border: 10px solid var(--sq-gap); }
.bss-sq-photo { position: absolute; left: 0; bottom: 0; width: 76%; height: 74%; border: 10px solid var(--sq-gap); background: var(--sq-card); }
.bss-sq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
.bss-sq-badge { position: absolute; right: 0; bottom: 6%; background: var(--sq-badge-bg); padding: 1rem 1.3rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); display: flex; flex-direction: column; }
.bss-sq-badge strong { font-family: var(--bss-font-head); font-weight: 800; font-size: 2rem; line-height: 1.1; color: var(--sq-badge-value); }
.bss-sq-badge span { font-size: .85rem; color: var(--sq-badge-label); }
@media (max-width: 991.98px) {
    .bss-sq-collage { aspect-ratio: 1 / .8; max-width: 520px; margin: 0 auto; }
    .bss-sq-block--mid, .bss-sq-photo { border-width: 6px; }
    .bss-sq-photo { width: 80%; height: 76%; }
    .bss-sq-photo img { object-position: center 25%; }
    .bss-sq-badge { padding: .6rem .85rem; }
    .bss-sq-badge strong { font-size: 1.45rem; }
    .bss-sq-badge span { font-size: .75rem; }
}

/* Stats: a ruled strip on the page colour instead of coloured tiles */
[data-layout="squares"] .bss-stats-band { background: var(--sq-gap); border-top: 1px solid var(--bss-line); border-bottom: 1px solid var(--bss-line); }
[data-layout="squares"] .bss-stats-band::before, [data-layout="squares"] .bss-stats-band::after { display: none; }
[data-layout="squares"] .bss-stat { background: transparent !important; text-align: left; padding: 1.75rem 1.4rem; border-right: 1px solid var(--bss-line); }
[data-layout="squares"] .bss-stat:last-child { border-right: 0; }
[data-layout="squares"] .bss-stat-value { color: var(--sq-badge-value); font-weight: 800; }
[data-layout="squares"] .bss-stat-label { color: var(--sq-lead); font-weight: 500; }
@media (max-width: 575.98px) {
    [data-layout="squares"] .bss-stat { border-bottom: 1px solid var(--bss-line); padding: 1.25rem 1rem; }
    [data-layout="squares"] .bss-stat:nth-child(even) { border-right: 0; }
}

/* Cards with the logo's corner bracket, cycling through the three squares */
[data-layout="squares"] .bss-program-card { position: relative; background: var(--sq-card); border: 0; }
[data-layout="squares"] .bss-program-card::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-top: 6px solid var(--sq-1); border-left: 6px solid var(--sq-1); z-index: 2; pointer-events: none; }
[data-layout="squares"] .col-md-6:nth-child(3n+2) > .bss-program-card::before, [data-layout="squares"] .col-md-4:nth-child(3n+2) > .bss-program-card::before { border-color: var(--sq-2); }
[data-layout="squares"] .col-md-6:nth-child(3n) > .bss-program-card::before, [data-layout="squares"] .col-md-4:nth-child(3n) > .bss-program-card::before { border-color: var(--sq-3); }
[data-layout="squares"] .bss-program-card:hover { box-shadow: 0 22px 44px rgba(0, 0, 0, .18); }
[data-layout="squares"] .bss-chip { left: auto; right: .8rem; }
[data-layout="squares"] .bss-tabs { border: 2px solid var(--sq-1); padding: 0; }
[data-layout="squares"] .bss-tabs .nav-link { padding: .65rem 1.2rem; }
[data-layout="squares"] .bss-spotlight { border: 0; position: relative; }
[data-layout="squares"] .bss-spotlight::before { content: ""; position: absolute; top: 0; left: 0; width: 90px; height: 90px; border-top: 8px solid var(--sq-1); border-left: 8px solid var(--sq-1); z-index: 2; }

/* Why BSS: photo on a solid square, numbered pillars */
.bss-sq-frame { position: relative; aspect-ratio: 1 / .92; }
.bss-sq-frame .bss-sq-block { top: 0; left: 0; width: 84%; height: 86%; background: var(--sq-2); }
.bss-sq-frame img { position: absolute; right: 0; bottom: 0; width: 84%; height: 86%; object-fit: cover; border: 10px solid var(--bss-cream); }
.bss-sq-num { display: block; font-family: var(--bss-font-head); font-weight: 800; font-size: 1.25rem; color: var(--sq-kicker); margin-bottom: .35rem; }
@media (max-width: 575.98px) { .bss-sq-frame img { border-width: 6px; } }

/* Square frame on inner page headers; corner brackets on the enquiry band */
[data-layout="squares"] .bss-page-hero { position: relative; overflow: hidden; }
[data-layout="squares"] .bss-page-hero::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border: 14px solid rgba(255, 255, 255, .12); pointer-events: none; }
[data-layout="squares"] #enquire { position: relative; }
[data-layout="squares"] #enquire::after { content: ""; position: absolute; left: 0; bottom: 0; width: 140px; height: 140px; border-bottom: 12px solid var(--sq-3); border-left: 12px solid var(--sq-3); pointer-events: none; }

/* --------------------------------------------------------------------------
   Layout A + Mesa colours (the default): dark green page, lime and mint
   squares, cream text. Squares go lime (front) → mint → forest green (back).
   -------------------------------------------------------------------------- */
[data-layout="squares"][data-theme="mesa"] {
    --sq-1: #d9e38a;
    --sq-2: #6ed190;
    --sq-3: #183d2c;
    --sq-gap: #0b1818;
    --sq-kicker: #6ed190;
    --sq-title: #fff;
    --sq-highlight: #d9e38a;
    --sq-lead: #b4c4be;
    --sq-badge-bg: #d9e38a;
    --sq-badge-value: #0b1818;
    --sq-badge-label: #183d2c;
    --sq-card: #112121;
    --bss-font-head: "Archivo", "Manrope", sans-serif;
}
[data-layout="squares"][data-theme="mesa"] .bss-stat-value { color: #d9e38a; }
[data-layout="squares"][data-theme="mesa"] .bss-display, [data-layout="squares"][data-theme="mesa"] .bss-hero-title { font-weight: 800; }
[data-layout="squares"][data-theme="mesa"] .bss-sq-frame img { border-color: #112121; }
[data-layout="squares"][data-theme="mesa"] .bss-sq-hero .bss-trust img { border-color: transparent; }
[data-layout="squares"][data-theme="mesa"] .btn { text-transform: none; letter-spacing: 0; font-weight: 700; }
[data-layout="squares"][data-theme="mesa"] .bss-sq-hero .btn-outline-bss { border-width: 2px; }

/* --------------------------------------------------------------------------
   Teal palette for layout A, from the logo (config theme 'squares').
   -------------------------------------------------------------------------- */
[data-theme="squares"] {
    --bss-ink: #1b5968;
    --bss-ink-2: #2886a2;
    --bss-ink-rgb: 27, 89, 104;
    --bss-cream: #eef6f8;
    --bss-accent: #1b5968;
    --bss-accent-dark: #1f6f86;
    --bss-accent-light: #9fd8e8;
    --bss-accent-rgb: 69, 167, 194;
    --bss-nav: #0e2a33;
    --bss-text: #0e2a33;
    --bss-muted: #4d6670;
    --bss-line: #dbe7eb;
    --bss-on-accent: #fff;
    --bss-footer: #0e2a33;
    --bss-font-head: "Archivo", "Inter", sans-serif;
    --bss-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bss-head-weight: 800;
    --bs-body-bg: #fff;
    --bs-link-color-rgb: 27, 89, 104;
    --bs-link-hover-color-rgb: 14, 42, 51;
    --sq-1: #1b5968; --sq-2: #2886a2; --sq-3: #45a7c2; --sq-gap: #fff; --sq-kicker: #1f6f86;
    --sq-title: #0e2a33; --sq-highlight: #1f6f86; --sq-lead: #4d6670; --sq-card: #eef6f8;
}
[data-theme="squares"] body { background: #fff; }
[data-theme="squares"] .text-body-secondary { color: var(--bss-muted) !important; }
[data-theme="squares"] .bss-topbar { background: #1b5968; }
[data-theme="squares"] .navbar-brand strong { color: #1b5968; }
[data-theme="squares"] .navbar-brand small { color: #1f6f86; }
[data-theme="squares"] .bss-header .nav-link { color: #0e2a33; }
[data-theme="squares"] .bss-header .nav-link:hover, [data-theme="squares"] .bss-header .nav-link.active { background: #eef6f8; color: #1b5968; }
[data-theme="squares"] .btn-bss { background: #1b5968; color: #fff; font-weight: 600; }
[data-theme="squares"] .btn-bss:hover, [data-theme="squares"] .btn-bss:focus { background: #0e2a33; color: #fff; }
[data-theme="squares"] .btn-outline-bss { border: 2px solid #1b5968; color: #1b5968; font-weight: 600; }
[data-theme="squares"] .btn-outline-bss:hover { background: #1b5968; color: #fff; }
[data-theme="squares"] .bss-bg-ink .btn-outline-bss, [data-theme="squares"] .bss-page-hero .btn-outline-bss,
[data-theme="squares"] .bss-footer-cta .btn-outline-bss { border-color: #fff; color: #fff; }
[data-theme="squares"] .bss-bg-ink .btn-outline-bss:hover, [data-theme="squares"] .bss-footer-cta .btn-outline-bss:hover { background: #fff; color: #1b5968; }
[data-theme="squares"] .bss-bg-cream .bss-program-card { background: #fff; }
[data-theme="squares"] .bss-chip, [data-theme="squares"] .bss-step-num { background: #1b5968; color: #fff; }
[data-theme="squares"] .bss-tabs { background: #fff; }
[data-theme="squares"] .bss-tabs .nav-link { color: #1b5968; }
[data-theme="squares"] .bss-tabs .nav-link.active { background: #1b5968; color: #fff; }
[data-theme="squares"] .bss-spotlight { background: #eef6f8; }
[data-theme="squares"] .bss-pill { background: #fff; }
[data-theme="squares"] .bss-sq-frame .bss-sq-block { background: #1b5968; }
[data-theme="squares"] .bss-bg-ink, [data-theme="squares"] .bss-page-hero, [data-theme="squares"] .bss-post-cta,
[data-theme="squares"] .bss-vm, [data-theme="squares"] .bss-footer-cta { background: #1b5968; }
[data-theme="squares"] .bss-bg-ink .text-accent, [data-theme="squares"] .bss-page-hero .text-accent { color: #bfe6f1 !important; }
[data-theme="squares"] .bss-step { background: #eef6f8; }
[data-theme="squares"] .bss-pillar-num { color: rgba(255, 255, 255, .3); }
[data-theme="squares"] .bss-pillar-icon { color: #bfe6f1; }
[data-theme="squares"] .bss-toc { border-left-color: #1b5968; }
[data-theme="squares"] .bss-cat-chips a.active { background: #1b5968; border-color: #1b5968; color: #fff; }
[data-theme="squares"] .bss-accordion .accordion-button:not(.collapsed) { background: #eef6f8; color: #1b5968; }

/* ==========================================================================
   Program covers – replace the white banner graphics on program cards and
   the program-page sidebar with a dark gradient panel in the theme colours.
   ========================================================================== */
.bss-cover {
    --cv-1: var(--bss-ink-2); --cv-2: var(--bss-ink); --cv-glow: var(--bss-accent-rgb);
    position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem 1.4rem;
    color: #fff; border-bottom: 1px solid var(--bss-line);
    background:
        radial-gradient(120% 95% at 100% 0%, rgba(var(--cv-glow), .26), transparent 58%),
        linear-gradient(150deg, var(--cv-1) 0%, var(--cv-2) 100%);
}
/* Faint concentric rings, echoing the hero */
.bss-cover::before, .bss-cover::after {
    content: ""; position: absolute; z-index: -1; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .09); transition: transform .6s ease;
}
.bss-cover::before { width: 260px; height: 260px; right: -90px; top: -110px; }
.bss-cover::after { width: 400px; height: 400px; right: -160px; top: -180px; border-color: rgba(255, 255, 255, .05); }
.bss-program-card:hover .bss-cover::before, .bss-program-card:hover .bss-cover::after { transform: scale(1.08); }
.bss-cover-icon {
    position: absolute; top: .9rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.3rem;
    color: var(--bss-accent-light); border: 1px solid rgba(var(--bss-accent-rgb), .45);
    background: rgba(255, 255, 255, .04); transition: background .25s, color .25s;
}
.bss-program-card:hover .bss-cover-icon { background: var(--bss-accent); color: var(--bss-on-accent); border-color: var(--bss-accent); }
.bss-cover-code {
    display: block; font-family: var(--bss-font-head); font-weight: 300; line-height: 1;
    font-size: clamp(2rem, 2.6vw, 2.6rem); letter-spacing: -.02em; color: #fff;
}
.bss-cover-name { display: block; margin-top: .5rem; max-width: 92%; font-size: .8rem; line-height: 1.35; color: rgba(255, 255, 255, .68); }
.bss-cover--side { aspect-ratio: 16 / 7; border-radius: 14px; border: 1px solid var(--bss-line); }
@media (prefers-reduced-motion: reduce) { .bss-cover::before, .bss-cover::after { transition: none; } }

/* Mesa: varied deep tones like mesaschool.co's dark cards, mint glow */
[data-theme="mesa"] .bss-cover { --cv-2: #0f2020; --cv-glow: 110, 209, 144; }
[data-theme="mesa"] .bss-cover[data-tone="forest"] { --cv-1: #1f4e39; }
[data-theme="mesa"] .bss-cover[data-tone="teal"] { --cv-1: #1a3a3a; }
[data-theme="mesa"] .bss-cover[data-tone="slate"] { --cv-1: #162c3d; }
[data-theme="mesa"] .bss-cover[data-tone="olive"] { --cv-1: #23402a; --cv-glow: 217, 227, 138; }

/* Squares layout puts the chip on the right, so move the icon left */
[data-layout="squares"] .bss-cover-icon { right: auto; left: 1rem; }

/* ==========================================================================
   Faculty & subject areas page (/departments) – navy & gold, Playfair
   Display + Plus Jakarta Sans, the same in every site theme.
   ========================================================================== */
.bss-dept {
    --d-navy: #0a1f44; --d-navy-2: #071630; --d-gold: #c59b27; --d-gold-lt: #ffd230;
    --d-50: #f8fafc; --d-100: #f1f5f9; --d-200: #e2e8f0; --d-300: #cbd5e1; --d-400: #94a3b8;
    --d-600: #475569; --d-700: #334155; --d-800: #1e293b;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--d-800); background: var(--d-50);
}
.bss-dept h1, .bss-dept h2, .bss-dept-name, .bss-dept-stat strong { font-family: "Playfair Display", Georgia, serif; }
.bss-dept .min-w-0 { min-width: 0; }

/* Hero */
.bss-dept-hero { background: linear-gradient(180deg, var(--d-navy) 0%, var(--d-navy-2) 100%); color: #fff; padding: 56px 0 72px; text-align: center; }
.bss-dept-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45); --bs-breadcrumb-item-active-color: var(--d-300); font-size: .8rem; margin-bottom: 1.5rem; }
.bss-dept-hero .breadcrumb a { color: var(--d-gold-lt); text-decoration: none; }
.bss-dept-eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1.25rem; padding: .4rem .95rem; border-radius: 999px;
    border: 1px solid rgba(197, 155, 39, .45); background: rgba(197, 155, 39, .1); color: var(--d-gold-lt);
    font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.bss-dept-hero h1 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.025em; line-height: 1.15; max-width: 820px; margin: 0 auto 1.1rem; color: #fff; }
.bss-dept-lead { color: var(--d-300); max-width: 720px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.7; }
.bss-dept-search { position: relative; max-width: 560px; margin: 0 auto 2.5rem; }
.bss-dept-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--d-400); }
.bss-dept-search input { width: 100%; padding: .8rem 1rem .8rem 2.75rem; border-radius: 12px; border: 1px solid var(--d-200); background: #fff; color: var(--d-800); font-size: .9rem; }
.bss-dept-search input:focus { outline: 3px solid rgba(255, 210, 48, .55); outline-offset: 1px; }
.bss-dept-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 900px; margin: 0 auto; }
.bss-dept-stat { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 1rem; }
.bss-dept-stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.2; }
.bss-dept-stat strong.is-gold { color: var(--d-gold-lt); }
.bss-dept-stat span { display: block; margin-top: .25rem; font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--d-300); }
@media (max-width: 767.98px) { .bss-dept-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Filter bar */
.bss-dept-filter { background: #fff; border-bottom: 1px solid var(--d-200); }
.bss-dept-pills { display: flex; align-items: center; gap: .5rem; padding: .9rem 0; overflow-x: auto; scrollbar-width: thin; }
.bss-dept-pills-label { flex: none; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--d-navy); margin-right: .25rem; }
.bss-dept-pill { flex: none; border: 0; border-radius: 8px; padding: .45rem .8rem; background: var(--d-100); color: var(--d-600); font: inherit; font-size: .76rem; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.bss-dept-pill:hover { background: var(--d-200); color: var(--d-navy); }
.bss-dept-pill.is-active { background: var(--d-navy); color: var(--d-gold-lt); box-shadow: 0 4px 12px rgba(10, 31, 68, .2); }
.bss-dept-pill:focus-visible { outline: 3px solid var(--d-gold); outline-offset: 2px; }

/* Directory */
.bss-dept-dir { padding: 2.75rem 0 4.5rem; }
.bss-dept-dir-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--d-200); }
.bss-dept-dir-head h2 { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--d-navy); }
.bss-dept-dir-head p { margin: .2rem 0 0; font-size: .85rem; color: var(--d-600); }
.bss-dept-card { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--d-200); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.bss-dept-card:hover { box-shadow: 0 18px 40px rgba(10, 31, 68, .12); transform: translateY(-3px); }
.bss-dept-card-top { display: flex; gap: 1rem; padding: 1.4rem 1.4rem 1.1rem; border-bottom: 1px solid var(--d-100); }
.bss-dept-photo { flex: none; width: 85px; height: 85px; border-radius: 12px; object-fit: cover; object-position: top; border: 1px solid var(--d-200); }
.bss-dept-initials { display: grid; place-items: center; background: var(--d-navy); color: var(--d-gold-lt); font-family: "Playfair Display", Georgia, serif; font-size: 1.7rem; font-weight: 700; }
.bss-dept-chip { display: inline-block; margin-bottom: .45rem; padding: .15rem .5rem; border-radius: 4px; background: var(--d-100); color: var(--d-navy); font-size: .63rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bss-dept-name { margin: 0 0 .2rem; font-size: 1.15rem; font-weight: 700; color: var(--d-navy); line-height: 1.25; }
.bss-dept-role { margin: 0; font-size: .78rem; color: var(--d-600); line-height: 1.45; }
.bss-dept-card-body { flex: 1 1 auto; padding: 1.1rem 1.4rem 1.2rem; }
.bss-dept-label { margin: 0 0 .35rem; font-size: .63rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #64748b; }
.bss-dept-cred { margin: 0 0 1rem; font-size: .82rem; color: var(--d-800); line-height: 1.5; }
.bss-dept-tags { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.bss-dept-tags li { padding: .15rem .5rem; border-radius: 4px; border: 1px solid var(--d-200); background: var(--d-50); color: var(--d-700); font-size: .66rem; font-weight: 600; }
.bss-dept-bio { margin: 0; font-size: .8rem; line-height: 1.6; color: var(--d-600); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bss-dept-card-foot { padding: .85rem 1.4rem; border-top: 1px solid var(--d-100); background: var(--d-50); }
.bss-dept-ask { border: 0; background: none; padding: .35rem 0; font: inherit; font-size: .78rem; font-weight: 600; color: var(--d-600); display: inline-flex; align-items: center; gap: .45rem; min-height: 32px; }
.bss-dept-ask i { color: var(--d-gold); }
.bss-dept-ask:hover { color: var(--d-navy); }
.bss-dept-empty { margin: 2rem 0 0; text-align: center; color: var(--d-600); }
.bss-dept-empty a { color: var(--d-navy); font-weight: 700; }

/* Buttons */
.bss-dept-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.3rem; border-radius: 10px; font-size: .85rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.bss-dept-btn--navy { background: var(--d-navy); color: var(--d-gold-lt); }
.bss-dept-btn--navy:hover { background: var(--d-navy-2); color: #fff; }
.bss-dept-btn--gold { background: var(--d-gold); color: var(--d-navy); }
.bss-dept-btn--gold:hover { background: var(--d-gold-lt); color: var(--d-navy); }
.bss-dept-btn--ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.bss-dept-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* Admissions band */
.bss-dept-cta { background: var(--d-navy); border-top: 4px solid var(--d-gold); color: #fff; padding: 56px 0; }
.bss-dept-cta h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 .75rem; color: #fff; }
.bss-dept-cta .bss-dept-lead { margin-bottom: 1.5rem; }
.bss-dept-eyebrow--plain { border: 0; background: none; padding: 0; margin-bottom: .6rem; }
@media (prefers-reduced-motion: reduce) { .bss-dept-card, .bss-dept-card:hover { transition: none; transform: none; } }

/* ==========================================================================
   Navy & gold site chrome (theme 'navy'): utility bar, white navigation,
   updates ticker and footer – matches bss-foundation.ai.studio.
   ========================================================================== */
.min-w-0 { min-width: 0; }
[data-theme="navy"] {
    --nv-navy: #0a1f44; --nv-navy-2: #071630; --nv-deep: #05142b; --nv-foot: #051329;
    --nv-gold: #c59b27; --nv-gold-lt: #ffd230; --nv-amber: #fcb900; --nv-orange: #fe9a00;
    --nv-line: #1b3459; --nv-slate-300: #cbd5e1; --nv-slate-400: #94a3b8; --nv-slate-700: #334155;
}
[data-theme="navy"] body { background: #fff; }

/* Utility bar */
.bss-nv-util { background: var(--nv-deep); border-bottom: 1px solid var(--nv-line); color: #e2e8f0; font-size: .75rem; font-weight: 500; }
.bss-nv-util .container { min-height: 37px; }
.bss-nv-util a { color: #e2e8f0; text-decoration: none; white-space: nowrap; }
.bss-nv-util a:hover { color: var(--nv-gold-lt); }
.bss-nv-util i { color: var(--nv-amber); margin-right: .3rem; }
.bss-nv-util-gold { color: var(--nv-amber); letter-spacing: .02em; white-space: nowrap; }
.bss-nv-quick { border: 0; border-radius: 4px; padding: .2rem .7rem; background: var(--nv-orange); color: #020618; font-size: .7rem; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.bss-nv-quick:hover { background: var(--nv-amber); }

/* White main navigation */
.bss-nv-header { background: #fff !important; border-bottom: 1px solid #e2e8f0; backdrop-filter: none; }
.bss-nv-header.is-scrolled { box-shadow: 0 6px 20px rgba(10, 31, 68, .08); }
.bss-nv-header .navbar { padding: .55rem 0; }
.bss-nv-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.bss-nv-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.bss-nv-brand-name { font-family: "Cinzel", Georgia, serif; font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; color: var(--nv-navy); display: inline-flex; align-items: center; gap: .45rem; }
.bss-nv-badge { font-family: "Plus Jakarta Sans", sans-serif; font-size: .56rem; font-weight: 700; letter-spacing: .03em; color: var(--nv-navy); background: rgba(10, 31, 68, .08); border: 1px solid rgba(197, 155, 39, .45); border-radius: 4px; padding: .1rem .35rem; }
.bss-nv-brand-sub { font-size: .62rem; font-weight: 600; letter-spacing: .06em; color: #64748b; margin-top: .15rem; }
.bss-nv-brand-sub b { color: var(--nv-gold); font-weight: 700; }
.bss-nv-menu { gap: .1rem; }
.bss-nv-header .nav-link { font-size: .78rem; font-weight: 600; letter-spacing: -.01em; color: var(--nv-slate-700) !important; padding: .4rem .55rem !important; border-radius: 4px; border-bottom: 2px solid transparent; background: none !important; }
.bss-nv-header .nav-link:hover { color: var(--nv-navy) !important; }
.bss-nv-header .nav-link.active { color: var(--nv-navy) !important; border-bottom-color: var(--nv-gold); border-radius: 4px 4px 0 0; }
.bss-nv-header .dropdown-menu { border-top: 3px solid var(--nv-gold); }
.bss-nv-apply { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 36px; padding: .45rem .9rem; border-radius: 8px; background: var(--nv-navy); color: var(--nv-gold-lt); border: 1px solid rgba(197, 155, 39, .6); font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.bss-nv-apply:hover { background: var(--nv-navy-2); color: #fff; }
.bss-nv-apply--gold { background: var(--nv-gold); color: var(--nv-navy); border-color: var(--nv-gold); }
.bss-nv-apply--gold:hover { background: var(--nv-gold-lt); color: var(--nv-navy); }
.bss-nv-ghost { display: inline-flex; align-items: center; min-height: 36px; padding: .45rem .9rem; border-radius: 8px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); font-size: .78rem; font-weight: 700; }
.bss-nv-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 1199.98px) {
    .bss-nv-header .nav-link { font-size: .95rem; padding: .6rem .25rem !important; border-bottom: 1px solid #f1f5f9; }
    .bss-nv-header .nav-link.active { border-bottom-color: var(--nv-gold); }
}
@media (max-width: 575.98px) { .bss-nv-brand-name { font-size: 1rem; } .bss-nv-brand-sub { font-size: .55rem; } .bss-nv-badge { display: none; } }

/* Updates ticker */
.bss-nv-ticker { display: flex; align-items: stretch; background: var(--nv-navy); color: #f1f5f9; min-height: 38px; overflow: hidden; }
.bss-nv-ticker-tab { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: 0 .9rem; background: var(--nv-gold); color: var(--nv-navy); font-size: .72rem; font-weight: 800; letter-spacing: .06em; border-radius: 0 6px 6px 0; z-index: 1; box-shadow: 4px 0 10px rgba(0, 0, 0, .2); }
.bss-nv-ticker-viewport { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; }
.bss-nv-ticker-track { display: flex; width: max-content; animation: bss-nv-ticker 55s linear infinite; }
.bss-nv-ticker:hover .bss-nv-ticker-track, .bss-nv-ticker:focus-within .bss-nv-ticker-track { animation-play-state: paused; }
.bss-nv-ticker-item { padding: 0 2rem; color: #f1f5f9; text-decoration: none; font-size: .75rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.bss-nv-ticker-item i { color: var(--nv-amber); margin-right: .3rem; }
.bss-nv-ticker-item:hover { color: var(--nv-gold-lt); }
.bss-nv-ticker-cta { flex: none; align-self: center; margin: 0 .75rem; align-items: center; gap: .25rem; padding: .2rem .7rem; border-radius: 4px; border: 1px solid rgba(255, 210, 48, .3); background: rgba(255, 255, 255, .1); color: var(--nv-gold-lt); font-size: .72rem; font-weight: 700; text-decoration: none; }
.bss-nv-ticker-cta:hover { background: var(--nv-gold); color: var(--nv-navy); }
@keyframes bss-nv-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bss-nv-ticker-track { animation: none; } }

/* Footer */
.bss-nv-footer { background: var(--nv-foot); border-top: 4px solid var(--nv-gold); color: var(--nv-slate-300); padding-top: 4rem; font-size: .85rem; }
.bss-nv-footer a { color: var(--nv-slate-300); text-decoration: none; }
.bss-nv-footer a:hover { color: var(--nv-gold-lt); }
.bss-nv-footer-top { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bss-nv-brand--light .bss-nv-brand-name { color: #fff; }
.bss-nv-brand--light .bss-nv-badge { color: #fff; background: rgba(255, 255, 255, .08); }
.bss-nv-brand--light .bss-nv-brand-sub { color: var(--nv-slate-300); }
.bss-nv-brand--light .bss-nv-brand-sub b { color: var(--nv-amber); }
.bss-nv-footer-logo { background: #fff; border-radius: 8px; padding: 3px; }
.bss-nv-footer-about { max-width: 620px; line-height: 1.7; margin: 1rem 0; }
.bss-nv-footer-partners { color: var(--nv-amber); font-weight: 600; font-size: .8rem; margin: 0; }
.bss-nv-footer-box { background: #0b1f3f; border: 1px solid var(--nv-line); border-radius: 12px; padding: 1.5rem; }
.bss-nv-footer-box-title { font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0 0 .4rem; }
.bss-nv-footer-box-text { font-size: .82rem; margin: 0 0 1rem; color: var(--nv-slate-400); }
.bss-nv-footer-h { font-family: "Cinzel", Georgia, serif; color: var(--nv-gold); font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.bss-nv-footer li { margin-bottom: .55rem; }
.bss-nv-footer a.is-gold { color: var(--nv-amber); font-weight: 600; }
.bss-nv-footer-addr { display: flex; flex-direction: column; gap: .15rem; font-style: normal; font-size: .8rem; margin-bottom: .9rem; }
.bss-nv-footer-addr strong { color: #fff; }
.bss-nv-footer-contact { margin: 0 0 .4rem; font-size: .8rem; }
.bss-nv-footer-contact i { color: var(--nv-amber); margin-right: .35rem; }
.bss-nv-social { display: flex; gap: .6rem; margin-top: 1rem; }
.bss-nv-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--nv-line); }
.bss-nv-social a:hover { background: var(--nv-gold); color: var(--nv-navy); border-color: var(--nv-gold); }
.bss-nv-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.25rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .75rem; color: var(--nv-slate-400); }

/* ==========================================================================
   Home page – navy & gold theme (pages/home-navy.blade.php)
   ========================================================================== */
.bss-hn { --hn-navy: #0a1f44; --hn-navy-2: #071630; --hn-deep: #051329; --hn-gold: #c59b27; --hn-gold-lt: #ffd230; --hn-amber: #fcb900;
    --hn-50: #f8fafc; --hn-100: #f1f5f9; --hn-200: #e2e8f0; --hn-300: #cbd5e1; --hn-400: #94a3b8; --hn-500: #64748b; --hn-600: #475569; --hn-700: #334155; --hn-800: #1e293b;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--hn-800); }
.bss-hn h1, .bss-hn h2, .bss-hn h3, .bss-hn-hero-title, .bss-hn-portal-title, .bss-hn-stat strong, .bss-hn-pstat strong, .bss-hn-story-name, .bss-hn-join-stats strong { font-family: "Playfair Display", Georgia, serif; }

/* Buttons */
.bss-hn-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem 1.2rem; border-radius: 10px; font-size: .85rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.bss-hn-btn--gold { background: var(--hn-gold); color: var(--hn-navy); }
.bss-hn-btn--gold:hover { background: var(--hn-gold-lt); color: var(--hn-navy); }
.bss-hn-btn--navy { background: var(--hn-navy); color: var(--hn-gold-lt); border-color: rgba(197, 155, 39, .5); }
.bss-hn-btn--navy:hover { background: var(--hn-navy-2); color: #fff; }
.bss-hn-btn--line { background: #fff; color: var(--hn-navy); border-color: var(--hn-200); }
.bss-hn-btn--line:hover { border-color: var(--hn-navy); color: var(--hn-navy); }
.bss-hn-btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.bss-hn-btn--glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* Section shell + headings */
.bss-hn-sec { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: #fff; }
.bss-hn-sec--soft { background: var(--hn-50); }
.bss-hn-sec--navy { background: linear-gradient(180deg, var(--hn-navy) 0%, var(--hn-navy-2) 100%); color: #fff; }
.bss-hn-head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.bss-hn-head--left { text-align: left; margin-left: 0; }
.bss-hn-head h2 { font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; color: var(--hn-navy); margin: .9rem 0 .75rem; }
.bss-hn-head p { color: var(--hn-600); margin-bottom: 1rem; }
.bss-hn-head--light h2 { color: #fff; }
.bss-hn-head--light p { color: var(--hn-300); }
.bss-hn-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .85rem; border-radius: 999px; background: rgba(197, 155, 39, .1); border: 1px solid rgba(197, 155, 39, .4); color: var(--hn-navy); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bss-hn-pill i { color: var(--hn-gold); }
.bss-hn-sec--navy .bss-hn-pill, .bss-hn-join .bss-hn-pill { color: var(--hn-gold-lt); background: rgba(197, 155, 39, .12); }
.bss-hn-rule { display: block; width: 64px; height: 3px; border-radius: 3px; background: var(--hn-gold); margin: 0 auto; }
.bss-hn-label { margin: 0 0 .4rem; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hn-500); }
.bss-hn-chip { display: inline-flex; align-items: center; padding: .15rem .55rem; border-radius: 4px; background: var(--hn-100); color: var(--hn-navy); font-size: .65rem; font-weight: 700; white-space: nowrap; }
.bss-hn-chip--gold { background: var(--hn-gold); color: var(--hn-navy); }

/* 1. Hero slider */
.bss-hn-hero { background: var(--hn-deep); }
.bss-hn-hero .carousel-item { position: relative; min-height: clamp(560px, 78vh, 700px); overflow: hidden; }
.bss-hn-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bss-hn-hero-shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(5, 19, 41, .86) 0%, rgba(5, 19, 41, .66) 45%, rgba(5, 19, 41, .28) 100%); }
.bss-hn-hero-body { position: relative; z-index: 1; padding-top: clamp(4rem, 9vh, 6rem); padding-bottom: 8.5rem; max-width: 1140px; color: #fff; }
.bss-hn-hero-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 6px; background: rgba(197, 155, 39, .18); border: 1px solid rgba(255, 210, 48, .4); color: var(--hn-gold-lt); font-size: .72rem; font-weight: 700; }
.bss-hn-hero-eyebrow { margin: 1rem 0 .5rem; color: var(--hn-amber); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bss-hn-hero-title { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; max-width: 760px; margin: 0 0 1rem; color: #fff; }
.bss-hn-hero-text { max-width: 620px; color: var(--hn-300); font-size: 1rem; line-height: 1.7; margin-bottom: 1.75rem; }
.bss-hn-dots { bottom: 6.5rem; margin-bottom: 0; }
.bss-hn-dots [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); opacity: 1; margin: 0 4px; transition: width .3s; }
.bss-hn-dots .active { width: 28px; border-radius: 6px; background: var(--hn-gold); }
.bss-hn-arrow { width: 44px; height: 44px; top: 42%; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); opacity: 1; margin: 0 1rem; color: #fff; font-size: 1.1rem; }
.bss-hn-arrow:hover { background: var(--hn-gold); color: var(--hn-navy); }
@media (max-width: 767.98px) { .bss-hn-arrow { display: none; } .bss-hn-hero-body { padding-bottom: 6rem; } .bss-hn-dots { bottom: 3.5rem; } }

/* 2. Portal cards (overlap the hero) */
.bss-hn-portals { position: relative; z-index: 2; margin-top: -5.5rem; padding-bottom: 1rem; }
.bss-hn-portal { display: flex; flex-direction: column; width: 100%; padding: 1.4rem; border-radius: 14px; background: var(--hn-navy); border: 1px solid rgba(197, 155, 39, .35); color: #fff; text-decoration: none; box-shadow: 0 18px 40px rgba(5, 19, 41, .25); transition: transform .25s, border-color .25s; }
.bss-hn-portal:hover { transform: translateY(-4px); border-color: var(--hn-gold); color: #fff; }
.bss-hn-portal-num { font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hn-400); }
.bss-hn-portal-title { font-size: 1.25rem; font-weight: 700; margin: .5rem 0 .2rem; }
.bss-hn-portal-sub { color: var(--hn-amber); font-size: .78rem; font-weight: 700; margin-bottom: .6rem; }
.bss-hn-portal-text { color: var(--hn-300); font-size: .8rem; line-height: 1.55; flex: 1 1 auto; margin-bottom: 1rem; }
.bss-hn-portal-cta { display: flex; justify-content: space-between; align-items: center; color: var(--hn-gold-lt); font-size: .8rem; font-weight: 700; }

/* 3. Milestones */
.bss-hn-stat { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; padding: 1.4rem 1rem; border-radius: 14px; background: var(--hn-navy); color: #fff; box-shadow: 0 10px 24px rgba(10, 31, 68, .15); }
.bss-hn-stat-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(197, 155, 39, .45); color: var(--hn-gold-lt); margin-bottom: .9rem; }
.bss-hn-stat strong { font-size: 1.75rem; font-weight: 800; color: var(--hn-gold-lt); line-height: 1.1; }
.bss-hn-stat-label { font-size: .8rem; font-weight: 700; margin-top: .35rem; }
.bss-hn-stat-note { font-size: .68rem; color: var(--hn-400); margin-top: .75rem; padding-top: .75rem; border-top: 1px solid rgba(255, 255, 255, .1); width: 100%; }

/* 4. Program cards */
.bss-hn-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2rem; }
.bss-hn-tab { border: 1px solid var(--hn-200); background: #fff; color: var(--hn-navy); border-radius: 10px; padding: .55rem 1.1rem; font: inherit; font-size: .85rem; font-weight: 700; min-height: 44px; }
.bss-hn-tab:hover { border-color: var(--hn-navy); }
.bss-hn-tab.is-active { background: var(--hn-navy); color: var(--hn-gold-lt); border-color: var(--hn-gold); box-shadow: 0 6px 16px rgba(10, 31, 68, .18); }
.bss-hn-tab:focus-visible { outline: 3px solid var(--hn-gold); outline-offset: 2px; }
.bss-hn-tabs--sm .bss-hn-tab { padding: .35rem .8rem; font-size: .75rem; min-height: 36px; border-radius: 999px; }
.bss-hn-prog { display: flex; flex-direction: column; width: 100%; padding: 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--hn-200); transition: box-shadow .25s, transform .25s; }
.bss-hn-prog:hover { box-shadow: 0 18px 40px rgba(10, 31, 68, .1); transform: translateY(-3px); }
.bss-hn-prog-meta { display: flex; align-items: center; gap: .6rem; font-size: .72rem; color: var(--hn-500); margin-bottom: .9rem; }
.bss-hn-prog h3 { font-size: 1.25rem; font-weight: 800; color: var(--hn-navy); line-height: 1.25; margin: 0 0 .6rem; }
.bss-hn-prog-assoc { font-size: .75rem; font-weight: 600; color: var(--hn-700); background: var(--hn-50); border: 1px solid var(--hn-200); border-radius: 6px; padding: .35rem .6rem; margin-bottom: .8rem; }
.bss-hn-prog-sum { font-size: .82rem; color: var(--hn-600); line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bss-hn-checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.bss-hn-checks li { position: relative; padding-left: 1.4rem; font-size: .8rem; color: var(--hn-700); margin-bottom: .35rem; }
.bss-hn-checks li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--hn-gold); }
.bss-hn-tags { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.bss-hn-tags li { font-size: .68rem; font-weight: 600; color: var(--hn-700); background: var(--hn-50); border: 1px solid var(--hn-200); border-radius: 4px; padding: .15rem .5rem; }
.bss-hn-prog-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--hn-100); }
.bss-hn-guide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2.5rem; padding: 1.75rem 2rem; border-radius: 16px; background: var(--hn-navy); color: #fff; border: 1px solid rgba(197, 155, 39, .35); }
.bss-hn-guide h3 { font-size: 1.4rem; font-weight: 800; margin: 0 0 .3rem; color: #fff; }
.bss-hn-guide p { margin: 0; color: var(--hn-300); font-size: .85rem; max-width: 620px; }

/* 5. Why BSS */
.bss-hn-why { width: 100%; padding: 1.6rem; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .25s, background .25s; }
.bss-hn-why:hover { border-color: rgba(197, 155, 39, .55); background: rgba(255, 255, 255, .06); }
.bss-hn-why-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(197, 155, 39, .15); color: var(--hn-gold-lt); font-size: 1.2rem; }
.bss-hn-why-tag { font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hn-300); border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: .2rem .6rem; }
.bss-hn-why h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0 0 .5rem; }
.bss-hn-why p { color: var(--hn-300); font-size: .85rem; line-height: 1.6; }
.bss-hn-why a { color: var(--hn-gold-lt); font-size: .8rem; font-weight: 700; text-decoration: none; }

/* 6. Leadership */
.bss-hn-lead { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 20px; background: var(--hn-50); border: 1px solid var(--hn-200); }
.bss-hn-lead-photo { margin: 0; border-radius: 16px; overflow: hidden; background: var(--hn-navy); box-shadow: 0 18px 40px rgba(10, 31, 68, .15); }
.bss-hn-lead-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; }
.bss-hn-lead-photo figcaption { padding: 1rem 1.2rem; color: #fff; border-top: 3px solid var(--hn-gold); }
.bss-hn-lead-photo strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.1rem; }
.bss-hn-lead-photo span { font-size: .78rem; color: var(--hn-300); }
.bss-hn-lead-title { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--hn-navy); margin: 1rem 0; }
.bss-hn-lead-text { color: var(--hn-700); line-height: 1.75; }
.bss-hn-point { display: flex; flex-direction: column; gap: .3rem; width: 100%; padding: 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--hn-200); }
.bss-hn-point i { color: var(--hn-gold); font-size: 1.2rem; }
.bss-hn-point strong { color: var(--hn-navy); font-size: .9rem; }
.bss-hn-point span { color: var(--hn-600); font-size: .78rem; }

/* 7. Placements */
.bss-hn-pstat { display: flex; flex-direction: column; width: 100%; padding: 1.3rem; border-radius: 14px; background: #fff; border: 1px solid var(--hn-200); }
.bss-hn-pstat.is-navy { background: var(--hn-navy); border-color: var(--hn-navy); color: #fff; }
.bss-hn-pstat-label { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hn-gold); }
.bss-hn-pstat strong { font-size: 2rem; font-weight: 800; color: var(--hn-navy); margin: .3rem 0; }
.bss-hn-pstat.is-navy strong { color: var(--hn-gold-lt); }
.bss-hn-pstat-note { font-size: .75rem; color: var(--hn-500); }
.bss-hn-pstat.is-navy .bss-hn-pstat-note { color: var(--hn-300); }
.bss-hn-box { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 18px; background: #fff; border: 1px solid var(--hn-200); }
.bss-hn-box-title { font-size: 1.4rem; font-weight: 800; color: var(--hn-navy); margin: 0; }
.bss-hn-box-sub { font-size: .8rem; color: var(--hn-500); }
.bss-hn-box-sub a { color: var(--hn-navy); font-weight: 700; }
.bss-hn-recruiters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.bss-hn-recruiter { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 1rem .75rem; border-radius: 12px; border: 1px solid var(--hn-200); background: var(--hn-50); }
.bss-hn-recruiter[hidden] { display: none; }
.bss-hn-recruiter-logo { width: 100%; height: 64px; display: grid; place-items: center; background: #fff; border-radius: 8px; padding: .4rem; margin-bottom: .3rem; }
.bss-hn-recruiter-logo img { max-height: 52px; width: auto; object-fit: contain; }
.bss-hn-recruiter strong { font-size: .78rem; color: var(--hn-navy); line-height: 1.3; }
.bss-hn-recruiter span { font-size: .66rem; color: var(--hn-500); }

/* 8. Student success */
.bss-hn-story { border-radius: 18px; overflow: hidden; background: var(--hn-navy); color: #fff; box-shadow: 0 18px 40px rgba(10, 31, 68, .18); }
.bss-hn-story-img { background: #fff; }
.bss-hn-story-img img { width: 100%; height: 100%; max-height: 440px; object-fit: contain; display: block; }
.bss-hn-story-body { padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.bss-hn-story-name { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 1rem 0 .3rem; }
.bss-hn-story-role { color: var(--hn-gold-lt); font-weight: 700; margin: 0 0 .8rem; }
.bss-hn-story-co { color: var(--hn-300); margin-bottom: 1.5rem; }
.bss-hn-story-co i { color: var(--hn-gold); }
.bss-hn-story-co strong { color: #fff; }
.bss-hn-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; }
.bss-hn-thumb { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .5rem; border-radius: 12px; border: 2px solid var(--hn-200); background: #fff; font: inherit; color: var(--hn-navy); }
.bss-hn-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 8px; margin-bottom: .3rem; }
.bss-hn-thumb span { font-size: .78rem; font-weight: 700; }
.bss-hn-thumb small { font-size: .62rem; color: var(--hn-500); text-align: center; }
.bss-hn-thumb.is-active, .bss-hn-thumb:hover { border-color: var(--hn-gold); }

/* 9. Join band */
.bss-hn-join { padding: clamp(3.5rem, 7vw, 5rem) 0; background: radial-gradient(900px 400px at 50% 0%, var(--hn-navy) 0%, var(--hn-deep) 70%); color: #fff; border-top: 4px solid var(--hn-gold); }
.bss-hn-join h2 { font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 1rem 0 .75rem; color: #fff; }
.bss-hn-join p { color: var(--hn-300); max-width: 680px; margin: 0 auto 2rem; }
.bss-hn-join-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.bss-hn-join-stats div { min-width: 150px; padding: 1rem 1.25rem; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.bss-hn-join-stats strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--hn-gold-lt); }
.bss-hn-join-stats span { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--hn-300); }

/* 10. Infrastructure tabs */
.bss-hn-infra-tabs { gap: .5rem; }
.bss-hn-infra-tab { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--hn-200); background: #fff; color: var(--hn-700); font: inherit; font-size: .9rem; font-weight: 700; }
.bss-hn-infra-tab i { color: var(--hn-gold); font-size: 1.1rem; }
.bss-hn-infra-tab:hover { border-color: var(--hn-navy); }
.bss-hn-infra-tab.active { background: var(--hn-navy); color: #fff; border-color: var(--hn-gold); }
.bss-hn-infra-tab.active i { color: var(--hn-gold-lt); }
.bss-hn-infra { border-radius: 18px; overflow: hidden; border: 1px solid var(--hn-200); background: #fff; }
.bss-hn-infra img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.bss-hn-infra-body { padding: 1.5rem; }
.bss-hn-infra-body h3 { font-size: 1.5rem; font-weight: 800; color: var(--hn-navy); margin: .3rem 0 .6rem; }
.bss-hn-infra-body p { color: var(--hn-600); }

/* 11. Events */
.bss-hn-event { width: 100%; padding: 1.25rem; border-radius: 14px; background: #fff; border: 1px solid var(--hn-200); border-top: 3px solid var(--hn-gold); }
.bss-hn-event-date { margin: 1rem 0 .4rem; font-size: .78rem; font-weight: 700; color: var(--hn-gold); }
.bss-hn-event h3 { font-size: 1.05rem; font-weight: 800; color: var(--hn-navy); line-height: 1.35; margin: 0; }

/* 12. FAQ */
.bss-hn-faq .accordion-item { border: 1px solid var(--hn-200); border-radius: 12px !important; margin-bottom: .75rem; overflow: hidden; background: #fff; }
.bss-hn-faq .accordion-button { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: .9rem; color: var(--hn-navy); background: #fff; }
.bss-hn-faq .accordion-button:not(.collapsed) { background: var(--hn-50); color: var(--hn-navy); box-shadow: none; }
.bss-hn-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(197, 155, 39, .35); }
.bss-hn-faq .accordion-body { font-size: .85rem; color: var(--hn-600); line-height: 1.7; }

/* 13. Gallery */
.bss-hn-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.bss-hn-gallery-item { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.bss-hn-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bss-hn-gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 767.98px) { .bss-hn-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 14. Campuses */
.bss-hn-campus { display: flex; flex-direction: column; width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--hn-200); background: #fff; }
.bss-hn-campus iframe { width: 100%; height: 260px; border: 0; display: block; background: var(--hn-100); }
.bss-hn-campus-body { padding: 1.5rem; border-top: 3px solid var(--hn-gold); }
.bss-hn-campus-body h3 { font-size: 1.35rem; font-weight: 800; color: var(--hn-navy); margin: 0 0 .5rem; }
.bss-hn-campus-body address { font-style: normal; color: var(--hn-600); font-size: .88rem; }
.bss-hn-campus-body i { color: var(--hn-gold); margin-right: .3rem; }
.bss-hn-campus-body a:not(.bss-hn-btn) { color: var(--hn-navy); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .bss-hn-portal, .bss-hn-prog, .bss-hn-gallery-item img { transition: none; } }

/* Home (navy): course posters with Postgraduate / Undergraduate tabs */
.bss-hn-tab i { margin-right: .3rem; }
.bss-hn-course-grid { --hn-cols: 4; --hn-gap: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--hn-gap); }
.bss-hn-course { flex: 0 0 calc((100% - (var(--hn-cols) - 1) * var(--hn-gap)) / var(--hn-cols)); min-width: 0; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--hn-200); text-decoration: none; box-shadow: 0 8px 22px rgba(10, 31, 68, .06); transition: transform .3s, box-shadow .3s, border-color .3s; }
.bss-hn-course:hover { transform: translateY(-6px); border-color: var(--hn-gold); box-shadow: 0 20px 40px rgba(10, 31, 68, .16); }
.bss-hn-course:focus-visible { outline: 3px solid var(--hn-gold); outline-offset: 3px; }
.bss-hn-course-img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--hn-50); }
.bss-hn-course-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.bss-hn-course:hover .bss-hn-course-img img { transform: scale(1.04); }
.bss-hn-course-body { display: flex; flex-direction: column; gap: .45rem; flex: 1 1 auto; padding: 1rem 1.1rem 1.1rem; background: var(--hn-navy); border-top: 3px solid var(--hn-gold); }
.bss-hn-course-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .7rem; color: var(--hn-300); }
.bss-hn-course-meta .bss-hn-chip { background: rgba(197, 155, 39, .18); color: var(--hn-gold-lt); }
.bss-hn-course-name { font-family: "Playfair Display", Georgia, serif; font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: #fff; flex: 1 1 auto; }
.bss-hn-course-cta { font-size: .78rem; font-weight: 700; color: var(--hn-gold-lt); }
.bss-hn-course-cta i { transition: transform .2s; display: inline-block; }
.bss-hn-course:hover .bss-hn-course-cta i { transform: translateX(4px); }
@media (max-width: 1199.98px) { .bss-hn-course-grid { --hn-cols: 3; } }
@media (max-width: 767.98px) { .bss-hn-course-grid { --hn-cols: 2; --hn-gap: .9rem; } }
@media (max-width: 479.98px) { .bss-hn-course-grid { --hn-cols: 1; max-width: 360px; margin: 0 auto; } }

/* Home (navy): moving strips for recruiters and placed students */
.bss-hn-move { overflow: hidden; padding: .5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bss-hn-move + .bss-hn-move { margin-top: .75rem; }
.bss-hn-move-track { display: flex; gap: 1rem; width: max-content; animation: bss-hn-move 45s linear infinite; }
.bss-hn-move--reverse .bss-hn-move-track { animation-direction: reverse; }
.bss-hn-move--slow .bss-hn-move-track { animation-duration: 70s; gap: 1.25rem; }
.bss-hn-move:hover .bss-hn-move-track, .bss-hn-move:focus-within .bss-hn-move-track { animation-play-state: paused; }
@keyframes bss-hn-move { to { transform: translateX(calc(-50% - .5rem)); } }
.bss-hn-logo { flex: none; width: 170px; height: 84px; display: grid; place-items: center; padding: .6rem; border-radius: 12px; background: #fff; border: 1px solid var(--hn-200); }
.bss-hn-logo img { max-height: 58px; width: auto; max-width: 100%; object-fit: contain; }
.bss-hn-placed { flex: none; width: 260px; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--hn-200); box-shadow: 0 10px 24px rgba(10, 31, 68, .08); }
.bss-hn-placed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; background: var(--hn-50); }
.bss-hn-placed figcaption { padding: .8rem 1rem 1rem; border-top: 3px solid var(--hn-gold); display: flex; flex-direction: column; gap: .15rem; }
.bss-hn-placed strong { font-family: "Playfair Display", Georgia, serif; color: var(--hn-navy); font-size: 1.05rem; }
.bss-hn-placed span { font-size: .75rem; font-weight: 600; color: var(--hn-700); }
.bss-hn-placed small { font-size: .72rem; color: var(--hn-500); }
.bss-hn-placed small i { color: var(--hn-gold); }
@media (prefers-reduced-motion: reduce) {
    .bss-hn-move { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .bss-hn-move-track { animation: none; }
}

/* "Download Prospectus" tab fixed to the right edge on every page */
.bss-prospectus-tab { position: fixed; right: 0; top: 50%; z-index: 1039; transform: translateY(-50%); writing-mode: vertical-rl; display: inline-flex; align-items: center; gap: .45rem; padding: 1rem .55rem; border-radius: 10px 0 0 10px; background: #c59b27; color: #0a1f44; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; box-shadow: -4px 6px 18px rgba(10, 31, 68, .25); transition: padding .2s, background .2s; }
.bss-prospectus-tab i { transform: rotate(90deg); font-size: 1rem; }
.bss-prospectus-tab:hover, .bss-prospectus-tab:focus-visible { background: #ffd230; color: #0a1f44; padding-right: .8rem; }
@media (max-width: 575.98px) {
    .bss-prospectus-tab { top: auto; bottom: 18px; right: auto; left: 12px; transform: none; writing-mode: horizontal-tb; padding: .65rem 1rem; border-radius: 999px; font-size: .72rem; }
    .bss-prospectus-tab i { transform: none; }
}
@media print { .bss-prospectus-tab { display: none; } }

/* Prospectus details form (modal) */
.bss-pros-modal .modal-header { padding: 1.5rem 1.5rem 0; }
.bss-pros-modal .modal-body { padding: 1.25rem 1.5rem 1.5rem; }
.bss-pros-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c59b27; }
.bss-pros-title { font-family: "Playfair Display", Georgia, serif; font-weight: 800; color: #0a1f44; }
.bss-pros-ok { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #c59b27; color: #0a1f44; font-size: 2rem; }

/* Admissions FAQs (/faq) – navy & gold */
.bss-af { padding: 4.5rem 0 3rem; background: #f8fafc; }
.bss-af-head { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
.bss-af-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem; border-radius: 999px; background: rgba(197, 155, 39, .12); color: #8a6a12; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bss-af-head h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 800; color: #0a1f44; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: .8rem 0 .5rem; }
.bss-af-head p { color: #475569; margin: 0; }
.bss-af-rule { display: block; width: 64px; height: 3px; margin: 1rem auto 0; background: #c59b27; border-radius: 3px; }
.bss-af-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.bss-af-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.bss-af-filter { border: 1px solid #cbd5e1; background: #fff; color: #0a1f44; border-radius: 999px; padding: .45rem .95rem; font-size: .8rem; font-weight: 700; }
.bss-af-filter i { color: #c59b27; margin-right: .2rem; }
.bss-af-filter:hover { border-color: #c59b27; }
.bss-af-filter.is-active { background: #0a1f44; color: #ffd230; border-color: #0a1f44; }
.bss-af-filter.is-active i { color: #ffd230; }
.bss-af-toggle { display: flex; gap: .5rem; }
.bss-af-toggle button { border: 0; background: none; color: #0a1f44; font-size: .8rem; font-weight: 700; text-decoration: underline; text-decoration-color: #c59b27; text-underline-offset: 4px; }
.bss-af-list { display: grid; gap: .8rem; }
.bss-af-item { background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid #c59b27; border-radius: 14px; box-shadow: 0 6px 18px rgba(10, 31, 68, .05); overflow: hidden; }
.bss-af-q { margin: 0; }
.bss-af-q button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: center; text-align: left; border: 0; background: none; padding: 1.1rem 1.25rem; color: #0a1f44; }
.bss-af-cat { grid-column: 1; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a17c14; }
.bss-af-qtext { grid-column: 1; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.bss-af-chev { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #0a1f44; color: #ffd230; transition: transform .25s; }
.bss-af-q button:not(.collapsed) .bss-af-chev { transform: rotate(180deg); }
.bss-af-q button:focus-visible { outline: 3px solid #c59b27; outline-offset: -3px; }
.bss-af-a { padding: 0 1.25rem 1.25rem; color: #334155; }
.bss-af-a p { margin-bottom: .8rem; line-height: 1.7; }
.bss-af-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 8px; background: #0a1f44; color: #ffd230; font-size: .78rem; font-weight: 700; }
.bss-af-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-radius: 16px; background: #0a1f44; color: #e2e8f0; }
.bss-af-help p { margin: 0; }
.bss-af-help a { color: #ffd230; }
.bss-af-btn { display: inline-flex; align-items: center; min-height: 40px; padding: .5rem 1rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.bss-af-btn--gold { background: #c59b27; border-color: #c59b27; color: #0a1f44; }
.bss-af-btn--gold:hover { background: #ffd230; color: #0a1f44; }
@media (max-width: 575.98px) { .bss-af { padding-top: 3rem; } .bss-af-qtext { font-size: 1rem; } .bss-af-filter { font-size: .74rem; } }

/* FAQ directory additions */
.bss-af--white { background: #fff; border-top: 1px solid #e2e8f0; }
.bss-af-search { position: relative; max-width: 640px; margin: 0 auto 1.5rem; }
.bss-af-search i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: #c59b27; }
.bss-af-search input { width: 100%; padding: .9rem 1rem .9rem 2.8rem; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; box-shadow: 0 6px 18px rgba(10, 31, 68, .06); font-size: .95rem; }
.bss-af-search input:focus { outline: none; border-color: #c59b27; box-shadow: 0 0 0 .2rem rgba(197, 155, 39, .25); }
.bss-af-count { display: inline-block; min-width: 1.5em; margin-left: .25rem; padding: 0 .4em; border-radius: 999px; background: #e2e8f0; color: #475569; font-size: .68rem; font-weight: 800; text-align: center; }
.bss-af-filter.is-active .bss-af-count { background: #c59b27; color: #0a1f44; }
.bss-af-status { font-size: .8rem; color: #64748b; margin: -.25rem 0 1rem; }
.bss-af-empty { text-align: center; padding: 2rem 1rem; color: #475569; }
.bss-af-empty a { color: #0a1f44; font-weight: 700; }

/* Reading-progress bar fixed to the top of the window */
.bss-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1090; pointer-events: none; background: rgba(10, 31, 68, .08); }
.bss-progress span { display: block; height: 100%; background: linear-gradient(90deg, #c59b27, #ffd230, #fe9a00); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 8px rgba(255, 210, 48, .6); }
@media print { .bss-progress { display: none; } }

/* Home hero: one H1 that holds the keyword line and the headline */
.bss-hn-hero-h1 { margin: 0; font: inherit; color: inherit; }
.bss-hn-hero-h1 .bss-hn-hero-eyebrow { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }

/* Home: "From BSS Classrooms to Corporate Careers" – navy band with gold-framed placement cards */
.bss-hn-placedsec { position: relative; overflow: hidden; background: radial-gradient(1200px 400px at 50% -10%, rgba(197, 155, 39, .18), transparent 60%), linear-gradient(180deg, #0a1f44, #071630); }
.bss-hn-placedsec::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.bss-hn-placedsec .bss-hn-head h2 { color: #fff; }
.bss-hn-placedsec .bss-hn-head p { color: #cbd5e1; }
.bss-hn-placedsec .bss-hn-pill { background: rgba(197, 155, 39, .16); color: #ffd230; border-color: rgba(197, 155, 39, .4); }
.bss-hn-placedsec .bss-hn-move { position: relative; padding: 1rem 0 1.5rem; }
.bss-hn-placedsec .bss-hn-move:hover .bss-hn-move-track { animation-play-state: paused; }
.bss-hn-placedsec .bss-hn-placed { width: 270px; border: 1px solid rgba(197, 155, 39, .35); background: #0d2752; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.bss-hn-placedsec .bss-hn-placed:hover { transform: translateY(-8px); border-color: #ffd230; box-shadow: 0 26px 50px rgba(0, 0, 0, .45), 0 0 0 1px #ffd230; }
.bss-hn-placed-img { position: relative; overflow: hidden; }
.bss-hn-placedsec .bss-hn-placed img { aspect-ratio: 15 / 16; object-position: top center; transition: transform .5s ease; }
.bss-hn-placedsec .bss-hn-placed:hover img { transform: scale(1.04); }
.bss-hn-placed-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(transparent, rgba(13, 39, 82, .9)); pointer-events: none; }
.bss-hn-placed-badge { position: absolute; bottom: .7rem; right: .7rem; z-index: 1; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .7rem; border-radius: 999px; background: linear-gradient(135deg, #ffd230, #c59b27); color: #0a1f44; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.bss-hn-placedsec .bss-hn-placed figcaption { border-top: 0; padding: .9rem 1.1rem 1.15rem; gap: .3rem; background: #0d2752; }
.bss-hn-placedsec .bss-hn-placed strong { color: #fff; font-size: 1.12rem; }
.bss-hn-placedsec .bss-hn-placed-role { font-size: .78rem; font-weight: 600; color: #ffd230; line-height: 1.35; }
.bss-hn-placedsec .bss-hn-placed-co { align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; padding: .25rem .65rem; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #e2e8f0; font-size: .72rem; font-weight: 600; }
.bss-hn-placedsec .bss-hn-placed-co i { color: #c59b27; }
@media (max-width: 575.98px) { .bss-hn-placedsec .bss-hn-placed { width: 230px; } }

/* Placed-student cards (home strip + Placements page) */
.bss-pc { flex: none; width: 280px; margin: 0; display: flex; flex-direction: column; border-radius: 20px; background: linear-gradient(180deg, #11305f, #0b2249); border: 1px solid rgba(197, 155, 39, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); overflow: hidden; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.bss-pc:hover { transform: translateY(-8px); border-color: #ffd230; box-shadow: 0 26px 50px rgba(0, 0, 0, .45), 0 0 0 1px #ffd230; }
.bss-pc-top { position: relative; display: flex; justify-content: center; padding: 1.75rem 1.5rem 1rem; background: radial-gradient(220px 120px at 50% 0%, rgba(255, 210, 48, .22), transparent 70%); }
.bss-pc-ring { display: block; width: 132px; height: 132px; padding: 4px; border-radius: 50%; background: conic-gradient(from 200deg, #ffd230, #c59b27, #fe9a00, #ffd230); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.bss-pc-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top center; border: 3px solid #0b2249; background: #fff; display: block; transition: transform .5s ease; }
.bss-pc:hover .bss-pc-ring img { transform: scale(1.05); }
.bss-pc-badge { position: absolute; top: 1rem; right: 1rem; display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .65rem; border-radius: 999px; background: linear-gradient(135deg, #ffd230, #c59b27); color: #0a1f44; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.bss-pc-body { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .5rem 1.5rem 1.6rem; text-align: center; }
.bss-pc-name { font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; font-weight: 700; color: #fff; line-height: 1.25; }
.bss-pc-role { font-size: .8rem; font-weight: 700; color: #ffd230; line-height: 1.35; }
.bss-pc-text { margin: .35rem 0 .5rem; font-size: .82rem; line-height: 1.55; color: #cbd5e1; }
.bss-pc-co { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #e2e8f0; font-size: .74rem; font-weight: 600; }
.bss-pc-co i { color: #c59b27; }
.bss-pc-section { padding: 4.5rem 0; }
.bss-pc-section .bss-pc { width: 100%; }
@media (max-width: 575.98px) { .bss-hn-move .bss-pc { width: 250px; } }
.bss-pc-section .bss-hn-head h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 800; }

/* Photo viewer (lightbox) */
.bss-lb .modal-content { background: rgba(5, 12, 28, .96); border: 0; border-radius: 0; color: #fff; }
.bss-lb-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; background: linear-gradient(rgba(5, 12, 28, .85), transparent); }
.bss-lb-count { font-size: .85rem; font-weight: 700; letter-spacing: .05em; color: #ffd230; }
.bss-lb-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.1rem; }
.bss-lb-close:hover, .bss-lb-close:focus-visible { background: #c59b27; border-color: #c59b27; color: #0a1f44; }
.bss-lb-stage { position: relative; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 4.5rem 1rem 1.5rem; min-height: 0; height: 100%; }
.bss-lb-figure { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: min(1200px, 100%); min-width: 0; }
.bss-lb-figure img { display: block; max-width: 100%; max-height: calc(100vh - 9.5rem); max-height: calc(100dvh - 9.5rem); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 25px 60px rgba(0, 0, 0, .6); background: #0a1f44; transition: opacity .25s; }
.bss-lb-figure figcaption { margin-top: .85rem; max-width: 900px; padding: 0 1rem; text-align: center; font-size: .9rem; color: #cbd5e1; }
.bss-lb-figure figcaption:empty { display: none; }
.bss-lb-nav { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(197, 155, 39, .6); background: rgba(10, 31, 68, .7); color: #ffd230; font-size: 1.3rem; transition: background .2s, transform .2s; }
.bss-lb-nav:hover, .bss-lb-nav:focus-visible { background: #c59b27; color: #0a1f44; transform: scale(1.06); }
.bss-lb-nav[hidden] { display: none; }
.bss-lb-spinner { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #ffd230; animation: bss-lb-spin .8s linear infinite; opacity: 0; pointer-events: none; }
.bss-lb.is-loading .bss-lb-spinner { opacity: 1; }
.bss-lb.is-loading .bss-lb-figure img { opacity: .15; }
@keyframes bss-lb-spin { to { transform: rotate(360deg); } }
.modal-backdrop.show:has(+ .bss-lb), .bss-lb + .modal-backdrop { opacity: .9; }
@media (max-width: 767.98px) {
    .bss-lb-stage { padding: 4.25rem .5rem 5.5rem; }
    .bss-lb-nav { position: absolute; bottom: 1.25rem; width: 46px; height: 46px; }
    .bss-lb-prev { left: calc(50% - 56px); }
    .bss-lb-next { right: calc(50% - 56px); }
    .bss-lb-figure img { max-height: calc(100dvh - 12rem); }
}

/* LinkedIn button (Director's desk) – navy & gold */
.bss-li-btn { display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1.2rem .45rem .45rem; border-radius: 999px; background: #0a1f44; border: 1px solid #0a1f44; color: #ffd230; font-weight: 700; font-size: .92rem; text-decoration: none; box-shadow: 0 10px 22px rgba(10, 31, 68, .2); transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.bss-li-btn-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #c59b27; color: #0a1f44; font-size: 1rem; transition: background .25s; }
.bss-li-btn .bi-arrow-up-right { font-size: .85rem; transition: transform .25s; }
.bss-li-btn:hover, .bss-li-btn:focus-visible { background: #c59b27; border-color: #c59b27; color: #0a1f44; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(197, 155, 39, .35); }
.bss-li-btn:hover .bss-li-btn-icon, .bss-li-btn:focus-visible .bss-li-btn-icon { background: #0a1f44; color: #ffd230; }
.bss-li-btn:hover .bi-arrow-up-right { transform: translate(2px, -2px); }
.bss-li-btn:focus-visible { outline: 3px solid #ffd230; outline-offset: 3px; }

/* Faculty cards: Ask + LinkedIn "Connect" side by side */
.bss-dept-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.bss-li-btn--sm { gap: .45rem; padding: .25rem .9rem .25rem .25rem; font-size: .78rem; box-shadow: 0 6px 14px rgba(10, 31, 68, .18); }
.bss-li-btn--sm .bss-li-btn-icon { width: 28px; height: 28px; font-size: .85rem; }

/* Blog: navy & gold covers are 16:9 with the title built in – show them whole */
.bss-program-img:has(img[src*="/blog-covers/"]) { aspect-ratio: 16 / 9; background: #0a1f44; }
.bss-program-img:has(img[src*="/blog-covers/"]) .bss-chip { display: none; }
.bss-featured-img:has(img[src*="/blog-covers/"]) { min-height: 0; aspect-ratio: 16 / 9; background: #0a1f44; align-self: center; }
.bss-featured-post:has(img[src*="/blog-covers/"]) { background: #fff; border-color: rgba(197, 155, 39, .4); }

/* Life @ BSS: year tabs + photo grid */
.bss-yg-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.bss-yg-tab { border: 1px solid #cbd5e1; background: #fff; color: #0a1f44; border-radius: 999px; padding: .5rem 1.1rem; font-size: .85rem; font-weight: 700; }
.bss-yg-tab span { display: inline-block; margin-left: .3rem; padding: 0 .45em; border-radius: 999px; background: #e2e8f0; color: #475569; font-size: .7rem; }
.bss-yg-tab:hover { border-color: #c59b27; }
.bss-yg-tab.is-active { background: #0a1f44; border-color: #0a1f44; color: #ffd230; box-shadow: 0 8px 18px rgba(10, 31, 68, .2); }
.bss-yg-tab.is-active span { background: #c59b27; color: #0a1f44; }
.bss-yg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.bss-yg-item { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #e2e8f0; box-shadow: 0 6px 16px rgba(10, 31, 68, .08); }
.bss-yg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.bss-yg-item:hover img { transform: scale(1.06); }
.bss-yg-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10, 31, 68, .55)); opacity: 0; transition: opacity .3s; }
.bss-yg-item:hover::after, .bss-yg-item:focus-visible::after { opacity: 1; }
.bss-yg-badge { position: absolute; left: .55rem; top: .55rem; z-index: 1; padding: .15rem .55rem; border-radius: 999px; background: rgba(10, 31, 68, .85); color: #ffd230; font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
@media (max-width: 991.98px) { .bss-yg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .bss-yg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } }

/* Life @ BSS: YouTube videos (thumbnail first, player loads on click) */
.bss-vid { margin-top: 2.5rem; }
.bss-vid-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.bss-vid-head h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 800; color: #0a1f44; font-size: 1.4rem; }
.bss-vid-head h3 i { color: #ff0000; margin-right: .3rem; }
.bss-vid-sub { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; background: #0a1f44; color: #ffd230; font-weight: 700; font-size: .85rem; text-decoration: none; }
.bss-vid-sub:hover { background: #c59b27; color: #0a1f44; }
.bss-vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.bss-vid-card { margin: 0; border-radius: 16px; overflow: hidden; background: #0a1f44; border: 1px solid rgba(197, 155, 39, .35); box-shadow: 0 12px 26px rgba(10, 31, 68, .15); }
.bss-vid-play, .bss-vid-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; }
.bss-vid-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .4s; }
.bss-vid-play:hover img { opacity: 1; transform: scale(1.03); }
.bss-vid-btn { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: #c59b27; color: #0a1f44; font-size: 2rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .25s, background .25s; }
.bss-vid-play:hover .bss-vid-btn, .bss-vid-play:focus-visible .bss-vid-btn { transform: scale(1.1); background: #ffd230; }
.bss-vid-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; color: #fff; font-size: .88rem; font-weight: 600; }
.bss-vid-card figcaption a { flex: none; color: #ffd230; font-size: .78rem; text-decoration: none; }
@media (max-width: 767.98px) { .bss-vid-grid { grid-template-columns: 1fr; } }

/* Life @ BSS: event albums */
.bss-alb-bar { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-bottom: 1.75rem; }
.bss-alb-bar .bss-yg-tabs { margin-bottom: 0; }
.bss-alb-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.bss-alb-cat { border: 0; background: transparent; color: #475569; padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.bss-alb-cat:hover { color: #0a1f44; background: #f1f5f9; }
.bss-alb-cat.is-active { background: rgba(197, 155, 39, .16); color: #8a6a12; }
.bss-alb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.bss-album { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 10px 26px rgba(10, 31, 68, .08); transition: transform .3s, box-shadow .3s, border-color .3s; }
.bss-album:hover { transform: translateY(-6px); border-color: #c59b27; box-shadow: 0 20px 40px rgba(10, 31, 68, .16); }
.bss-album-cover { position: relative; display: block; aspect-ratio: 770 / 425; overflow: hidden; background: #0a1f44; }
.bss-album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bss-album:hover .bss-album-cover img { transform: scale(1.06); }
.bss-album-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(10, 31, 68, .7)); }
.bss-album-count { position: absolute; right: .7rem; top: .7rem; z-index: 1; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(10, 31, 68, .85); color: #ffd230; font-size: .72rem; font-weight: 800; }
.bss-album-open { position: absolute; left: .9rem; bottom: .8rem; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-size: .8rem; font-weight: 700; opacity: .9; }
.bss-album-body { padding: 1rem 1.2rem 1.25rem; }
.bss-album-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.bss-album-cat { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a17c14; }
.bss-album-year { padding: .12rem .55rem; border-radius: 999px; background: #0a1f44; color: #ffd230; font-size: .7rem; font-weight: 800; }
.bss-album h3 { font-family: "Playfair Display", Georgia, serif; font-size: 1.12rem; font-weight: 700; color: #0a1f44; margin: 0 0 .3rem; }
.bss-album p { margin: 0; font-size: .84rem; color: #64748b; line-height: 1.5; }
.bss-alb-empty { text-align: center; color: #64748b; padding: 2rem 0; }
@media (max-width: 991.98px) { .bss-alb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .bss-alb-grid { grid-template-columns: 1fr; } }

/* YouTube Shorts (vertical) + videos on dark sections */
.bss-vid-grid--shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bss-vid-play.is-short, .bss-vid-frame.is-short { aspect-ratio: 9 / 16; }
.bss-vid-tag { position: absolute; left: .6rem; top: .6rem; padding: .15rem .55rem; border-radius: 6px; background: #ff0000; color: #fff; font-size: .68rem; font-weight: 800; }
.bss-vid-card figcaption span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bss-vid-card figcaption a { font-size: 1.1rem; }
.bss-vid-on-dark .bss-vid-head h3 { color: #fff; }
@media (max-width: 991.98px) { .bss-vid-grid--shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .bss-vid-grid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Admission procedure, student clubs, alumni videos, academic partners (home) ---------- */
.bss-adm-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.bss-adm-step { position: relative; z-index: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; padding: 0 1.25rem 1.4rem; text-align: center; box-shadow: 0 10px 26px rgba(10, 31, 68, .06); transition: transform .25s, box-shadow .25s; }
.bss-adm-step:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(10, 31, 68, .14); }
.bss-adm-img { position: relative; display: block; margin: 0 -1.25rem; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1f44; }
.bss-adm-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.bss-adm-step:hover .bss-adm-img img { transform: scale(1.06); }
.bss-adm-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 68, 0) 45%, rgba(10, 31, 68, .55) 100%); }
.bss-adm-step-tag { position: absolute; top: .75rem; left: .75rem; z-index: 1; background: #c59b27; color: #0a1f44; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.bss-adm-icon { position: relative; z-index: 2; width: 64px; height: 64px; margin: -32px auto .9rem; border-radius: 50%; display: grid; place-items: center; background: #0a1f44; color: #ffd230; font-size: 1.5rem; border: 3px solid #c59b27; box-shadow: 0 8px 18px rgba(10, 31, 68, .25); }
.bss-adm-step h3 { font-size: 1.1rem; font-weight: 800; color: #0a1f44; margin-bottom: .45rem; }
.bss-adm-step p { color: #475569; font-size: .9rem; margin: 0; }
@media (max-width: 991.98px) { .bss-adm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .bss-adm-steps { grid-template-columns: 1fr; } }

.bss-club-card { display: flex; flex-direction: column; width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(197, 155, 39, .35); border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; transition: transform .25s, border-color .25s, background .25s; }
.bss-club-card:hover { transform: translateY(-5px); border-color: #ffd230; background: rgba(255, 255, 255, .1); color: #fff; }
.bss-club-card-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #051329; }
.bss-club-card-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bss-club-card-icon { position: absolute; left: 1rem; bottom: -24px; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 3px solid #c59b27; display: grid; place-items: center; z-index: 1; }
.bss-club-card-icon img { width: 28px; height: 28px; object-fit: contain; }
.bss-club-card-body { display: flex; flex-direction: column; flex-grow: 1; padding: 2.1rem 1.1rem 1.2rem; }
.bss-club-card-name { font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 1.15rem; margin-bottom: .35rem; }
.bss-club-card-text { color: #cbd5e1; font-size: .88rem; flex-grow: 1; margin-bottom: .9rem; }
.bss-club-card-cta { color: #ffd230; font-weight: 700; font-size: .85rem; }

.bss-alumni-vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.bss-alumni-vid { margin: 0; background: #0a1f44; border-radius: 16px; overflow: hidden; border: 1px solid rgba(197, 155, 39, .4); box-shadow: 0 12px 28px rgba(10, 31, 68, .12); }
.bss-alumni-vid video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 440px; object-fit: cover; background: #051329; }
.bss-alumni-vid figcaption { padding: .65rem .9rem; color: #ffd230; font-weight: 700; font-size: .85rem; }

.bss-acad { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.bss-acad-item { flex: 0 1 220px; min-height: 110px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; display: grid; place-items: center; padding: 1rem 1.25rem; box-shadow: 0 8px 20px rgba(10, 31, 68, .05); }
.bss-acad-item img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.bss-acad-name { font-weight: 800; color: #0a1f44; text-align: center; font-size: .95rem; }

/* Students Club page ------------------------------------------------------ */
.bss-clubs-band { background: #fff; border-bottom: 1px solid #e2e8f0; }
.bss-clubs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bss-clubs-stats > div { padding: 1.4rem 1rem; text-align: center; border-right: 1px solid #e2e8f0; }
.bss-clubs-stats > div:last-child { border-right: 0; }
.bss-clubs-stats strong { display: block; font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 1.6rem; color: #0a1f44; line-height: 1.1; }
.bss-clubs-stats span { color: #64748b; font-size: .85rem; }
@media (max-width: 767.98px) { .bss-clubs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bss-clubs-stats > div:nth-child(2) { border-right: 0; } .bss-clubs-stats > div:nth-child(-n+2) { border-bottom: 1px solid #e2e8f0; } }

.bss-clubx { scroll-margin-top: 90px; }
.bss-clubx-media { position: relative; margin: 0; border-radius: 20px; overflow: visible; }
.bss-clubx-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 22px 44px rgba(10, 31, 68, .18); border: 4px solid #fff; outline: 2px solid rgba(197, 155, 39, .55); }
.bss-clubx-badge { position: absolute; left: -14px; bottom: -14px; width: 76px; height: 76px; border-radius: 50%; background: #fff; border: 3px solid #c59b27; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(10, 31, 68, .3); }
.bss-clubx-badge img { width: 40px; height: 40px; object-fit: contain; }
.bss-clubx-num { position: absolute; top: -18px; right: 18px; font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 3.2rem; line-height: 1; color: #c59b27; text-shadow: 0 2px 0 #fff; }
.bss-clubx-title { font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: #0a1f44; margin: .9rem 0 .4rem; }
.bss-clubx-tag { font-family: "Playfair Display", Georgia, serif; font-style: italic; color: #a5821f; font-size: 1.15rem; margin-bottom: .9rem; }
.bss-clubx-text { color: #475569; margin-bottom: 1.1rem; }
.bss-clubx-sub { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #0a1f44; margin-bottom: .6rem; }
.bss-clubx-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.bss-clubx-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; background: #0a1f44; color: #fff; font-size: .82rem; font-weight: 600; }
.bss-clubx-chips li i { color: #ffd230; }
.bss-clubx-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 2.5rem; }
.bss-clubx-ph { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #0a1f44; }
.bss-clubx-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, opacity .3s; }
.bss-clubx-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 68, 0) 50%, rgba(10, 31, 68, .6)); opacity: 0; transition: opacity .3s; }
.bss-clubx-zoom { position: absolute; right: .6rem; bottom: .6rem; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: #c59b27; color: #0a1f44; display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.bss-clubx-ph:hover img { transform: scale(1.07); }
.bss-clubx-ph:hover::after, .bss-clubx-ph:hover .bss-clubx-zoom { opacity: 1; transform: none; }
@media (max-width: 991.98px) { .bss-clubx-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .bss-clubx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bss-clubx-badge { left: 8px; } }

.bss-clubs-posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.bss-clubs-posters a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(197, 155, 39, .4); transition: transform .25s; }
.bss-clubs-posters a:hover { transform: translateY(-4px); }
.bss-clubs-posters img { width: 100%; height: auto; display: block; }
@media (max-width: 767.98px) { .bss-clubs-posters { grid-template-columns: 1fr; } }

/* Faculty page – subject showcase & portrait cards ---------------------- */
.bss-dept-areas { padding: 3.5rem 0 2.5rem; background: #fff; }
.bss-dept-areas-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.bss-dept-areas-head h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 800; color: #0a1f44; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .6rem 0 .4rem; }
.bss-dept-areas-head p:last-child { color: #64748b; margin: 0; }
.bss-dept-eyebrow--dark { color: #0a1f44 !important; background: rgba(197, 155, 39, .12) !important; border-color: rgba(197, 155, 39, .45) !important; }
.bss-area-card { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.1rem 1.2rem; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.bss-area-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #c59b27, #ffd230); }
.bss-area-card:hover { transform: translateY(-4px); border-color: #c59b27; box-shadow: 0 16px 34px rgba(10, 31, 68, .12); }
.bss-area-icon { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #0a1f44; color: #ffd230; font-size: 1.5rem; transition: transform .25s; }
.bss-area-card:hover .bss-area-icon { transform: rotate(-6deg) scale(1.05); }
.bss-area-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.bss-area-code { font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: #a5821f; }
.bss-area-name { font-weight: 800; color: #0a1f44; font-size: 1.02rem; line-height: 1.25; }
.bss-area-prog { color: #64748b; font-size: .8rem; margin-top: .15rem; }
.bss-area-count { flex: none; text-align: center; color: #64748b; font-size: .72rem; line-height: 1.1; }
.bss-area-count strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; color: #0a1f44; }

.bss-dept-why { background: linear-gradient(180deg, #0a1f44, #071630); padding: 1.6rem 0; }
.bss-why-item { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; color: #fff; padding: .4rem 0; }
.bss-why-item i { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(197, 155, 39, .15); border: 1px solid rgba(255, 210, 48, .45); color: #ffd230; font-size: 1.2rem; }
.bss-why-item strong { font-weight: 800; font-size: .98rem; }
.bss-why-item span { color: #cbd5e1; font-size: .8rem; }

.bss-fc { border-top: 4px solid #c59b27; }
.bss-fc-photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: linear-gradient(160deg, #0a1f44, #142f63); }
.bss-fc-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; transition: transform .5s; }
.bss-fc:hover .bss-fc-photo > img { transform: scale(1.05); }
.bss-fc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 68, 0) 45%, rgba(10, 31, 68, .92) 100%); pointer-events: none; }
.bss-fc-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 4.5rem; color: #ffd230; letter-spacing: .04em; }
.bss-fc-chip { position: absolute; top: .9rem; left: .9rem; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; background: rgba(255, 255, 255, .94); color: #0a1f44; font-size: .7rem; font-weight: 800; letter-spacing: .03em; padding: .3rem .65rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.bss-fc-chip i { color: #a5821f; }
.bss-fc-ov { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.3rem 1.1rem; }
.bss-fc-name { font-family: "Playfair Display", Georgia, serif; font-weight: 800; color: #fff; font-size: 1.35rem; margin: 0 0 .15rem; }
.bss-fc-role { color: #ffd230; font-size: .82rem; font-weight: 600; margin: 0; line-height: 1.35; }
.bss-fc .bss-dept-bio { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Infrastructure page ------------------------------------------------------ */
.bss-campus-card { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px rgba(10, 31, 68, .08); transition: transform .25s, box-shadow .25s; }
.bss-campus-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(10, 31, 68, .14); }
.bss-campus-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1f44; }
.bss-campus-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.bss-campus-card:hover .bss-campus-img img { transform: scale(1.04); }
.bss-campus-tag { position: absolute; top: 1rem; left: 1rem; background: #c59b27; color: #0a1f44; font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.bss-campus-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex-grow: 1; }
.bss-campus-body h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 800; color: #0a1f44; font-size: 1.5rem; margin-bottom: .5rem; }
.bss-campus-body h3 small { display: block; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: .82rem; font-weight: 700; color: #a5821f; margin-top: .2rem; }
.bss-campus-body p { color: #475569; }
.bss-campus-body address { display: flex; gap: .5rem; color: #334155; font-size: .88rem; background: #f8fafc; border-left: 3px solid #c59b27; padding: .7rem .9rem; border-radius: 8px; margin-bottom: 1.1rem; flex-grow: 1; align-items: flex-start; }
.bss-campus-body address i { color: #c59b27; margin-top: .15rem; }

.bss-fac-card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.bss-fac-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(10, 31, 68, .13); }
.bss-fac-img { aspect-ratio: 16 / 10; overflow: hidden; background: #0a1f44; }
.bss-fac-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.bss-fac-card:hover .bss-fac-img img { transform: scale(1.06); }
.bss-fac-img.is-icon { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #173a78, #0a1f44 70%); }
.bss-fac-img.is-icon i { font-size: 4.5rem; color: #ffd230; opacity: .9; }
.bss-fac-icon { position: relative; z-index: 1; width: 56px; height: 56px; margin: -28px 0 0 1.4rem; border-radius: 14px; display: grid; place-items: center; background: #0a1f44; color: #ffd230; font-size: 1.4rem; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(10, 31, 68, .25); }
.bss-fac-body { padding: .9rem 1.4rem 1.4rem; }
.bss-fac-body h3 { font-weight: 800; color: #0a1f44; font-size: 1.12rem; margin-bottom: .35rem; }
.bss-fac-body p { color: #475569; font-size: .9rem; margin: 0; }

.bss-infra-hostel-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 3px solid rgba(197, 155, 39, .6); box-shadow: 0 22px 44px rgba(0, 0, 0, .3); }
.bss-hn-sec--navy .bss-clubx-chips li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(197, 155, 39, .4); }

/* Home – "World-Class Spaces" amenities list */
.bss-hn-amen-label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a5821f; margin: .2rem 0 .5rem; }
.bss-hn-amen { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.bss-hn-amen li { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; color: #334155; line-height: 1.45; }
.bss-hn-amen li i { color: #c59b27; margin-top: .1rem; flex: none; }

/* Home – Notice Board ------------------------------------------------------ */
.bss-hn-notice-sec { padding-top: 3rem; padding-bottom: 3rem; }
.bss-nb { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 38px rgba(10, 31, 68, .08); }
.bss-nb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: linear-gradient(135deg, #0a1f44, #142f63); color: #fff; border-bottom: 3px solid #c59b27; }
.bss-nb-bell { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #c59b27; color: #0a1f44; font-size: 1.25rem; animation: bssBell 3s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes bssBell { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }
.bss-nb-title { font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 1.45rem; color: #fff; margin: 0; }
.bss-nb-sub { margin: 0; color: #cbd5e1; font-size: .8rem; display: flex; align-items: center; gap: .4rem; }
.bss-nb-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: bssLive 1.8s infinite; }
@keyframes bssLive { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.bss-nb-tabs { display: flex; flex-wrap: wrap; gap: .35rem; background: rgba(255, 255, 255, .08); padding: .3rem; border-radius: 12px; }
.bss-nb-tabs button { border: 0; background: transparent; color: #e2e8f0; font-size: .78rem; font-weight: 700; padding: .4rem .8rem; border-radius: 9px; }
.bss-nb-tabs button.is-active { background: #ffd230; color: #0a1f44; }
.bss-nb-body { flex-grow: 1; max-height: 430px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c59b27 #f1f5f9; }
.bss-nb-list { list-style: none; margin: 0; padding: 0; }
.bss-nb-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px dashed #e2e8f0; transition: background .2s; }
.bss-nb-item:hover { background: #fffbeb; }
.bss-nb-item.is-upcoming { background: linear-gradient(90deg, rgba(255, 210, 48, .12), transparent 60%); }
.bss-nb-date { flex: none; width: 58px; height: 62px; border-radius: 12px; background: #0a1f44; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; border-bottom: 3px solid #c59b27; }
.bss-nb-date strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; color: #ffd230; }
.bss-nb-date span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }
.bss-nb-date i { font-size: 1.4rem; color: #ffd230; }
.bss-nb-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.bss-nb-meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.bss-nb-type { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #0a1f44; background: #f1f5f9; padding: .18rem .5rem; border-radius: 6px; }
.bss-nb-type--admission { background: #fef3c7; color: #92400e; }
.bss-nb-type--event { background: #e0e7ff; color: #1e3a8a; }
.bss-nb-flag { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .18rem .5rem; border-radius: 6px; background: #c59b27; color: #0a1f44; }
.bss-nb-flag--done { background: #e2e8f0; color: #64748b; }
.bss-nb-flag--pin { background: #0a1f44; color: #ffd230; }
.bss-nb-flag--new { background: #dc2626; color: #fff; animation: bssBlink 1.6s ease-in-out infinite; }
@keyframes bssBlink { 50% { opacity: .55; } }
.bss-nb-text { font-weight: 700; color: #0a1f44; line-height: 1.35; }
.bss-nb-when { font-size: .78rem; color: #64748b; }
.bss-nb-go { flex: none; border: 1px solid #c59b27; background: #fff; color: #0a1f44; font-weight: 700; font-size: .78rem; padding: .4rem .8rem; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.bss-nb-go:hover { background: #ffd230; color: #0a1f44; }
.bss-nb-empty { margin: 0; padding: 1.4rem; color: #475569; display: flex; gap: .5rem; align-items: center; }
.bss-nb-empty i { color: #c59b27; font-size: 1.3rem; }
.bss-nb-foot { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.4rem; background: #f8fafc; border-top: 1px solid #e2e8f0; font-size: .8rem; color: #64748b; }
.bss-nb-foot a { font-weight: 700; color: #0a1f44; text-decoration: none; }
.bss-nb-side { width: 100%; border-radius: 20px; padding: 1.8rem 1.6rem; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(255, 210, 48, .18), transparent 45%), linear-gradient(160deg, #0a1f44, #051329); border: 1px solid rgba(197, 155, 39, .45); display: flex; flex-direction: column; justify-content: center; }
.bss-nb-side .bss-hn-pill { color: #ffd230; background: rgba(197, 155, 39, .14); align-self: flex-start; }
.bss-nb-side h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 1.6rem; margin: 1rem 0 .6rem; color: #fff; }
.bss-nb-side p { color: #cbd5e1; margin-bottom: 1.3rem; }
@media (max-width: 575.98px) { .bss-nb-item { flex-wrap: wrap; } .bss-nb-go { margin-left: calc(58px + 1rem); } }
@media (prefers-reduced-motion: reduce) { .bss-nb-bell, .bss-nb-live, .bss-nb-flag--new { animation: none; } }

/* Event cards with photos (home) + timeline thumbnails (events page) */
.bss-hn-event.has-img { padding-top: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.bss-hn-event.has-img:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10, 31, 68, .12); }
.bss-hn-event-img { margin: 0 -1.25rem 1rem; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1f44; }
.bss-hn-event-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.bss-hn-event.has-img:hover .bss-hn-event-img img { transform: scale(1.06); }
.bss-tl-thumb { flex: none; width: 120px; height: 80px; object-fit: cover; border-radius: 10px; border: 2px solid rgba(197, 155, 39, .5); }
@media (max-width: 575.98px) { .bss-tl-thumb { width: 84px; height: 60px; } }

/* Academic partners – university name on hover */
.bss-acad-item { position: relative; overflow: hidden; cursor: default; transition: transform .3s, box-shadow .3s, border-color .3s; }
.bss-acad-item > img { transition: transform .35s, filter .35s; }
.bss-acad-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .8rem; text-align: center; font-weight: 800; font-size: .88rem; line-height: 1.3; color: #fff; background: linear-gradient(160deg, rgba(10, 31, 68, .96), rgba(20, 47, 99, .96)); border-top: 3px solid #c59b27; transform: translateY(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.bss-acad-label i { color: #ffd230; font-size: 1.2rem; }
.bss-acad-item:hover, .bss-acad-item:focus-visible { transform: translateY(-5px); border-color: #c59b27; box-shadow: 0 18px 36px rgba(10, 31, 68, .16); outline: none; }
.bss-acad-item:hover .bss-acad-label, .bss-acad-item:focus-visible .bss-acad-label { transform: translateY(0); }
.bss-acad-item:hover > img { transform: scale(.92); filter: blur(1px); }
@media (hover: none) { .bss-acad-label { transform: translateY(0); background: none; border: 0; position: static; color: #0a1f44; font-size: .75rem; padding: .5rem 0 0; } .bss-acad-label i { display: none; } .bss-acad-item { display: flex; flex-direction: column; } }

/* Notice board auto-scroll: hide the scrollbar while it moves, fade the edges */
.bss-nb-body { scrollbar-width: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%); }
.bss-nb-body::-webkit-scrollbar { display: none; }
.bss-nb-body:hover { scrollbar-width: thin; }

/* Home – Global industrial tour ------------------------------------------- */
.bss-iv-sec { background: linear-gradient(180deg, #fff, #f8fafc); }
.bss-iv-text { color: #475569; line-height: 1.75; }
.bss-iv-sub { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a5821f; margin: 1.2rem 0 .6rem; }
.bss-iv-places { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.bss-iv-places li { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; color: #0a1f44; font-size: .82rem; font-weight: 700; }
.bss-iv-places li i { color: #c59b27; }
.bss-iv-places li.is-intl { background: #0a1f44; border-color: #0a1f44; color: #fff; }
.bss-iv-places li.is-intl i { color: #ffd230; }
.bss-iv-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(3, 1fr); gap: .9rem; min-height: 470px; }
.bss-iv-tile { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #0a1f44; box-shadow: 0 14px 30px rgba(10, 31, 68, .14); }
.bss-iv-tile:first-child { grid-row: span 3; }
.bss-iv-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.bss-iv-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 68, 0) 45%, rgba(10, 31, 68, .85)); }
.bss-iv-tile:hover img { transform: scale(1.07); }
.bss-iv-badge { position: absolute; top: .8rem; left: .8rem; z-index: 1; display: inline-flex; align-items: center; gap: .35rem; background: rgba(255, 255, 255, .94); color: #0a1f44; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; }
.bss-iv-badge i { color: #a5821f; }
.bss-iv-badge.is-intl { background: #c59b27; color: #0a1f44; }
.bss-iv-badge.is-intl i { color: #0a1f44; }
.bss-iv-place { position: absolute; left: 1rem; bottom: .85rem; z-index: 1; font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 1.35rem; color: #fff; }
.bss-iv-tile:first-child .bss-iv-place { font-size: 1.8rem; }
@media (max-width: 575.98px) { .bss-iv-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; } .bss-iv-tile { aspect-ratio: 4 / 3; } .bss-iv-tile:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; } }

/* IIM certificate tag next to program names */
.bss-cert-tag { display: inline-flex; align-items: center; gap: .3rem; margin-left: .4rem; padding: .12rem .5rem; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.bss-cert-tag i { color: #c59b27; }
.bss-hn-course-body .bss-cert-tag { align-self: flex-start; margin: .1rem 0 .45rem; }
