@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

:root {
    --av-red: #d8243b;
    --av-red-dark: #9f1728;
    --ink: #1c1e21;
    --muted: #626975;
    --line: #d9dde3;
    --paper: #ffffff;
    --wash: #f5f6f8;
    --soft-red: #fff1f3;
    --gray: #c4c4c4;
    --focus: #2457a6;
    --site-shell-width: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.public-body {
    background: var(--paper);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.portal-body {
    background: var(--wash);
}

.app-body {
    background: var(--wash);
}

.site-header,
.app-header {
    align-items: center;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    min-height: 4.75rem;
    padding: 0.85rem clamp(1rem, 4vw, 2rem);
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 0.75rem;
    min-width: 0;
}

.brand-mark,
.portal-logo {
    align-items: center;
    background: var(--av-red);
    color: white;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
}

.brand-mark {
    border-radius: 8px;
    height: 2.55rem;
    width: 2.55rem;
}

.logo-image {
    background: transparent;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.site-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.site-nav-menu {
    align-items: center;
    display: none;
    position: relative;
}

.site-nav-menu-button {
    display: none;
}

.site-nav-align-right {
    margin-left: auto;
}

.site-nav-align-center {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.site-nav-align-left {
    justify-content: flex-start;
    margin-right: auto;
}

.site-nav-menu.site-nav-align-right .site-nav {
    justify-content: flex-end;
}

.site-nav-menu.site-nav-align-center .site-nav {
    justify-content: center;
}

.site-nav-menu.site-nav-align-left .site-nav {
    justify-content: flex-start;
}

.site-nav a,
.site-nav button {
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.55rem 0.7rem;
}

.site-nav a:hover,
.site-nav button:hover {
    background: var(--soft-red);
    color: var(--av-red-dark);
}

.site-nav a.is-active {
    background: var(--soft-red);
    color: var(--av-red-dark);
}

.portal-primary-nav {
    flex: 1;
}

.account-menu {
    position: relative;
}

.account-menu summary {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 850;
    gap: 0.55rem;
    list-style: none;
    min-height: 2.65rem;
    padding: 0.55rem 0.75rem;
}

.account-menu summary::-webkit-details-marker {
    display: none;
}

.account-menu[open] summary,
.account-menu summary:hover {
    border-color: var(--av-red);
    color: var(--av-red-dark);
}

.account-menu-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(28, 30, 33, 0.14);
    display: grid;
    gap: 0.2rem;
    max-height: min(70vh, 32rem);
    min-width: 15rem;
    overflow-y: auto;
    padding: 0.45rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 20;
}

.account-menu-panel a,
.account-menu-panel button {
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--muted);
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.65rem 0.75rem;
    text-align: left;
    width: 100%;
}

.account-menu-panel a:hover,
.account-menu-panel button:hover {
    background: var(--soft-red);
    color: var(--av-red-dark);
}

.account-menu-panel a.is-active {
    background: var(--soft-red);
    color: var(--av-red-dark);
}

.account-menu-label {
    color: var(--muted);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.65rem 0.75rem 0.25rem;
    text-transform: uppercase;
}

.site-footer {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: auto auto 0;
    max-width: var(--site-shell-width);
    padding: 1.2rem clamp(1rem, 4vw, 2rem) 1.6rem;
    text-align: left;
    width: 100%;
}

.site-footer > div {
    display: grid;
    gap: 0.15rem;
    justify-items: start;
}

.site-footer strong {
    color: var(--ink);
}

.site-footer span {
    font-size: 0.9rem;
    font-weight: 720;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.site-footer a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 850;
}

.site-footer a:hover,
.site-footer a.is-active {
    color: var(--av-red-dark);
}

.public-site-footer {
    background: var(--av-red-dark);
    border-top: 5px solid var(--av-red);
    color: #fff;
    margin: 3rem 0 0;
    max-width: none;
    padding: 0;
    width: 100%;
}

.public-site-footer > .site-footer-inner {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin: 0 auto;
    max-width: var(--site-shell-width);
    padding: 1.15rem clamp(1rem, 4vw, 2rem);
    width: 100%;
}

.site-footer-brand {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 0.85rem;
    min-width: 0;
}

.site-footer-brand:hover {
    color: #fff;
}

.site-footer-brand .brand-mark {
    background: transparent;
    border-radius: 0;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.32));
    flex: 0 0 auto;
    height: 3.5rem;
    object-fit: contain;
    width: 3.5rem;
}

.site-footer-brand > span {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.site-footer-brand strong,
.site-footer-meta strong {
    color: #fff;
}

.site-footer-brand strong {
    font-size: clamp(1.15rem, 1.35vw, 1.45rem);
    font-weight: 950;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.site-footer-brand small,
.site-footer-meta span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-footer-meta {
    display: grid;
    gap: 0.15rem;
    justify-items: end;
    min-width: max-content;
    text-align: right;
}

.site-footer-meta strong {
    font-size: 0.9rem;
    font-weight: 950;
}

.flash {
    background: #e8f7ef;
    border-bottom: 1px solid #b9e4cb;
    color: #16603a;
    font-weight: 800;
    padding: 0.7rem 1rem;
    text-align: center;
}

.hero-shell,
.page-shell,
.auth-shell,
.student-portal-shell {
    margin: 0 auto;
    max-width: var(--site-shell-width);
    padding: clamp(1rem, 4vw, 2rem);
}

.portal-body .page-shell {
    padding-top: clamp(0.75rem, 2.4vw, 1.25rem);
}

.hero {
    align-items: stretch;
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
    min-height: clamp(28rem, 68vh, 38rem);
}

.hero-copy {
    align-self: center;
    padding: 2rem 0;
}

.eyebrow {
    color: var(--av-red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

h1,
h2 {
    line-height: 1.08;
    margin: 0;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 4.6rem);
}

h2 {
    font-size: 1.25rem;
}

.hero-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 1rem 0 0;
    max-width: 42rem;
}

.hero-media {
    background:
        linear-gradient(135deg, rgba(216, 36, 59, 0.94), rgba(28, 30, 33, 0.92)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: auto, 42px 42px;
    border-radius: 8px;
    min-height: 26rem;
    overflow: hidden;
    position: relative;
}

.hero-media.has-photos {
    background: transparent;
    border-radius: 0;
    min-height: clamp(22rem, 42vw, 38rem);
}

.hero-photo-stack,
.hero-photo,
.hero-photo-shade {
    inset: 0;
    position: absolute;
}

.hero-photo {
    display: block;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 900ms ease, transform 6s ease;
    width: 100%;
}

.hero-video {
    background: #111;
}

.hero-photo.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-photo-shade {
    background: transparent;
    pointer-events: none;
}

.hero-shell.homepage-option-a-shell {
    max-width: none;
    padding: 0 0 clamp(1.25rem, 4vw, 2.5rem);
    width: 100%;
}

.homepage-photo-hero {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    min-height: clamp(36rem, 74vh, 48rem);
    overflow: hidden;
    padding: clamp(3.25rem, 8vw, 6.5rem) max(clamp(1rem, 6vw, 4rem), calc((100vw - var(--site-shell-width)) / 2 + clamp(1rem, 4vw, 2rem))) clamp(7rem, 12vw, 10rem);
    position: relative;
}

.homepage-photo-hero .hero-copy {
    align-self: center;
    container-type: inline-size;
    color: #fff;
    max-width: min(76rem, 100%);
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 2;
}

.homepage-photo-hero.hero-photo-shade-off .hero-copy {
    text-shadow: 0 2px 18px rgba(17, 24, 39, 0.82);
}

.homepage-photo-hero .eyebrow {
    color: var(--av-red);
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
}

.homepage-photo-hero h1 {
    color: #fff;
    font-size: clamp(2.35rem, 6.2vw, 4.85rem);
    font-size: clamp(2.35rem, 6.8cqi, 4.85rem);
    line-height: 0.98;
    max-width: 100%;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
}

.homepage-photo-hero .hero-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.4;
    max-width: 34rem;
}

.homepage-photo-hero .button-row {
    margin-top: 1.35rem;
}

.homepage-photo-hero .button:not(.button-primary) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.homepage-photo-hero .hero-media {
    background: #111827;
    border-radius: 0;
    inset: 0;
    min-height: 0;
    position: absolute;
    z-index: -2;
}

.homepage-photo-hero .hero-photo-shade {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.74) 42%, rgba(17, 24, 39, 0.2) 100%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.82));
    z-index: 1;
}

.homepage-photo-hero .hero-photo-dots {
    bottom: 2rem;
    left: max(clamp(1rem, 6vw, 4rem), calc((100vw - var(--site-shell-width)) / 2 + clamp(1rem, 4vw, 2rem)));
}

.homepage-announcement-banner {
    display: grid;
    gap: 0.75rem;
    margin: clamp(-6.5rem, -8vw, -4rem) auto 0;
    max-width: var(--site-shell-width);
    padding: 0 clamp(1rem, 4vw, 2rem);
    position: relative;
    z-index: 4;
}

.homepage-announcement-row {
    align-items: center;
    background: rgba(17, 24, 39, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 5px solid var(--av-red);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.22);
    color: #fff;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(1rem, 2.4vw, 1.35rem);
    backdrop-filter: blur(18px);
}

.homepage-announcement-row .eyebrow {
    margin-bottom: 0.3rem;
}

.homepage-announcement-row h2 {
    color: #fff;
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
}

.homepage-announcement-body {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 760;
    line-height: 1.45;
    margin-top: 0.45rem;
}

.homepage-announcement-body p {
    margin: 0;
}

.homepage-announcement-body p + p {
    margin-top: 0.45rem;
}

.hero-photo-dots {
    bottom: 1rem;
    display: flex;
    gap: 0.42rem;
    left: 1rem;
    position: absolute;
    z-index: 2;
}

.hero-photo-dots span {
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    height: 0.48rem;
    width: 0.48rem;
}

.hero-photo-dots span.is-active {
    background: #fff;
    width: 1.35rem;
}

.field-lines {
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
    border-right: 0;
    inset: 18%;
    position: absolute;
}

.field-lines::before,
.field-lines::after {
    background: rgba(255, 255, 255, 0.28);
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 2px;
}

.field-lines::before {
    left: 33%;
}

.field-lines::after {
    right: 33%;
}

.monogram {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(6rem, 18vw, 15rem);
    font-weight: 950;
    inset: auto 1.2rem -2.4rem auto;
    line-height: 1;
    position: absolute;
}

.button-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.button-row.compact {
    margin-top: 0;
}

.button {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.65rem 0.9rem;
}

.button:hover {
    border-color: var(--av-red);
    color: var(--av-red-dark);
}

.button-primary {
    background: var(--av-red);
    border-color: var(--av-red);
    color: white;
}

.button-primary:hover {
    background: var(--av-red-dark);
    border-color: var(--av-red-dark);
    color: white;
}

.button[disabled],
.button[aria-disabled="true"] {
    background: #eceff3;
    border-color: #d8dde5;
    color: #6b7280;
    cursor: not-allowed;
}

.button.small {
    min-height: 2.15rem;
    padding: 0.4rem 0.65rem;
}

.button.full {
    width: 100%;
}

.page-shell.narrow {
    max-width: var(--site-shell-width);
}

.website-page-shell {
    max-width: var(--site-shell-width);
}

.website-page-preview-banner {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    font-weight: 800;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.page-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.page-header h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.student-signup-page {
    max-width: var(--site-shell-width);
    padding-top: clamp(1.35rem, 4vw, 2.25rem);
    width: 100%;
}

.student-signup-header {
    border-top: 5px solid var(--av-red);
    box-shadow: 0 20px 44px rgba(17, 17, 17, 0.07);
    margin-bottom: 1rem;
}

.student-signup-header h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
}

.student-signup-header .website-page-summary {
    margin: 0.55rem 0 0;
    max-width: 48rem;
}

.student-signup-form {
    gap: 1.1rem;
}

.signup-success {
    display: grid;
    gap: 0.6rem;
    padding: clamp(1.15rem, 3vw, 1.65rem);
}

.signup-success h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
}

.signup-success p:not(.eyebrow) {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.45;
    margin: 0;
    max-width: 46rem;
}

.signup-success-timer {
    background: #f8fafc;
    border: 1px solid #e0e6ee;
    border-left: 3px solid var(--av-red);
    border-radius: 8px;
    margin-top: 0.35rem;
    padding: 0.65rem 0.8rem;
}

.student-signup-page .signup-panel {
    box-shadow: 0 20px 44px rgba(17, 17, 17, 0.07);
    padding: clamp(1rem, 3vw, 1.5rem);
}

.student-signup-page .signup-panel,
.student-signup-page .signup-success {
    border-top: 5px solid var(--av-red);
}

.signup-section-head {
    border-bottom: 1px solid #e8ebf0;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
}

.signup-section-title {
    display: grid;
    gap: 0.2rem;
}

.signup-section-title p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0.2rem 0 0;
}

.student-signup-page .signup-form-grid {
    column-gap: 1rem;
    row-gap: 0.95rem;
}

.student-signup-page .form-field {
    align-content: start;
    gap: 0.42rem;
}

.student-signup-page input,
.student-signup-page select,
.student-signup-page textarea {
    background: #fbfcfe;
    border-color: #ccd3dd;
    min-height: 2.95rem;
    padding: 0.62rem 0.75rem;
}

.student-signup-page input:focus,
.student-signup-page select:focus,
.student-signup-page textarea:focus {
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(36, 87, 166, 0.12);
    outline: none;
}

.student-signup-page .field-help {
    background: #f8fafc;
    border: 1px solid #e0e6ee;
    border-left: 3px solid var(--av-red);
    border-radius: 8px;
    color: #4b5563;
    font-size: 0.86rem;
    padding: 0.62rem 0.75rem;
}

.student-signup-page .fieldset {
    background: #fbfcfe;
    border-color: #e0e6ee;
    padding: 1rem;
}

.student-signup-page .fieldset legend {
    background: var(--paper);
    border: 1px solid #e0e6ee;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
}

.student-signup-page .sticky-actions {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    bottom: auto;
    box-shadow: none;
    display: flex;
    justify-content: flex-end;
    left: auto;
    padding: 0.2rem 0 0;
    position: static;
    transform: none;
    width: auto;
    z-index: auto;
}

.student-signup-page .button-primary {
    min-width: 10rem;
    box-shadow: 0 10px 24px rgba(216, 36, 59, 0.18);
}

