:root {
    --scb-motion: cubic-bezier(.22, 1, .36, 1);
}

html {
    scroll-behavior: smooth;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: #F8F5EC;
    color: #3D2D3F;
    opacity: 1;
    visibility: visible;
    transition: opacity .38s ease, visibility .38s ease;
}

.admin-body .site-loader,
.staff-body .site-loader,
.site-loader--admin {
    background: #3D2D3F;
    color: #fff;
}

.site-loader.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader__content {
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.site-loader__crest {
    position: relative;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
}

.site-loader__crest::before,
.site-loader__crest::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(218, 173, 24, .28);
}

.site-loader__crest::after {
    border-top-color: #DAAD18;
    border-right-color: #B8101E;
    animation: scb-loader-spin 1.15s linear infinite;
}

.site-loader__crest img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 12px 36px rgba(61, 45, 63, .2);
}

.site-loader__content b {
    font-family: Georgia, serif;
    font-size: 1rem;
}

.site-loader__content span {
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9A6A00;
}

.admin-body .site-loader__content span,
.staff-body .site-loader__content span,
.site-loader--admin .site-loader__content span {
    color: #DAAD18;
}

.motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s var(--scb-motion), transform .65s var(--scb-motion);
    transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .9s ease, transform 7s ease;
    pointer-events: none;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel-controls {
    position: absolute;
    z-index: 5;
    right: max(24px, calc((100% - 1200px) / 2));
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-carousel-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    background: rgba(38, 25, 40, .45);
    color: #fff;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-carousel-arrow:hover {
    border-color: #DAAD18;
    background: #3D2D3F;
    transform: translateY(-2px);
}

.hero-carousel-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 99px;
    background: rgba(38, 25, 40, .45);
    backdrop-filter: blur(8px);
}

.hero-carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: width .25s ease, border-radius .25s ease, background .25s ease;
}

.hero-carousel-dots button.is-active {
    width: 24px;
    border-radius: 99px;
    background: #DAAD18;
}

.nav-apply {
    margin-left: 2px;
    padding: 0 15px !important;
    border-bottom: 0 !important;
    box-shadow: 0 7px 18px rgba(218, 173, 24, .2);
}

.nav-apply svg {
    width: 15px;
    height: 15px;
}

.card,
.feature-card,
.admin-panel,
.staff-card,
.media-item,
.event-row,
.metric {
    transition: transform .28s var(--scb-motion), box-shadow .28s ease, border-color .28s ease;
}

.card:hover,
.feature-card:hover,
.media-item:hover,
.event-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(61, 45, 63, .11);
}

.admin-panel:hover,
.staff-card:hover,
.metric:hover {
    border-color: rgba(218, 173, 24, .65);
    box-shadow: 0 12px 28px rgba(61, 45, 63, .08);
}

.falconode-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px !important;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.falconode-credit__logo {
    min-height: 44px !important;
    padding: 6px 11px !important;
    border: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(61, 45, 63, .1) !important;
    text-decoration: none;
}

.falconode-credit img {
    width: 154px !important;
    max-height: 36px !important;
}

.falconode-credit > span:first-child {
    color: inherit;
    letter-spacing: .08em;
}

.falconode-credit--admin {
    margin: 24px;
    padding: 14px 16px;
    border: 1px solid #E5DFD9;
    border-radius: 8px;
    background: #fff;
    color: #6F6670;
}

.nav-ico,
.staff-nav i,
.staff-dot,
.metric .icon,
.activity-dot {
    flex: 0 0 auto;
}

.nav-ico {
    width: 29px !important;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .08);
}

.nav-ico svg,
.staff-nav i svg,
.staff-dot svg,
.metric .icon svg,
.activity-dot svg,
.icon-btn svg,
.admin-search svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.9;
}

.admin-search-count {
    white-space: nowrap;
    font-size: .72rem;
    color: #756B74;
}

.admin-table tbody tr[data-manage-row] {
    cursor: pointer;
}

.admin-table tbody tr[data-manage-row]:hover td {
    background: #FBF7EE;
}

.admin-table tbody tr[data-manage-row].is-open td {
    background: #FFF8E6;
}

.admin-table tbody tr[data-manage-row]:focus-visible {
    outline: 2px solid #DAAD18;
    outline-offset: -2px;
}

.manage-hint {
    opacity: .7;
}

.manage-panel {
    display: grid;
    gap: 12px;
}

.manage-reply-form,
.manage-status-form,
.manage-assign-form {
    display: grid;
    gap: 8px;
}

