.neo-box {
    border: 2px solid #0B2545;
    box-shadow: 4px 4px 0px 0px #fca311;
}
.neo-box-lg {
    border: 4px solid #0B2545;
    box-shadow: 6px 6px 0px 0px #fca311;
}
.neo-btn {
    border: 2px solid #0B2545;
    box-shadow: 3px 3px 0px 0px #fca311;
    transition: all 0.15s ease-in-out;
}
.neo-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px 0px #fca311;
}
.yellow-accent-line {
    height: 6px;
    background-color: #fca311;
    border-top: 2px solid #0B2545;
    border-bottom: 2px solid #0B2545;
}
.gallery-roll-card {
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.gallery-roll-card:hover {
    transform: scale(1.03);
    box-shadow: 7px 7px 0px 0px #fca311;
}
.recognition-meta-box {
    min-height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF !important;
    color: #0B2545 !important;
}
.calendar-day.active {
    background-color: #FFFFFF !important;
    border: 2px solid #0B2545 !important;
    color: #0B2545 !important;
}
.calendar-day.active-comp {
    background-color: #0B2545 !important;
    color: #FFFFFF !important;
    border: 2px solid #0B2545 !important;
}
details summary::-webkit-details-marker {
    display: none;
}

.page-heading-accent {
    display: inline-block;
    background: #0B2545;
    color: #FFFFFF;
    border: 2px solid #0B2545;
    box-shadow: 4px 4px 0px #fca311;
    padding: 0.55rem 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.page-heading-accent::after {
    display: none;
}
.section-subtitle,
.text-center > p.font-medium {
    margin-top: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0B2545;
    opacity: 0.78;
}
.subsection-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0B2545;
    color: #FFFFFF;
    border: 2px solid #0B2545;
    box-shadow: 3px 3px 0px #fca311;
    padding: 0.4rem 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.cohesive-card {
    border: 2px solid #0B2545;
    box-shadow: 4px 4px 0px 0px #fca311;
    background: #FFFFFF;
}
.cohesive-card:hover {
    transform: translateY(-2px);
}

.path-wheel {
    transition: transform 0.45s ease-in-out;
}
.path-step-button {
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.path-step-button:hover,
.path-step-button:focus {
    transform: scale(1.08);
    background-color: #fca311;
    color: #0B2545;
}


.hero-photo-backdrop {
    background:
        radial-gradient(circle at 15% 20%, rgba(255,209,0,0.22) 0, transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(11,37,69,0.10) 0, transparent 24%),
        linear-gradient(135deg, #FFFFFF 0%, #F6F9FC 46%, #EAF1F8 100%);
}
.hero-photo-placeholder-label {
    border: 2px dashed #0B2545;
    background: rgba(255,255,255,0.7);
}

.path-pie-group {
    cursor: pointer;
    outline: none;
}
.path-pie-segment {
    fill: #0B2545;
    stroke: #FFFFFF;
    stroke-width: 3;
    transform-origin: 100px 100px;
    transition: transform 0.22s ease-in-out, fill 0.22s ease-in-out;
    pointer-events: auto;
}
.path-pie-label {
    pointer-events: none;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    fill: #FFFFFF;
    transition: fill 0.22s ease-in-out;
}
.path-pie-group.active .path-pie-segment {
    fill: #fca311;
    transform: scale(1.045);
}
.path-pie-group.active .path-pie-label {
    fill: #0B2545;
}
.path-pie-group:hover .path-pie-segment,
.path-pie-group:focus .path-pie-segment {
    stroke: #fca311;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.news-ticker {
    overflow: hidden;
    background: #0B2545;
    color: #FFFFFF;
    border-bottom: 2px solid #0B2545;
    white-space: nowrap;
    cursor: pointer;
}
.ticker-track {
    display: inline-flex;
    min-width: 200%;
    animation: tickerScroll 34s linear infinite;
}
.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 2.5rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ticker-track span::before {
    content: "•";
    color: #fca311;
    font-size: 1.2rem;
    line-height: 1;
}
body {
    position: relative;
    overflow-x: hidden;
}

#page-officers .neo-box {
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
#page-officers .neo-box:hover {
    transform: scale(1.03);
    box-shadow: 7px 7px 0px 0px #fca311;
}

/* Generic "invert on hover" for buttons and links in the page body.
   Components that manage their own hover state opt out below —
   without the exclusions this white-on-hover wins over everything,
   including active tabs and white text sitting on a navy banner. */
main button:hover:not(.resource-tab):not(.resource-category-toggle):not(.quiz-org-toggle):not(.alumni-action),
main a:hover:not(.resource-tab):not(.resource-category-toggle):not(.quiz-org-toggle):not(.alumni-action) {
    background-color: #FFFFFF !important;
    color: #0B2545 !important;
    border-color: #0B2545 !important;
}
main button:hover:not(.resource-tab):not(.resource-category-toggle):not(.quiz-org-toggle):not(.alumni-action) i,
main a:hover:not(.resource-tab):not(.resource-category-toggle):not(.quiz-org-toggle):not(.alumni-action) i {
    color: #0B2545 !important;
}
/* Icons inside a navy banner keep their own colour regardless —
   turning them navy makes them vanish into the background. */
main button:hover .subsection-banner i,
main a:hover .subsection-banner i {
    color: inherit !important;
}
/* Novice quiz organization toggles.
   setQuizToggleStyles() in script.js paints the selected/unselected
   colours as inline styles, so these rules only do two things:
   keep the generic invert away (see :not() above) and add a hover
   cue on the button you have NOT picked. Inline styles outrank plain
   CSS, hence the !important on the hover colours only. */
.quiz-org-toggle {
    cursor: pointer;
}

.quiz-org-toggle[aria-pressed="true"] {
    cursor: default;
}

.quiz-org-toggle[aria-pressed="false"]:hover {
    background-color: var(--accent) !important;
    color: var(--primary) !important;
}

/* ============================================================
   SITE CHROME  —  nav + footer
   Structure ported from the web-coding25-26 site, recolored to
   the Skyline neo-brutalist palette (darkBlue #0B2545 / yellow #fca311).
   ============================================================ */

:root {
    --primary: #0B2545;
    --accent: #fca311;
    --light: #f4f6f9;
}

/* ── Accessibility utilities ─────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    z-index: 9999;
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ── Navigation bar ──────────────────────────────────────── */
.site-nav {
    background: rgba(11, 37, 69, 0.94);
    color: #fff;
    padding: 0.7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--accent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-nav .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.site-nav .nav-logo {
    height: 38px;
    width: auto;
    display: block;
}

.site-nav ul.navbar {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.site-nav .navbar li a {
    position: relative;
    display: inline-block;
    color: #f5f5f5;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 0;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav .navbar li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent);
    transition: width 0.35s ease;
}

.site-nav .navbar li a:hover::before,
.site-nav .navbar li a.active::before {
    width: 100%;
}

.site-nav .navbar li a.active {
    color: var(--accent);
}

/* Highlighted call-to-action link */
.site-nav .navbar li a.nav-cta {
    background: var(--accent);
    color: var(--primary);
    padding: 7px 14px;
    border: 2px solid var(--accent);
    box-shadow: 3px 3px 0 0 #ffffff;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.site-nav .navbar li a.nav-cta::before {
    content: none;
}

.site-nav .navbar li a.nav-cta:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 0 #ffffff;
}

.site-nav .navbar li a.nav-cta.active {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* ── Hamburger button ────────────────────────────────────── */
.hamburger {
    display: none;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1.1rem;
    padding: 6px 11px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s;
}

.hamburger:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background-color: var(--primary);
    color: #ecf0f1;
    padding: 40px 20px 20px;
    margin-top: 50px;
    border-top: 4px solid var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 6px 0;
}

.footer-links a {
    color: #ecf0f1;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    color: #c3ccd6;
}

.contrast-toggle {
    background: transparent;
    color: #ecf0f1;
    border: 2px solid #ecf0f1;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
}

.contrast-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.contrast-toggle[aria-pressed="true"] {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* ── High contrast mode ──────────────────────────────────── */
body.high-contrast .site-nav {
    background: #000 !important;
    border-bottom: 2px solid #fff !important;
}

body.high-contrast .site-nav .logo,
body.high-contrast .site-nav .navbar li a {
    color: #fff !important;
}

body.high-contrast .site-nav .navbar li a.active {
    color: #ff0 !important;
}

body.high-contrast .site-footer {
    background: #000 !important;
    border-top: 2px solid #fff !important;
}

body.high-contrast .footer-section h3 {
    color: #ff0 !important;
}

/* ── Responsive nav ──────────────────────────────────────── */
@media screen and (max-width: 1100px) {
    .site-nav {
        flex-wrap: wrap;
        padding: 0.7rem 1rem;
    }

    .hamburger {
        display: block;
    }

    .site-nav ul.navbar {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 8px;
        padding: 6px 0 2px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .site-nav ul.navbar.open {
        display: flex;
    }

    .site-nav ul.navbar li {
        width: 100%;
    }

    .site-nav .navbar li a {
        display: block;
        padding: 11px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-nav .navbar li:last-child a {
        border-bottom: none;
    }

    .site-nav .navbar li a.nav-cta {
        text-align: center;
        margin-top: 8px;
        box-shadow: none;
    }

    .footer-content {
        text-align: center;
    }

    .footer-links {
        display: inline-block;
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .site-nav .logo span {
        font-size: 0.8rem;
    }
}

/* ============================================================
   CALENDAR  —  ported from the fblawebsite repo, recolored to
   the Skyline neo-brutalist palette.
   ============================================================ */

.container-cal {
    position: relative;
    display: flex;
    width: 100%;
    background-color: #fff;
}

.container-cal .left {
    width: 62%;
    padding: 20px;
    border-right: 2px solid var(--primary);
}

.calendar {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    background-color: #fff;
}

.calendar .month {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.calendar .month .prev,
.calendar .month .next {
    cursor: pointer;
    padding: 6px 12px;
    border: 2px solid var(--primary);
    background: #fff;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.calendar .month .prev:hover,
.calendar .month .next:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.calendar .weekdays {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.calendar .weekdays div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.calendar .days {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size: 0.9rem;
    font-weight: 700;
    border-left: 2px solid var(--primary);
    border-top: 0;
    margin-bottom: 16px;
}

.calendar .days .day {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    background: #fff;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transition: background-color 0.12s ease-in-out, color 0.12s ease-in-out;
}

.calendar .days .day:not(.prev-date):not(.next-date):hover {
    color: var(--primary);
    background-color: var(--accent);
}

.calendar .days .prev-date,
.calendar .days .next-date {
    color: #a8b2be;
    cursor: default;
}

.calendar .days .active {
    color: #fff;
    background-color: var(--primary);
    box-shadow: inset 0 0 0 3px var(--accent);
}

.calendar .days .active:hover {
    color: var(--primary);
}

.calendar .days .today {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
    text-decoration-color: var(--accent);
}

.calendar .days .event::after {
    content: "";
    position: absolute;
    bottom: 8%;
    left: 50%;
    width: 60%;
    height: 5px;
    transform: translateX(-50%);
    background-color: var(--accent);
}

.calendar .days .active.event::after {
    background-color: var(--accent);
}

.calendar .goto-today {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--primary);
}

.calendar .goto-today .goto {
    display: flex;
    align-items: center;
}

.calendar .goto-today .goto input {
    height: 34px;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-right: 0;
    outline: none;
}

.calendar .goto-today button {
    height: 34px;
    padding: 0 14px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 2px solid var(--primary);
    background-color: #fff;
    color: var(--primary);
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.calendar .goto-today button:hover {
    background-color: var(--accent) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* ── Right-hand event panel ──────────────────────────────── */
.container-cal .right {
    position: relative;
    width: 38%;
    display: flex;
    flex-direction: column;
    background: var(--primary);
    color: #fff;
}

.container-cal .right .today-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px;
    border-bottom: 2px solid var(--accent);
    text-transform: uppercase;
}

.container-cal .right .event-day {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.container-cal .right .event-date {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.events {
    width: 100%;
    flex: 1;
    max-height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.events .event {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 66px;
    padding: 12px 20px;
    color: #fff;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
}

.events .event:nth-child(even) {
    background: transparent;
}

.events .event:hover {
    background: linear-gradient(90deg, var(--accent), transparent);
    color: var(--primary);
}

.events .event .title {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.events .event .title .event-title {
    font-size: 0.95rem;
    font-weight: 900;
    margin: 0;
    color: inherit;
}

.events .event .title i {
    font-size: 0.45rem;
    color: var(--accent);
}

.events .event:hover .title i {
    color: var(--primary);
}

.events .event .event-time {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #c3ccd6;
    pointer-events: none;
}

.events .event:hover .event-time {
    color: var(--primary);
}

.events .no-event {
    flex: 1;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.events .no-event .event-none {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a97a6;
    margin: 0;
}

@media screen and (max-width: 900px) {
    .container-cal {
        flex-direction: column;
    }

    .container-cal .left {
        width: 100%;
        border-right: 0;
        border-bottom: 2px solid var(--primary);
    }

    .container-cal .right {
        width: 100%;
    }

    .calendar .days .day {
        min-height: 40px;
        font-size: 0.8rem;
    }
}

/* ============================================================
   NATIONALS PHOTO COLLAGES
   Two mosaics side by side, each a dense 3-column grid.
   .wide / .tall / .big let a tile span extra columns or rows so
   the result reads as a collage rather than a uniform gallery.
   Tiles crossfade between photos; see initNationalsCollages()
   in script.js.
   ============================================================ */

.collage-block {
    border: 4px solid var(--primary);
    background: #fff;
    box-shadow: 6px 6px 0 0 var(--accent);
    display: flex;
    flex-direction: column;
}

.collage-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem 1rem;
    padding: 0.8rem 1.1rem;
    background: var(--primary);
    color: #fff;
    border-bottom: 2px solid var(--primary);
}

.collage-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.collage-meta {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

/* ── The mosaic ──────────────────────────────────────────── */
.photo-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 118px;
    grid-auto-flow: dense;
    gap: 8px;
    padding: 8px;
}

.collage-tile {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 2px solid var(--primary);
    background: var(--light);
}

.collage-tile.wide { grid-column: span 2; }
.collage-tile.tall { grid-row: span 2; }
.collage-tile.big  { grid-column: span 2; grid-row: span 2; }

/* ── Crossfading photo layers ────────────────────────────── */
/* Two stacked layers per tile: one visible, one fading in behind
   or in front of it. JS swaps which is which. */
.collage-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    /* Kept comfortably under COLLAGE_SWAP_INTERVAL in script.js so one
       crossfade finishes before the next tile starts changing. */
    transition: opacity 650ms ease-in-out;
}

.collage-img.is-visible {
    opacity: 1;
}

/* Slow drift while a photo is on screen, for a bit of life */
.collage-tile.is-live .collage-img.is-visible {
    animation: collageDrift 14s ease-in-out infinite alternate;
}

@keyframes collageDrift {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}

/* Placeholder while photos are being collected */
.collage-empty {
    position: absolute;
    inset: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    border: 2px dashed var(--primary);
    background: #fff;
    color: var(--primary);
    opacity: 0.55;
    transition: opacity 400ms ease-in-out;
}

.collage-tile.is-live .collage-empty {
    opacity: 0;
    pointer-events: none;
}

.collage-empty i {
    font-size: 1.25rem;
}

.collage-empty-label {
    font-size: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* Caption overlay — only appears when the figcaption has text */
.collage-caption:not(:empty) {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    background: rgba(11, 37, 69, 0.92);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.35;
    transform: translateY(100%);
    transition: transform 250ms ease-in-out;
    z-index: 2;
}

.collage-tile:hover .collage-caption:not(:empty),
.collage-tile:focus-within .collage-caption:not(:empty) {
    transform: translateY(0);
}

/* Touch devices have no hover, so keep captions visible */
@media (hover: none) {
    .collage-caption:not(:empty) {
        transform: translateY(0);
    }
}

/* ── Responsive ──────────────────────────────────────────── */
/* Below the lg breakpoint the two collages stack, so each one gets
   the full width back and the tiles can grow. */
@media screen and (max-width: 1023px) {
    .photo-collage {
        grid-auto-rows: 150px;
        gap: 10px;
        padding: 10px;
    }
}

@media screen and (max-width: 560px) {
    .photo-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 115px;
        gap: 8px;
        padding: 8px;
    }
    /* A 2x2 tile would swallow an entire phone row */
    .collage-tile.big {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Respect a reduced-motion preference: photos still appear and
   still cycle, they just cut instead of fading and never drift. */
@media (prefers-reduced-motion: reduce) {
    .collage-img {
        transition: none;
    }
    .collage-tile.is-live .collage-img.is-visible {
        animation: none;
    }
    .collage-empty {
        transition: none;
    }
}

@supports not (grid-auto-flow: dense) {
    .photo-collage {
        display: flex;
        flex-wrap: wrap;
    }
    .collage-tile {
        flex: 1 1 150px;
        height: 150px;
    }
}

/* ============================================================
   MONTH HIGHLIGHTS
   Sits under the calendar and lists everything happening in the
   month currently on screen. Populated by updateMonthHighlights().
   ============================================================ */

.month-highlights {
    background: #fff;
}

.month-highlights-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem 1rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 2px solid var(--primary);
    background: var(--light);
}

.month-highlights-title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
}

.month-highlights-month {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    opacity: 0.7;
}

.month-highlights-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 260px;
    overflow-y: auto;
}

.month-highlights-list > li + li {
    border-top: 1px solid rgba(11, 37, 69, 0.15);
}

/* Each row is a button so it can be clicked or tabbed to */
.month-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    color: var(--primary);
    transition: background-color 0.15s ease-in-out;
}

.month-highlight:hover,
.month-highlight:focus-visible {
    background-color: var(--accent);
}

.month-highlight-date {
    flex-shrink: 0;
    width: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: #fff;
    line-height: 1.1;
}

.month-highlight-dow {
    font-size: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.month-highlight-day {
    font-size: 1.1rem;
    font-weight: 900;
}

.month-highlight-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.month-highlight-title {
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.month-highlight-time {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.72;
}

/* Events that have already passed this month */
.month-highlight.is-past .month-highlight-date {
    background: #fff;
    color: var(--primary);
}

.month-highlight.is-past .month-highlight-dow {
    color: var(--primary);
}

.month-highlight.is-past .month-highlight-title {
    text-decoration: line-through;
    opacity: 0.6;
}

.month-highlight.is-past .month-highlight-time {
    opacity: 0.5;
}

.month-highlights-none {
    padding: 1.5rem 1.25rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    opacity: 0.5;
}

/* ============================================================
   COMPETITION RESOURCES — tabs and collapsible categories
   ============================================================ */

/* ── DECA / FBLA tab strip ───────────────────────────────── */
.resource-tab {
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.resource-tab:hover {
    background: var(--accent);
    color: var(--primary);
}

.resource-tab i {
    color: inherit;
}

/* The tab you are already on stays navy — hovering it should not
   invert, because there is nothing to switch to. */
.resource-tab.is-active {
    background: var(--primary);
    color: #fff;
    cursor: default;
}

.resource-tab.is-active:hover {
    background: var(--primary);
    color: #fff;
}

/* ── Collapsible category cards ──────────────────────────── */
.resource-category-toggle {
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease-in-out;
}

.resource-category-toggle:hover,
.resource-category-toggle:focus-visible {
    background: var(--light);
}

/* The heading keeps its navy banner and white text on hover */
.resource-category-toggle .subsection-banner,
.resource-category-toggle:hover .subsection-banner {
    color: #fff;
}

.resource-category-toggle .subsection-banner i {
    color: #fff;
}

.resource-category-chevron {
    color: var(--primary);
    font-size: 1rem;
    transition: transform 0.25s ease-in-out;
}

.resource-category.is-open .resource-category-chevron {
    transform: rotate(180deg);
}

/* Animated open/close without hard-coding a height */
.resource-category-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-in-out;
}

.resource-category.is-open .resource-category-panel {
    grid-template-rows: 1fr;
}

.resource-category-inner {
    overflow: hidden;
    min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
    .resource-category-panel,
    .resource-category-chevron {
        transition: none;
    }
}


/* ============================================================
   PHOTO GALLERY — 2025–2026 SEASON ROUTE
   Curved dashed "map" timeline with photo clusters that fan
   outward on hover. Scoped to #page-gallery so other pages are
   untouched.
   ============================================================ */

#page-gallery.season-gallery-page {
    background:
        radial-gradient(circle at 8% 10%, rgba(252, 163, 17, 0.10), transparent 18rem),
        radial-gradient(circle at 92% 35%, rgba(11, 37, 69, 0.06), transparent 22rem),
        #fff;
}

#page-gallery .season-gallery-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4.5rem 0 2rem;
}

#page-gallery .season-gallery-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--primary);
}

#page-gallery .season-gallery-kicker {
    margin: 0 0 0.8rem;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
}

#page-gallery .season-gallery-title {
    margin: 0;
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: 0.78;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.065em;
    color: var(--primary);
}

#page-gallery .season-instagram-feature {
    position: relative;
    flex: 0 0 min(390px, 42%);
    min-height: 185px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 1.35rem 1.45rem;
    border: 3px solid var(--primary);
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    box-shadow: 7px 7px 0 var(--accent);
    isolation: isolate;
    transition:
        transform 180ms cubic-bezier(.2,.75,.2,1),
        box-shadow 180ms ease;
}

#page-gallery .season-instagram-watermark {
    position: absolute;
    z-index: -1;
    right: -0.18em;
    top: 50%;
    transform: translateY(-50%) rotate(-8deg);
    font-size: clamp(10rem, 17vw, 14rem);
    line-height: 1;
    color: rgba(255,255,255,0.11);
    transition:
        transform 240ms cubic-bezier(.2,.75,.2,1),
        color 180ms ease;
}

#page-gallery .season-instagram-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.42rem;
}

#page-gallery .season-instagram-eyebrow {
    font-size: 0.58rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    color: var(--accent);
}

#page-gallery .season-instagram-handle {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.035em;
    color: #fff;
}

#page-gallery .season-instagram-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.55rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255,255,255,0.35);
    font-size: 0.66rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}

#page-gallery .season-instagram-cta i {
    font-size: 0.62rem;
    transition: transform 160ms ease;
}

#page-gallery .season-instagram-feature:hover,
#page-gallery .season-instagram-feature:focus-visible {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 var(--accent);
}

#page-gallery .season-instagram-feature:hover .season-instagram-watermark,
#page-gallery .season-instagram-feature:focus-visible .season-instagram-watermark {
    transform: translateY(-50%) rotate(-3deg) scale(1.06);
    color: rgba(255,255,255,0.16);
}