.panel,
.metric,
.tool-card,
.student-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.panel {
    padding: clamp(1rem, 3vw, 1.35rem);
}

.panel + .panel {
    margin-top: 1rem;
}

.homepage-overview {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
    margin-top: 1rem;
}

.hero-shell.homepage-option-a-shell .homepage-overview {
    color: #fff;
    margin: 1rem auto 0;
    max-width: var(--site-shell-width);
    padding: 0 clamp(1rem, 4vw, 2rem);
    position: relative;
    z-index: 3;
}

.homepage-links-panel,
.homepage-upcoming-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(1rem, 3vw, 1.35rem);
}

.hero-shell.homepage-option-a-shell .homepage-links-panel,
.hero-shell.homepage-option-a-shell .homepage-upcoming-panel {
    background: rgba(17, 24, 39, 0.76);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
    backdrop-filter: blur(18px);
}

.hero-shell.homepage-option-a-shell .section-head h2,
.hero-shell.homepage-option-a-shell .homepage-link-card strong,
.hero-shell.homepage-option-a-shell .homepage-event-main strong {
    color: #fff;
}

.hero-shell.homepage-option-a-shell .section-head a,
.hero-shell.homepage-option-a-shell .homepage-link-card span,
.hero-shell.homepage-option-a-shell .homepage-event-main span,
.hero-shell.homepage-option-a-shell .empty-state {
    color: rgba(255, 255, 255, 0.74);
}

.homepage-link-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-link-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: grid;
    gap: 0.3rem;
    min-height: 6.8rem;
    padding: 0.9rem;
}

.hero-shell.homepage-option-a-shell .homepage-link-card,
.hero-shell.homepage-option-a-shell .homepage-event-row {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.17);
    color: #fff;
}

.hero-shell.homepage-option-a-shell .homepage-link-card:hover,
.hero-shell.homepage-option-a-shell .homepage-event-row:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.homepage-link-card:hover {
    border-color: var(--av-red);
}

.homepage-link-card strong {
    font-size: 1rem;
}

.homepage-link-card span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 720;
    line-height: 1.35;
}

.homepage-event-list {
    display: grid;
    gap: 0.65rem;
}

.homepage-event-row {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--event-accent, var(--av-red));
    border-radius: 8px;
    color: var(--ink);
    display: grid;
    gap: 0.85rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.8rem;
}

.homepage-event-row:hover {
    border-color: var(--av-red);
    border-left-color: var(--event-accent, var(--av-red));
}

.homepage-event-date {
    align-items: center;
    background: #fff4f6;
    border: 1px solid #ffd2d9;
    border-radius: 8px;
    color: var(--av-red-dark);
    display: grid;
    justify-items: center;
    min-width: 3.25rem;
    padding: 0.35rem 0.45rem;
}

.homepage-event-date span {
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.homepage-event-date strong {
    font-size: 1.3rem;
    line-height: 1;
}

.homepage-event-main {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.homepage-event-main span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 750;
}

.hero-shell.homepage-option-a-shell .instagram-homepage-panel {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(var(--site-shell-width) - clamp(2rem, 8vw, 4rem));
}

.instagram-homepage-panel {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.78fr) minmax(17rem, 1.22fr);
    margin-top: 1rem;
}

.instagram-homepage-copy {
    align-content: center;
    display: grid;
}

.instagram-homepage-copy p:not(.eyebrow) {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.45;
    margin: 0.75rem 0 0;
}

.instagram-homepage-embed,
.instagram-homepage-fallback {
    background: #f7f8fa;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 15rem;
    overflow: hidden;
}

.instagram-homepage-embed {
    padding: 0.75rem;
}

.instagram-homepage-embed iframe,
.instagram-homepage-embed blockquote {
    max-width: 100% !important;
}

.instagram-homepage-fallback {
    align-items: center;
    color: var(--ink);
    display: grid;
    font-weight: 850;
    gap: 0.85rem;
    justify-items: center;
    padding: 1.5rem;
    text-align: center;
}

.instagram-homepage-fallback:hover {
    border-color: var(--av-red);
    color: var(--av-red-dark);
}

.instagram-homepage-mark {
    align-items: center;
    background: var(--av-red);
    border-radius: 999px;
    color: white;
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 950;
    height: 4.5rem;
    justify-content: center;
    width: 4.5rem;
}

.public-body {
    background-color: var(--site-bg);
    background-image: var(--site-bg-image, none);
    background-position: var(--site-bg-position);
    background-repeat: var(--site-bg-repeat);
    background-size: var(--site-bg-size);
}

.public-site-header {
    align-items: stretch;
    background: var(--av-red-dark);
    border-bottom: 0;
    color: #fff;
    display: block;
    gap: 0;
    min-height: 0;
    padding: 0;
    position: relative;
    z-index: 40;
}

.site-top-message {
    align-items: center;
    background: var(--av-red-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 1.8rem;
    overflow: visible;
    padding-left: max(
        calc(var(--site-shell-gutter, clamp(1rem, 4vw, 2rem)) + var(--header-logo-size, 8.6rem) + 1.25rem),
        calc((100vw - var(--site-shell-width, 1180px)) / 2 + var(--site-shell-gutter, clamp(1rem, 4vw, 2rem)) + var(--header-logo-size, 8.6rem) + 1.25rem)
    );
    padding-right: max(
        var(--site-shell-gutter, clamp(1rem, 4vw, 2rem)),
        calc((100vw - var(--site-shell-width, 1180px)) / 2 + var(--site-shell-gutter, clamp(1rem, 4vw, 2rem)))
    );
}

.site-message-ticker {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.site-top-message--ticker-only {
    grid-template-columns: minmax(0, 1fr);
}

.site-top-message--actions-only {
    display: flex;
    justify-content: flex-end;
}

.site-message-ticker span {
    animation: site-message-scroll 24s linear infinite;
    color: #fff;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding-left: 100%;
    text-transform: uppercase;
}

.site-message-actions {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    min-width: fit-content;
    position: relative;
    z-index: 30;
}

.site-login-link,
.site-message-actions .account-menu summary {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-login-link:hover {
    color: var(--av-red);
}

.site-message-actions .account-menu {
    width: auto;
}

.site-message-actions .account-menu summary {
    background: transparent;
    border: 0;
    border-radius: 0;
    min-height: 0;
    padding: 0;
}

.site-message-actions .account-menu summary:hover {
    color: var(--av-red);
}

.site-message-actions .account-menu-panel {
    position: fixed;
    right: max(
        var(--site-shell-gutter, clamp(1rem, 4vw, 2rem)),
        calc((100vw - var(--site-shell-width, 1180px)) / 2 + var(--site-shell-gutter, clamp(1rem, 4vw, 2rem)))
    );
    top: 2.15rem;
    z-index: 1000;
}

.public-masthead {
    background: var(--av-red);
    overflow: visible;
    position: relative;
    z-index: 45;
}

.public-brand {
    align-items: center;
    display: block;
    gap: 1.25rem;
    margin: 0 auto;
    max-width: var(--site-shell-width);
    min-height: 6.4rem;
    padding: 1.1rem clamp(1rem, 4vw, 2rem) 1rem calc(clamp(1rem, 4vw, 2rem) + var(--header-logo-size, 8.6rem) + 1.25rem);
    position: relative;
    width: 100%;
}

.public-brand .brand-mark {
    background: transparent;
    border-radius: 0;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.28)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.14));
    height: var(--header-logo-size, 8.6rem);
    left: clamp(1rem, 4vw, 2rem);
    margin-bottom: 0;
    object-fit: contain;
    position: absolute;
    top: calc(50% + 1.35rem);
    transform: translateY(-50%);
    width: var(--header-logo-size, 8.6rem);
    z-index: 60;
}

.public-brand > span,
.portal-brand > span {
    min-width: 0;
}

.public-brand strong {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.95;
    overflow-wrap: normal;
    text-transform: uppercase;
    white-space: nowrap;
}

.public-brand small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    margin-top: 0.45rem;
    text-transform: uppercase;
}

.public-nav-row {
    background: var(--av-red-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    z-index: 8;
}

.public-nav-row .site-nav-desktop {
    justify-content: flex-start;
    margin: 0 auto;
    max-width: var(--site-shell-width);
    min-height: 2.65rem;
    padding: 0 clamp(1rem, 4vw, 2rem) 0 calc(clamp(1rem, 4vw, 2rem) + var(--header-logo-size, 8.6rem) + 1.3rem);
}

.public-nav-row .site-nav a,
.public-nav-row .site-nav button {
    border-radius: 0;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.72rem 0.85rem;
}

.public-nav-row .site-nav a:hover,
.public-nav-row .site-nav button:hover,
.public-nav-row .site-nav a.is-active {
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
}

.portal-site-header {
    align-items: stretch;
    background: var(--av-red-dark);
    border-bottom: 0;
    color: #fff;
    display: block;
    gap: 0;
    min-height: 0;
    padding: 0;
    position: relative;
    z-index: 40;
}

.portal-masthead {
    background: var(--av-red);
    overflow: visible;
    position: relative;
    z-index: 45;
}

.portal-masthead-inner {
    align-items: center;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 auto;
    max-width: var(--site-shell-width);
    padding: 0.55rem clamp(1rem, 4vw, 2rem) 0.65rem;
    width: 100%;
}

.portal-brand {
    display: block;
    min-height: 5.8rem;
    padding-left: calc(var(--header-logo-size, 8.6rem) + 1.1rem);
    position: relative;
}

.portal-brand .brand-mark {
    background: transparent;
    border-radius: 0;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.28)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.14));
    height: var(--header-logo-size, 8.6rem);
    left: 0;
    margin-bottom: 0;
    object-fit: contain;
    position: absolute;
    top: calc(50% + 2.6rem);
    transform: translateY(-50%);
    width: var(--header-logo-size, 8.6rem);
    z-index: 60;
}

.portal-brand strong {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.95;
    overflow-wrap: normal;
    text-transform: uppercase;
    white-space: nowrap;
}

.portal-brand small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    margin-top: 0.4rem;
    text-transform: uppercase;
}

.portal-masthead-actions {
    position: relative;
    z-index: 35;
}

.portal-masthead-actions .account-menu summary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.portal-masthead-actions .account-menu[open] summary,
.portal-masthead-actions .account-menu summary:hover {
    background: rgba(0, 0, 0, 0.14);
    border-color: #fff;
    color: #fff;
}

.portal-nav-row {
    background: var(--av-red-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    z-index: 8;
}

.portal-nav-row .site-nav-desktop {
    justify-content: flex-start;
    margin: 0 auto;
    max-width: var(--site-shell-width);
    min-height: 2.65rem;
    padding: 0 clamp(1rem, 4vw, 2rem) 0 calc(clamp(1rem, 4vw, 2rem) + var(--header-logo-size, 8.6rem) + 1.2rem);
}

.portal-nav-row .site-nav a,
.portal-nav-row .site-nav button {
    border-radius: 0;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.72rem 0.85rem;
}

.portal-nav-row .site-nav a:hover,
.portal-nav-row .site-nav button:hover,
.portal-nav-row .site-nav a.is-active {
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
}

@media (max-width: 1120px) {
    .public-brand strong,
    .portal-brand strong {
        font-size: 2.15rem;
    }
}

@media (max-width: 960px) {
    .public-brand strong,
    .portal-brand strong {
        font-size: 1.8rem;
    }
}

.hero-shell.homepage-option-a-shell {
    background: var(--site-bg);
    padding: 0;
}

.hero-shell.homepage-option-a-shell + .public-site-footer {
    margin-top: 0;
}

.homepage-photo-hero {
    align-items: end;
    background: #111;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    margin: 0 auto;
    max-width: none;
    min-height: clamp(31rem, 48vw, 38rem);
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.homepage-photo-hero .hero-media {
    background: #111;
    border-radius: 0;
    inset: 0;
    min-height: 0;
    position: absolute;
    z-index: 0;
}

.homepage-photo-hero .hero-copy {
    align-self: end;
    container-type: inline-size;
    color: #fff;
    margin: 0 auto;
    max-width: min(76rem, 100%);
    padding: clamp(1.4rem, 4vw, 1.9rem) clamp(1rem, 4vw, 2rem);
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.homepage-photo-hero .homepage-hero-title {
    color: #fff;
    font-size: clamp(2.35rem, 6.2vw, 4.85rem);
    font-size: clamp(2.35rem, 6.8cqi, 4.85rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.88;
    margin: 0;
    max-width: 100%;
    overflow-wrap: normal;
    text-shadow:
        0 4px 0 rgba(0, 0, 0, 0.95),
        0 8px 24px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    word-break: normal;
}

.homepage-photo-hero .button-row {
    justify-content: center;
    margin-top: 1.1rem;
}

.homepage-photo-hero .hero-photo-shade {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.86) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.homepage-photo-hero.hero-photo-shade-off .hero-copy {
    text-shadow: 0 5px 24px rgba(0, 0, 0, 0.9);
}

.homepage-photo-hero .hero-photo-dots {
    bottom: 1rem;
    left: 1rem;
}

.homepage-title-font-rally {
    font-family: "Marker Felt", "Comic Sans MS", "Trebuchet MS", "Arial Black", Arial, sans-serif;
}

.homepage-title-font-marker {
    font-family: "Trebuchet MS", "Arial Black", Arial, sans-serif;
}

.homepage-title-font-block {
    font-family: Impact, "Arial Black", Arial, sans-serif;
    text-transform: uppercase;
}

.homepage-title-font-varsity {
    font-family: "Copperplate", "Copperplate Gothic Light", Impact, "Arial Black", serif;
    text-transform: uppercase;
}

.homepage-title-font-modern {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 950;
}

.homepage-title-font-condensed {
    font-family: "Arial Narrow", Impact, "Arial Black", Arial, sans-serif;
    text-transform: uppercase;
}

.homepage-title-font-serif {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
}

.homepage-title-font-script {
    font-family: "Brush Script MT", "Segoe Script", "Apple Chancery", cursive;
}

.homepage-photo-hero .hero-copy {
    text-align: center;
    width: 100%;
}

.homepage-photo-hero .homepage-hero-title {
    max-width: none;
}

.hero-shell.homepage-option-a-shell .homepage-quick-links-panel {
    background: var(--paper);
    border-color: var(--line);
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.08);
    color: var(--ink);
    margin: 1rem auto 0;
    max-width: var(--site-shell-width);
    padding: clamp(1rem, 3vw, 1.35rem);
    width: min(var(--site-shell-width), calc(100% - 2rem));
}

.hero-shell.homepage-option-a-shell .homepage-quick-links-panel .section-head h2,
.hero-shell.homepage-option-a-shell .homepage-quick-links-panel .homepage-link-card strong {
    color: var(--ink);
}

.hero-shell.homepage-option-a-shell .homepage-quick-links-panel .homepage-link-card span {
    color: var(--muted);
}

.hero-shell.homepage-option-a-shell .homepage-quick-links-panel .homepage-link-card {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.hero-shell.homepage-option-a-shell .homepage-quick-links-panel .homepage-link-card:hover {
    border-color: var(--av-red);
}

.hero-shell.homepage-option-a-shell .homepage-quick-links-panel .homepage-link-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}

.homepage-quick-rail {
    display: grid;
    gap: 0.72rem;
    max-height: min(29rem, calc(100% - 4rem));
    overflow-y: auto;
    padding: 0.2rem 0.35rem 0.2rem 0.2rem;
    position: absolute;
    right: max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--site-shell-width)) / 2 + 1rem));
    scrollbar-color: rgba(255, 255, 255, 0.55) transparent;
    top: 50%;
    transform: translateY(-50%);
    width: min(21rem, 31vw);
    z-index: 4;
}

