@import url("theme_settings/theme_settings.css");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
    /* Theme tokens — every reference includes a diagnostic fallback so
       a missing theme_settings.css is visually obvious during review. */
    --color-1:        var(--color-1-theme, #00ff00);
    --color-2:        var(--color-2-theme, #ff00ff);
    --color-over-1:   var(--color-over-1-theme, #000000);
    --color-over-2:   var(--color-over-2-theme, #ffffff);
    --color-1-isDark: var(--color-1-theme-isDark, 0);
    --color-2-isDark: var(--color-2-theme-isDark, 0);

    /* Breakpoint tokens — media queries can't read custom properties,
       so the rem values repeat in @media (min-width: …) below. */
    --size-sm: 48rem;     /* tablet */
    --size-md: 64rem;     /* desktop */
    --size-lg: 85.375rem; /* large desktop */
    --size-xl: 120rem;    /* max content width */

    /* Design-specific tokens */
    --surface-neutral: #EBEBEB;
    --text-literal: #000000;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Lato', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-literal);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0;
}

/* Title Motto — 56/84 SemiBold, hero headline only */
.site-title-motto { font-size: 3.5rem; line-height: 1.5; }

/* H1 — 48/72 SemiBold */
h1, .site-h1 { font-size: 3rem; line-height: 1.5; }

/* H2 — 34/51 SemiBold, homepage section headings */
h2, .site-h2 { font-size: 2.125rem; line-height: 1.5; }

/* H3 — 22/33 Regular, sub-headings and card titles */
h3, .site-h3 { font-size: 1.375rem; line-height: 1.5; font-weight: 400; }

/* Body 18/27 primary, Body 16/24 secondary */
.site-body-lg { font-size: 1.125rem; line-height: 1.5; }
.site-body-sm { font-size: 1rem; line-height: 1.5; }

html { height: 100%; }

body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.site-header,
.site-footer { flex: none; }

#content_main {
    flex: 1 0 auto;
    width: 100%;
    box-sizing: border-box;
    max-width: var(--inside-content-max, var(--size-lg));
    padding: var(--inside-content-pad-y, 1.5rem) var(--inside-content-pad-x, clamp(0.5rem, 5%, 3rem));
    margin-inline: auto;
    background-color: #fff;
}

/* Homepage reset — the .site-homepage wrapper in index.jsp gates this. */
body:has(.site-homepage) #content_main {
    max-width: none;
    padding: 0;
    background-color: transparent;
}

/* CMS-rendered page title on inside pages. margin-block keeps the
   CMS-supplied inline margins (which center the title on wide
   viewports) intact. Literal black per design — not a themed surface. */
.pageTitle {
    color: var(--text-literal);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.5;
    margin-block: 0 1.5rem;
}

.site-header .site-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.5rem 1rem;
    background-color: var(--color-1);
    color: var(--color-over-1);
    text-decoration: none;
}
.site-header .site-skip-link:focus-visible {
    left: 0;
}

/* Screen-reader-only text. The CMS system stylesheet also defines
   .hidden-text with the same technique; declaring it here keeps the
   pattern available regardless of system-stylesheet load order. */
.hidden-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ============================================================
   Header
   ============================================================ */

/* [Structural] provides the containing block for the mobile menu
   toggle and the absolutely-positioned mobile nav-menu overlay. */
.site-header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "supp"
        "identity"
        "nav";
    border-top: 44px solid var(--color-2);
}

.site-header__supplementary {
    grid-area: supp;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 0.5rem 3.5rem 0.5rem 1rem; /* right clearance for the menu toggle */
    background-color: var(--color-1);
}
.site-header__supplementary .site-header__util-link {
    color: var(--color-over-1);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.375rem;
    text-decoration: underline;
    text-transform: uppercase;
}
.site-header__supplementary .site-header__apply-btn {
    background-color: var(--color-2);
    color: var(--color-over-2);
    font-family: var(--font-body);
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
}
.site-header__supplementary .site-header__apply-btn:hover,
.site-header__supplementary .site-header__apply-btn:focus-visible {
    background-color: #fff;
    color: #000;
}

#google_translate_element {
    display: none;
    background-color: #fff;
    padding: 0.25rem 0.5rem;
}
@media (min-width: 64rem) {
    #google_translate_element { display: block; }
}