#page-gallery .season-instagram-feature:hover .season-instagram-cta i,
#page-gallery .season-instagram-feature:focus-visible .season-instagram-cta i {
    transform: translate(2px, -2px);
}

/* Override the site's generic body-link hover inversion for this feature card. */
main #page-gallery .season-instagram-feature:hover,
main #page-gallery .season-instagram-feature:focus-visible {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

main #page-gallery .season-instagram-feature:hover i,
main #page-gallery .season-instagram-feature:focus-visible i {
    color: inherit !important;
}

/* ── Route structure ─────────────────────────────────────── */

#page-gallery .season-route-wrap {
    position: relative;
    isolation: isolate;
    padding: 3rem 0 1rem;
}

#page-gallery .season-route-line {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

#page-gallery .season-route-line path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 15 16;
    opacity: 0.82;
}

#page-gallery .season-era-label {
    position: relative;
    z-index: 2;
    width: fit-content;
    margin-inline: auto;
    padding: 0.55rem 0.95rem;
    background: var(--accent);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    box-shadow: 3px 3px 0 var(--primary);
}

#page-gallery .season-era-label--top {
    margin-bottom: 2rem;
}

#page-gallery .season-era-label--bottom {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

#page-gallery .season-stop {
    --marker-x: 50%;
    position: relative;
    z-index: 2;
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
    align-items: center;
    gap: 1.6rem;
    padding: 2.2rem 0;
}

