@import url("theme_settings/theme_settings.css");
@import url("https://fonts.googleapis.com/css2?family=Afacad: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 */
}

html { height: 100%; }

body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Afacad', sans-serif;
    font-size: 1.125rem;
}

.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. filter: brightness keeps a light theme color
   legible when --color-1 is itself the foreground. */
.pageTitle {
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
    font-size: 2.125rem;
    line-height: 1.25;
    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
   ========================================================================== */

.site-header {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--color-1);
    color: var(--color-over-1);
    padding: 1rem;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Nav + Translate share one visual row/cluster at the header's right edge —
   the mock tucks Translate into the same band as the nav, not a separate
   band above it. */
.site-header__nav-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-header__identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
/* body-prefixed compound selector to beat the system stylesheet's a/:visited/:hover color rule */
body a.site-header__identity {
    text-decoration: none;
    color: inherit;
}
.site-header__logo {
    /* Logo carries the school name as part of the graphic (small caps text
       baked in) — sized larger than a mark-only logo so that text stays legible. */
    height: 3.5rem;
    width: auto;
}
@media (min-width: 64rem) {
    .site-header__logo {
        height: 4.5rem;
    }
}
.site-header__name {
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.2;
}
@media (min-width: 64rem) {
    /* Figma's desktop text-node size (44px) — the mock's mobile frame reuses
       the same 328×87 lockup without resizing it, which "Sacred Heart School"
       (longer than the mock's "J.M.W. Turner") would overflow well before
       320px. Scaling down below desktop keeps every viewport scroll-free. */
    .site-header__name {
        font-size: 2.75rem;
    }
}

.site-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 2.75rem;
    padding-right: 3.25rem; /* clears the mobile hamburger toggle, absolutely positioned over the header */
}

/* Client policy: Translate is desktop-only — hidden on mobile AND tablet,
   not just mobile (deviates from the library doc's tablet-and-up default). */
#google_translate_element {
    background-color: white;
    padding: 0.25rem 0.5rem;
    display: none;
}
@media (min-width: 64rem) {
    #google_translate_element { display: block; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav .nav-item {
    position: relative;
}
.site-nav .nav-item-inner {
    display: block;
    color: var(--color-over-1);
    font-size: 1.25rem;
    padding: 0.75rem 1rem;
}
.site-nav .nav-item:not(.dropdown) a.nav-item-inner {
    padding: 0.75rem 1rem;
}
/* Hover/focus background targets the li, not a.nav-item-inner — the anchor's
   content box is narrower than the item (margin-right clears the toggle's
   icon area), so backgrounding it alone would leave the toggle uncovered. */
.site-nav .nav-item:hover,
.site-nav .nav-item:focus-within {
    background-color: color-mix(in srgb, var(--color-over-1) 15%, transparent);
}

.site-nav .dropdown-toggle {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 1.375rem;
}
.site-nav .dropdown-toggle::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    text-transform: none;
    content: 'expand_more';
}
.site-nav .dropdown-toggle[aria-expanded="true"]::after {
    content: 'expand_more';
    rotate: 180deg;
}

.site-nav .sub-menu-holder { display: none; }
.site-nav .sub-menu-holder:has(.sub-menu.show) { display: block; }
.site-nav .sub-menu .sub-menu { display: none; }
.site-nav .sub-menu .sub-menu.show { display: block; }

.site-nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--color-1);
}
.site-nav .sub-menu-item > a {
    display: block;
    color: var(--color-over-1);
    padding: 0.625rem 1rem;
}
/* Hover/active dropdown item swaps to the secondary theme surface, per the
   Figma file's Hovers layer ("Simple Dropdown Menu" component). */
.site-nav .sub-menu-item:hover,
.site-nav .sub-menu-item:focus-within {
    background-color: var(--color-2);
}
.site-nav .sub-menu-item:hover > a,
.site-nav .sub-menu-item:focus-within > a {
    color: var(--color-over-2);
}
.site-nav .sub-menu-item.dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}
.site-nav .sub-menu-item.dropdown > .dropdown-toggle {
    width: 2.75rem;
    height: 2.75rem;
}
/* Level-3 <ul class="sub-menu"> has no holder wrapper — it's a direct grid
   child of .sub-menu-item.dropdown and must span both of its columns. */