.manage-reply-form input,
.manage-reply-form textarea,
.manage-status-form select,
.manage-assign-form select {
    width: 100%;
    border: 1px solid #DCD5CE;
    border-radius: 8px;
    padding: 9px 10px;
    background: #fff;
    font: inherit;
    font-size: .85rem;
}

.manage-reply-form textarea {
    min-height: 64px;
    resize: vertical;
}

.campaign-progress {
    display: grid;
    gap: 6px;
    min-width: 170px;
}

.campaign-progress__track {
    height: 8px;
    border-radius: 999px;
    background: #EEE9E4;
    overflow: hidden;
}

.campaign-progress__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #287143, #5BBF7F);
    transition: width .4s ease;
}

.block-settings-group {
    border: 1px solid #E5DFD9;
    border-radius: 10px;
    padding: 12px 14px;
}

.block-settings-group legend {
    padding: 0 8px;
}

.block-settings-rows {
    display: grid;
    gap: 10px;
}

.block-settings-row {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    border: 1px dashed #D8D0C8;
    border-radius: 10px;
    padding: 12px;
    background: #FCFAF7;
}

.block-settings-row .admin-field {
    min-width: 0;
}

.admin-filterbar input[type="search"] {
    flex: 1;
    min-width: 180px;
    border: 1px solid #DCD5CE;
    border-radius: 8px;
    padding: 10px 11px;
    background: #fff;
    font: inherit;
}

.admin-filterbar select {
    border: 1px solid #DCD5CE;
    border-radius: 8px;
    padding: 10px 11px;
    background: #fff;
    font: inherit;
}

.admin-nav-group:nth-of-type(3) .nav-ico {
    color: #8DE5C3;
    background: rgba(91, 210, 159, .12);
}

.admin-nav-group:nth-of-type(4) .nav-ico {
    color: #FFCF66;
    background: rgba(255, 207, 102, .12);
}

.admin-nav-group:nth-of-type(5) .nav-ico {
    color: #A8C7FF;
    background: rgba(120, 170, 255, .12);
}

.icon-btn {
    color: #655C65;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
}

.icon-btn.action-view {
    color: #287143;
    background: #F0FAF3;
    border-color: #C7E8D0;
}

.icon-btn.action-edit,
.icon-btn.action-save {
    color: #235EA8;
    background: #F1F6FD;
    border-color: #C8DAF1;
}

.icon-btn.action-danger {
    color: #A3222C;
    background: #FFF3F4;
    border-color: #F0C7CB;
}

.icon-btn.action-publish {
    color: #8A6200;
    background: #FFF8E2;
    border-color: #ECD58D;
}

.admin-user-link,
.staff-user-link {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
}

.admin-user-link:hover {
    color: #B8101E;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-notifications {
    position: relative;
}

.admin-notifications > summary {
    position: relative;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    list-style: none;
    border: 1px solid #E2DCD6;
    border-radius: 50%;
    background: #fff;
    color: #3D2D3F;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.admin-notifications > summary::-webkit-details-marker {
    display: none;
}

.admin-notifications > summary:hover,
.admin-notifications[open] > summary {
    border-color: #DAAD18;
    background: #FFF8E2;
    transform: translateY(-1px);
}

.admin-notifications__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 99px;
    background: #B8101E;
    color: #fff;
    font-size: .62rem;
    font-weight: 900;
    line-height: 1;
}

.admin-notifications__panel {
    position: absolute;
    z-index: 90;
    top: calc(100% + 12px);
    right: 0;
    width: min(390px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid #E5DFD9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(61, 45, 63, .18);
}

.admin-notifications__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #ECE6E1;
    background: #FBF9F6;
}

.admin-notifications__head div {
    display: grid;
    gap: 2px;
}

.admin-notifications__head span {
    color: #756B74;
    font-size: .7rem;
}

.admin-notifications__list {
    max-height: min(480px, calc(100vh - 120px));
    overflow-y: auto;
}

.admin-notification {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid #F0EBE7;
    color: #2C2530;
}

.admin-notification:last-child {
    border-bottom: 0;
}

.admin-notification:hover {
    background: #FFFCF5;
}