#page-gallery .season-stop--last {
    min-height: 320px;
}

#page-gallery .season-stop-copy {
    /* Wide enough for the longest title word (INVITATIONAL) to sit
       on one line at the title's largest size. */
    max-width: 360px;
    min-width: 0;
}

#page-gallery .season-stop--left .season-stop-copy {
    padding-right: 0.75rem;
}

#page-gallery .season-stop--right .season-stop-copy {
    padding-left: 0.75rem;
}

#page-gallery .season-stop--left .season-stop-copy {
    grid-column: 1;
    justify-self: end;
    text-align: right;
}

#page-gallery .season-stop--left .season-photo-cluster {
    grid-column: 3;
    justify-self: start;
}

#page-gallery .season-stop--right .season-photo-cluster {
    grid-column: 1;
    justify-self: end;
}

#page-gallery .season-stop--right .season-stop-copy {
    grid-column: 3;
    justify-self: start;
    text-align: left;
}

#page-gallery .season-stop-meta {
    margin: 0 0 0.5rem;
    font-size: 0.58rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
    opacity: 0.65;
}

#page-gallery .season-stop-title {
    margin: 0;
    max-width: 100%;
    font-size: clamp(1.7rem, 3.2vw, 3rem);
    line-height: 0.95;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.045em;
    color: var(--primary);
    /* Never split a word across lines — "anywhere" was leaving the
       last letter of INVITATIONAL stranded on its own line. Long
       titles wrap between words and the size above keeps the
       longest single word inside the column. */
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

