@import url("theme_settings/theme_settings.css");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:wght@400&display=swap");
@import url("https://use.typekit.net/xyx4qmi.css");

: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 tokens */
    --font-heading: "industry", sans-serif;
    --font-body: "Nunito", sans-serif;
    --font-cta: "Montserrat", sans-serif;
    --content-max: 83.75rem;   /* content column cap; wider viewports widen the gutters */
    --news-max: 120rem;        /* Latest News runs wider than the other sections */
    --news-swiper-max: 64rem;  /* the article track inside that wider section */
    --gutter: 0.75rem;
    --section-pad-y: 4rem;
    --space-title-rule: 0.5rem; /* section title to its underline */
    --space-block: 2rem;        /* header to content, and content to CTA row */
    --news-band-inset: 64px;    /* transparent margin at each end of the news band */
    --ink: #000000;            /* neutral foreground, and the carousel-button surface */
    --ink-over: #ffffff;       /* contrast pair for --ink and --scrim */
    --scrim: rgba(0, 0, 0, 0.5);
}

html { height: 100%; }

/* The homepage reset clears #content_main's own background, so the page ground
   is declared here — without it the browser's canvas shows through, which is
   dark for a visitor whose OS prefers dark. */
body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--ink);
}

.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;
}

.pageTitle {
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    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);
}

/* ============================================================
   Shared section patterns
   ============================================================ */

.site-homepage :where(section) {
    box-sizing: border-box;
}

.site-aag__inner,
.site-events__inner,
.site-spotlight__inner {
    max-width: var(--content-max);
    margin-inline: auto;
}

.site-section__header {
    margin-bottom: var(--space-block);
}

.site-section__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 var(--space-title-rule);
}

.site-section__header::after {
    content: "";
    display: block;
    width: 100px;
    border-top: 1px solid var(--ink);
}

.site-section__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: var(--space-block);
}

.site-section__nav {
    display: flex;
    gap: 0.625rem;
}

.site-cta {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.site-cta__label {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0.75rem 1.25rem;
    background-color: var(--color-1);
    font-family: var(--font-cta);
    font-size: 1.125rem;
    line-height: 1.5;
}

body .site-cta { color: var(--color-over-1); }

.site-cta::before,
.site-cta::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 3rem;
    height: 1.5rem;
    background-color: var(--color-2);
}
.site-cta::before { top: -0.25rem; left: -0.25rem; }
.site-cta::after  { bottom: -0.25rem; right: -0.25rem; }

.site-cta:hover .site-cta__label,
.site-cta:focus-visible .site-cta__label {
    background-color: var(--color-2);
}

body .site-cta:hover,
body .site-cta:focus-visible {
    color: var(--color-over-2);
}

.site-homepage .swiper-container {
    position: relative;
}

.site-homepage .swiper {
    width: 100%;
}

.site-homepage .swiper-button {
    margin: 0;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    padding: 0;
    background-color: var(--ink);
    font-size: 1rem;
    --swiper-navigation-color: var(--ink-over);
    --swiper-navigation-size: 2.5em;
    --swiper-navigation-sides-offset: 0px;
}

/* Buttons that ride in a section-footer row leave Swiper's absolute placement;
   the flanking carousels keep it so the track's width never depends on a
   sibling track resolving before Swiper measures it. */
.site-section__nav .swiper-button {
    position: static;
}

.site-homepage .swiper-container .swiper-button-prev::after,
.site-homepage .swiper-container .swiper-button-next::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    font-size: var(--swiper-navigation-size);
}
.site-homepage .swiper-container .swiper-button-prev::after { content: 'arrow_left' / ''; }
.site-homepage .swiper-container .swiper-button-next::after { content: 'arrow_right' / ''; }

.site-homepage .swiper-container:has(.swiper-button-prev.swiper-button-disabled):has(.swiper-button-next.swiper-button-disabled) .swiper-button {
    display: none;
}

/* CMS link icons arrive as <img> and are swapped for inline <svg> on load;
   both selectors are sized so the box doesn't jump at the swap. */
.flat-icon-colors svg,
.flat-icon-colors img {
    width: 3.75rem;
    height: 3.75rem;
}