.homepage-quick-rail-link {
    align-items: stretch;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    color: var(--ink);
    display: grid;
    grid-template-columns: 4.4rem minmax(0, 1fr);
    min-height: 5.1rem;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.homepage-quick-rail-link:hover,
.homepage-quick-rail-link:focus-visible {
    border-color: #fff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
    transform: translateX(-0.55rem);
}

.homepage-quick-rail-mark {
    align-items: center;
    background: var(--av-red);
    color: #fff;
    display: flex;
    font-size: 1rem;
    font-weight: 950;
    justify-content: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.homepage-quick-rail-link.is-primary .homepage-quick-rail-mark {
    background: var(--av-red-dark);
}

.homepage-quick-rail-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.85rem 0.95rem;
}

.homepage-quick-rail-copy strong {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.15;
}

.homepage-quick-rail-copy small {
    color: var(--muted);
    display: -webkit-box;
    font-size: 0.82rem;
    font-weight: 780;
    line-height: 1.22;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hero-shell.homepage-option-a-shell .homepage-overview {
    color: var(--ink);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin: 1rem auto 0;
    max-width: var(--site-shell-width);
    padding: 0 0 3rem;
}

.hero-shell.homepage-option-a-shell .homepage-overview > :only-child {
    grid-column: 1 / -1;
}

.homepage-announcements-panel,
.hero-shell.homepage-option-a-shell .homepage-upcoming-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.08);
    color: var(--ink);
    padding: clamp(1rem, 3vw, 1.35rem);
}

.homepage-announcement-list {
    display: grid;
    gap: 0.75rem;
}

.hero-shell.homepage-option-a-shell .section-head h2,
.hero-shell.homepage-option-a-shell .homepage-event-main strong {
    color: var(--ink);
}

.hero-shell.homepage-option-a-shell .section-head a,
.hero-shell.homepage-option-a-shell .homepage-event-main span,
.hero-shell.homepage-option-a-shell .empty-state {
    color: var(--muted);
}

.hero-shell.homepage-option-a-shell .homepage-event-row {
    background: #fff;
    border-color: var(--line);
    border-left-color: var(--event-accent, var(--av-red));
    color: var(--ink);
}

.hero-shell.homepage-option-a-shell .homepage-event-row:hover {
    border-color: var(--av-red);
    border-left-color: var(--event-accent, var(--av-red));
}

.hero-shell.homepage-option-a-shell .homepage-event-date {
    background: #fff4f6;
    border-color: #ffd2d9;
    color: var(--av-red-dark);
}

.homepage-announcement-row {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--av-red);
    border-radius: 8px;
    box-shadow: none;
    color: var(--ink);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.95rem;
}

.homepage-announcement-row h3 {
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
}

.homepage-announcement-body {
    color: var(--muted);
    font-weight: 720;
    line-height: 1.45;
    margin-top: 0.35rem;
}

.hero-shell.homepage-option-a-shell .homepage-overview.homepage-overview-photo-panel {
    background:
        linear-gradient(90deg, rgba(18, 19, 22, 0.95), rgba(18, 19, 22, 0.74)),
        var(--homepage-overview-bg, none) center / cover;
    border-top: 8px solid var(--av-red);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
    color: #fff;
    gap: clamp(0.85rem, 2vw, 1.15rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin-top: 1rem;
    min-height: 26rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    width: min(var(--site-shell-width), calc(100% - 2rem));
}

.hero-shell.homepage-option-a-shell .homepage-overview.homepage-overview-photo-panel > :only-child {
    grid-column: 1 / -1;
}

.homepage-overview-photo-panel .homepage-announcements-panel {
    align-content: space-between;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    display: grid;
    padding: clamp(1rem, 3vw, 1.2rem);
}

.homepage-overview-photo-panel .homepage-upcoming-panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    padding: 0;
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .section-head h2 {
    color: #fff;
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-announcements-panel .section-head h2 {
    color: var(--av-red);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .section-head a {
    color: rgba(255, 255, 255, 0.78);
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .section-head a:hover {
    color: #fff;
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-upcoming-panel .section-head h2,
.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-upcoming-panel .section-head a {
    color: var(--av-red);
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-upcoming-panel .section-head a:hover {
    color: #fff;
}

.homepage-overview-photo-panel .homepage-instagram-panel {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.2rem);
}

.homepage-instagram-kicker {
    color: var(--av-red);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

.homepage-instagram-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 0.92;
    margin: 0;
    text-transform: uppercase;
}

.homepage-instagram-profile {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

.homepage-instagram-avatar {
    align-items: center;
    background: var(--av-red);
    border-radius: 999px;
    color: #fff;
    display: flex;
    flex: 0 0 3.2rem;
    font-size: 1.1rem;
    font-weight: 950;
    height: 3.2rem;
    justify-content: center;
    width: 3.2rem;
}

.homepage-instagram-profile strong {
    color: #fff;
    display: block;
    font-size: 1.05rem;
    line-height: 1.1;
}

.homepage-instagram-profile small {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 0.1rem;
}

.homepage-instagram-grid {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-instagram-tile {
    aspect-ratio: 1;
    background:
        linear-gradient(135deg, rgba(216, 36, 59, 0.72), rgba(28, 30, 33, 0.82)),
        var(--homepage-overview-bg, none) center / cover;
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: grid;
    overflow: hidden;
    place-items: center;
    position: relative;
    text-decoration: none;
}

.homepage-instagram-tile:nth-child(2) {
    background-position: 35% 40%;
}

.homepage-instagram-tile:nth-child(3) {
    background-position: 65% 45%;
}

.homepage-instagram-tile:nth-child(4) {
    background-position: 45% 72%;
}

.homepage-instagram-tile:nth-child(5) {
    background-position: 76% 78%;
}

.homepage-instagram-tile:nth-child(6) {
    background-position: 24% 82%;
}

.homepage-instagram-tile span {
    background: rgba(0, 0, 0, 0.42);
    border-radius: 999px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.5rem;
    text-transform: uppercase;
    z-index: 2;
}

.homepage-instagram-media-tile {
    background: rgba(15, 23, 42, 0.7);
}

.homepage-instagram-media-tile::after {
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.58));
    content: '';
    inset: 0;
    position: absolute;
    z-index: 1;
}

.homepage-instagram-media-tile img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.homepage-instagram-copy {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 820;
    line-height: 1.45;
    margin: 0;
}

.homepage-instagram-button {
    justify-self: start;
}

.homepage-instagram-embed-inline {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    max-height: 25rem;
    overflow: auto;
    padding: 0.75rem;
}

.homepage-instagram-embed-inline iframe,
.homepage-instagram-embed-inline blockquote {
    max-width: 100% !important;
}

.homepage-overview-photo-panel .homepage-announcement-list {
    align-content: end;
}

.homepage-overview-photo-panel .homepage-announcement-row {
    align-items: end;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
}

.homepage-overview-photo-panel .homepage-announcement-row + .homepage-announcement-row {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 1rem;
}

.homepage-overview-photo-panel .homepage-announcement-row h3 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 0.92;
    margin: 0;
    text-transform: uppercase;
}

.homepage-overview-photo-panel .homepage-announcement-row + .homepage-announcement-row h3 {
    font-size: 1.05rem;
    line-height: 1.15;
}

.homepage-overview-photo-panel .homepage-announcement-body {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    font-weight: 820;
    margin-top: 1rem;
}

.homepage-overview-photo-panel .homepage-announcement-row + .homepage-announcement-row .homepage-announcement-body {
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.homepage-overview-photo-panel .homepage-announcement-body p {
    margin: 0;
}

.homepage-overview-photo-panel .homepage-announcement-body p + p {
    margin-top: 0.45rem;
}

.homepage-overview-photo-panel .homepage-announcement-row .button {
    justify-self: start;
    margin-top: 0.85rem;
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-event-list {
    gap: 0.65rem;
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-event-row {
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-left: 0;
    border-radius: 0;
    color: var(--ink);
    min-height: 5.1rem;
    padding: 0.65rem;
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-event-row:hover {
    background: #fff;
    border: 0;
    transform: translateY(-0.12rem);
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-event-main strong {
    color: var(--ink);
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-event-main span,
.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .empty-state {
    color: var(--muted);
}

.hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-event-date {
    background: #fff3f5;
    border-color: #ffcdd5;
    color: var(--av-red-dark);
    min-height: 4.4rem;
    min-width: 4.4rem;
}

.homepage-events-showcase,
.homepage-instagram-showcase {
    box-sizing: border-box;
    margin: 0;
    padding-left: max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--site-shell-width)) / 2 + clamp(1rem, 4vw, 2rem)));
    padding-right: max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--site-shell-width)) / 2 + clamp(1rem, 4vw, 2rem)));
    width: 100%;
}

.homepage-events-showcase {
    background:
        linear-gradient(90deg, rgba(10, 12, 17, 0.92), rgba(47, 10, 16, 0.86)),
        var(--homepage-overview-bg, none) center / cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 8px solid var(--av-red);
    color: #fff;
    padding-bottom: clamp(2rem, 4vw, 3.4rem);
    padding-top: clamp(1.5rem, 3vw, 2.4rem);
}

.homepage-events-head {
    align-items: flex-start;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: clamp(1rem, 2.6vw, 1.75rem);
}

.homepage-events-head h2,
.homepage-instagram-handle {
    font-family: inherit;
    font-size: clamp(2.15rem, 4.4vw, 4rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.95;
    margin: 0;
    text-transform: uppercase;
}

.homepage-events-head h2 {
    color: #fff;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.38);
}

.homepage-instagram-handle {
    color: #fff;
}

.homepage-events-actions {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.9rem, 2vw, 1.6rem);
    padding-top: 0.45rem;
}

.homepage-events-actions a {
    border-bottom: 0.18rem solid rgba(255, 255, 255, 0.42);
    color: #fff;
    font-family: inherit;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 950;
    letter-spacing: 0;
    padding-bottom: 0.18rem;
    text-transform: uppercase;
}

.homepage-events-actions a:hover {
    border-bottom-color: #fff;
    color: #fff;
}

.homepage-event-card-grid {
    display: grid;
    gap: clamp(0.75rem, 1.6vw, 1.2rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.homepage-events-carousel {
    position: relative;
}

.homepage-events-viewport {
    outline: 0;
    overflow-x: auto;
    padding: 0.12rem 0 0.8rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.homepage-events-viewport::-webkit-scrollbar {
    display: none;
}

.homepage-events-viewport .homepage-event-card-grid {
    display: flex;
    grid-template-columns: none;
}

.homepage-events-viewport .homepage-calendar-card {
    flex: 0 0 calc(25% - 0.9rem);
    scroll-snap-align: start;
}

.homepage-events-viewport .homepage-calendar-empty {
    flex: 1 0 100%;
}

.homepage-events-arrow {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    color: var(--av-red-dark);
    cursor: pointer;
    display: flex;
    font-size: 2.3rem;
    font-weight: 950;
    height: 4.25rem;
    justify-content: center;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
    width: 3.35rem;
    z-index: 5;
}

.homepage-events-carousel.is-scrollable .homepage-events-arrow {
    opacity: 1;
}

.homepage-events-arrow:hover:not(:disabled),
.homepage-events-arrow:focus-visible:not(:disabled) {
    background: #fff;
    transform: translateY(-50%) scale(1.04);
}

.homepage-events-arrow:disabled {
    cursor: default;
    opacity: 0.28;
}

.homepage-events-arrow--prev {
    left: clamp(-1.4rem, -1.5vw, -0.65rem);
}

.homepage-events-arrow--next {
    right: clamp(-1.4rem, -1.5vw, -0.65rem);
}

.homepage-calendar-card {
    align-items: center;
    background: #d9d9d9;
    color: #050505;
    display: flex;
    flex-direction: column;
    min-height: 11.6rem;
    padding: clamp(0.95rem, 1.45vw, 1.25rem) 0.9rem 1rem;
    text-align: center;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.homepage-calendar-card:hover {
    background: #e7e7e7;
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.16);
    transform: translateY(-0.18rem);
}

.homepage-calendar-card-date {
    align-items: flex-end;
    display: flex;
    gap: 0.45rem;
    justify-content: center;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.homepage-calendar-card-date span,
.homepage-calendar-card-date strong {
    color: #050505;
    font-family: inherit;
    font-weight: 950;
    line-height: 0.88;
}

.homepage-calendar-card-date span {
    font-size: clamp(0.95rem, 1.15vw, 1.15rem);
    padding-bottom: 0.35rem;
}

.homepage-calendar-card-date strong {
    font-size: clamp(2.45rem, 3.2vw, 3.35rem);
    letter-spacing: 0;
}

.homepage-calendar-card-line {
    background: #be0d20;
    display: block;
    height: 0.3rem;
    margin-bottom: 1.05rem;
    width: min(9rem, 68%);
}

.homepage-calendar-card-title {
    color: #050505;
    display: block;
    font-size: clamp(1rem, 1.08vw, 1.18rem);
    font-weight: 950;
    line-height: 1.15;
    margin-bottom: 0.7rem;
}

.homepage-calendar-card-meta {
    color: #111;
    display: grid;
    font-size: clamp(0.88rem, 0.98vw, 1rem);
    font-weight: 800;
    gap: 0.25rem;
    line-height: 1.22;
    margin-top: auto;
}

.homepage-calendar-card-meta small {
    color: #343434;
    display: -webkit-box;
    font-size: 0.88em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.homepage-calendar-empty {
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    gap: 0.5rem;
    grid-column: 1 / -1;
    justify-items: start;
    padding: 1rem;
}

.homepage-calendar-empty a {
    color: var(--av-red-dark);
    font-weight: 900;
}

.homepage-instagram-showcase {
    background: var(--site-bg);
    border-top: 8px solid var(--av-red);
    overflow: hidden;
    padding-bottom: clamp(1rem, 2.2vw, 1.7rem);
    padding-top: clamp(1rem, 2.2vw, 1.7rem);
}

.homepage-instagram-handle {
    color: var(--ink);
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    line-height: 1.05;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
}

.homepage-instagram-strip {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 0.55rem solid var(--av-red);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    justify-content: space-between;
    min-height: 4.65rem;
    padding: clamp(0.7rem, 1.6vw, 1rem) clamp(1rem, 3vw, 1.8rem);
}

.homepage-instagram-strip-id {
    align-items: center;
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.2rem);
    min-width: 0;
}

.homepage-instagram-panel {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-top: 0.45rem solid var(--av-red);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.28);
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
    min-height: 21rem;
    padding: clamp(1.65rem, 5vw, 4rem);
    position: relative;
}

.homepage-instagram-panel::after {
    background: transparent;
    bottom: -1.85rem;
    content: '';
    height: 4.5rem;
    left: -2.5rem;
    position: absolute;
    width: min(74%, 54rem);
    z-index: -1;
}

.homepage-instagram-callout {
    display: grid;
    gap: 1.35rem;
    justify-items: center;
    text-align: center;
}

.homepage-instagram-logo {
    align-items: center;
    background: linear-gradient(135deg, #f8c142 0%, #fa553d 35%, #ec127c 64%, #7427d8 100%);
    border-radius: 1.15rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    height: clamp(2.7rem, 4vw, 3.35rem);
    justify-content: center;
    overflow: hidden;
    width: clamp(2.7rem, 4vw, 3.35rem);
}

.homepage-instagram-logo svg {
    display: block;
    height: 72%;
    width: 72%;
}

.homepage-instagram-gradient-button {
    align-items: center;
    background: linear-gradient(105deg, #f5b437, #fa484f 42%, #7c27d8);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 950;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.65rem clamp(1rem, 2vw, 1.6rem);
    text-transform: none;
    white-space: nowrap;
}

.homepage-instagram-gradient-button:hover {
    box-shadow: 0 14px 28px rgba(124, 39, 216, 0.18);
    color: #fff;
    transform: translateY(-0.1rem);
}

.homepage-instagram-content {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.homepage-instagram-showcase .homepage-instagram-kicker {
    color: var(--av-red);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.homepage-instagram-showcase .homepage-instagram-title {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.96;
    margin: 0;
    text-transform: none;
}

.homepage-instagram-showcase .homepage-instagram-copy {
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.35rem);
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    max-width: 44rem;
}

.homepage-instagram-showcase .homepage-instagram-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.35rem;
}

.homepage-instagram-showcase .homepage-instagram-tile {
    aspect-ratio: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58)),
        var(--homepage-overview-bg, none) center / cover;
    border: 0;
    display: grid;
    overflow: hidden;
    place-items: center;
    position: relative;
    text-decoration: none;
}

.homepage-instagram-showcase .homepage-instagram-tile span {
    background: rgba(0, 0, 0, 0.46);
    border-radius: 999px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.5rem;
    text-transform: uppercase;
    z-index: 2;
}

.homepage-instagram-showcase .homepage-instagram-media-tile {
    background: rgba(15, 23, 42, 0.72);
}

.homepage-instagram-showcase .homepage-instagram-media-tile::after {
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.58));
    content: '';
    inset: 0;
    position: absolute;
    z-index: 1;
}

.homepage-instagram-showcase .homepage-instagram-media-tile img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.homepage-instagram-showcase .homepage-instagram-embed-inline {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    max-height: 25rem;
    overflow: auto;
    padding: 0.75rem;
}

@media (max-width: 1120px) {
    .homepage-event-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-events-viewport .homepage-calendar-card {
        flex-basis: calc(50% - 0.65rem);
    }

    .homepage-instagram-panel {
        grid-template-columns: minmax(14rem, 0.65fr) minmax(0, 1.35fr);
    }
}

@media (max-width: 760px) {
    .homepage-events-showcase,
    .homepage-instagram-showcase {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }

    .homepage-events-showcase {
        padding-bottom: 1.7rem;
        padding-top: 1.4rem;
    }

    .homepage-events-head {
        display: grid;
        gap: 0.9rem;
    }

    .homepage-events-actions {
        gap: 1rem;
        padding-top: 0;
    }

    .homepage-event-card-grid,
    .homepage-instagram-panel,
    .homepage-instagram-showcase .homepage-instagram-grid {
        grid-template-columns: 1fr;
    }

    .homepage-events-viewport .homepage-calendar-card {
        flex-basis: min(82vw, 22rem);
    }

    .homepage-events-arrow {
        height: 3.45rem;
        width: 2.75rem;
    }

    .homepage-events-arrow--prev {
        left: -0.6rem;
    }

    .homepage-events-arrow--next {
        right: -0.6rem;
    }

    .homepage-calendar-card {
        min-height: 0;
        padding: 1.25rem 1rem;
    }

    .homepage-calendar-card-title {
        max-width: 24rem;
    }

    .homepage-instagram-showcase {
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    .homepage-instagram-strip {
        align-items: stretch;
        flex-direction: column;
        min-height: 0;
    }

    .homepage-instagram-handle {
        font-size: clamp(1.35rem, 7vw, 1.9rem);
    }

    .homepage-instagram-gradient-button {
        width: 100%;
    }

    .homepage-instagram-panel {
        gap: 1.5rem;
        padding: 1.3rem;
        text-align: center;
    }

    .homepage-instagram-panel::after {
        bottom: -1rem;
        height: 2.75rem;
        left: -1rem;
        width: 74%;
    }

    .homepage-instagram-showcase .homepage-instagram-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .homepage-instagram-showcase .homepage-instagram-tile {
        aspect-ratio: 16 / 10;
    }
}

@keyframes site-message-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-message-ticker span {
        animation: none;
        padding-left: 0;
    }
}

.auth-shell,
.student-portal-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 4.75rem);
    width: 100%;
}

.website-page-panel {
    border-top: 5px solid var(--av-red);
    padding: clamp(1.2rem, 4vw, 2rem);
}

.website-page-meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    font-weight: 850;
    gap: 0.4rem 0.75rem;
    margin: -0.25rem 0 1rem;
    text-transform: uppercase;
}