#page-gallery .season-stop-caption {
    position: relative;
    margin: 1rem 0 1.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(11, 37, 69, 0.28);
    font-size: 0.82rem;
    line-height: 1.6;
    font-weight: 700;
    font-style: italic;
    color: var(--primary);
}

#page-gallery .season-stop-caption::before {
    content: "QUOTE";
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.5rem;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.55;
}

#page-gallery .season-album-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding: 0.25rem 0 0.18rem;
    font-size: 0.68rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 150ms ease, border-color 150ms ease;
}

#page-gallery .season-album-link i {
    font-size: 0.62rem;
    transition: transform 150ms ease;
}

#page-gallery .season-album-link:hover i {
    transform: translate(2px, -2px);
}

/* The marker floats over the SVG route. */
#page-gallery .season-marker {
    position: absolute;
    top: 50%;
    left: var(--marker-x);
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--accent);
    border: 3px solid var(--primary);
    box-shadow: 3px 3px 0 #fff;
    z-index: 5;
}

#page-gallery .season-marker span {
    position: absolute;
    inset: 4px;
    background: var(--primary);
}

/* ── Preview photo stacks ────────────────────────────────── */

#page-gallery .season-photo-cluster {
    position: relative;
    width: min(480px, 100%);
    height: 350px;
    overflow: visible;
    perspective: 900px;
}