.admin-notification > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-notification small,
.admin-notification > span:nth-child(2) > span {
    overflow: hidden;
    color: #756B74;
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-notification b {
    overflow: hidden;
    font-size: .79rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-notification__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.admin-notification__icon--gold {
    background: #FFF5D7;
    color: #8A6200;
}

.admin-notification__icon--crimson {
    background: #FDEBED;
    color: #A3222C;
}

.admin-notifications__empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    padding: 24px;
    color: #287143;
    text-align: center;
}

.admin-notifications__empty span {
    color: #756B74;
    font-size: .72rem;
}

.admin-create-panel {
    margin: 0 0 20px;
}

.admin-create-panel > summary {
    cursor: pointer;
    font-weight: 900;
    color: #3D2D3F;
    list-style: none;
}

.admin-create-panel > summary::-webkit-details-marker {
    display: none;
}

.quick-create {
    position: relative;
}

.quick-create > summary {
    list-style: none;
    cursor: pointer;
}

.quick-create > summary::-webkit-details-marker {
    display: none;
}

.quick-create__menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    width: 210px;
    display: grid;
    padding: 8px;
    border: 1px solid #E5DFD9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(61, 45, 63, .16);
}

.quick-create__menu a {
    padding: 9px 10px;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 850;
}

.quick-create__menu a:hover {
    background: #FFF5D7;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

.pagination a,
.pagination span {
    min-width: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #DED7D0;
    border-radius: 8px;
    background: #fff;
    font-size: .78rem;
    font-weight: 900;
}

.pagination .active {
    border-color: #DAAD18;
    background: #FFF5D7;
    color: #3D2D3F;
}

.pagination .disabled {
    opacity: .45;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 26px;
    border: 1px dashed #D8D0C8;
    border-radius: 8px;
    text-align: center;
    background: #FBF9F6;
}

[data-client-hidden] {
    display: none !important;
}

.staff-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
}

.staff-search input::placeholder {
    color: rgba(255, 255, 255, .68);
}

:focus-visible {
    outline: 3px solid rgba(218, 173, 24, .6);
    outline-offset: 3px;
}

/* Anchored sections must clear the sticky site header. */
[id] {
    scroll-margin-top: 104px;
}

::selection {
    background: #DAAD18;
    color: #3D2D3F;
}

@keyframes scb-loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes scb-image-breathe {
    from { transform: scale(1); }
    to { transform: scale(1.035); }
}

@media (max-width: 640px) {
    .hero-carousel-controls {
        right: 14px;
        bottom: 18px;
    }

    .hero-carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .falconode-credit img {
        width: 138px !important;
    }

    .quick-create__menu {
        left: 0;
        right: auto;
    }

    .admin-topbar-actions {
        gap: 9px;
    }

    .admin-user-link > div:first-child {
        display: none;
    }
}

@media (max-width: 1100px) {
    .main-nav .nav-apply {
        width: 100%;
        margin-top: 8px;
        min-height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .motion-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
.admin-nav-form,
.staff-nav-form {
    margin: 0;
}

.admin-nav-form button,
.staff-nav-form button {
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-nav-form button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 750;
}

.admin-nav-form button:hover {
    background: rgba(218, 173, 24, .16);
    color: #fff;
}

.staff-nav-form button {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 8px;
}

.honeypot-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.skip-link {
    position: fixed;
    z-index: 10001;
    top: 12px;
    left: 12px;
    padding: 11px 16px;
    border-radius: 7px;
    background: #fff;
    color: #241D25;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(36, 29, 37, .24);
    transform: translateY(-160%);
    transition: transform .18s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

#main-content:focus {
    outline: 0;
}

.motion-ready .hero .hero-content > * {
    opacity: 0;
    transform: translateY(24px);
}

.motion-ready .hero.is-ready .hero-content > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .72s var(--scb-motion), transform .72s var(--scb-motion);
}

.motion-ready .hero.is-ready .hero-content > :nth-child(2) { transition-delay: 90ms; }
.motion-ready .hero.is-ready .hero-content > :nth-child(3) { transition-delay: 160ms; }
.motion-ready .hero.is-ready .hero-content > :nth-child(4) { transition-delay: 230ms; }

.site-search {
    display: grid;
    gap: 9px;
}

.site-search label {
    color: #3D2D3F;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.search-box {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid #D8D0C8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(61, 45, 63, .07);
    flex-wrap: wrap;
}

.search-box:focus-within {
    border-color: #DAAD18;
    box-shadow: 0 0 0 3px rgba(218, 173, 24, .18);
}

.search-box input {
    flex: 1 1 180px;
    min-width: 0;
    min-height: 54px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    font: inherit;
}

.search-box select {
    border: 0;
    border-left: 1px solid #E5DFD9;
    background: #FBF9F6;
    padding: 0 12px;
    font: inherit;
    font-size: .85rem;
    max-width: 180px;
}

.search-box .btn {
    align-self: center;
    margin: 6px 8px 6px 0;
}

.search-box button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border: 0;
    background: #3D2D3F;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #D8D0C8;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    max-width: 240px;
}