.flat-icon-colors {
    svg {
        &.color-flatten {
            .color-fill         { fill: currentColor; }
            .transparency-change { fill: transparent; }
        }

        &:not(.color-flatten) { fill: currentColor; }
    }
}

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

.site-header {
    position: relative;
    display: grid;
    grid-template-areas:
        "identity"
        "supp";
    gap: 1.25rem;
    justify-items: center;
    padding: 1.25rem var(--gutter);
    background-color: #fff;
}

/* The hamburger is positioned against the header, so the topmost row reserves
   room for it on both sides — the logo stays optically centred rather than
   shifting left by the toggle's width. */
.site-header__identity {
    grid-area: identity;
    box-sizing: border-box;
    width: 100%;
    min-height: 3.75rem;
    padding-inline: 3.75rem;
    display: flex;
    justify-content: center;
}

.site-header__supp { grid-area: supp; display: flex; align-items: center; gap: 2.5rem; }

.site-header__cta-list {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__logo {
    display: block;
    width: 100%;
    max-width: 249px;
    height: auto;
}

#google_translate_element { display: none; }

.site-header__cta { white-space: nowrap; }

@media (min-width: 48rem) {
    #google_translate_element { display: block; }
}

@media (min-width: 64rem) {
    .site-header {
        grid-template-areas:
            "identity supp"
            "nav      nav";
        grid-template-columns: auto auto;
        justify-content: space-between;
        justify-items: stretch;
        align-items: center;
        gap: 0.5rem 1rem;
    }

    .site-header__logo { max-width: 374px; }
    .site-nav--desktop { grid-area: nav; }

    .site-header__identity {
        width: auto;
        min-height: 0;
        padding-inline: 0;
        justify-content: flex-start;
    }
}

/* ============================================================
   Navigation
   ============================================================ */

.site-nav .nav-menu,
.site-nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav .nav-item-inner {
    font-size: 1.125rem;
    line-height: 1.5;
    padding: 0.5rem;
}

body .site-nav .nav-item-inner { color: var(--ink); }

.site-nav .dropdown-toggle {
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    width: 2rem;
    height: 100%;
    color: var(--ink);
}

.site-nav .dropdown-toggle::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    font-size: 1.5rem;
    text-transform: none;
    content: 'expand_more' / '';
}

.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 {
    background-color: #fff;
    min-width: 12.5rem;
}

.site-nav .sub-menu-item > a,
.site-nav .sub-menu-item > .nav-item-inner {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
}

body .site-nav .sub-menu-item > a,
body .site-nav .sub-menu-item > .nav-item-inner { color: var(--ink); }

.site-nav .sub-menu-item:hover > a,
.site-nav .sub-menu-item > a:focus-visible,
.site-nav .sub-menu-item:hover > .dropdown-toggle,
.site-nav .sub-menu-item > .dropdown-toggle:focus-visible {
    background-color: var(--color-2);
}

body .site-nav .sub-menu-item:hover > a,
body .site-nav .sub-menu-item > a:focus-visible {
    color: var(--color-over-2);
}
.site-nav .sub-menu-item:hover > .dropdown-toggle,
.site-nav .sub-menu-item > .dropdown-toggle:focus-visible {
    color: var(--color-over-2);
}

.site-nav .sub-menu-item.dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
}
.site-nav .sub-menu-item.dropdown > .dropdown-toggle {
    grid-column: 2;
    grid-row: 1;
    width: auto;
}

/* --- Mobile nav (base) --- */

.site-nav--desktop { display: none; }

.site-nav--mobile .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    background-color: #fff;
    border-top: 1px solid var(--color-2);
}
.site-nav--mobile .nav-menu.show { display: block; }

.site-header .menu-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    color: var(--ink);
}

.site-header .menu-toggle::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    font-size: 1.75rem;
    text-transform: none;
    content: 'menu' / '';
}
.site-header .menu-toggle[aria-expanded="true"]::after { content: 'close' / ''; }

.site-nav--mobile .nav-item.dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}
.site-nav--mobile .nav-item.dropdown > .sub-menu-holder {
    grid-column: 1 / -1;
}
.site-nav--mobile .nav-item-inner {
    display: block;
    padding: 0.75rem 1rem;
}
/* On a dropdown item the fill goes on the toggle, not the label — a background
   on the label covers the cell the disclosure arrow sits in. */