.site-nav .sub-menu .sub-menu {
    grid-column: 1 / -1;
}

/* Mobile nav — always visible; only .nav-menu content toggles */
.site-nav--mobile { display: block; }
.site-nav--desktop { display: none; }

.site-nav--mobile .menu-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--color-over-1);
    cursor: pointer;
    font-size: 2rem;
}
.site-nav--mobile .menu-toggle::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    content: 'menu';
}
.site-nav--mobile .menu-toggle[aria-expanded="true"]::after {
    content: 'close';
}

.site-nav--mobile .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-1);
    z-index: 10;
}
.site-nav--mobile .nav-menu.show { display: block; }

/* Top-level dropdown items: label left, toggle right (two-column), matching
   the level-2 pattern. Without this the block label pushes the toggle onto
   its own line below the link. */
.site-nav--mobile .nav-item.dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}
.site-nav--mobile .nav-item.dropdown > .dropdown-toggle {
    width: 2.75rem;
    height: 2.75rem;
}
.site-nav--mobile .nav-item.dropdown > .sub-menu-holder {
    grid-column: 1 / -1;
}

.site-nav--mobile .sub-menu-item > a { padding-left: 2rem; }
.site-nav--mobile .sub-menu .sub-menu .sub-menu-item > a { padding-left: 3rem; }
.site-nav--mobile .sub-menu .sub-menu { grid-column: 1 / -1; }

@media (min-width: 64rem) {
    .site-header {
        padding: 1rem 2rem;
    }
    .site-topbar {
        min-height: 0;
        padding-right: 0; /* mobile toggle is hidden at this breakpoint — row layout alone keeps clearance */
    }

    .site-nav--mobile { display: none; }
    .site-nav--desktop { display: block; }

    .site-nav--desktop .nav-menu {
        display: flex;
        gap: 1.25rem;
    }

    /* Level 1: overlay pattern — label and toggle share a single cell */
    .site-nav--desktop .nav-item {
        display: grid;
    }
    .site-nav--desktop .nav-item.dropdown > a.nav-item-inner,
    .site-nav--desktop .nav-item.dropdown > div.nav-item-inner {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        z-index: 1;
        /* right-side reserve = the toggle's rendered chevron zone, so the
           chevron tucks up to the label instead of parking at a far edge */
        padding-right: 0.5rem;
        margin-right: 1.5rem;
        pointer-events: auto;
    }
    .site-nav--desktop .nav-item.dropdown > div.nav-item-inner {
        pointer-events: none;
    }
    .site-nav--desktop .nav-item.dropdown > .dropdown-toggle {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        justify-content: flex-end;
        padding-right: 0.25rem;
    }

    .site-nav--desktop .nav-item:not(.dropdown) a.nav-item-inner {
        padding: 0.75rem 1rem;
    }

    /* Level 2 dropdown panel */
    .site-nav--desktop .sub-menu-holder {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 14rem;
        z-index: 10;
    }
    .site-nav--desktop .drop-left .sub-menu-holder {
        left: auto;
        right: 0;
    }

    /* Level 2+ toggle sits in its own column */
    .site-nav--desktop .sub-menu-item.dropdown > .dropdown-toggle {
        grid-column: 2;
        grid-row: 1;
        width: auto;
    }

    /* Level 3: expands in flow below its parent item — matching the downward
       toggle chevron — rather than a side flyout. The base rule already spans
       it across both grid columns; a left indent keeps the nesting legible. */
    .site-nav--desktop .sub-menu .sub-menu .sub-menu-item > a {
        padding-left: 2rem;
    }
}

/* ==========================================================================
   Hero (Video)
   ========================================================================== */