.site-header__identity {
    grid-area: identity;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background-color: var(--color-1);
}
.site-header__logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.site-header__logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
/* Hardcoded per Figma node 3072:1478 — two lines, two type scales,
   not ec.getWebsiteName(). See design-decisions.md's Header entry. */
.site-header__wordmark {
    display: flex;
    flex-direction: column;
    color: var(--color-over-1);
    text-transform: uppercase;
}
.site-header__wordmark-line1 { font-family: var(--font-heading); font-weight: 600; font-size: 2.125rem; line-height: 1.5; }
.site-header__wordmark-line2 { font-family: var(--font-heading); font-weight: 400; font-size: 1.375rem; line-height: 1.5; }

/* Mobile hamburger toggle — [Structural] absolute relative to .site-header, never the nav.
   Sits in the 44px border-top band added to .site-header at <64rem. */
.menu-toggle {
    position: absolute;
    top: -44px;
    right: 0;
    width: 2.75rem;
    height: 2.75rem;
    background-color: var(--color-2);
    border: 0;
    color: var(--color-over-2);
    z-index: 60;
}
.menu-toggle::after {
    font-family: 'Material Symbols Outlined';
    content: 'menu';
    font-size: 1.75rem;
    text-transform: none;
}
.menu-toggle[aria-expanded="true"]::after { content: 'close'; }

/* --- Nav: shared structure across mobile and desktop --- */
.site-nav { grid-area: nav; }
.site-nav .nav-menu { list-style: none; margin: 0; padding: 0; }

.site-nav .nav-item.dropdown,
.site-nav .sub-menu-item.dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}
.site-nav a.nav-item-inner,
.site-nav div.nav-item-inner {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-over-2);
    font-family: var(--font-body);
    font-size: 1rem;
    text-decoration: none;
}
.site-nav a.nav-item-inner { text-decoration: underline; }
.site-nav .dropdown-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: none;
    border: 0;
    color: var(--color-over-2);
}
.site-nav .dropdown-toggle::after {
    font-family: 'Material Symbols Outlined';
    content: 'expand_more';
    font-size: 1.5rem;
    text-transform: none;
}
.site-nav .sub-menu-holder { display: none; grid-column: 1 / -1; }
.site-nav .sub-menu-holder:has(.sub-menu.show) { display: block; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.site-nav .sub-menu-item > a {
    display: block;
    padding: 0.75rem 1rem 0.75rem 2rem;
    color: var(--color-over-2);
    text-decoration: none;
}
.site-nav .sub-menu .sub-menu { display: none; grid-column: 1 / -1; }
.site-nav .sub-menu .sub-menu.show { display: block; }
.site-nav .sub-menu .sub-menu .sub-menu-item > a { padding-left: 3rem; }

/* Hover/focus — direct child combinators at every nesting level. */
.site-nav .nav-item > a.nav-item-inner:hover,
.site-nav .nav-item > a.nav-item-inner:focus-visible,
.site-nav .nav-item > .dropdown-toggle:hover,
.site-nav .nav-item > .dropdown-toggle:focus-visible,
.site-nav .sub-menu-item > a:hover,
.site-nav .sub-menu-item > a:focus-visible,
.site-nav .sub-menu-item > .dropdown-toggle:hover,
.site-nav .sub-menu-item > .dropdown-toggle:focus-visible {
    background-color: color-mix(in srgb, var(--color-2), black 15%);
}

/* --- Mobile nav (hamburger, always visible; only .nav-menu toggles) --- */
#sitenav_main { display: none; }
#sitenav_mobile .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-2);
    z-index: 50;
}
#sitenav_mobile .nav-menu.show { display: block; }