.site-nav--mobile .nav-item:not(.dropdown):hover > .nav-item-inner,
.site-nav--mobile .nav-item:not(.dropdown) > .nav-item-inner:focus-visible,
.site-nav--mobile .nav-item:hover > .dropdown-toggle,
.site-nav--mobile .nav-item > .dropdown-toggle:focus-visible {
    background-color: var(--color-1);
}
body .site-nav--mobile .nav-item:hover > .nav-item-inner,
body .site-nav--mobile .nav-item > .nav-item-inner:focus-visible {
    color: var(--color-over-1);
}
.site-nav--mobile .nav-item:hover > .dropdown-toggle,
.site-nav--mobile .nav-item > .dropdown-toggle:focus-visible {
    color: var(--color-over-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; }

/* --- Desktop nav --- */

@media (min-width: 64rem) {
    .site-nav--mobile { display: none; }
    .site-header .menu-toggle { display: none; }
    .site-nav--desktop { display: block; }

    .site-nav--desktop .nav-menu {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
    }

    .site-nav--desktop .nav-item {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-nav--desktop .nav-item:not(.dropdown) a.nav-item-inner {
        display: block;
        padding: 0.5rem;
    }

    /* Top level only: the toggle covers the whole cell so the item reads as one
       target, and the label's margin-right keeps its content box clear of the
       chevron zone. */
    .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;
        margin-right: 2rem;
    }
    .site-nav--desktop .nav-item.dropdown > .nav-item-inner {
        position: relative;
        z-index: 1;
    }
    .site-nav--desktop div.nav-item-inner {
        pointer-events: none;
    }
    .site-nav--desktop .nav-menu > .nav-item > .dropdown-toggle {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        justify-content: flex-end;
        place-items: center end;
    }

    .site-nav--desktop .nav-item:hover > .dropdown-toggle,
    .site-nav--desktop .nav-item > .dropdown-toggle:focus-visible,
    .site-nav--desktop .nav-item:not(.dropdown):hover > .nav-item-inner,
    .site-nav--desktop .nav-item:not(.dropdown) > .nav-item-inner:focus-visible {
        background-color: var(--color-1);
    }
    body .site-nav--desktop .nav-item:hover > .nav-item-inner,
    body .site-nav--desktop .nav-item > .nav-item-inner:focus-visible,
    body .site-nav--desktop .nav-item:hover > a.nav-item-inner,
    body .site-nav--desktop .nav-item:hover > div.nav-item-inner {
        color: var(--color-over-1);
    }
    .site-nav--desktop .nav-item:hover > .dropdown-toggle,
    .site-nav--desktop .nav-item > .dropdown-toggle:focus-visible {
        color: var(--color-over-1);
    }

    .site-nav--desktop .sub-menu-holder {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 20;
    }
    .site-nav--desktop .drop-left .sub-menu-holder {
        left: auto;
        right: 0;
    }

    .site-nav--desktop .sub-menu .sub-menu {
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 12.5rem;
    }
    .site-nav--desktop .drop-left .sub-menu-item.dropdown > .sub-menu {
        right: 100%;
        left: auto;
    }
}

/* ============================================================
   Video
   ============================================================ */

.site-video {
    position: relative;
}

.site-video__player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Embedded players arrive as markup this template doesn't author, so the box
   is sized here and the child is stretched to it whatever element it is. */
.site-video__embed {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.site-video__embed :where(iframe, object, embed, video) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.site-video__overlay {
    padding: 1rem;
    background-color: var(--color-1);
}

.site-video__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.5;
}

.site-video__desc {
    margin: 0.625rem 0 0;
}

.site-video__title,
.site-video__desc { color: var(--color-over-1); }

@media (min-width: 64rem) {
    .site-video__overlay {
        position: absolute;
        left: 0;
        bottom: 2.5rem;
        z-index: 1;
        width: 32rem;
        max-width: 60%;
        background-color: color-mix(in srgb, var(--color-1) 90%, transparent);
    }
}

/* ============================================================
   At a Glance
   ============================================================ */

.site-aag {
    padding: var(--section-pad-y) var(--gutter);
    background-color: var(--color-1);
}

.site-aag .site-section__title,
.site-aag .site-section__header::after {
    color: var(--color-over-1);
    border-color: var(--color-over-1);
}

/* Side padding reserves the lane the prev/next buttons are positioned into. */
.site-aag__carousel {
    padding-inline: 4.25rem;
}

.site-aag__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5625rem;
    height: 100%;
    box-sizing: border-box;
    padding: 1.25rem;
    background-color: #fff;
    text-align: center;
}