.site-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-1);
}
@media (min-width: 64rem) {
    .site-hero { aspect-ratio: 21 / 9; }
}
.site-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-hero__playpause {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55) !important;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.site-hero__playpause:hover,
.site-hero__playpause:focus-visible {
    background-color: rgba(0, 0, 0, 0.8) !important;
}
.site-hero__playpause svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    fill: currentColor;
}
.site-hero__playpause .icon-play { display: none; }
.site-hero__playpause.is-paused .icon-pause { display: none; }
.site-hero__playpause.is-paused .icon-play { display: block; }

.site-hero__embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.site-hero__embed iframe,
.site-hero__embed object,
.site-hero__embed embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Hero Spotlight
   ========================================================================== */

.site-herospot {
    padding: 3.75rem 1.5rem;
    background-color: var(--color-1);
    color: var(--color-over-1);
    text-align: center;
}
.site-herospot__inner {
    max-width: var(--size-lg);
    margin-inline: auto;
}
.site-herospot__title {
    margin: 0 0 1rem;
    font-size: 3.25rem;
    font-weight: 700;
}
.site-herospot__body {
    font-size: 1.625rem;
    line-height: 1.5;
}
/* body-prefixed compound beats the system stylesheet's a/:visited/:hover
   #333 rule, which would be near-invisible on the primary-color band */
body .site-herospot__body a {
    color: var(--color-over-1);
    text-decoration: underline;
}

/* ==========================================================================
   Quick Links
   ========================================================================== */

.site-quicklinks {
    position: relative;
    padding: 3.75rem 1.5rem;
    background-color: #fff;
}
.site-quicklinks__inner {
    max-width: var(--size-lg);
    margin-inline: auto;
}
.site-quicklinks__heading {
    text-align: center;
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
    font-size: 3.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}
.site-quicklinks .swiper {
    width: 100%;
}
.site-quicklinks .swiper-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-quicklinks__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.125rem;
    height: 100%;
    min-height: 10.125rem;
    box-sizing: border-box;
    padding: 1.375rem;
    background-color: var(--color-1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 12px 16px rgba(0, 0, 0, 0.1);
}
/* body-prefixed compound selector to beat the system stylesheet's a/:visited/:hover color rule */
body a.site-quicklinks__card {
    text-decoration: none;
    color: var(--color-over-1);
}
.site-quicklinks .swiper-slide:nth-child(odd) .site-quicklinks__card {
    background-color: var(--color-2);
    color: var(--color-over-2);
}
/* Hover inverts the card — per the Figma file's Hovers layer ("qls" component
   set): light-gray card, black label, icon badge solid --color-1 with a white
   icon. Same inverted treatment regardless of the card's rest-state variant.
   Selector repeats the nth-child(odd/even) compound so this reliably beats
   the alternating-fill rule's specificity instead of tying with it. */
.site-quicklinks .swiper-slide:nth-child(odd) .site-quicklinks__card:hover,
.site-quicklinks .swiper-slide:nth-child(even) .site-quicklinks__card:hover,
.site-quicklinks .swiper-slide:nth-child(odd) .site-quicklinks__card:focus-visible,
.site-quicklinks .swiper-slide:nth-child(even) .site-quicklinks__card:focus-visible {
    background-color: #f7f7f7;
}
body .site-quicklinks .swiper-slide:nth-child(odd) .site-quicklinks__card:hover,
body .site-quicklinks .swiper-slide:nth-child(even) .site-quicklinks__card:hover,
body .site-quicklinks .swiper-slide:nth-child(odd) .site-quicklinks__card:focus-visible,
body .site-quicklinks .swiper-slide:nth-child(even) .site-quicklinks__card:focus-visible {
    color: #000;
}
.site-quicklinks__card:hover .site-quicklinks__icon,
.site-quicklinks__card:focus-visible .site-quicklinks__icon {
    background-color: var(--color-1);
}
.site-quicklinks__card:hover .site-quicklinks__icon svg,
.site-quicklinks__card:hover .site-quicklinks__icon img,
.site-quicklinks__card:focus-visible .site-quicklinks__icon svg,
.site-quicklinks__card:focus-visible .site-quicklinks__icon img {
    color: #fff;
}
.site-quicklinks__icon {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    flex: none;
}
/* No color/filter override — the icon inherits currentColor from the card's
   own text color (--color-over-1/2, already CMS-guaranteed accessible),
   matching the mock's white-icon-on-tinted-badge treatment on every
   alternating card variant without needing its own safety net. */