#page-gallery .season-photo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 215px;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(11, 37, 69, 0.06), rgba(252, 163, 17, 0.13)),
        #f5f6f8;
    border: 3px solid var(--primary);
    box-shadow: 5px 5px 0 var(--accent);
    overflow: hidden;
    color: var(--primary);
    transition:
        transform 360ms cubic-bezier(.2,.75,.2,1),
        box-shadow 260ms ease,
        z-index 0s linear;
    will-change: transform;
}

#page-gallery .season-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#page-gallery .season-photo span {
    font-size: 0.56rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.42;
}

#page-gallery .season-photo--1 {
    z-index: 4;
    transform: translate(-50%, -50%) rotate(-2deg);
}

#page-gallery .season-photo--2 {
    z-index: 3;
    transform: translate(-47%, -47%) rotate(4deg);
}

#page-gallery .season-photo--3 {
    z-index: 2;
    transform: translate(-53%, -46%) rotate(-5deg);
}

#page-gallery .season-photo--4 {
    z-index: 1;
    transform: translate(-49%, -53%) rotate(7deg);
}

/* Fan out in four directions when the preview is hovered/focused. */
@media (hover: hover) and (pointer: fine) {
    /* Irregular "photo burst": all four become fully visible without looking like a rigid grid. */
    #page-gallery .season-photo-cluster:hover .season-photo--1 {
        z-index: 4;
        transform: translate(calc(-50% - 132px), calc(-50% - 101px)) rotate(-8deg);
        box-shadow: 9px 9px 0 var(--accent);
    }

    #page-gallery .season-photo-cluster:hover .season-photo--2 {
        z-index: 3;
        transform: translate(calc(-50% + 124px), calc(-50% - 82px)) rotate(7deg);
        box-shadow: 9px 9px 0 var(--accent);
    }

    #page-gallery .season-photo-cluster:hover .season-photo--3 {
        z-index: 2;
        transform: translate(calc(-50% - 116px), calc(-50% + 93px)) rotate(-5deg);
        box-shadow: 9px 9px 0 var(--accent);
    }

    #page-gallery .season-photo-cluster:hover .season-photo--4 {
        z-index: 1;
        transform: translate(calc(-50% + 136px), calc(-50% + 108px)) rotate(10deg);
        box-shadow: 9px 9px 0 var(--accent);
    }
}