.nav-search input {
    width: 130px;
    min-width: 0;
    padding: 9px 4px 9px 14px;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: .78rem;
    background: transparent;
    transition: width .2s ease;
}

.nav-search input:focus,
.nav-search input:not(:placeholder-shown) {
    width: 170px;
}

.nav-search button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border: 0;
    background: transparent;
    color: #3D2D3F;
    font: inherit;
    font-size: .77rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    white-space: nowrap;
}

.nav-search button:hover {
    color: #B8101E;
}

.search-results {
    display: grid;
    gap: 14px;
}

.search-result {
    padding: 22px;
    border: 1px solid #E5DFD9;
    border-radius: 10px;
    background: #fff;
}

.search-result h3 {
    margin: 8px 0 6px;
}

.back-nav {
    display: flex;
    margin-bottom: 14px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    border-radius: 6px;
}

.back-link span[aria-hidden="true"] {
    color: var(--gold, #DAAD18);
    font-weight: 900;
}

.back-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admin-content .back-link,
.staff-content .back-link,
.login-card .back-link,
.staff-login-card .back-link {
    color: #B8101E;
}

.admin-content .back-link:hover,
.staff-content .back-link:hover,
.login-card .back-link:hover,
.staff-login-card .back-link:hover {
    color: #3D2D3F;
}

.admin-content .back-link span[aria-hidden="true"],
.staff-content .back-link span[aria-hidden="true"],
.login-card .back-link span[aria-hidden="true"],
.staff-login-card .back-link span[aria-hidden="true"] {
    color: #B8101E;
}

.site-footer .footer-bottom {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.footer-bottom__group {
    display: inline-flex;
    align-items: center;
    gap: 8px 16px;
    flex-wrap: wrap;
}

.contact-item .feature-icon {
    flex-shrink: 0;
}

.page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
    align-items: center;
    width: 100%;
}

.page-hero__main {
    min-width: 0;
}

.hero-meta {
    margin: 12px 0 0;
    font-size: .95rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .82);
}

.page-hero__contact {
    background: rgba(61, 45, 63, .82);
    border: 1px solid rgba(218, 173, 24, .45);
    border-radius: 18px;
    padding: 26px;
    backdrop-filter: blur(6px);
}

.page-hero__contact h2 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 16px;
}

.page-hero__contact-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
}

.page-hero__contact-row + .page-hero__contact-row {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.page-hero__contact-row svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #DAAD18;
}

.page-hero__contact-row b {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #DAAD18;
}

.page-hero__contact-row span,
.page-hero__contact-row a {
    color: rgba(255, 255, 255, .88);
    font-size: .92rem;
    overflow-wrap: anywhere;
}

.page-hero__contact-row a:hover {
    color: #DAAD18;
}

@media (max-width: 900px) {
    .page-hero__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    white-space: nowrap;
}

.to-top span[aria-hidden="true"] {
    color: var(--gold, #DAAD18);
    font-weight: 900;
}

.newsletter-band {
    background: #fff;
    border-top: 1px solid #ECE5DB;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
}

.newsletter-copy h2 {
    margin: 12px 0 14px;
}

.newsletter-copy .lead {
    margin: 0;
}

.newsletter-form {
    margin: 0;
    padding: 30px;
    border: 1px solid #E5DFD9;
    border-radius: 18px;
    background: #FBF9F6;
    box-shadow: 0 24px 60px -30px rgba(61, 45, 63, .25);
}

.newsletter-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.newsletter-row input[type="email"] {
    flex: 1;
    min-width: 0;
    min-height: 56px;
    padding: 0 20px;
    border: 1px solid #D8D0C8;
    border-radius: 999px;
    background: #fff;
    color: #2C2530;
    font: inherit;
    outline: 0;
}

.newsletter-row input[type="email"]::placeholder {
    color: #8A7F88;
}

.newsletter-row input[type="email"]:focus {
    border-color: #DAAD18;
    box-shadow: 0 0 0 3px rgba(218, 173, 24, .18);
}

.newsletter-row .btn {
    flex-shrink: 0;
    white-space: nowrap;
    align-self: center;
    padding-left: 28px;
    padding-right: 28px;
}

.newsletter-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 14px 0 0;
    color: #756B74;
}