.site-aag__icon {
    display: block;
    color: var(--color-2);
}

.site-aag__value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.3;
}

.site-aag__label {
    font-size: 1.125rem;
    line-height: 1.5;
}

/* ============================================================
   Latest News
   ============================================================ */

/* The section runs edge to edge; each band inside it carries its own measure. */
.site-news {
    padding-block: var(--section-pad-y);
}

.site-news__head,
.site-news__tablist,
.site-news__footer {
    box-sizing: border-box;
    max-width: var(--news-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.site-news__tablist {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin-block: 0 var(--space-block);
    padding-block: 0;
}

.site-news__tab {
    border: 0;
    padding: 0.625rem 0.75rem;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--ink);
}

.site-news__tab[aria-selected="true"],
.site-news__tab[aria-expanded="true"] {
    background-color: var(--color-2);
    color: var(--color-over-2);
    font-weight: 700;
}

/* Panels share one grid cell so switching tabs doesn't resize the section, and
   inactive panels keep a layout box so the Swiper inside them measures a real
   width at init. */
.site-news__panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "stack";
}
.site-news__panels > .monui-panel {
    grid-area: stack;
    min-width: 0;
}
.site-news__panels > .monui-panel[aria-hidden="true"] {
    visibility: hidden;
}

/* The holder spans the viewport and paints the band as a gradient whose first
   and last stops are transparent, which is what lets the cards overhang it
   without anything being positioned outside its parent. */
.site-news__holder {
    background-image: linear-gradient(to bottom,
        transparent 0 var(--news-band-inset),
        var(--color-1) var(--news-band-inset) calc(100% - var(--news-band-inset)),
        transparent calc(100% - var(--news-band-inset)) 100%);
}

.site-news__holder .swiper {
    box-sizing: border-box;
    max-width: var(--news-swiper-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.site-news__card {
    position: relative;
    isolation: isolate;
    display: block;
}

.site-news__card::before,
.site-news__card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 45%;
    aspect-ratio: 1;
    background-color: var(--color-2);
}
.site-news__card::before { top: -0.75rem; left: -0.75rem; }
.site-news__card::after  { bottom: -0.75rem; right: -0.75rem; }

.site-news__media {
    position: relative;
    margin-inline: 0.75rem;
}

.site-news__image,
.site-news__video {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.site-news__info {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
}

.site-news__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
}

.site-news__excerpt {
    margin: 0.625rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-news__info,
.site-news .site-news__title a,
.site-news__excerpt { color: #fff; }

.site-news .site-news__title a { text-decoration: none; }
.site-news .site-news__title a:hover,
.site-news .site-news__title a:focus-visible { text-decoration: underline; }

/* ============================================================
   Upcoming Events
   ============================================================ */

.site-events {
    padding: var(--section-pad-y) var(--gutter);
}

.site-events__item {
    display: flex;
    flex-direction: column;
    gap: 0.5625rem;
    height: 100%;
    box-sizing: border-box;
}

.site-events__date {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.5;
}

.site-events__name-bar {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--color-1);
}

.site-events__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.5;
    margin: 0;
}

.site-events .site-events__name a { color: var(--color-over-1); text-decoration: none; }
.site-events .site-events__name a:hover,
.site-events .site-events__name a:focus-visible { text-decoration: underline; }

.site-events__meta {
    font-size: 1.125rem;
    line-height: 1.5;
}

/* Divider between columns. Swiper owns slide spacing, so the rule hangs off the
   slide rather than a wrapper the carousel would fight over. */
.site-events__carousel .swiper-slide + .swiper-slide .site-events__item {
    border-left: 1px solid var(--color-1);
    padding-left: 1.5rem;
}

/* ============================================================
   Photo bands — Quick Links, Social Media
   ============================================================ */

.site-band {
    display: flex;
    justify-content: center;
    background-color: var(--ink);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.site-band__panel {
    box-sizing: border-box;
    width: 100%;
    background-color: var(--scrim);
}

.site-quicklinks__panel {
    padding: var(--section-pad-y) var(--gutter);
}

.site-quicklinks__carousel {
    padding-inline: 3.75rem;
}

.site-quicklinks .swiper-button {
    background-color: #fff;
    --swiper-navigation-color: var(--ink);
}

/* min-height holds the tile's proportions when a link carries no icon, which
   would otherwise collapse it to the height of its label alone. */
.site-quicklinks__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    min-height: 10.8125rem;
    box-sizing: border-box;
    padding: 1.5rem;
    border: 1px solid var(--ink-over);
    text-decoration: none;
}

.site-quicklinks .site-quicklinks__tile { color: var(--ink-over); }

.site-quicklinks__title {
    position: relative;
    padding-top: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.5;
    text-align: center;
}

.site-quicklinks__title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    border-top: 1px solid var(--ink-over);
}