/* ── Bottom contribution note ────────────────────────────── */

#page-gallery .season-gallery-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.5rem;
    align-items: baseline;
    margin: 2rem 0 3rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary);
}

#page-gallery .season-gallery-note-label {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

#page-gallery .season-gallery-note p {
    margin: 0;
    max-width: 46rem;
    font-size: 0.78rem;
    line-height: 1.6;
    font-weight: 650;
}

/* ── Responsive gallery route ────────────────────────────── */

@media screen and (max-width: 850px) {
    #page-gallery .season-gallery-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    #page-gallery .season-gallery-title {
        font-size: clamp(4rem, 18vw, 7rem);
    }

    #page-gallery .season-route-line {
        width: 88px;
        left: 0;
        right: auto;
    }

    #page-gallery .season-route-line path {
        stroke-width: 7;
    }

    #page-gallery .season-stop,
    #page-gallery .season-stop--last {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 3.2rem 0 3.2rem 5.25rem;
    }

    #page-gallery .season-stop--left .season-stop-copy,
    #page-gallery .season-stop--right .season-stop-copy,
    #page-gallery .season-stop--left .season-photo-cluster,
    #page-gallery .season-stop--right .season-photo-cluster {
        justify-self: auto;
        text-align: left;
    }

    #page-gallery .season-stop--left .season-stop-copy,
    #page-gallery .season-stop--right .season-stop-copy {
        padding-left: 0;
        padding-right: 0;
    }

    #page-gallery .season-marker {
        left: 34px !important;
        top: 4.25rem;
    }

    #page-gallery .season-photo-cluster {
        width: min(330px, 100%);
        height: 230px;
    }

    #page-gallery .season-era-label {
        margin-left: 0;
        margin-right: auto;
    }
}