.site-quicklinks__icon svg,
.site-quicklinks__icon img {
    width: 2.5rem;
    height: 2.75rem;
}
.site-quicklinks__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
}
.site-quicklinks__row {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.site-quicklinks__row .swiper {
    width: auto;
    flex: 1;
    min-width: 0;
    /* Swiper's own overflow:hidden (needed to clip the horizontal slide
       track) also clips the cards' vertical box-shadow — pad for the
       shadow's extent, then cancel the added space with a matching
       negative margin so it doesn't push surrounding layout. */
    padding-block: 3rem;
    margin-block: -3rem;
}
/* Plain chevron icon, no circular background — per the mock, which shows
   just a black chevron glyph in a 44px tap-target box. */
.site-quicklinks .swiper-button-prev,
.site-quicklinks .swiper-button-next {
    --swiper-navigation-size: 1.5rem;
    --swiper-navigation-color: #000;
    position: static;
    /* swiper-bundle's default margin-top:-12px assumes position:absolute +
       top:50% centering — left over here it pulls the static flex item up,
       throwing off align-items:center against its row siblings. */
    margin-top: 0;
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    padding: 0;
    background: none;
}

/* ==========================================================================
   Spotlight (Mission Statement)
   ========================================================================== */

.site-spotlight {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24rem;
    overflow: hidden;
}
.site-spotlight__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Tint spans the full photo band edge-to-edge, per the mock — only the
   text content inside (.site-spotlight__inner) is width-capped. The mock's
   tint is a translucent 2-stop gradient between two shades of the SAME
   color (not two different theme colors) — reproduced here as --color-1
   against a darker --color-1 shade, derived with color-mix rather than
   introducing --color-2/black into the surface at all. */
.site-spotlight__overlay {
    /* relative (not absolute) so it stays in normal flow and gives
       .site-spotlight real content height to grow beyond min-height —
       still paints above the absolutely-positioned .site-spotlight__bg
       since both are positioned elements ordered by DOM sequence. */
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0.75rem;
    --site-spotlight-shade-dark: color-mix(in srgb, var(--color-1), black 30%);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-1) 80%, transparent),
        color-mix(in srgb, var(--site-spotlight-shade-dark) 80%, transparent),
        color-mix(in srgb, var(--color-1) 80%, transparent)
    );
}
@media (min-width: 64rem) {
    .site-spotlight__overlay {
        padding: 3.75rem 3.75rem 5rem;
    }
}
.site-spotlight__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 48rem;
    text-align: center;
    color: var(--color-over-2);
}
.site-spotlight__crest {
    height: 5rem;
    width: auto;
}
.site-spotlight__heading {
    font-size: 3.25rem;
    font-weight: 700;
    margin: 0;
}
.site-spotlight__body {
    font-size: 1.625rem;
    line-height: 1.4;
}
/* Box button, per the mock's "buttons1" ("Learn More") component in the
   Hovers layer: white box / black text at rest, solid --color-2 / white
   text on hover — not a plain underlined text link. */
.site-spotlight__cta {
    display: inline-block;
    padding: 1rem 1.25rem;
    background-color: #fff;
    font-weight: 400;
    font-size: 1.25rem;
}
/* body-prefixed compound selector to beat the system stylesheet's a/:visited/:hover color rule */
body a.site-spotlight__cta {
    color: #000;
    text-decoration: none;
}
.site-spotlight__cta:hover,
.site-spotlight__cta:focus-visible {
    background-color: var(--color-2);
}
body a.site-spotlight__cta:hover,
body a.site-spotlight__cta:focus-visible {
    color: var(--color-over-2);
}