.site-quicklinks__tile:hover,
.site-quicklinks__tile:focus-visible {
    background-color: rgba(255, 255, 255, 0.15);
}

.site-social__panel {
    padding: var(--section-pad-y) var(--gutter);
}

.site-social__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-social__tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem;
    background-color: #fff;
    min-height: 7.5rem;
}

.site-social__icon svg,
.site-social__icon img {
    display: block;
    width: 3.75rem;
    height: 3.75rem;
}

.site-social__tile:hover,
.site-social__tile:focus-visible {
    background-color: var(--color-1);
}

@media (min-width: 64rem) {
    /* Definite widths, not shrink-to-fit: the panel is the containing block the
       carousel inside it measures against, and a content-driven flex item gives
       Swiper nothing to measure. */
    .site-quicklinks__panel {
        width: 45.5rem;
        max-width: 100%;
        padding-inline: 5.5rem;
    }

    .site-quicklinks__carousel {
        padding-inline: 0;
    }
    .site-quicklinks .swiper-button {
        --swiper-navigation-sides-offset: -3.75rem;
    }
    .site-social__panel {
        width: 61.75rem;
        max-width: 100%;
        padding-inline: 2rem;
    }

    .site-social__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }

    .site-social__tile { width: 12.9375rem; }
}

/* ============================================================
   Spotlight
   ============================================================ */

.site-spotlight {
    padding: var(--section-pad-y) var(--gutter);
    background-color: #fff;
}

.site-spotlight__inner {
    display: grid;
    gap: 2rem;
}

.site-spotlight__media {
    position: relative;
    isolation: isolate;
    padding: 0.75rem;
}

.site-spotlight__media::before,
.site-spotlight__media::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 40%;
    aspect-ratio: 1;
    background-color: var(--color-2);
}
.site-spotlight__media::before { top: 0; left: 0; }
.site-spotlight__media::after  { bottom: 0; right: 0; }

.site-spotlight__image {
    display: block;
    width: 100%;
    height: auto;
}

.site-spotlight__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-block);
}

/* The column's gap already supplies the header-to-content step here, so the
   header's own margin would double it. */
.site-spotlight__text .site-section__header {
    margin-bottom: 0;
}

.site-spotlight__body :where(p) { margin: 0 0 1rem; }
.site-spotlight__body :where(p):last-child { margin-bottom: 0; }

.site-spotlight .site-cta { align-self: flex-start; }

@media (min-width: 64rem) {
    .site-spotlight__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        align-items: center;
    }
}

@media (min-width: 85.375rem) {
    .site-spotlight__inner { gap: 6.25rem; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    padding: 2rem var(--gutter);
    background-color: #fff;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: var(--content-max);
    margin-inline: auto;
    text-align: left;
}

.site-footer__logo {
    display: block;
    width: 100%;
    max-width: 374px;
    height: auto;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    font-style: normal;
}

@media (min-width: 64rem) {
    .site-footer__inner {
        align-items: center;
        text-align: center;
    }
    .site-footer__contact { align-items: center; }
}

body .site-footer__address,
body .site-footer__phone {
    color: var(--ink);
}

.site-footer__attribution {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-footer__attribution svg {
    display: block;
    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;
}

body .site-footer__attribution a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

body:not(:has(.site-homepage)) .site-header { border-bottom: 1px solid var(--color-2); }
body:not(:has(.site-homepage)) .site-footer { border-top: 1px solid var(--color-2); }