@media screen and (max-width: 560px) {
    #page-gallery .season-gallery-shell {
        width: min(100% - 1.25rem, 1180px);
        padding-top: 3rem;
    }

    #page-gallery .season-gallery-kicker {
        font-size: 0.58rem;
    }

    #page-gallery .season-instagram-feature {
        width: 100%;
        min-height: 155px;
        flex-basis: auto;
        padding: 1.15rem 1.2rem;
    }

    #page-gallery .season-instagram-watermark {
        font-size: 10rem;
    }

    #page-gallery .season-route-line {
        width: 54px;
    }

    #page-gallery .season-stop,
    #page-gallery .season-stop--last {
        padding-left: 3.6rem;
    }

    #page-gallery .season-marker {
        left: 22px !important;
    }

    #page-gallery .season-photo-cluster {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    #page-gallery .season-photo {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        transform: none !important;
        box-shadow: 3px 3px 0 var(--accent);
    }

    #page-gallery .season-gallery-note {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }
}

/* Reduced motion keeps the gallery fully usable without fan animation. */
@media (prefers-reduced-motion: reduce) {
    #page-gallery .season-photo,
    #page-gallery .season-album-link i,
    #page-gallery .season-instagram-feature,
    #page-gallery .season-instagram-watermark,
    #page-gallery .season-instagram-cta i {
        transition: none;
    }
}