@media (max-width: 900px) {
    .newsletter-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .newsletter-form {
        padding: 22px;
    }

    .newsletter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-row .btn {
        width: 100%;
    }
}

.campus-map-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
    align-items: stretch;
}

.campus-map-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

.campus-map-copy h2 {
    margin: 10px 0 12px;
}

.campus-map-copy .lead {
    margin: 0 0 20px;
}

.campus-map-contacts {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.campus-map-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.campus-map-contact svg {
    width: 17px;
    height: 17px;
    color: #B8101E;
}

.campus-map-contact a {
    color: #3D2D3F;
    text-decoration: none;
}

.campus-map-contact a:hover {
    color: #B8101E;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.campus-map-frame {
    overflow: hidden;
    border: 1px solid #E5DFD9;
    border-radius: 18px;
    box-shadow: 0 24px 60px -24px rgba(61, 45, 63, .28);
    background: #EFEAE4;
    min-height: 380px;
}

.campus-map-frame iframe {
    height: 100%;
}

@media (max-width: 900px) {
    .campus-map-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

.to-top:hover {
    border-color: var(--gold, #DAAD18);
    color: var(--gold, #DAAD18);
}

.mail-card {
    overflow: hidden;
}

.mail-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid #EEE9E4;
}

.mail-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #3D2D3F;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.1rem;
    border: 2px solid #DAAD18;
}

.mail-head__main {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 3px;
}

.mail-head__row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1rem;
}

.mail-subject {
    margin: 16px 0 12px;
    font-size: 1.35rem;
    line-height: 1.35;
    color: #2C2530;
}

.mail-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.mail-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid #E5DFD9;
    border-radius: 999px;
    background: #FBF9F6;
    font-size: .72rem;
    font-weight: 800;
    color: #655C65;
    white-space: nowrap;
}

.mail-body {
    padding: 18px 0;
}

.mail-details {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px dashed #E5DFD9;
}

.mail-compose summary::-webkit-details-marker {
    display: none;
}

.diff-list {
    display: grid;
    gap: 12px;
}

.diff-row {
    border: 1px solid #E5DFD9;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
}

.diff-row--changed {
    border-color: #E3C97B;
    background: #FFFDF4;
}

.diff-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #3D2D3F;
    margin-bottom: 10px;
}

.diff-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.diff-cell {
    border: 1px solid #E5DFD9;
    border-radius: 8px;
    padding: 10px 12px;
    background: #FAF8F6;
    min-width: 0;
}

.diff-cell--before {
    background: #FFF3F4;
    border-color: #F0C7CB;
}

.diff-cell--after {
    background: #F0FAF3;
    border-color: #BEE6C8;
}

.diff-caption {
    display: block;
    font-size: .66rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #756B74;
    margin-bottom: 6px;
}

.diff-cell .detail-copy {
    max-height: 220px;
    overflow: auto;
}

.diff-arrow {
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #B8101E;
}

@media (max-width: 700px) {
    .diff-cols {
        grid-template-columns: 1fr;
    }

    .diff-arrow {
        transform: rotate(90deg);
    }
}

.site-credit {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 6px;
    color: rgba(255, 255, 255, .72);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-decoration: none;
}

.site-credit:hover {
    border-color: rgba(218, 173, 24, .7);
    color: #fff;
}

.site-credit--light {
    border-color: #DDD5CD;
    background: #fff;
    color: #6F6670;
}

.site-credit--light:hover {
    border-color: #DAAD18;
    color: #3D2D3F;
}

.sidebar-credit {
    margin: 20px 8px 4px;
    justify-content: center;
}

.portal-credit,
.login-credit {
    width: max-content;
    margin: 20px auto;
}