@media (min-width: 64rem) {
    .site-header {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "nav nav"
            "identity supp";
        border-top: 0;
    }
    .site-header__supplementary { justify-content: flex-end; padding-right: 1rem; }
    .site-header__identity { justify-content: flex-start; }

    #sitenav_mobile { display: none; }
    .menu-toggle { display: none; }
    #sitenav_main {
        display: block;
        background-color: var(--color-2);
    }
    #sitenav_main .nav-menu {
        display: flex;
    }
    #sitenav_main .nav-item { position: relative; }

    /* [Structural] Level-1 overlay: label and toggle share one grid cell
       so the whole item is one interactive surface. */
    #sitenav_main .nav-menu > .nav-item.dropdown {
        display: grid;
        grid-template-columns: 1fr;
    }
    #sitenav_main .nav-menu > .nav-item.dropdown > a.nav-item-inner,
    #sitenav_main .nav-menu > .nav-item.dropdown > div.nav-item-inner {
        grid-column: 1;
        grid-row: 1;
        margin-right: 2.75rem;
        position: relative;
        z-index: 1;
    }
    #sitenav_main .nav-menu > .nav-item.dropdown > div.nav-item-inner {
        pointer-events: none;
    }
    #sitenav_main .nav-menu > .nav-item > .dropdown-toggle {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        justify-content: flex-end;
    }
    #sitenav_main .nav-item:not(.dropdown) > a.nav-item-inner { padding-block: 0.75rem; }

    /* Level-2+: two-column side-by-side, toggle in its own column. */
    #sitenav_main .sub-menu-item.dropdown > .dropdown-toggle {
        grid-column: 2;
        grid-row: 1;
        width: auto;
    }

    /* [Structural] Level-2 dropdown panel — absolute, out of flow. */
    #sitenav_main .sub-menu-holder {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        min-width: 14rem;
        background-color: var(--color-2);
        z-index: 50;
    }
    #sitenav_main .sub-menu-holder:has(.sub-menu.show) { display: block; }
    #sitenav_main .sub-menu-item > a { padding-left: 1rem; }

    /* Drop-left: right-half top items open their panels right-aligned. */
    #sitenav_main .nav-item.drop-left .sub-menu-holder { left: auto; right: 0; }

    /* [Structural] Level-2 li with a level-3 child must be its own containing
       block — without this, the level-3 flyout's `position: absolute` falls
       back to the level-1 .nav-item ancestor (the next positioned one up)
       and renders offset against the wrong box, landing off-screen. */
    #sitenav_main .sub-menu-item.dropdown { position: relative; }

    /* [Structural] Level-3 flyout — no holder wrapper at this level. */
    #sitenav_main .sub-menu .sub-menu {
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 14rem;
    }
    #sitenav_main .drop-left .sub-menu-item.dropdown > .sub-menu {
        right: 100%;
        left: auto;
    }
    /* Desktop flyout is already a distinct panel — reset the mobile
       in-flow nesting indent (3rem) back down to level-2's compact 1rem. */
    #sitenav_main .sub-menu .sub-menu .sub-menu-item > a { padding-left: 1rem; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 4px solid var(--color-2); }

.site-footer__main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    background-color: var(--color-1);
    color: var(--color-over-1);
}

.site-footer__identity {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.site-footer__logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.site-footer__logo { width: 100px; height: 100px; border-radius: 50%; }
/* Hardcoded per Figma node 3072:1478 — two lines, two type scales,
   not ec.getWebsiteName(). See design-decisions.md's Header entry. */
.site-footer__wordmark {
    display: flex;
    flex-direction: column;
    color: var(--color-over-1);
    text-transform: uppercase;
}
.site-footer__wordmark-line1 { font-family: var(--font-heading); font-weight: 600; font-size: 2.125rem; line-height: 1.5; }
.site-footer__wordmark-line2 { font-family: var(--font-heading); font-weight: 400; font-size: 1.375rem; line-height: 1.5; }
.site-footer__nycps-logo { height: 2.5rem; width: auto; }

.site-footer__campuses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 31.25rem) {
    .site-footer__campuses { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 48rem) {
    .site-footer__campuses { grid-template-columns: repeat(3, 1fr); }
}
.site-footer__campus {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--color-over-1);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.5;
    font-style: normal;
}
.site-footer__campus-name {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.25em;
}
/* Two-class selector to beat the system stylesheet's a:link (equal
   specificity otherwise, and it loads after main.css) — see
   CSS_AUTHORING.md's System-CSS specificity note. */
.site-footer__campuses .site-footer__campus-phone {
    color: var(--color-over-1);
    text-decoration: none;
}

.site-footer__attribution {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-2);
    color: var(--color-over-2);
}
.site-footer__attribution a.site-footer__edlio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: inherit;
    text-decoration: none;
}
.site-footer__edlio-horiz svg { width: 140px; height: 20px; fill: currentColor; }
.site-footer__edlio-logo svg { height: 1.5rem; width: auto; fill: currentColor; }
.site-footer__attribution .site-footer__accessibility-link { color: var(--color-over-2); }