.website-page-meta span + span::before {
    content: "/";
    margin-right: 0.75rem;
}

.website-page-summary {
    color: var(--muted);
    font-size: clamp(1.02rem, 1.8vw, 1.14rem);
    font-weight: 720;
    line-height: 1.5;
    margin: 0 0 1.2rem;
}

.website-page-body {
    color: var(--ink);
    display: flow-root;
    font-size: 1.02rem;
    line-height: 1.68;
}

.website-page-body > *:first-child {
    margin-top: 0;
}

.website-page-body > *:last-child {
    margin-bottom: 0;
}

.website-page-body h2,
.website-page-body h3,
.website-page-body h4 {
    color: var(--ink);
    line-height: 1.15;
    margin: 1.35rem 0 0.55rem;
}

.website-page-body h2 {
    font-size: 1.45rem;
}

.website-page-body h3 {
    font-size: 1.2rem;
}

.website-page-body p,
.website-page-body ul,
.website-page-body ol,
.website-page-body blockquote {
    margin: 0.85rem 0;
}

.website-page-body ul,
.website-page-body ol {
    padding-left: 1.4rem;
}

.website-page-body li + li {
    margin-top: 0.25rem;
}

.website-page-body a {
    color: var(--av-red-dark);
    font-weight: 850;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.website-page-body blockquote {
    background: #fff8f9;
    border-left: 4px solid var(--av-red);
    border-radius: 8px;
    color: var(--muted);
    font-weight: 750;
    padding: 0.8rem 1rem;
}

.website-page-body img,
.website-page-body iframe {
    border-radius: 8px;
    max-width: 100%;
}

.website-page-body table {
    border-collapse: collapse;
    display: block;
    font-size: 0.94rem;
    margin: 1.2rem 0;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

.website-page-body th,
.website-page-body td {
    border: 1px solid var(--line);
    padding: 0.65rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.website-page-body th {
    background: #f7f8fa;
    color: var(--ink);
    font-weight: 900;
}

.website-page-body tr:nth-child(even) td {
    background: #fbfcfd;
}

.auth-panel {
    box-shadow: 0 16px 42px rgba(28, 30, 33, 0.07);
    max-width: 30rem;
    padding: clamp(1.35rem, 4vw, 2rem);
    width: 100%;
}

.student-card {
    max-width: 28rem;
    width: 100%;
}

.portal-logo {
    border-radius: 999px;
    height: 4.25rem;
    margin: 0 auto 1rem;
    width: 4.25rem;
}

.auth-panel h1,
.student-card h1 {
    font-size: 2rem;
    text-align: center;
}

.auth-copy {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.4;
    margin: 0.65rem 0 1rem;
    text-align: center;
}

.auth-footer-link {
    margin: 1rem 0 0;
    text-align: center;
}

.auth-footer-link a {
    color: var(--av-red-dark);
    font-weight: 900;
}

.auth-footer-link a:hover {
    color: var(--av-red);
}

@media (max-width: 520px) {
    .auth-shell {
        align-items: flex-start;
        padding: 1rem;
    }

    .auth-panel {
        max-width: 100%;
    }
}

.stack {
    display: grid;
    gap: 1rem;
}

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

.form-grid.colors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
}

.form-field {
    display: grid;
    gap: 0.35rem;
}

.field-help {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.35;
    margin: 0;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field.grow {
    flex: 1;
    min-width: 14rem;
}

label,
legend {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 850;
}

input,
select,
textarea {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    min-height: 2.65rem;
    padding: 0.55rem 0.7rem;
    width: 100%;
}

input[type="color"] {
    height: 2.65rem;
    padding: 0.25rem;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--focus);
    outline: 3px solid rgba(36, 87, 166, 0.16);
}

.error {
    color: #a21d2d;
    font-size: 0.86rem;
    font-weight: 750;
}

.error-summary {
    background: #fff4f5;
    border: 1px solid #f3c5cb;
    border-radius: 8px;
    color: #8c1726;
    font-weight: 800;
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
}

.check-row {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.check-row input,
.check-card input {
    min-height: auto;
    width: auto;
}

.fieldset {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0;
    padding: 1rem;
}

.signup-guardian + .signup-guardian {
    margin-top: 1rem;
}

.check-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.check-grid.permissions {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.section-kicker {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 1rem 0 0.45rem;
    text-transform: uppercase;
}

.check-card {
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 0.65rem;
    padding: 0.8rem;
}

.check-card.compact {
    align-items: center;
    padding: 0.62rem 0.7rem;
}

.check-card strong,
.check-card small {
    display: block;
}

.check-card small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 650;
}

.inline-form {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.inline-form.exception-form {
    margin-bottom: 0;
    margin-top: 0.55rem;
}

.metric-grid,
.tool-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    margin-bottom: 1rem;
}

.finance-grid {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.dashboard-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.travel-page {
    max-width: 1220px;
}

.travel-page > form.stack {
    margin-top: 1rem;
}

.travel-rosters {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1rem;
}

.travel-roster-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.25rem);
    width: 100%;
}

.travel-roster-panel .section-head {
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.travel-roster-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.travel-roster-card {
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 7.75rem;
    min-width: 0;
    padding: 0.9rem;
}

.travel-roster-card h3 {
    font-size: 0.98rem;
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
}

.travel-roster-card ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.travel-roster-card li {
    margin: 0.25rem 0;
    overflow-wrap: anywhere;
}

.travel-roster-card .muted {
    margin: 0;
}

@media (min-width: 720px) {
    .travel-roster-grid--count-2,
    .travel-roster-grid--count-3,
    .travel-roster-grid--count-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .travel-roster-grid--count-3,
    .travel-roster-grid--count-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .travel-roster-grid--count-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.metric {
    padding: 1rem;
}

.metric span,
.tool-card span,
table span {
    color: var(--muted);
}

.metric strong {
    display: block;
    font-size: 2.1rem;
    line-height: 1;
    margin-top: 0.35rem;
}

.metric.emphasis {
    border-color: rgba(216, 36, 59, 0.55);
}

.metric.emphasis strong {
    color: var(--av-red-dark);
}

.tool-card {
    display: grid;
    gap: 0.25rem;
    min-height: 6.2rem;
    padding: 1rem;
}

.tool-card:hover {
    border-color: var(--av-red);
}

.tool-card.muted {
    background: #fafafa;
}

.queue-list {
    display: grid;
    gap: 0.55rem;
}

.queue-item,
.empty-state {
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem;
}

.queue-item:hover {
    border-color: var(--av-red);
}

.queue-item span,
.empty-state {
    color: var(--muted);
}

.section-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.section-head a {
    color: var(--av-red-dark);
    font-weight: 850;
}

.table-wrap {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    min-width: 100%;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.actions {
    text-align: right;
    white-space: nowrap;
}

.badge {
    background: var(--soft-red);
    border-radius: 999px;
    color: var(--av-red-dark);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.25rem 0.55rem;
}

.badge.success {
    background: #e8f7ef;
    color: #16603a;
}

.badge.muted {
    background: #f1f3f6;
    color: #626975;
}

.detail-list {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.detail-list li {
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.85rem;
}

.sticky-actions {
    background: var(--wash);
    bottom: 0;
    padding: 0.8rem 0;
    position: sticky;
}

.student-card {
    padding: 1.25rem;
}

.portal-menu {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.portal-student-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.portal-student-row {
    align-items: center;
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
}

.portal-student-row span {
    color: var(--av-red-dark);
    font-weight: 900;
}

.portal-menu a,
.portal-menu button {
    background: var(--av-red);
    border: 0;
    border-radius: 8px;
    color: white;
    display: block;
    font-weight: 900;
    min-height: 3.25rem;
    padding: 0.85rem 1rem;
    text-align: center;
    width: 100%;
}

.portal-menu a[aria-disabled="true"] {
    background: #eceff3;
    color: #5f6875;
    pointer-events: none;
}

.portal-menu button {
    background: var(--ink);
}

.portal-dashboard .dashboard-grid {
    align-items: start;
}

.portal-home-hero {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 5px solid var(--av-red);
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.08);
    color: var(--ink);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 1rem;
    min-height: 7.65rem;
    overflow: visible;
    padding: 1.35rem 1.55rem;
    position: relative;
}

.portal-home-hero > div,
.portal-home-snapshot {
    position: relative;
    z-index: 1;
}

.portal-home-hero.has-website-rail {
    height: 16.5rem;
    min-height: 16.5rem;
    padding-right: min(18.5rem, 34vw);
}

.portal-home-hero.has-banner-image {
    background: var(--paper);
}

.portal-home-hero.has-banner-image::before {
    content: none;
}

.portal-home-hero.has-banner-image::after {
    content: none;
    display: none;
}

.portal-home-hero::after {
    content: "";
    display: none;
}

.portal-home-hero h1 {
    color: var(--ink);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.portal-home-hero .eyebrow,
.portal-home-hero p {
    color: var(--muted);
    position: relative;
    z-index: 1;
}

.portal-home-hero p:not(.eyebrow) {
    font-weight: 800;
    margin: 0.35rem 0 0;
    max-width: 46rem;
}

.portal-page-hero {
    min-height: 7.65rem;
}

.portal-page-hero .portal-home-snapshot {
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    width: min(42rem, 48vw);
}

.portal-home-snapshot {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(8rem, 1fr));
    width: min(22rem, 100%);
}

.portal-home-snapshot a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: grid;
    gap: 0.1rem;
    min-height: 4.4rem;
    min-width: 0;
    padding: 0.8rem;
}

.portal-home-snapshot span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portal-home-snapshot strong {
    color: var(--av-red-dark);
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    line-height: 1.05;
    white-space: nowrap;
}

.portal-website-rail {
    display: grid;
    gap: 0.25rem;
    max-height: calc(100% - 1rem);
    overflow-y: auto;
    padding: 0.15rem;
    position: absolute;
    right: clamp(1rem, 3vw, 1.6rem);
    scrollbar-color: rgba(255, 255, 255, 0.55) transparent;
    top: 50%;
    transform: translateY(-50%);
    width: min(14.5rem, 27vw);
    z-index: 2;
}

.portal-website-rail-link {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
    color: var(--ink);
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    min-height: 2.28rem;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.portal-website-rail-link:hover,
.portal-website-rail-link:focus-visible,
.portal-website-rail-link.is-active {
    border-color: #fff;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
    transform: translateX(-0.35rem);
}

.portal-website-rail-link span {
    align-items: center;
    align-self: stretch;
    background: var(--av-red);
    color: #fff;
    display: flex;
    font-size: 0.78rem;
    font-weight: 950;
    justify-content: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portal-website-rail-link.is-active span {
    background: var(--av-red-dark);
}

.portal-website-rail-link strong {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 950;
    line-height: 1.1;
    overflow: hidden;
    padding: 0.45rem 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-page-links {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    margin-bottom: 1rem;
    padding: 0.45rem;
}

.portal-page-links a {
    align-items: center;
    border-radius: 8px;
    border: 1px solid transparent;
    color: var(--muted);
    display: flex;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.32rem;
    justify-content: center;
    line-height: 1.1;
    min-width: 0;
    padding: 0.42rem 0.48rem;
    --portal-link-bg: var(--soft-red);
    --portal-link-border: rgba(216, 36, 59, 0.14);
    --portal-link-color: var(--av-red-dark);
}

.portal-page-links a:hover,
.portal-page-links a.is-active {
    background: var(--portal-link-bg);
    border-color: var(--portal-link-border);
    color: var(--portal-link-color);
}

.portal-page-link-icon {
    color: inherit;
    display: inline-flex;
    flex: 0 0 auto;
    height: 0.92rem;
    width: 0.92rem;
}

.portal-page-link-icon svg {
    display: block;
    height: 0.92rem;
    max-height: 0.92rem;
    max-width: 0.92rem;
    width: 0.92rem;
}

.portal-page-links a > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-tool-panel {
    margin-bottom: 1rem;
}

.portal-page-actions {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    margin: -0.15rem 0 1rem;
}

.portal-tool-panel .section-head p {
    color: var(--muted);
    font-weight: 750;
    margin: 0.25rem 0 0;
}

.portal-tool-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.portal-tool-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.45rem;
    justify-items: center;
    min-height: 9.75rem;
    padding: 1rem 0.8rem;
    text-align: center;
}

.portal-tool-card:hover {
    border-color: var(--portal-tool-color, var(--av-red));
    box-shadow: 0 10px 22px rgba(28, 30, 33, 0.08);
}

.portal-tool-icon {
    align-items: center;
    background: var(--portal-tool-bg, var(--soft-red));
    border: 1px solid var(--portal-tool-border, rgba(216, 36, 59, 0.18));
    border-radius: 8px;
    color: var(--portal-tool-color, var(--av-red-dark));
    display: inline-flex;
    height: 3.35rem;
    justify-content: center;
    overflow: hidden;
    width: 3.35rem;
}

.portal-tool-icon svg,
.portal-tool-icon-svg {
    display: block;
    flex: 0 0 auto;
    height: 1.85rem;
    max-height: 1.85rem;
    max-width: 1.85rem;
    width: 1.85rem;
}

.portal-tool-card strong {
    display: block;
    font-size: 1rem;
}

.portal-tool-card small {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.25;
}

.portal-choice-page {
    align-items: flex-start;
    display: flex;
    min-height: min(32rem, calc(100vh - 12rem));
    padding-top: clamp(1rem, 4vw, 2.5rem);
}

.portal-choice-panel {
    margin: 0 auto;
    max-width: 100%;
    padding: clamp(1.2rem, 3vw, 1.65rem);
    width: 100%;
}

.portal-choice-head {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 0 1.1rem;
    padding-bottom: 1.1rem;
    text-align: left;
}

.portal-choice-head h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
    margin: 0.15rem 0 0;
}

.portal-choice-head p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0.55rem 0 0;
}

.portal-choice-user {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 14rem;
    padding: 0.7rem 0.85rem;
}

.portal-choice-user span,
.portal-choice-user strong {
    display: block;
}

.portal-choice-user span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portal-choice-user strong {
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.2;
    margin-top: 0.2rem;
}

.portal-choice-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.portal-choice-card {
    align-content: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: grid;
    gap: 0.9rem;
    min-height: 10rem;
    padding: 1rem;
    position: relative;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.portal-choice-card:hover {
    border-color: var(--av-red);
    box-shadow: 0 10px 22px rgba(28, 30, 33, 0.08);
    transform: translateY(-1px);
}

.portal-choice-card strong,
.portal-choice-card small,
.portal-choice-card-action {
    display: block;
}

.portal-choice-card strong {
    font-size: 1.08rem;
    line-height: 1.15;
}

.portal-choice-card small {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.35;
    margin-top: 0.45rem;
}

.portal-choice-card-badge {
    align-items: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #4b5563;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 950;
    justify-self: start;
    line-height: 1;
    padding: 0.38rem 0.55rem;
    text-transform: uppercase;
}

.portal-choice-card-action {
    align-self: end;
    background: var(--soft-red);
    border-radius: 8px;
    color: var(--av-red-dark);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 850;
    gap: 0.35rem;
    justify-self: start;
    line-height: 1;
    padding: 0.65rem 0.75rem;
}

.portal-choice-card-featured {
    background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
    border-color: rgba(216, 36, 59, 0.32);
    box-shadow: inset 0 0 0 1px rgba(216, 36, 59, 0.08);
}

.portal-choice-card-featured .portal-choice-card-badge {
    background: var(--soft-red);
    border-color: rgba(216, 36, 59, 0.2);
    color: var(--av-red-dark);
}

.portal-summary-panel {
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
    margin-bottom: 1rem;
    padding: 1.15rem;
}

.portal-summary-copy p:not(.eyebrow) {
    color: var(--muted);
    font-weight: 750;
    margin: 0.45rem 0 0;
}

.portal-summary-stats {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-summary-stat {
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem;
}

.portal-summary-stat.emphasis {
    border-color: rgba(216, 36, 59, 0.55);
}

.portal-summary-stat.is-alert {
    background: var(--soft-red);
    border-color: rgba(216, 36, 59, 0.35);
}

.portal-summary-stat.is-good {
    background: #ecfdf3;
    border-color: #b7ebc9;
}

.portal-summary-stat span,
.portal-summary-stat small,
.portal-attention-row span,
.portal-attention-row p {
    color: var(--muted);
    font-weight: 800;
}

.portal-summary-stat span,
.portal-attention-row span {
    font-size: 0.76rem;
    text-transform: uppercase;
}

.portal-summary-stat strong {
    color: var(--ink);
    font-size: 1.75rem;
    line-height: 1.05;
}

.portal-summary-stat.emphasis strong {
    color: var(--av-red-dark);
}

.portal-attention-panel {
    margin-bottom: 1rem;
}

.portal-attention-list {
    display: grid;
    gap: 0.6rem;
}

.portal-attention-row {
    background: #fafafa;
    border: 1px solid var(--line);
    border-left: 0.3rem solid var(--line);
    border-radius: 8px;
    display: block;
    padding: 0.75rem 0.85rem;
}

.portal-attention-row.is-danger {
    border-left-color: var(--av-red);
}

.portal-attention-row.is-success,
.portal-attention-row.is-complete {
    border-left-color: #0f9f5f;
}

.portal-attention-row.is-volunteer {
    border-left-color: #2457a6;
}

.portal-attention-row strong {
    display: block;
    margin-top: 0.05rem;
}

.portal-attention-row p {
    margin: 0.15rem 0 0;
}

.portal-attention-row:hover {
    border-color: var(--av-red);
}

.portal-dashboard-secondary {
    margin-top: 1rem;
}

.portal-action-grid,
.portal-student-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    margin-bottom: 1rem;
}

.portal-action-card,
.portal-student-summary-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.portal-action-card {
    border-left: 0.35rem solid var(--line);
}

.portal-action-card.is-danger {
    border-left-color: var(--av-red);
}

.portal-action-card.is-success,
.portal-action-card.is-complete {
    border-left-color: #0f9f5f;
}

.portal-action-card.is-volunteer {
    border-left-color: #2457a6;
}

.portal-action-card span {
    color: var(--muted);
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portal-action-card strong {
    display: block;
    font-size: 1.05rem;
    margin-top: 0.1rem;
}

.portal-action-card p,
.portal-student-summary-card p {
    color: var(--muted);
    font-weight: 700;
    margin: 0.25rem 0 0;
}

.portal-action-card:hover,
.portal-student-summary-card:hover {
    border-color: var(--av-red);
}

.portal-student-summary-head {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.portal-student-summary-head h2 {
    margin: 0;
}

.portal-student-summary-head span:not(.badge) {
    color: var(--muted);
    display: block;
    font-weight: 750;
}

.portal-student-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.portal-student-summary-actions .button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 2.7rem;
}

.portal-student-summary-stats {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}

.portal-student-summary-stats div {
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.65rem;
}

.portal-student-summary-stats dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portal-student-summary-stats dd {
    font-weight: 950;
    margin: 0.1rem 0 0;
}

.portal-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.portal-card-links a {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--av-red-dark);
    font-weight: 900;
    padding: 0.45rem 0.7rem;
}

.portal-card-links a:hover {
    border-color: var(--av-red);
}

.portal-notification-list {
    display: grid;
    gap: 0.7rem;
}

.portal-notification-row {
    align-items: start;
    background: #fafafa;
    border: 1px solid var(--line);
    border-left: 0.35rem solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.85rem;
}

.portal-notification-row.is-danger {
    border-left-color: var(--av-red);
}

.portal-notification-row.is-warning {
    border-left-color: #d97706;
}

.portal-notification-row.is-success {
    border-left-color: #0f9f5f;
}

.portal-notification-row:hover {
    border-color: var(--av-red);
}

.portal-notification-row span,
.portal-notification-row p {
    color: var(--muted);
    font-weight: 750;
}

.portal-notification-row span {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.portal-notification-row strong {
    display: block;
}

.portal-notification-row p {
    margin: 0.2rem 0 0;
}

.portal-notification-meta {
    text-align: right;
}

.portal-notification-meta strong {
    color: var(--av-red-dark);
    font-size: 0.9rem;
}

.portal-message-list {
    display: grid;
    gap: 0.75rem;
}

.portal-message-row {
    align-items: start;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 0.35rem solid #94a3b8;
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.9rem;
}

.portal-message-row.is-sent,
.portal-message-row.is-logged {
    border-left-color: #0f9f5f;
}

.portal-message-row.is-failed {
    border-left-color: var(--av-red);
}

.portal-message-row:hover {
    border-color: var(--av-red);
}

.portal-message-row span,
.portal-message-row p,
.portal-message-detail-grid span {
    color: var(--muted);
    font-weight: 750;
}

.portal-message-row span,
.portal-message-detail-grid span {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.portal-message-row strong,
.portal-message-detail-grid strong {
    display: block;
}

.portal-message-row p {
    margin: 0.2rem 0 0;
}

.portal-message-meta {
    text-align: right;
}

.portal-message-meta strong {
    color: var(--av-red-dark);
    font-size: 0.9rem;
}

.portal-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.portal-pagination a,
.portal-pagination span {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-weight: 850;
    padding: 0.55rem 0.8rem;
}

.portal-pagination a {
    color: var(--av-red-dark);
}

.portal-message-detail-panel {
    gap: 1rem;
}

.portal-message-detail-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-message-detail-grid > div {
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.85rem;
}

.portal-message-body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.55;
    padding: 1rem;
}

.portal-message-body p,
.portal-message-body ul,
.portal-message-body ol {
    margin-bottom: 0.8rem;
}

.portal-message-body > :last-child {
    margin-bottom: 0;
}

.student-balance-list,
.status-list,
.portal-link-stack {
    display: grid;
    gap: 0.7rem;
}

.calendar-panel {
    overflow: hidden;
}

.public-calendar-shell {
    padding-top: clamp(1.35rem, 4vw, 2.25rem);
}

.public-calendar-intro,
.public-calendar-shell .calendar-panel {
    border-top: 5px solid var(--av-red);
    box-shadow: 0 20px 44px rgba(17, 17, 17, 0.07);
}

.public-calendar-intro .page-header {
    margin-bottom: 0.35rem;
}

.public-calendar-intro .website-page-summary {
    margin-bottom: 0;
    max-width: 48rem;
}

.public-calendar-shell .calendar-panel {
    padding: clamp(1.2rem, 4vw, 2rem);
}

.public-calendar-shell .calendar-page-heading {
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.public-calendar-shell .calendar-page-heading .page-header {
    margin-bottom: 0.35rem;
}

.public-calendar-shell .calendar-page-heading .website-page-summary {
    margin-bottom: 0;
    max-width: 54rem;
}

.public-calendar-shell .calendar-toolbar {
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.85rem;
    padding-bottom: 0.9rem;
}

.public-calendar-shell .calendar-toolbar h2 {
    font-size: clamp(1.35rem, 2.3vw, 1.85rem);
    line-height: 1.05;
}

.public-calendar-shell .calendar-toolbar-controls {
    background: var(--wash);
}

.public-calendar-shell .calendar-category-filters {
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
}

.public-calendar-shell .calendar-grid {
    border-radius: 8px;
}

.calendar-toolbar {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 1rem;
    text-align: left;
}

.calendar-toolbar h2,
.calendar-toolbar p {
    margin: 0;
}

.calendar-toolbar p {
    color: var(--muted);
    font-weight: 750;
    margin-top: 0.15rem;
}

.calendar-toolbar-title {
    display: grid;
    gap: 0.15rem;
    justify-items: start;
}

.calendar-toolbar-controls {
    align-items: center;
    background: #f7f8fa;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.25rem;
}

.calendar-nav-button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 950;
    height: 2.35rem;
    justify-content: center;
    line-height: 1;
    width: 2.35rem;
}

.calendar-nav-button:hover {
    border-color: var(--av-red);
    color: var(--av-red-dark);
}

.calendar-jump {
    margin: 0;
}

.calendar-jump select {
    background: #fff;
    border: 0;
    border-radius: 7px;
    color: var(--ink);
    font: inherit;
    font-weight: 850;
    min-height: 2.35rem;
    padding: 0.25rem 2rem 0.25rem 0.7rem;
}

.calendar-category-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1rem;
}

.calendar-category-reset,
.calendar-category-filter-chip {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 850;
}

.calendar-category-reset:hover,
.calendar-category-reset.is-active {
    background: #fff1f3;
    border-color: #ffd3da;
    color: var(--av-red-dark);
}

.calendar-category-filter {
    cursor: pointer;
    display: inline-flex;
}

.calendar-category-filter input {
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.calendar-category-filter-chip {
    color: var(--calendar-filter-color, var(--av-red));
}

.calendar-category-filter input:checked + .calendar-category-filter-chip,
.calendar-category-filter:hover .calendar-category-filter-chip {
    background: color-mix(in srgb, var(--calendar-filter-color, var(--av-red)) 11%, #fff);
    border-color: color-mix(in srgb, var(--calendar-filter-color, var(--av-red)) 34%, #fff);
}

.calendar-category-filter-svg {
    display: block;
    height: 0.95rem;
    stroke-width: 2.3;
    width: 0.95rem;
}

.calendar-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.calendar-footer-actions {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
}

.calendar-print-only {
    display: none;
}

.calendar-mobile-list {
    display: none !important;
}

.calendar-mobile-event {
    align-items: flex-start;
    background: var(--calendar-event-bg, #fff);
    border: 1px solid var(--calendar-event-border, var(--line));
    border-left: 5px solid var(--calendar-event-color, var(--av-red));
    border-radius: 8px;
    color: var(--ink);
    display: flex;
    font: inherit;
    gap: 0.85rem;
    padding: 0.85rem;
    text-align: left;
    width: 100%;
}

.calendar-mobile-event:hover {
    border-color: var(--calendar-event-color, var(--av-red));
    color: var(--ink);
}

.calendar-mobile-event-date {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--calendar-event-color, var(--av-red-dark));
    display: grid;
    flex: 0 0 3rem;
    justify-items: center;
    padding: 0.1rem 0.25rem 0;
}

.calendar-mobile-event-date span {
    font-size: 0.66rem;
    font-weight: 950;
    text-transform: uppercase;
}

.calendar-mobile-event-date strong {
    font-size: 1.35rem;
    line-height: 1;
}

.calendar-mobile-event-main {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.calendar-mobile-event-time {
    align-items: center;
    color: var(--calendar-event-color, var(--av-red-dark));
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 950;
    gap: 0.3rem;
    text-transform: uppercase;
}

.calendar-mobile-event-main strong {
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.calendar-mobile-event-main small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.35;
}

.panel .calendar-grid,
.calendar-grid {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
}

.calendar-weekday {
    background: #f7f8fa;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.65rem;
    text-align: center;
    text-transform: uppercase;
}

.calendar-day {
    background: white;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    display: grid;
    gap: 0.55rem;
    align-content: start;
    min-height: 8.4rem;
    padding: 0.55rem;
}

.calendar-day:nth-child(7n + 7) {
    border-right: 0;
}

.calendar-day:nth-last-child(-n + 7) {
    border-bottom: 0;
}

.calendar-day.is-outside-month {
    background: #fafafa;
}

.calendar-day.is-outside-month .calendar-day-number {
    opacity: 0.45;
}

.calendar-day.is-today {
    box-shadow: inset 0 0 0 2px rgba(216, 36, 59, 0.35);
}

.calendar-day-number {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.calendar-day-number span {
    color: var(--muted);
    display: none;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.calendar-day-number strong {
    align-items: center;
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 950;
    height: 1.7rem;
    justify-content: center;
    min-width: 1.7rem;
}

.calendar-day.is-today .calendar-day-number strong {
    background: var(--av-red);
    color: white;
}

.calendar-day-events {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.calendar-event-pill {
    align-items: center;
    background: var(--calendar-event-bg, #fff7f8);
    border: 1px solid var(--calendar-event-border, #ffe0e5);
    border-left: 3px solid var(--calendar-event-color, var(--av-red));
    border-radius: 6px;
    color: var(--calendar-event-color, var(--av-red-dark));
    display: flex;
    gap: 0.35rem;
    min-width: 0;
    padding: 0.25rem 0.35rem;
    text-align: left;
    width: 100%;
}

.calendar-event-pill:hover {
    background: var(--calendar-event-bg, #fff1f3);
    border-color: var(--calendar-event-color, var(--av-red));
    color: var(--calendar-event-color, var(--av-red-dark));
}

.calendar-event-pill.is-google {
    background: var(--calendar-event-bg, #f3f7ff);
    border-color: var(--calendar-event-border, #d6e4ff);
    border-left-color: var(--calendar-event-color, #2f6fd6);
    color: var(--calendar-event-color, #2457a6);
}

.calendar-event-pill .calendar-event-time {
    color: currentColor;
    flex: 0 0 auto;
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    opacity: 0.9;
    text-transform: uppercase;
}

.calendar-event-pill strong {
    display: block;
    flex: 1 1 auto;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.15;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-event-pill .calendar-event-time {
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.calendar-event-pill.needs-volunteers {
    background: var(--calendar-event-bg, #effaf4);
    border-color: var(--calendar-event-border, #c9efd8);
    border-left-color: var(--calendar-event-color, #10934a);
    color: var(--calendar-event-color, #106236);
}

.calendar-event-pill.needs-volunteers:hover {
    background: var(--calendar-event-bg, #e5f7ed);
    border-color: var(--calendar-event-color, #10934a);
    color: var(--calendar-event-color, #0b4f2a);
}

.calendar-event-category-icon,
.calendar-event-volunteer-badge {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: currentColor;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 950;
    height: auto;
    justify-content: center;
    line-height: 1;
    width: auto;
}

.calendar-event-category-svg {
    display: block;
    height: 0.85rem;
    stroke-width: 2.5;
    width: 0.85rem;
}

.calendar-event-pill strong {
    font-size: 0.78rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-more {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
}

.calendar-month-list {
    display: grid;
    gap: 0.65rem;
}

.calendar-month-list-row {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0.8rem;
}

.calendar-month-list-row:hover {
    border-color: var(--av-red);
    color: var(--ink);
}

.calendar-month-list-date {
    align-items: center;
    background: #fff4f6;
    border: 1px solid #ffd2d9;
    border-radius: 8px;
    color: var(--av-red-dark);
    display: grid;
    justify-items: center;
    min-width: 3.25rem;
    padding: 0.35rem 0.45rem;
}

.calendar-month-list-date span {
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.calendar-month-list-date strong {
    font-size: 1.3rem;
    line-height: 1;
}

.calendar-month-list-main {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.calendar-month-list-main > strong {
    font-size: 1rem;
}

.calendar-month-list-main span,
.calendar-month-list-main p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 750;
    margin: 0;
}

.calendar-source-badge {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.25rem 0.55rem;
    text-transform: uppercase;
}

.calendar-source-badge.is-spark {
    background: #fff4f6;
    color: var(--av-red-dark);
}

.calendar-source-badge.is-google {
    background: #f3f7ff;
    color: #2457a6;
}

.volunteer-summary-panel {
    gap: 0.8rem;
}

.volunteer-event-page .volunteer-event-hero {
    align-items: center;
    gap: clamp(0.85rem, 2vw, 1.25rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    height: 12rem;
    min-height: 12rem;
    padding: clamp(1rem, 2.4vw, 1.6rem);
}

.volunteer-event-page .volunteer-event-hero h1 {
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1;
    max-width: 20ch;
}

.volunteer-event-page .volunteer-event-hero .portal-home-snapshot {
    align-self: center;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
}

.volunteer-event-page .volunteer-event-hero .portal-home-snapshot a {
    padding: 0.65rem 0.75rem;
}

.volunteer-description-panel {
    padding: 1rem 1.35rem;
}

.volunteer-description-panel p {
    margin: 0;
}

.volunteer-event-page .volunteer-description-panel + .volunteer-signup-form {
    margin-top: 0.8rem;
}

.volunteer-slot-panel {
    padding: 1.15rem 1.35rem;
}

.volunteer-summary-panel + .volunteer-signup-form,
.panel + .volunteer-signup-form {
    margin-top: 1rem;
}

.volunteer-sign-in-page {
    max-width: 1120px;
}

.volunteer-sign-in-page .page-header {
    align-items: flex-end;
    margin-bottom: 1rem;
}

.volunteer-sign-in-page .page-header h1 {
    font-size: clamp(2.25rem, 4vw, 3.4rem);
    max-width: 16ch;
}

.volunteer-sign-in-page .page-header .account-note {
    max-width: 44rem;
}

.volunteer-sign-in-card .panel {
    padding: clamp(1rem, 2.5vw, 1.6rem);
}

.volunteer-sign-in-card .section-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    margin: calc(clamp(1rem, 2.5vw, 1.6rem) * -1) calc(clamp(1rem, 2.5vw, 1.6rem) * -1) 1.25rem;
    padding: 1rem clamp(1rem, 2.5vw, 1.6rem);
}

.volunteer-sign-in-card .section-head p {
    color: var(--muted);
    font-weight: 750;
    margin: 0.35rem 0 0;
}

.volunteer-sign-in-card .form-grid {
    gap: 1rem 1.15rem;
}

.volunteer-sign-in-card input,
.volunteer-sign-in-card select,
.volunteer-sign-in-card textarea {
    min-height: 3rem;
}

.sign-in-event-hint {
    background: #f7f8fa;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 750;
    grid-column: 1 / -1;
    padding: 0.7rem 0.85rem;
}

.worker-type-field,
.worker-type-section {
    grid-column: 1 / -1;
}

.worker-type-options {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.worker-type-option {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.worker-type-option:has(input:checked) {
    background: color-mix(in srgb, var(--av-red) 7%, #fff);
    border-color: color-mix(in srgb, var(--av-red) 42%, #fff);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--av-red) 10%, transparent);
}

.worker-type-option input {
    accent-color: var(--av-red);
    min-height: auto;
    width: auto;
}

.worker-type-option span {
    display: grid;
    gap: 0.15rem;
}

.worker-type-option strong {
    color: var(--ink);
    font-size: 0.98rem;
}

.worker-type-option small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.worker-type-section[hidden] {
    display: none !important;
}

.volunteer-sign-in-card .volunteer-actions {
    margin-top: 0;
}

.volunteer-summary-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.volunteer-summary-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.volunteer-summary-card span {
    color: var(--muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-summary-card strong {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    margin-top: 0.4rem;
}

.volunteer-slot-list {
    display: grid;
    gap: 0.75rem;
}

.volunteer-slot-row {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.8rem 0.95rem;
}

.volunteer-slot-row:first-child {
    border-top: 1px solid var(--line);
    padding-top: 0.8rem;
}

.volunteer-slot-choice {
    cursor: pointer;
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.volunteer-slot-choice:hover {
    border-color: var(--av-red);
    box-shadow: 0 8px 18px rgba(28, 30, 33, 0.08);
}

.volunteer-slot-choice:has(.slot-radio:checked) {
    background: #fff6f7;
    border-color: var(--av-red);
    box-shadow: 0 0 0 2px rgba(216, 36, 59, 0.12);
}

.slot-radio {
    accent-color: var(--av-red);
    margin: 0;
}

.slot-radio:focus-visible + .volunteer-slot-main {
    outline: 3px solid rgba(36, 87, 166, 0.35);
    outline-offset: 0.2rem;
}

.volunteer-slot-main {
    min-width: 0;
}

.slot-choice-status {
    align-items: flex-end;
    display: grid;
    gap: 0.25rem;
    justify-items: end;
}

.volunteer-slot-select-text {
    color: var(--av-red);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.slot-radio:checked ~ .slot-choice-status .volunteer-slot-select-text {
    font-size: 0;
}

.slot-radio:checked ~ .slot-choice-status .volunteer-slot-select-text::before {
    content: "Selected";
    font-size: 0.8rem;
}

.volunteer-slot-row.is-full {
    background: #f7f8fa;
    opacity: 0.86;
}

.volunteer-slot-row strong,
.volunteer-slot-row span {
    display: block;
}

.volunteer-slot-row .slot-choice-status {
    display: grid;
}

.volunteer-slot-row span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 750;
}

.volunteer-slot-row .volunteer-slot-select-text {
    color: var(--av-red);
    font-size: 0.8rem;
    font-weight: 900;
}

.volunteer-slot-row p {
    color: var(--muted);
    margin: 0.35rem 0 0;
}

.slot-availability {
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    padding: 0.3rem 0.55rem;
    white-space: nowrap;
}

.slot-availability.open {
    background: #e8f6ee;
    color: #12683b;
}

.slot-availability.full {
    background: #f1f3f6;
    color: #687282;
}

.slot-availability.alert {
    background: #fff0f2;
    color: #a3192b;
}

.form-checklist-list {
    display: grid;
    gap: 0.75rem;
}

.form-checklist-row {
    align-items: start;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.9rem 1rem;
}

.form-checklist-title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.form-checklist-meta {
    color: var(--muted);
    display: block;
    font-size: 0.86rem;
    font-weight: 850;
    margin-top: 0.25rem;
}

.form-checklist-row p {
    color: var(--muted);
    margin: 0.45rem 0 0;
}

.form-status-badge {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.24rem 0.5rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.form-status-badge.is-complete,
.form-status-badge.is-not-required {
    background: #e8f6ee;
    color: #12683b;
}

.form-status-badge.is-needs-review {
    background: #fff4dc;
    color: #975a00;
}

.form-status-badge.is-missing {
    background: #fff0f2;
    color: #a3192b;
}

.volunteer-actions {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.volunteer-count-field {
    max-width: 18rem;
}

.volunteer-count-field .field-hint {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0.35rem 0 0;
}

.volunteer-detail-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.volunteer-detail-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 1rem;
}

.volunteer-detail-card legend {
    font-size: 1rem;
    font-weight: 900;
    padding: 0 0.35rem;
}

.volunteer-event-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.volunteer-event-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.volunteer-event-card:hover {
    border-color: var(--av-red);
    box-shadow: 0 14px 28px rgba(28, 30, 33, 0.11);
    transform: translateY(-2px);
}

.public-volunteers-shell {
    padding-top: clamp(1.35rem, 4vw, 2.25rem);
}

.public-volunteers-intro,
.volunteer-index-list,
.public-volunteers-empty {
    border-top: 5px solid var(--av-red);
    box-shadow: 0 20px 44px rgba(17, 17, 17, 0.07);
}

.public-volunteers-intro .page-header {
    margin-bottom: 0.35rem;
}

.public-volunteers-intro .website-page-summary {
    margin-bottom: 0;
    max-width: 48rem;
}

.volunteer-index-list {
    margin-top: 1rem;
}

.volunteer-event-image {
    aspect-ratio: 16 / 10;
    background: #f1f3f6;
    display: block;
    overflow: hidden;
}

.volunteer-event-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.volunteer-event-placeholder {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(216, 36, 59, 0.94), rgba(28, 30, 33, 0.92)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: auto, 38px 38px;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.volunteer-event-placeholder span {
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-event-placeholder strong {
    font-size: clamp(2.6rem, 8vw, 4.4rem);
    line-height: 0.95;
}

.volunteer-event-body {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem;
}

.volunteer-event-date,
.volunteer-event-meta,
.volunteer-event-description {
    color: var(--muted);
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
}

.volunteer-event-date {
    color: var(--av-red-dark);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-event-body > strong {
    display: block;
    font-size: 1.12rem;
    line-height: 1.12;
}

.volunteer-event-description {
    line-height: 1.35;
}

.volunteer-event-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    margin-top: 0.35rem;
}

.volunteer-event-link {
    color: var(--av-red);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.confirmation-panel {
    gap: 1rem;
}

.confirmation-status {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

.confirmation-check {
    align-items: center;
    background: #e8f6ee;
    border-radius: 999px;
    color: #12683b;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.2rem;
    font-weight: 950;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.confirmation-status h2,
.confirmation-status p {
    margin: 0;
}

.confirmation-status h2 {
    font-size: 1.35rem;
    line-height: 1.1;
}

.confirmation-status p {
    color: var(--muted);
    font-weight: 750;
    margin-top: 0.2rem;
}

.confirmation-summary,
.confirmation-volunteer-card {
    display: grid;
    gap: 0.75rem;
}

.confirmation-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.confirmation-summary div,
.confirmation-volunteer-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.85rem;
}

.confirmation-summary span,
.confirmation-volunteer-card span {
    color: var(--muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.confirmation-summary strong,
.confirmation-volunteer-card strong {
    display: block;
    font-weight: 950;
    margin-top: 0.25rem;
    overflow-wrap: anywhere;
}

.confirmation-volunteer-list {
    display: grid;
    gap: 0.75rem;
}

.confirmation-volunteer-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.confirmation-actions {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (max-width: 720px) {
    .volunteer-summary-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-slot-row,
    .volunteer-slot-choice {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .volunteer-slot-choice {
        grid-template-columns: 1fr;
    }

    .slot-choice-status {
        align-items: start;
        grid-column: 1 / -1;
        justify-items: start;
    }

    .confirmation-status {
        align-items: flex-start;
    }

    .confirmation-summary,
    .confirmation-volunteer-card {
        grid-template-columns: 1fr;
    }
}

.student-balance-row,
.status-row,
.link-row {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.75rem;
    padding-top: 0.75rem;
}

.student-balance-row:first-child,
.status-row:first-child,
.link-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.student-balance-row strong,
.status-row strong,
.link-row strong {
    display: block;
}

.student-balance-row span,
.status-row span,
.link-row span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.balance-stats {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}

.balance-stats div {
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.55rem;
}

.balance-stats dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.balance-stats dd {
    font-size: 1.05rem;
    font-weight: 950;
    margin: 0.1rem 0 0;
}

.money-positive {
    color: #16603a;
}

.money-negative {
    color: var(--av-red-dark);
}

.link-row:hover {
    color: var(--av-red-dark);
}

.account-student-stack {
    display: grid;
    gap: 1rem;
}

.account-student-panel {
    display: grid;
    gap: 1rem;
}

.account-student-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.account-note {
    color: var(--muted);
    font-weight: 700;
    margin: 0.45rem 0 0;
}

.account-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.account-balance-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-sections {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.account-sections h3 {
    font-size: 1.05rem;
    line-height: 1.1;
    margin: 0;
}

.account-statement-table {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.account-statement-head,
.account-statement-row {
    align-items: center;
    display: grid;
}

.account-statement-head {
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.account-statement-row {
    border-top: 1px solid var(--line);
    color: var(--ink);
}

.account-statement-row:nth-child(odd) {
    background: #fbfcfe;
}

.account-statement-head span,
.account-statement-cell {
    padding: 0.75rem 0.85rem;
}

.account-statement-table-activity .account-statement-head,
.account-statement-table-activity .account-statement-row {
    grid-template-columns: 7.5rem minmax(0, 1fr) 7.5rem 7.5rem;
}

.account-statement-table-requests .account-statement-head,
.account-statement-table-requests .account-statement-row {
    grid-template-columns: 10rem 9rem 9rem minmax(10rem, 1fr);
}

.account-statement-main strong,
.account-statement-main span {
    display: block;
}

.account-statement-main span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 750;
    margin-top: 0.15rem;
}

.account-statement-money {
    font-size: 1.05rem;
    font-weight: 950;
    text-align: right;
}

.muted-dash {
    color: var(--muted);
}

.account-statement-empty {
    color: var(--muted);
    font-weight: 750;
    padding: 1rem;
}

@media (max-width: 760px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .app-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        align-items: center;
        display: grid;
        gap: 0.75rem;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
    }

    .site-nav-menu {
        display: flex;
        grid-column: 2;
        justify-self: end;
        z-index: 25;
    }

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

    .site-nav-menu-button {
        align-items: center;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 8px;
        color: var(--ink);
        cursor: pointer;
        display: inline-flex;
        font-size: 0.92rem;
        font-weight: 850;
        gap: 0.55rem;
        list-style: none;
        min-height: 2.65rem;
        padding: 0.55rem 0.75rem;
    }

    .site-nav-menu-button::-webkit-details-marker {
        display: none;
    }

    .site-nav-menu[open] .site-nav-menu-button,
    .site-nav-menu-button:hover {
        border-color: var(--av-red);
        color: var(--av-red-dark);
    }

    .site-nav-menu-icon {
        display: grid;
        gap: 0.18rem;
        width: 1rem;
    }

    .site-nav-menu-icon span {
        background: currentColor;
        border-radius: 999px;
        height: 2px;
        width: 100%;
    }

    .site-nav-menu .site-nav {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 16px 34px rgba(28, 30, 33, 0.14);
        display: none;
        gap: 0.2rem;
        max-height: min(70vh, 32rem);
        min-width: min(18rem, calc(100vw - 2rem));
        overflow-y: auto;
        padding: 0.45rem;
        position: absolute;
        right: 0;
        top: calc(100% + 0.45rem);
        width: max-content;
    }

    .site-nav-menu[open] .site-nav {
        display: grid;
    }

    .site-nav-menu .site-nav a,
    .site-nav-menu .site-nav button {
        color: var(--ink);
        display: block;
        padding: 0.75rem 0.85rem;
        text-align: left;
        width: 100%;
    }

    .site-nav-menu .site-nav a:hover,
    .site-nav-menu .site-nav button:hover,
    .site-nav-menu .site-nav a.is-active {
        background: var(--soft-red);
        color: var(--av-red-dark);
    }

    .site-nav-align-left,
    .site-nav-align-center,
    .site-nav-align-right {
        margin-left: 0;
        margin-right: 0;
    }

    .account-menu {
        grid-column: 1 / -1;
        width: 100%;
    }

    .account-menu summary {
        justify-content: space-between;
        width: 100%;
    }

    .account-menu-panel {
        left: 0;
        right: auto;
        width: 100%;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .worker-type-options {
        grid-template-columns: 1fr;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .homepage-photo-hero {
        min-height: clamp(34rem, 82vh, 42rem);
        padding: clamp(3rem, 12vw, 4.5rem) clamp(1rem, 6vw, 1.5rem) clamp(8rem, 24vw, 10rem);
    }

    .homepage-photo-hero h1 {
        font-size: clamp(1.2rem, 8vw, 2.35rem);
        font-size: clamp(1.2rem, 7cqi, 2.35rem);
    }

    .hero-media {
        min-height: 14rem;
    }

    .hero-media.has-photos {
        min-height: clamp(16rem, 62vw, 24rem);
    }

    .homepage-overview,
    .instagram-homepage-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-shell.homepage-option-a-shell .homepage-overview {
        margin-top: 1rem;
    }

    .homepage-announcement-banner {
        margin-top: -5.75rem;
    }

    .homepage-announcement-row {
        grid-template-columns: 1fr;
    }

    .homepage-link-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-header,
    .inline-form {
        align-items: stretch;
        flex-direction: column;
    }

    .page-shell,
    .portal-body .page-shell {
        max-width: 100%;
        overflow-x: hidden;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        width: 100%;
    }

    .form-grid,
    .form-grid.colors {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .portal-home-hero,
    .portal-summary-panel,
    .portal-summary-stats {
        grid-template-columns: 1fr;
    }

    .portal-home-hero {
        height: auto;
    }

    .portal-home-hero.has-website-rail {
        gap: 0.85rem;
        height: auto;
        min-height: 0;
        padding-right: 1rem;
    }

    .portal-home-snapshot {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .portal-website-rail {
        grid-auto-columns: minmax(10rem, 44vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.15rem 0.15rem 0.35rem;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
    }

    .portal-website-rail-link {
        grid-template-columns: 2.7rem minmax(0, 1fr);
        min-height: 2.8rem;
    }

    .portal-website-rail-link:hover,
    .portal-website-rail-link:focus-visible,
    .portal-website-rail-link.is-active {
        transform: translateY(-0.12rem);
    }

    .portal-website-rail-link strong {
        font-size: 0.86rem;
        padding: 0.55rem 0.65rem;
    }

    .portal-page-links {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.35rem;
        max-width: 100%;
        overflow-x: auto;
        padding: 0.4rem;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .portal-page-links a {
        flex: 0 0 auto;
        justify-content: center;
        min-width: max-content;
        padding: 0.48rem 0.65rem;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .portal-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-tool-card {
        min-height: 8.8rem;
    }

    .portal-choice-page {
        min-height: 0;
        padding-top: 0.75rem;
    }

    .portal-choice-panel {
        padding: 1rem;
    }

    .portal-choice-head {
        align-items: start;
        gap: 0.45rem;
        grid-template-columns: 1fr;
    }

    .portal-choice-head h1 {
        font-size: 1.75rem;
    }

    .portal-choice-user {
        min-width: 0;
        width: 100%;
    }

    .balance-stats,
    .account-balance-stats,
    .portal-student-summary-stats {
        grid-template-columns: 1fr;
    }

    .account-student-header,
    .portal-student-summary-head,
    .portal-notification-row,
    .portal-message-row,
    .account-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .portal-notification-row,
    .portal-message-row,
    .portal-message-detail-grid {
        grid-template-columns: 1fr;
    }

    .portal-notification-meta,
    .portal-message-meta,
    .portal-pagination {
        text-align: left;
        justify-content: flex-start;
    }

    .account-sections,
    .form-checklist-row {
        grid-template-columns: 1fr;
    }

    .account-statement-head {
        display: none;
    }

    .account-statement-table-activity .account-statement-row,
    .account-statement-table-requests .account-statement-row {
        align-items: start;
        gap: 0.45rem;
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }

    .account-statement-cell {
        display: grid;
        gap: 0.75rem;
        grid-template-columns: 8.75rem minmax(0, 1fr);
        padding: 0;
    }

    .account-statement-cell::before {
        color: var(--muted);
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 950;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .account-statement-main {
        display: block;
    }

    .account-statement-main::before {
        display: block;
        margin-bottom: 0.2rem;
    }

    .account-statement-money {
        text-align: left;
    }

    .calendar-toolbar {
        grid-template-columns: 1fr;
        min-width: 0;
        text-align: left;
    }

    .calendar-toolbar-title {
        justify-items: start;
        min-width: 0;
    }

    .calendar-toolbar-controls,
    .calendar-footer-actions {
        justify-content: flex-start;
    }

    .calendar-toolbar-controls {
        display: grid;
        grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
        max-width: 100%;
        width: 100%;
    }

    .calendar-jump,
    .calendar-jump select {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .calendar-category-filters {
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr;
        max-width: 100%;
        overflow: hidden;
    }

    .calendar-category-filter,
    .calendar-category-reset,
    .calendar-category-filter-chip {
        justify-content: flex-start;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        width: 100%;
    }

    .calendar-panel,
    .calendar-mobile-list,
    .calendar-mobile-event {
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .calendar-mobile-event {
        display: grid;
        grid-template-columns: 3rem minmax(0, 1fr);
    }

    .calendar-mobile-event-main small {
        overflow-wrap: anywhere;
    }

    .calendar-footer-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .calendar-footer-actions .button {
        justify-content: center;
        white-space: normal;
        width: 100%;
    }

    .calendar-month-list-row {
        align-items: start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .calendar-source-badge {
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .panel .calendar-grid,
    .calendar-grid {
        display: none !important;
    }

    .calendar-mobile-list {
        display: grid !important;
        gap: 0.65rem;
    }
}

@media (max-width: 760px) {
    .public-site-header {
        display: block;
        min-height: 0;
        padding: 0;
    }

    .site-top-message {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .site-message-ticker span {
        font-size: 0.68rem;
    }

    .site-message-actions .account-menu {
        grid-column: auto;
        width: auto;
    }

    .site-message-actions .account-menu summary {
        justify-content: flex-end;
        width: auto;
    }

    .site-message-actions .account-menu-panel {
        left: auto;
        right: 1rem;
        width: min(18rem, calc(100vw - 2rem));
    }

    .public-brand {
        gap: 0.75rem;
        min-height: 4.7rem;
        padding: 0.75rem 1rem 0.75rem calc(1rem + clamp(4.4rem, calc(var(--header-logo-size, 8.6rem) * 0.72), 5.8rem) + 0.75rem);
    }

    .public-brand .brand-mark {
        height: clamp(4.4rem, calc(var(--header-logo-size, 8.6rem) * 0.72), 5.8rem);
        left: 1rem;
        margin-bottom: 0;
        top: 50%;
        width: clamp(4.4rem, calc(var(--header-logo-size, 8.6rem) * 0.72), 5.8rem);
    }

    .public-brand strong {
        font-size: clamp(0.72rem, 3.1vw, 1.15rem);
        letter-spacing: 0;
    }

    .public-brand small {
        font-size: 0.72rem;
    }

    .public-nav-row {
        align-items: center;
        display: block;
        overflow-x: visible;
        padding: 0.55rem 0.75rem 0.7rem;
        position: relative;
    }

    .public-nav-row .site-nav-desktop {
        display: grid;
        gap: 0.4rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 0;
        max-width: 100%;
        min-height: 0;
        overflow: visible;
        padding: 0;
        width: 100%;
    }

    .public-nav-row .site-nav-desktop::-webkit-scrollbar {
        display: none;
    }

    .public-nav-row .site-nav-menu {
        display: none;
    }

    .public-nav-row .site-nav a,
    .public-nav-row .site-nav button {
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 8px;
        color: #fff;
        display: flex;
        font-size: 0.72rem;
        justify-content: center;
        line-height: 1.08;
        min-height: 2.35rem;
        padding: 0.48rem 0.4rem;
        text-align: center;
        white-space: normal;
    }

    .public-nav-row .site-nav a:hover,
    .public-nav-row .site-nav button:hover,
    .public-nav-row .site-nav a.is-active {
        background: #fff;
        border-color: #fff;
        color: var(--av-red-dark);
    }

    .public-site-footer {
        margin-top: 2rem;
    }

    .public-site-footer > .site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.85rem;
        padding: 1rem;
    }

    .site-footer-brand {
        gap: 0.7rem;
    }

    .site-footer-brand .brand-mark {
        height: 3rem;
        width: 3rem;
    }

    .site-footer-brand strong {
        font-size: clamp(0.95rem, 4.8vw, 1.15rem);
    }

    .site-footer-brand small,
    .site-footer-meta span {
        font-size: 0.66rem;
    }

    .site-footer-meta {
        justify-items: start;
        min-width: 0;
        text-align: left;
    }

    .portal-site-header {
        display: block;
        min-height: 0;
        padding: 0;
    }

    .portal-masthead-inner {
        gap: 0.75rem;
        grid-template-columns: minmax(0, 1fr);
        padding: 0.75rem 1rem;
    }

    .portal-brand {
        min-height: 4.5rem;
        padding-left: calc(clamp(4.2rem, calc(var(--header-logo-size, 8.6rem) * 0.68), 5.4rem) + 0.7rem);
    }

    .portal-brand .brand-mark {
        height: clamp(4.2rem, calc(var(--header-logo-size, 8.6rem) * 0.68), 5.4rem);
        margin-bottom: 0;
        top: 50%;
        width: clamp(4.2rem, calc(var(--header-logo-size, 8.6rem) * 0.68), 5.4rem);
    }

    .portal-brand strong {
        font-size: clamp(0.72rem, 3.1vw, 1.15rem);
        letter-spacing: 0;
    }

    .portal-brand small {
        font-size: 0.68rem;
    }

    .portal-masthead-actions .account-menu {
        grid-column: auto;
        width: 100%;
    }

    .portal-nav-row {
        align-items: center;
        display: block;
        overflow-x: visible;
        padding: 0.55rem 0.75rem 0.7rem;
        position: relative;
    }

    .portal-nav-row .site-nav-desktop {
        display: grid;
        gap: 0.4rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 0;
        max-width: 100%;
        min-height: 0;
        overflow: visible;
        padding: 0;
        width: 100%;
    }

    .portal-nav-row .site-nav-desktop::-webkit-scrollbar {
        display: none;
    }

    .portal-nav-row .site-nav-menu {
        display: none;
    }

    .portal-nav-row .site-nav a,
    .portal-nav-row .site-nav button {
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 8px;
        color: #fff;
        display: flex;
        font-size: 0.72rem;
        justify-content: center;
        line-height: 1.08;
        min-height: 2.35rem;
        padding: 0.48rem 0.4rem;
        text-align: center;
        white-space: normal;
    }

    .portal-nav-row .site-nav a:hover,
    .portal-nav-row .site-nav button:hover,
    .portal-nav-row .site-nav a.is-active {
        background: #fff;
        border-color: #fff;
        color: var(--av-red-dark);
    }

    .public-brand small,
    .portal-brand small {
        line-height: 1.15;
    }

    .homepage-photo-hero {
        align-content: end;
        min-height: clamp(34rem, 88vh, 42rem);
    }

    .homepage-photo-hero .hero-copy {
        padding: clamp(1.2rem, 7vw, 1.7rem) 1rem 0.85rem;
        padding-right: 1rem;
        text-align: center;
    }

    .homepage-photo-hero .homepage-hero-title {
        font-size: clamp(1.2rem, 8vw, 2.35rem);
        font-size: clamp(1.2rem, 7cqi, 2.35rem);
        max-width: none;
    }

    .hero-shell.homepage-option-a-shell .homepage-overview {
        grid-template-columns: 1fr;
    }

    .homepage-quick-rail {
        grid-auto-columns: minmax(13.5rem, 76vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        margin: 0 1rem 1rem;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.15rem 0.15rem 0.35rem;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: auto;
    }

    .homepage-quick-rail-link {
        grid-template-columns: 3.8rem minmax(0, 1fr);
        min-height: 4.7rem;
    }

    .homepage-quick-rail-link:hover,
    .homepage-quick-rail-link:focus-visible {
        transform: translateY(-0.18rem);
    }

    .homepage-quick-rail-copy {
        padding: 0.75rem 0.85rem;
    }

    .hero-shell.homepage-option-a-shell .homepage-overview {
        padding: 0 1rem 2rem;
    }

    .hero-shell.homepage-option-a-shell .homepage-overview.homepage-overview-photo-panel {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding: 1rem;
        width: calc(100% - 2rem);
    }

    .homepage-overview-photo-panel .homepage-announcements-panel {
        min-height: 16rem;
    }

    .homepage-overview-photo-panel .homepage-announcement-row h3 {
        font-size: clamp(1.65rem, 10vw, 2.35rem);
    }

    .homepage-instagram-title {
        font-size: clamp(1.65rem, 10vw, 2.35rem);
    }

    .homepage-instagram-grid {
        gap: 0.35rem;
    }

    .hero-shell.homepage-option-a-shell .homepage-overview-photo-panel .homepage-event-row {
        min-height: 4.6rem;
    }

    .homepage-announcement-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .public-brand strong,
    .portal-brand strong {
        font-size: clamp(0.68rem, 3vw, 0.92rem);
    }

    .public-brand small,
    .portal-brand small {
        font-size: 0.62rem;
    }
}

@media (max-width: 760px) {
    .public-nav-row,
    .portal-nav-row {
        background: var(--av-red-dark);
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        display: block;
        overflow: visible;
        padding: 0;
    }

    .public-nav-row .site-nav-desktop,
    .portal-nav-row .site-nav-desktop {
        display: none;
    }

    .public-nav-row .site-nav-menu,
    .portal-nav-row .site-nav-menu {
        display: block;
        margin: 0 auto;
        max-width: var(--site-shell-width);
        position: relative;
        width: 100%;
        z-index: 35;
    }

    .public-nav-row .site-nav-menu-button,
    .portal-nav-row .site-nav-menu-button {
        align-items: center;
        background: var(--av-red-dark);
        border: 0;
        border-radius: 0;
        color: #fff;
        display: flex;
        font-size: 1.05rem;
        font-weight: 950;
        gap: 0.75rem;
        justify-content: flex-start;
        letter-spacing: 0;
        min-height: 3.35rem;
        padding: 0.85rem clamp(1rem, 5vw, 1.35rem);
        text-transform: uppercase;
        width: 100%;
    }

    .public-nav-row .site-nav-menu-button::after,
    .portal-nav-row .site-nav-menu-button::after {
        border-bottom: 0.28rem solid #fff;
        border-right: 0.28rem solid #fff;
        content: '';
        height: 0.72rem;
        margin-left: auto;
        transform: rotate(45deg) translateY(-0.12rem);
        transition: transform 180ms ease;
        width: 0.72rem;
    }

    .public-nav-row .site-nav-menu[open] .site-nav-menu-button,
    .portal-nav-row .site-nav-menu[open] .site-nav-menu-button {
        background: var(--av-red);
        color: #fff;
    }

    .public-nav-row .site-nav-menu[open] .site-nav-menu-button::after,
    .portal-nav-row .site-nav-menu[open] .site-nav-menu-button::after {
        transform: rotate(225deg) translate(-0.12rem, -0.12rem);
    }

    .public-nav-row .site-nav-menu-icon,
    .portal-nav-row .site-nav-menu-icon {
        gap: 0.26rem;
        width: 1.28rem;
    }

    .public-nav-row .site-nav-menu-icon span,
    .portal-nav-row .site-nav-menu-icon span {
        background: currentColor;
        height: 0.16rem;
    }

    .public-nav-row .site-nav-menu .site-nav,
    .portal-nav-row .site-nav-menu .site-nav {
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        display: none;
        gap: 0;
        justify-content: stretch;
        max-height: none;
        min-width: 0;
        overflow: visible;
        padding: 0;
        position: static;
        width: 100%;
    }

    .public-nav-row .site-nav-menu[open] .site-nav,
    .portal-nav-row .site-nav-menu[open] .site-nav {
        display: grid;
    }

    .public-nav-row .site-nav-menu .site-nav a,
    .portal-nav-row .site-nav-menu .site-nav a,
    .public-nav-row .site-nav-menu .site-nav button,
    .portal-nav-row .site-nav-menu .site-nav button {
        align-items: center;
        background: #fff;
        border: 0;
        border-bottom: 1px solid rgba(28, 30, 33, 0.16);
        border-radius: 0;
        color: var(--ink);
        display: flex;
        font-size: 1.05rem;
        font-weight: 880;
        justify-content: space-between;
        line-height: 1.2;
        min-height: 3.35rem;
        padding: 0.95rem clamp(1.2rem, 6vw, 1.7rem);
        text-align: left;
        width: 100%;
    }

    .public-nav-row .site-nav-menu .site-nav a::after,
    .portal-nav-row .site-nav-menu .site-nav a::after {
        color: var(--av-red-dark);
        content: '›';
        font-size: 1.35rem;
        font-weight: 950;
        line-height: 1;
        margin-left: 1rem;
    }

    .public-nav-row .site-nav-menu .site-nav a:hover,
    .portal-nav-row .site-nav-menu .site-nav a:hover,
    .public-nav-row .site-nav-menu .site-nav button:hover,
    .portal-nav-row .site-nav-menu .site-nav button:hover,
    .public-nav-row .site-nav-menu .site-nav a.is-active,
    .portal-nav-row .site-nav-menu .site-nav a.is-active {
        background: var(--av-red);
        border-color: var(--av-red);
        color: #fff;
    }

    .public-nav-row .site-nav-menu .site-nav a:hover::after,
    .portal-nav-row .site-nav-menu .site-nav a:hover::after,
    .public-nav-row .site-nav-menu .site-nav a.is-active::after,
    .portal-nav-row .site-nav-menu .site-nav a.is-active::after {
        color: #fff;
    }
}

@media print {
    .site-header,
    .portal-page-links,
    .portal-page-actions,
    .calendar-actions,
    .calendar-footer-actions,
    .calendar-panel,
    .account-actions,
    .flash,
    .no-print {
        display: none !important;
    }

    body,
    .public-body,
    .portal-body {
        background: white;
    }

    .page-shell {
        margin: 0;
        max-width: none;
        padding: 0;
    }

    .portal-home-hero {
        background: white !important;
        border: 1px solid #d8dde5;
        color: #111827;
        height: auto;
        min-height: 0;
        padding: 0.75rem;
    }

    .portal-home-hero h1 {
        color: #111827;
        font-size: 1.8rem;
    }

    .portal-home-snapshot {
        width: 100%;
    }

    .portal-home-snapshot a,
    .panel {
        box-shadow: none;
        break-inside: avoid;
    }

    .calendar-print-only {
        display: block;
    }

    .calendar-month-list-panel {
        border: 0;
        padding: 0;
    }

    .calendar-month-list-panel .section-head p {
        display: none;
    }

    .calendar-month-list {
        gap: 0;
    }

    .calendar-month-list-row {
        border: 0;
        border-bottom: 1px solid #d8dde5;
        border-radius: 0;
        color: #111827;
        grid-template-columns: 4rem minmax(0, 1fr) auto;
        padding: 0.55rem 0;
    }

    .calendar-month-list-date {
        background: white;
        border-color: #d8dde5;
        color: #111827;
    }

    .calendar-source-badge {
        background: white !important;
        border: 1px solid #d8dde5;
        color: #111827 !important;
    }
}