.footer-preferences {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.error-credit {
    position: fixed;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(36, 29, 37, .7);
    backdrop-filter: blur(8px);
}

.recent-news-alert {
    position: relative;
    z-index: 18;
    border-bottom: 1px solid rgba(218, 173, 24, .45);
    background: #FFF8DE;
    color: #3D2D3F;
}

.recent-news-alert[hidden] {
    display: none;
}

.recent-news-alert__inner,
.recent-news-alert__message,
.recent-news-alert__actions {
    display: flex;
    align-items: center;
}

.recent-news-alert__inner {
    min-height: 64px;
    justify-content: space-between;
    gap: 20px;
    padding-block: 10px;
}

.recent-news-alert__message {
    min-width: 0;
    gap: 12px;
}

.recent-news-alert__message div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.recent-news-alert__message b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-news-alert__message div > span {
    color: #756B74;
    font-size: .72rem;
    font-weight: 700;
}

.recent-news-alert__badge {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #9D2430;
    color: #fff;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.recent-news-alert__actions {
    flex: 0 0 auto;
    gap: 12px;
}

.recent-news-alert__actions a {
    color: #7B1D29;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.recent-news-alert__actions button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(61, 45, 63, .18);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}

.article-gallery {
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid #E5DFD9;
}

.article-gallery__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.article-gallery__heading h2 {
    margin: 5px 0 0;
}

.article-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.article-gallery figure {
    overflow: hidden;
    margin: 0;
    border: 1px solid #E5DFD9;
    border-radius: 12px;
    background: #fff;
}

.article-gallery figure:first-child {
    grid-column: 1 / -1;
}

.article-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.article-gallery figure:not(:first-child) img {
    aspect-ratio: 1 / 1;
}

.article-gallery figcaption {
    padding: 10px 12px;
    color: #756B74;
    font-size: .74rem;
}

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

.gallery-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px 24px;
    margin-bottom: 26px;
}

.gallery-controls .filter-bar {
    min-width: 0;
    margin: 0;
}

.gallery-controls .filter:focus-visible,
.gallery-item__button:focus-visible,
.gallery-category-filter select:focus-visible,
.gallery-lightbox .modal-close:focus-visible {
    outline: 3px solid #DAAD18;
    outline-offset: 3px;
}

.gallery-category-filter {
    display: grid;
    gap: 5px;
    color: #6F6670;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gallery-category-filter select {
    min-height: 42px;
    padding: 7px 34px 7px 11px;
    border: 1px solid #E1D9D1;
    border-radius: 8px;
    background: #fff;
    color: #3D2D3F;
}

.gallery-result-count {
    grid-column: 1 / -1;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: clamp(190px, 17vw, 240px);
    gap: 16px;
}

.gallery-grid > .gallery-item,
.gallery-grid > .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
    min-width: 0;
    margin: 0;
    border: 1px solid #E7E0D8;
    border-radius: 14px;
    background: #3D2D3F;
    box-shadow: 0 10px 28px rgba(61, 45, 63, .1);
}

.gallery-grid > .gallery-item:nth-child(8n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item::after {
    content: none;
}

.gallery-item[hidden],
.gallery-empty[hidden] {
    display: none !important;
}

.gallery-item__button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #3D2D3F;
    color: #fff;
    text-align: left;
    cursor: zoom-in;
}

.gallery-item__button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s var(--scb-motion), opacity .3s ease;
}

.gallery-item__button:hover img,
.gallery-item__button:focus-visible img {
    transform: scale(1.035);
    opacity: .92;
}

.gallery-item__overlay {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 2px;
    padding: 34px 15px 13px;
    background: linear-gradient(transparent, rgba(36, 29, 37, .9));
    pointer-events: none;
}

.gallery-item__overlay strong {
    overflow: hidden;
    font-size: .8rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-item__overlay span {
    overflow: hidden;
    color: rgba(255, 255, 255, .76);
    font-size: .67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.gallery-modal-open {
    overflow: hidden;
}

.gallery-lightbox {
    z-index: 200;
    padding: clamp(16px, 4vw, 48px);
    overflow: auto;
    background: rgba(21, 15, 23, .94);
    backdrop-filter: blur(8px);
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox.open {
    display: flex;
}

.gallery-lightbox__figure {
    display: grid;
    justify-items: center;
    width: min(1180px, 100%);
    max-height: calc(100dvh - 60px);
    margin: auto;
}

.gallery-lightbox__figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 130px);
    object-fit: contain;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .38);
}

.gallery-lightbox__figure figcaption {
    width: min(760px, 100%);
    padding: 12px 16px;
    border-radius: 0 0 10px 10px;
    background: #FFFDF8;
    color: #3D2D3F;
    font-size: .82rem;
    text-align: center;
}

.gallery-lightbox .modal-close {
    z-index: 2;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
}

.drive-albums {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 34px;
}