@media (min-width: 64rem) {
    .site-footer__attribution .site-footer__accessibility-link { margin-left: auto; }
    .site-footer__identity {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .site-footer__campuses {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================================================
   Homepage sections — shared patterns
   ============================================================ */

/* Section width constraint — section carries the background band,
   this inner wrapper caps content width and centers it. */
.site-section-inner {
    max-width: var(--size-lg);
    margin-inline: auto;
    padding-inline: clamp(0.5rem, 5%, 3rem);
    padding-block: 3rem;
}

.site-section-inner .site-cta-btn {
    display: inline-block;
    background-color: var(--color-2);
    color: var(--color-over-2);
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 2rem;
    margin-top: 1.5rem;
}
.site-section-inner .site-cta-btn:hover,
.site-section-inner .site-cta-btn:focus-visible {
    background-color: #fff;
    color: #000;
}

.swiper-container { position: relative; }
.swiper-container .swiper { width: 100%; }

/* Icon color treatment — canonical pattern shared by any icon-based
   surface rendering link.icon() (Links, social, infographic). */
.flat-icon-colors svg.color-flatten .color-fill { fill: currentColor; }
.flat-icon-colors svg.color-flatten .transparency-change { fill: transparent; }
.flat-icon-colors svg:not(.color-flatten) { fill: currentColor; }

/* Hide both nav buttons when a carousel has nothing to scroll to. */
.swiper-container:has(.swiper-button-prev.swiper-button-disabled):has(.swiper-button-next.swiper-button-disabled) .swiper-button {
    display: none;
}

/* ============================================================
   Hero
   ============================================================ */
.site-hero { position: relative; }
.site-hero__slide { margin: 0; }
/* Below 1024px: fill the viewport height left over after the header
   (532px is that header's height at these widths), so image + header
   together fill one screen and the overlay caption has a tall,
   predictable surface to center in. 1024px+: header height changes
   (desktop nav layout) and the image reverts to its own natural ratio. */
.site-hero .swiper-slide img {
    display: block;
    width: 100%;
    height: calc(100vh - 532px);
    min-height: 48rem;
    object-fit: cover;
}
@media (min-width: 64rem) {
    .site-hero .swiper-slide img {
        height: auto;
        min-height: 0;
    }
}

/* Caption overlays the full slide at every viewport — a 60%-black scrim
   behind title/body/CTA, centered. The admin's rich-text caption HTML is
   expected to use h2/h3 for the title, p for body copy, and p>a for the
   CTA link; figcaption itself only carries layout, never typography
   (its content is CMS rich text — see hero.md), so font and text
   properties go on the specific child tags instead. */
.site-hero figcaption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-inline: 1.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
}
.site-hero figcaption > * { max-width: 62.5rem; }
.site-hero figcaption :is(h2, h3) {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 3.5rem;
    line-height: 1.5;
    text-transform: uppercase;
    text-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
    margin: 0;
}
.site-hero figcaption p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.5;
    text-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
    margin: 0;
}
/* The CTA paragraph wraps only its link — give it the extra clearance
   the button needs above it, on top of the flex gap every child gets. */
.site-hero figcaption p:has(> a:only-child) { margin-top: 1rem; }
.site-hero figcaption p > a {
    display: inline-block;
    background-color: var(--color-2);
    color: var(--color-over-2);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    text-shadow: none;
    padding: 0.625rem 1.5rem;
    border-radius: 0.125rem;
}
.site-hero figcaption p > a:hover,
.site-hero figcaption p > a:focus-visible {
    background-color: #fff;
    color: #000;
}

/* [Structural] navigation-position-* only takes effect at 768px+ — on
   mobile, pagination stays at Swiper's default bottom position. */
@media (min-width: 48rem) {
    .navigation-position-top    { --swiper-pagination-top: 0.5rem; --swiper-pagination-bottom: auto; }
    .navigation-position-bottom { --swiper-pagination-bottom: 0.5rem; --swiper-pagination-top: auto; }
    .navigation-position-left   { --swiper-pagination-left: 0.5rem; --swiper-pagination-right: auto; }
    .navigation-position-right  { --swiper-pagination-right: 0.5rem; --swiper-pagination-left: auto; }
}

/* [Structural] mobile: force horizontal pagination when config sets vertical class */
@media (max-width: 767px) {
    .site-hero .swiper-pagination-vertical {
        flex-direction: row;
        width: auto;
    }
}

/* Bottom-right cluster holding the prev/next arrows and the autoplay
   toggle. All three buttons reset to position: initial below — this
   wrapper is their only positioning. */
.site-hero__controls {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}
/* Arrows show whenever autoplay isn't actively cycling slides — either no
   autoplay is configured for this shuffle, or the viewport is narrower
   than the width where autoplay activates (see the swiper config's
   autoplay breakpoint). Detecting "autoplay configured" from CSS alone:
   the toggle button only renders into the DOM when it is. */
@media (min-width: 64rem) {
    .site-hero:has(.swiper-autoplay-toggle-button) .swiper-button-prev,
    .site-hero:has(.swiper-autoplay-toggle-button) .swiper-button-next {
        display: none;
    }
}
/* color-1 themed: bg var(--color-1), icon var(--color-over-1) — the
   CMS-guaranteed accessible pair, so no separate fallback is needed.
   Swiper's bundled CSS never resets the <button> UA default border/
   padding on .swiper-button-prev/-next, so those still need an
   explicit reset here even though the background is intentional.
   position/inset/margin reset to initial — the buttons sit in the
   .site-hero__controls flex row instead of Swiper's default absolute
   corners. */
.site-hero .swiper-button-prev,
.site-hero .swiper-button-next {
    position: initial;
    inset: initial;
    margin: 0;
    width: 2.75rem;
    height: 2.75rem;
    --swiper-navigation-color: var(--color-over-1);
    background-color: var(--color-1);
    border: 0;
    padding: 0;
}
.site-hero .swiper-button-prev::after,
.site-hero .swiper-button-next::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    font-size: 2.5em;
}
.site-hero .swiper-button-prev::after { content: 'arrow_left'; }
.site-hero .swiper-button-next::after { content: 'arrow_right'; }