/* ==========================================================================
   Upcoming Events
   ========================================================================== */

.site-events {
    position: relative;
    padding: 3.75rem 1.5rem;
    background-color: #fff;
}
.site-events__inner {
    max-width: var(--size-lg);
    margin-inline: auto;
}
.site-events__heading {
    text-align: center;
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
    font-size: 3.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}
.site-events .swiper {
    width: 100%;
    /* Swiper's own overflow:hidden clips the cards' vertical box-shadow —
       pad for the shadow's extent, then cancel the added space with a
       matching negative margin so it doesn't push surrounding layout. */
    padding-block: 3rem;
    margin-block: -3rem;
}
.site-events .swiper-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-events__card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    box-sizing: border-box;
    padding: 1.5rem;
    color: var(--color-over-1);
    background-color: var(--color-1);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1), 0 20px 25px rgba(0, 0, 0, 0.1);
}
.site-events .swiper-slide:nth-child(even) .site-events__card {
    background-color: var(--color-2);
    color: var(--color-over-2);
}
.site-events__title {
    margin: 0;
    font-size: 1.625rem;
    font-weight: 700;
}
.site-events__meta {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.site-events__date {
    font-weight: 400;
    margin: 0;
}
/* body-prefixed to beat the system stylesheet's a/:visited/:hover color rule */
body .site-events__title a {
    color: inherit;
    text-decoration: none;
}
.site-events__title a:hover,
.site-events__title a:focus-visible {
    text-decoration: underline;
}
.site-events__date,
.site-events__time,
.site-events__location {
    margin: 0;
    font-size: 1.375rem;
}
.site-events__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
}
/* Plain chevron icon, no circular background — per the mock, which shows
   just a black chevron glyph in a 44px tap-target box. */
.site-events .swiper-button-prev,
.site-events .swiper-button-next {
    --swiper-navigation-size: 1.5rem;
    --swiper-navigation-color: #000;
    position: static;
    /* swiper-bundle's default margin-top:-12px assumes position:absolute +
       top:50% centering — left over here it pulls the static flex item up,
       throwing off align-items:center against its row siblings. */
    margin-top: 0;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    padding: 0;
    background: none;
    flex: none;
}
/* Solid fill, per the mock's "buttons3" component — not the white/bordered
   pill this used to be. */
.site-events__more {
    display: inline-block;
    padding: 1rem 1.25rem;
    font-size: 1.375rem;
    background-color: var(--color-1);
    font-weight: 700;
}
/* body-prefixed compound selector to beat the system stylesheet's a/:visited/:hover color rule */
body a.site-events__more {
    text-decoration: none;
}
.site-events__more-label {
    color: var(--color-over-1);
}
.site-events__more:hover,
.site-events__more:focus-visible {
    background-color: color-mix(in srgb, var(--color-1), black 15%);
}

/* ==========================================================================
   Stay Connected
   ========================================================================== */

.site-connect {
    padding: 3.75rem 1.5rem;
    background-color: var(--color-2);
    color: var(--color-over-2);
}
.site-connect__inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: var(--size-lg);
    margin-inline: auto;
}
.site-connect__icons ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Tile, not a small circular badge — per the mock: a photo-backed square
   (real content: first image from Photo Shuffle 44852) with the platform's
   real brand-color icon centered on top, not flattened to a theme color. */
.site-connect__tile {
    position: relative;
    width: 10.5rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #fff;
}
.site-connect__tile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}
.site-connect__tile a {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}
/* Scoped to inside the anchor specifically — .site-connect__tile-bg is an
   <img> too, but sits outside the <a> as the tile's background photo, not
   the icon glyph, and must not be forced to this size. */