.drive-album {
    overflow: hidden;
    border: 1px solid var(--line, #ECE5DB);
    border-radius: 14px;
    background: #fff;
}

.drive-album__cover img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.drive-album__body {
    display: grid;
    gap: 8px;
    padding: 16px 18px 18px;
}

.drive-album__body h3 {
    margin: 0;
    font-size: 1.02rem;
}

.drive-album__body p {
    margin: 0;
}

.drive-modal {
    z-index: 200;
    padding: clamp(12px, 3vw, 40px);
}

.drive-modal[hidden] {
    display: none;
}

.drive-modal.open {
    display: flex;
}

.drive-modal__box {
    display: flex;
    flex-direction: column;
    width: min(1100px, 100%);
    max-height: calc(100dvh - 40px);
    margin: auto;
    overflow: hidden;
    border-radius: 14px;
    background: #FFFDF8;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .38);
}

.drive-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 20px;
    border-bottom: 1px solid var(--line, #ECE5DB);
}

.drive-modal__head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.drive-modal__close {
    position: static;
}

.drive-modal iframe {
    width: 100%;
    height: min(68dvh, 640px);
    border: 0;
    background: #fff;
}

.drive-modal__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    flex-wrap: wrap;
    padding: 10px 20px 14px;
}

@media (max-width: 900px) {
    .drive-albums {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .drive-albums {
        grid-template-columns: 1fr;
    }
}

.login-visual > img,
.staff-login-visual > img {
    object-position: center;
}

.login-card-wrap,
.staff-login-wrap {
    min-width: 0;
}

.login-card-wrap .site-credit--login,
.staff-login-wrap .login-credit {
    align-self: center;
}

.login-card-wrap .site-credit--login {
    border-color: #DDD5CD;
    background: #fff;
    color: #6F6670;
}

.login-card-wrap .site-credit--login:hover,
.login-card-wrap .site-credit--login:focus-visible {
    border-color: #DAAD18;
    color: #3D2D3F;
}

.featured-image-picker {
    display: grid;
    gap: 14px;
    width: 100%;
}

.featured-image-preview {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #E5DFD9;
    border-radius: 9px;
    background: #FAF8F5;
}

.featured-image-preview img,
.featured-image-empty {
    width: 100%;
    height: clamp(170px, 24vw, 250px);
    border-radius: 7px;
}

.featured-image-preview img {
    object-fit: cover;
    background: #EEE9E4;
}

.featured-image-empty {
    display: grid;
    place-items: center;
    border: 1px dashed #CFC5BC;
    color: #756B74;
    font-size: .78rem;
    font-weight: 800;
}

.featured-image-preview > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.featured-image-preview b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-image-upload {
    padding: 12px;
    border: 1px solid #E5DFD9;
    border-radius: 8px;
    background: #FFFDF8;
}

.featured-image-upload > summary {
    cursor: pointer;
    font-size: .78rem;
    font-weight: 900;
    list-style: none;
}

.featured-image-upload > summary::after {
    content: ' +';
    color: #B8101E;
}

.featured-image-upload[open] > summary::after {
    content: ' −';
}

.featured-image-upload > .admin-fields {
    margin-top: 14px;
}

.featured-image-upload .admin-field > .small,
.featured-image-picker > .admin-field > .small {
    display: block;
    margin-top: 5px;
}

.media-library-head {
    align-items: flex-end;
}

.media-library-head > div {
    flex: 1 1 auto;
}

.media-library-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(120px, .7fr)) auto auto;
    align-items: end;
    gap: 10px;
}

.media-library-toolbar .admin-field label {
    margin-bottom: 4px;
}

.media-library-toolbar .admin-field input,
.media-library-toolbar .admin-field select {
    min-height: 40px;
    padding: 8px 10px;
}

.media-grid {
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    align-items: start;
}

.media-card div {
    padding: 0;
}

.media-card__preview {
    display: grid;
    min-height: 190px;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid #E5DFD9;
    background: #F7F4F0;
}

.media-card__preview img {
    width: 100%;
    height: 190px;
    aspect-ratio: auto;
    object-fit: cover;
    transition: transform 180ms ease;
}

.media-card__preview:hover img {
    transform: scale(1.025);
}

.media-card__preview--file {
    align-content: center;
    gap: 8px;
    color: #3D2D3F;
}

.media-card__preview--file span {
    padding: 8px 10px;
    border-radius: 7px;
    background: #9D2430;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.media-card__body {
    display: grid;
    gap: 12px;
    padding: 14px !important;
}