.site-hero {
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-text-color: #000;
}
.site-hero .numbered-pagination .swiper-pagination-bullet {
    place-content: center;
    color: var(--swiper-pagination-bullet-text-color);
}

/* position/inset/margin reset to initial — sits in .site-hero__controls'
   flex row instead of floating in its own bottom-right corner. */
.swiper-autoplay-toggle-button {
    display: none;
    position: initial;
    inset: initial;
    margin: 0;
    width: 2.75rem;
    height: 2.75rem;
    background: none;
    color: #fff;
    border: 0;
    padding: 0;
}
.swiper-autoplay-toggle-button::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    content: 'pause';
    text-transform: none;
    font-size: 2.5em;
}
.swiper-autoplay-toggle-button.paused::after { content: 'play_arrow'; }
/* Matches the swiper config's autoplay breakpoint — the toggle only
   appears where autoplay actually runs. */
@media (min-width: 64rem) {
    .swiper-autoplay-toggle-button { display: block; }
}

/* ============================================================
   Plain icon carousel arrows — shared by Events and News. No
   background/border shape — just the glyph. width/height stay for
   the touch-target minimum; border/background stay at reset values
   to neutralize the <button> UA default (buttonface bg, outset
   border) rather than draw a visible shape.
   ============================================================ */
.site-events__carousel .swiper-button,
.site-news__carousel .swiper-button {
    width: 2.75rem;
    height: 2.75rem;
    background-color: transparent;
    border: 0;
    padding: 0;
}
.site-events__carousel .swiper-button-prev::after,
.site-events__carousel .swiper-button-next::after,
.site-news__carousel .swiper-button-prev::after,
.site-news__carousel .swiper-button-next::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    font-size: 2.5em;
}
.site-events__carousel .swiper-button-prev::after,
.site-news__carousel .swiper-button-prev::after { content: 'arrow_left'; }
.site-events__carousel .swiper-button-next::after,
.site-news__carousel .swiper-button-next::after { content: 'arrow_right'; }

/* Controls row — arrows flank the "More X" CTA in one centered flexbox,
   shared by Events and News. The buttons stay inside #<container> so
   Swiper's auto-wired `#containerId .swiper-button-next` selector still
   finds them; only their position moves from Swiper's absolute overlay
   into normal flow alongside the CTA. */