/* Keep the site's generic body-link hover rule from repainting the
   photo-gallery text links into large white blocks. */
main #page-gallery .season-album-link:hover {
    background: transparent !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

main #page-gallery .season-album-link:hover i {
    color: var(--primary) !important;
}



/* ============================================================
   ALUMNI CARDS
   Text-only: initials block, name, and a LinkedIn action bar.
   ============================================================ */

.alumni-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.25rem;
    background: #fff;
    border: 2px solid var(--primary);
    box-shadow: 4px 4px 0 0 var(--primary);
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.alumni-card:hover,
.alumni-card:focus-within {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 0 var(--accent);
}

/* Initials stand in for a headshot without needing one */
.alumni-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    box-shadow: 3px 3px 0 0 var(--accent);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.alumni-name {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.015em;
    color: var(--primary);
    /* Long names wrap between words, never mid-word */
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* Action bar pinned to the bottom so every card lines up */
.alumni-action {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.alumni-action .fa-linkedin {
    font-size: 0.95rem;
}

.alumni-action-out {
    margin-left: auto;
    font-size: 0.6rem;
}

.alumni-action:hover,
.alumni-action:focus-visible {
    background: var(--accent);
    color: var(--primary);
}

.alumni-action:hover .fa-linkedin,
.alumni-action:focus-visible .fa-linkedin {
    color: var(--primary);
}

/* Cards still waiting on a real profile URL */
.alumni-card.is-pending {
    box-shadow: none;
    border-style: dashed;
    opacity: 0.6;
}

.alumni-card.is-pending:hover,
.alumni-card.is-pending:focus-within {
    transform: none;
    box-shadow: none;
}

.alumni-card.is-pending .alumni-initials {
    background: #fff;
    color: var(--primary);
    border-style: dashed;
    box-shadow: none;
}

.alumni-action.is-pending {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #fff;
    color: var(--primary);
    border: 2px dashed var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    cursor: default;
}

/* A multi-day window shows "12–23" rather than a single date */
.month-highlight-date.is-range {
    width: 58px;
}

.month-highlight-day.is-range {
    font-size: 0.85rem;
    letter-spacing: -0.02em;
}

/* Event time + location lines */
.events .event .event-location {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #c3ccd6;
    pointer-events: none;
}

.events .event:hover .event-location {
    color: var(--primary);
}

.events .event .event-time i,
.events .event .event-location i {
    width: 0.8rem;
    margin-right: 0.1rem;
}

.month-highlight-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.45rem;
}

/* Separate the time from the place with a dot */
.month-highlight-where {
    position: relative;
    padding-left: 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.72;
}

.month-highlight-where::before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: 0.6;
}

.month-highlight.is-past .month-highlight-where {
    opacity: 0.5;
}

@media screen and (max-width: 420px) {
    .month-highlight-where {
        padding-left: 0;
        flex-basis: 100%;
    }
    .month-highlight-where::before {
        content: none;
    }
}

/* Month-wide note (e.g. DECA Month) above the month list */
.month-note {
    margin: 0;
    padding: 0.55rem 1.25rem;
    background: var(--accent);
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
}

.month-note[hidden] {
    display: none;
}