.site-connect__tile a svg,
.site-connect__tile a img {
    width: 5rem;
    height: 5rem;
    transition: transform 0.2s ease;
}
.site-connect__tile a:hover svg,
.site-connect__tile a:focus-visible svg,
.site-connect__tile a:hover img,
.site-connect__tile a:focus-visible img {
    transform: scale(1.2);
}
@media (prefers-reduced-motion: reduce) {
    .site-connect__tile a svg,
    .site-connect__tile a img { transition: none; }
}
.site-connect__copy {
    text-align: center;
}
.site-connect__heading {
    font-size: 3.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}
.site-connect__body {
    font-size: 1.625rem;
    line-height: 1.4;
}
/* Box button, per the mock's "buttons1" ("Learn More") component in the
   Hovers layer: white box / black text at rest. Hover uses --color-1
   (not the mock's --color-2) since this section's own background already
   is --color-2 — a --color-2 hover fill would be invisible against it.
   Revisit when Stay Connected gets its own fidelity pass. */
.site-connect__cta {
    display: inline-block;
    padding: 1rem 1.25rem;
    background-color: #fff;
    font-weight: 400;
    font-size: 1.25rem;
}
/* body-prefixed compound selector to beat the system stylesheet's a/:visited/:hover color rule */
body a.site-connect__cta {
    color: #000;
    text-decoration: none;
}
.site-connect__cta:hover,
.site-connect__cta:focus-visible {
    background-color: var(--color-1);
}
body a.site-connect__cta:hover,
body a.site-connect__cta:focus-visible {
    color: var(--color-over-1);
}
@media (min-width: 64rem) {
    .site-connect__inner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 3.125rem;
    }
    .site-connect__copy { text-align: left; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding: 3.75rem 1.5rem;
    background-color: var(--color-1);
    color: var(--color-over-1);
}
.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    max-width: var(--size-lg);
    margin-inline: auto;
}
.site-footer__identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}
.site-footer__logo {
    height: 4rem;
    width: auto;
}
.site-footer__tagline {
    max-width: 20.5rem;
    font-size: 1.125rem;
}
/* Shared by the "Contact" static heading and the "Quick Links" CMS-driven
   heading — mock uses Monarcha here specifically, kept Afacad for
   consistency with the rest of the page's single-typeface decision. */
.site-footer__col-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}
.site-footer__contact-group,
.site-footer__links {
    max-width: 20.5rem;
}
.site-footer__contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 1.125rem;
}
.site-footer__contact address p {
    margin: 0;
}
body .site-footer__contact a {
    text-decoration: underline;
}
.site-footer__links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1.125rem;
}
body .site-footer__links a {
    text-decoration: underline;
}
.site-footer__attribution {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.site-footer__attribution a {
    display: inline-flex;
    align-items: center;
}
/* body-prefixed to beat the system stylesheet's a/:visited/:hover color rule */
body .site-footer__contact a,
body .site-footer__links a,
body .site-footer__attribution a {
    color: inherit;
}
.site-footer__attribution svg {
    fill: currentColor;
}
.site-footer__attribution a:first-child svg {
    width: 140px;
    height: 20px;
}
.site-footer__attribution a:last-child svg {
    height: 1.5rem;
    width: auto;
}
@media (min-width: 48rem) {
    .site-footer__inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
    }
    .site-footer__identity {
        align-items: flex-start;
        text-align: left;
    }
    .site-footer__attribution {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   CMS icon color flattening (Quick Links, Stay Connected)
   ========================================================================== */

.flat-icon-colors svg {
    &.color-flatten {
        .color-fill         { fill: currentColor; }
        .transparency-change { fill: transparent; }
    }
    &:not(.color-flatten) { fill: currentColor; }
}

/* ==========================================================================
   Carousel arrow icons (shared across Quick Links and Events)
   ========================================================================== */

.swiper-container .swiper-button-prev::after,
.swiper-container .swiper-button-next::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    text-transform: none;
    font-size: var(--swiper-navigation-size);
}
.swiper-container .swiper-button-prev::after { content: 'chevron_left'; }
.swiper-container .swiper-button-next::after { content: 'chevron_right'; }