.site-events__controls,
.site-news__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.site-events__controls .swiper-button,
.site-news__controls .swiper-button {
    position: initial;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 0;
}

/* ============================================================
   Events — neutral literal background, color-1 heading accent
   ============================================================ */
.site-events { background-color: var(--surface-neutral); }
.site-events__heading {
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.site-events__carousel .swiper-button {
    --swiper-navigation-color: var(--color-1);
}
.site-events__card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.25rem 1.25rem 0.625rem;
    background-color: #fff;
    border-left: 0.25rem solid var(--color-2);
}
.site-events__date {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0.125rem;
    background-color: var(--color-2);
}
/* filter applied on the leaf text node, not a wrapping row, per
   CSS_AUTHORING — filter creates a stacking context on whatever it's
   set on. */
.site-events__date-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}
.site-events__body {
    display: flex;
    flex: 1 0 0;
    min-width: 0;
    flex-direction: column;
    gap: 0.625rem;
}
.site-events__title { text-transform: uppercase; }
/* filter applied on the leaf <a>, not the h3 wrapper — see date-text note above. */
body .site-events__title a {
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
    text-decoration: none;
}
.site-events__meta { margin: 0; }
.site-events__time,
.site-events__location { font-size: 1.125rem; line-height: 1.5; color: var(--text-literal); margin: 0; }
/* Two-class selector to beat .site-section-inner .site-cta-btn's margin-top
   (equal specificity, later in source) — the controls row's own gap replaces it. */
.site-events__controls .site-events__more-btn { margin-top: 0; }

/* ============================================================
   News — primary theme contrast band, color-2 heading accent
   ============================================================ */
.site-news { background-color: var(--color-1); color: var(--color-over-1); }
.site-news__heading {
    color: var(--color-2);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.site-news__carousel .swiper-button {
    --swiper-navigation-color: var(--color-2);
}
.site-news__card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.site-news__thumb { width: 100%; height: 12rem; object-fit: cover; }
body .site-news__title a { color: var(--color-over-1); text-decoration: none; }
.site-news__summary { font-size: 1.125rem; line-height: 1.5; margin: 0; }
/* Two-class selector to beat .site-section-inner .site-cta-btn's margin-top
   (equal specificity, later in source) — the controls row's own gap replaces it. */
.site-news__controls .site-news__more-btn { margin-top: 0; }

/* ============================================================
   Principal's Message — Spotlight, primary theme contrast band,
   color-2 heading accent
   ============================================================ */
.site-spotlight { background-color: var(--color-1); color: var(--color-over-1); }
/* Heading lives inside .site-spotlight__text now, grouped with the
   quote/body/CTA it introduces, rather than centered above the whole
   two-column row — matches Figma node 3072:1546. */
.site-spotlight__heading {
    color: var(--color-2);
    text-transform: uppercase;
    margin: 0 0 1.25rem;
}
.site-spotlight__body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.site-spotlight__photo-wrap {
    position: relative;
    box-shadow: -10px -10px 0 0 var(--color-2);
}
.site-spotlight__photo { display: block; width: 100%; height: auto; }
/* Hardcoded name/title over the thumbnail — not CMS data; see
   design-decisions.md's Principal's Message entry. */
.site-spotlight__photo-caption {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    max-width: calc(100% - 2.5rem);
    padding: 0.625rem 1.25rem;
    background-color: var(--color-2);
    border-radius: 0.125rem;
}
.site-spotlight__photo-name {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.375rem;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--color-over-2);
}
.site-spotlight__photo-role,
.site-spotlight__photo-role p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-literal);
}
/* Hardcoded pull-quote — not CMS data; the actual spotlight body
   (principalMessage.body()) renders below it. */