.media-card__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.media-card__title > div {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.media-card__title b {
    overflow: hidden;
    color: #3D2D3F;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-card__title div > span {
    color: #7A7179;
    font-size: .67rem;
}

.media-card__title > .status {
    flex: 0 0 auto;
}

.media-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-card__actions form,
.media-card__actions .btn {
    flex: 1 1 0;
}

.media-card__actions .btn {
    width: 100%;
    justify-content: center;
}

.media-card__details {
    border-top: 1px solid #EEE9E4;
    padding-top: 10px;
}

.media-card__details > summary,
.media-governance > summary,
.media-upload-optional > summary {
    color: #7B1D29;
    font-size: .74rem;
    font-weight: 900;
    list-style: none;
    cursor: pointer;
}

.media-card__details > summary::after,
.media-governance > summary::after,
.media-upload-optional > summary::after {
    content: ' +';
}

.media-card__details[open] > summary::after,
.media-governance[open] > summary::after,
.media-upload-optional[open] > summary::after {
    content: ' −';
}

.media-card__editor {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.media-card__editor .admin-field input {
    padding: 9px 10px;
}

.media-governance,
.media-upload-optional {
    padding: 11px;
    border: 1px solid #E5DFD9;
    border-radius: 8px;
    background: #FAF8F5;
}

.media-governance[open] > summary,
.media-upload-optional[open] > summary {
    margin-bottom: 9px;
}

.media-delete-form {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #EEE9E4;
}

.media-delete-form .btn {
    color: #9D2430;
}

.media-upload-panel > summary {
    cursor: pointer;
    list-style: none;
}

.media-upload-panel > summary > div {
    display: grid;
    gap: 3px;
}

.media-upload-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
    align-items: end;
    gap: 16px;
}

.media-upload-form > details,
.media-upload-form > button {
    grid-column: 1 / -1;
}

.media-upload-form .admin-field > span {
    display: block;
    margin-top: 5px;
}

.media-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #EEE9E4;
    color: #756B74;
    font-size: .76rem;
    text-align: center;
}

.media-pagination > :last-child {
    justify-self: end;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(200px, 34vw, 270px);
    }

    .gallery-grid > .gallery-item,
    .gallery-grid > .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .admin-login,
    .staff-login {
        min-height: 100svh;
    }
}

@media (max-width: 1200px) {
    .media-library-head {
        align-items: stretch;
        flex-direction: column;
    }

    .media-library-toolbar {
        grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(110px, 1fr));
    }

    .media-library-toolbar > .btn {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .gallery-controls {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .gallery-controls .filter-bar {
        display: flex;
        flex-wrap: nowrap;
        margin-inline: -14px;
        padding: 3px 14px 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .gallery-controls .filter {
        flex: 0 0 auto;
        min-height: 44px;
        scroll-snap-align: start;
    }

    .gallery-result-count {
        grid-column: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 14px;
    }

    .gallery-grid > .gallery-item,
    .gallery-grid > .gallery-item:nth-child(n) {
        aspect-ratio: 4 / 3;
    }

    .gallery-item__overlay {
        padding: 42px 13px 12px;
    }

    .gallery-item__overlay strong {
        white-space: normal;
    }

    .gallery-lightbox {
        padding: 70px 12px 20px;
    }

    .gallery-lightbox__figure {
        max-height: calc(100dvh - 90px);
    }

    .gallery-lightbox__figure img {
        max-height: calc(100dvh - 180px);
        border-radius: 9px 9px 0 0;
    }

    .login-visual,
    .staff-login-visual {
        min-height: clamp(250px, 42svh, 340px);
    }

    .login-card-wrap,
    .staff-login-wrap {
        padding: 24px 16px;
    }

    .login-card,
    .staff-login-card {
        padding: 26px 22px;
    }

    .search-box button span,
    .nav-search-label {
        display: none;
    }

    .search-box button {
        padding: 0 17px;
    }

    .site-credit {
        align-self: flex-start;
    }

    .recent-news-alert__inner,
    .article-gallery__heading {
        align-items: flex-start;
    }

    .recent-news-alert__inner {
        gap: 10px;
    }

    .recent-news-alert__message {
        align-items: flex-start;
    }

    .recent-news-alert__message b {
        display: -webkit-box;
        overflow: hidden;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .recent-news-alert__actions a {
        display: none;
    }

    .article-gallery__heading {
        flex-direction: column;
    }

    .article-gallery__grid {
        grid-template-columns: 1fr;
    }

    .article-gallery figure:first-child {
        grid-column: auto;
    }

    .media-upload-form,
    .media-library-toolbar {
        grid-template-columns: 1fr;
    }

    .media-library-head {
        align-items: stretch;
    }

    .media-library-head > .small {
        align-self: flex-start;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .media-card__preview,
    .media-card__preview img {
        min-height: 220px;
        height: 220px;
    }
}