.site-spotlight__quote {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    border-left: 0.25rem solid var(--color-2);
}
.site-spotlight__quote p { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.site-spotlight__text { font-size: 1.125rem; line-height: 1.5; }
.site-spotlight__text :is(h1, h2, h3, h4) { font-family: var(--font-heading); }

@media (min-width: 48rem) {
    .site-spotlight__body {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
    .site-spotlight__photo-wrap { width: 60%; max-width: 36.25rem; flex-shrink: 0; }
    .site-spotlight__text { flex: 1; }
}

/* ============================================================
   AAG — Infographics, neutral literal background + decorative
   photo-shuffle image (20% opacity) under a 60% neutral overlay
   ============================================================ */
.site-aag { position: relative; background-color: var(--surface-neutral); }
.site-aag__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}
.site-aag__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(235, 235, 235, 0.6);
}
.site-aag__inner { position: relative; }
.site-aag__heading {
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
    text-align: center;
    text-transform: uppercase;
    margin: 2.5rem 0 0;
}
.site-aag__facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.site-aag__fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}
.site-aag__facts { color: var(--color-1); }
.site-aag__fact-icon svg,
.site-aag__fact-icon img { width: 2.75rem; height: 2.75rem; }
.site-aag__fact-value {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
    font-size: 2.125rem;
}
.site-aag__fact-label { font-size: 1.125rem; line-height: 1.5; color: var(--text-literal); }

/* Divider — yellow (color-2) line either side of the school logo.
   The lines are ::before/::after on the flex row rather than extra
   markup; the logo itself still needs a real <img>. */
.site-aag__divider {
    display: flex;
    align-items: flex-start;
    margin-top: 2rem;
    padding-inline: 1rem;
}
.site-aag__divider::before,
.site-aag__divider::after {
    content: '';
    flex: 1 0 0;
    height: 0.625rem;
    background-color: var(--color-2);
}
.site-aag__divider-logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    background-color: var(--color-1);
}
.site-aag__divider-logo img { display: block; width: 100px; height: 100px; }

@media (min-width: 48rem) {
    .site-aag__facts { grid-template-columns: repeat(4, 1fr); }
    .site-aag__divider { padding-inline: 5rem; }
    .site-aag__divider-logo { padding-inline: 13.5rem; }
}

/* ============================================================
   Quick Links — neutral literal background, color-2 label bar
   ============================================================ */
.site-quicklinks { background-color: var(--surface-neutral); }
.site-quicklinks__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.site-quicklinks__item { width: 100%; }
.site-quicklinks__list .site-quicklinks__card {
    display: block;
    width: 100%;
    color: var(--text-literal);
    text-decoration: none;
}
.site-quicklinks__photo {
    display: block;
    width: 100%;
    height: 17.5rem;
    overflow: hidden;
    background-color: color-mix(in srgb, var(--color-1), white 70%);
}
/* The yellow line is a border on the image itself, not a separate
   element — box-sizing: border-box keeps the border inside the
   holder's fixed height instead of adding to it. */
.site-quicklinks__photo-img {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1rem solid var(--color-2);
    transition: transform 0.3s;
}
.site-quicklinks__card:hover .site-quicklinks__photo-img,
.site-quicklinks__card:focus-visible .site-quicklinks__photo-img {
    transform: scale(1.25);
}
/* Name box is narrower than the card (48px total) and pulled up over
   the photo (32px, more than the 16px line) — the line and a sliver
   of photo above it stay visible at the left/right edges. */
.site-quicklinks__name {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: calc(100% - 48px);
    margin: -2rem auto 0;
    padding: 1em;
    background-color: var(--color-1);
    color: var(--color-over-1);
    font-family: var(--font-heading);
    font-size: 1.375rem;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
}
/* Hover/focus: name box goes color-2 themed — bg var(--color-2), text
   var(--color-over-2) — swapping from its resting color-1 themed state. */
.site-quicklinks__card:hover .site-quicklinks__name,
.site-quicklinks__card:focus-visible .site-quicklinks__name {
    background-color: var(--color-2);
    color: var(--color-over-2);
}

@media (min-width: 64rem) {
    .site-quicklinks__list { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   Photo Gallery — static grid, neutral literal background
   ============================================================ */
.site-gallery { background-color: var(--surface-neutral); }
.site-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.site-gallery__photo { display: block; width: 100%; height: 16rem; object-fit: cover; }

@media (min-width: 64rem) {
    .site-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Logo_divider — partner university logos, white background
   ============================================================ */
.site-partner-logos__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.site-partner-logos__logo { height: 48px; width: auto; }

@media (min-width: 48rem) {
    .site-partner-logos__row { flex-wrap: nowrap; justify-content: space-between; }
}
