:root {
    --cms-border: #d8dee8;
    --cms-ink: #1f2937;
    --cms-muted: #667085;
    --ucc-maroon: #7a1025;
    --ucc-gold: #f0c24f;
    --ucc-cream: #fff8ec;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--cms-ink);
    background: var(--public-page-bg, #f6f7fb);
    line-height: 1.5;
}

.public-header {
    background: var(--public-header-bg, #1f3b63);
    color: var(--public-header-text, #ffffff);
}

.public-header .navbar-brand {
    font-weight: 700;
    color: var(--public-header-text, #ffffff);
}

.public-header .nav-link,
.public-header .navbar-brand,
.public-header .navbar-toggler {
    color: var(--public-header-text, #ffffff);
}

.public-header .nav-link:hover,
.public-header .navbar-brand:hover {
    color: var(--public-header-text, #ffffff);
    opacity: 0.92;
}

.site-brand-logo {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: #ffffff;
}

.site-brand-name {
    line-height: 1.15;
}

.navbar .btn.nav-link {
    border: 0;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .public-header {
        position: sticky;
        top: 0.65rem;
        z-index: 1030;
        width: calc(100% - 1rem);
        margin: 0.5rem auto 0;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 18px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
        backdrop-filter: blur(14px);
    }

    .public-header .container {
        padding-inline: 0.9rem;
    }

    .public-header .navbar-brand {
        max-width: calc(100% - 58px);
        min-width: 0;
    }

    .public-header .site-brand-name {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .public-header .navbar-collapse {
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        padding-top: 0.75rem;
    }

    .public-header .navbar-nav {
        gap: 0.15rem;
    }
}

@media (max-width: 575.98px) {
    .public-header .site-brand-logo {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .public-header .site-brand-name {
        max-width: 52vw;
    }
}

.page-shell {
    min-height: calc(100vh - 136px);
}

.page-shell.py-5 {
    padding-top: 1.35rem !important;
    padding-bottom: 3rem !important;
}

.admin-sidebar {
    min-height: calc(100vh - 56px);
    border-right: 1px solid var(--cms-border);
    background: #ffffff;
}

.admin-sidebar .list-group-item {
    border: 0;
    border-radius: 6px;
    margin-bottom: 3px;
}

.admin-sidebar .list-group-item:hover {
    background: #eef4ff;
}

.admin-workspace > .row,
.admin-workspace > .row > aside,
.admin-workspace > .row > main {
    min-width: 0;
}

.admin-workspace .table-responsive {
    max-width: 100%;
}

.admin-feed-posts-index {
    min-width: 0;
}

.admin-feed-posts-index__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-feed-posts-index__header .btn {
    white-space: nowrap;
}

.admin-feed-posts-index .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.admin-feed-posts-index .table {
    min-width: 980px;
    margin-bottom: 0;
}

.support-ticket-table {
    table-layout: fixed;
}

.support-ticket-table th:nth-child(1),
.support-ticket-table td:nth-child(1) {
    width: 30%;
}

.support-ticket-table th:nth-child(2),
.support-ticket-table td:nth-child(2) {
    width: 24%;
}

.support-ticket-table th:nth-child(3),
.support-ticket-table td:nth-child(3) {
    width: 24%;
}

.support-ticket-table th:nth-child(4),
.support-ticket-table td:nth-child(4) {
    width: 22%;
}

.support-ticket-table__clip,
.support-ticket-table__subject {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .support-ticket-table {
        min-width: 640px;
    }
}

.admin-feed-posts-index td:first-child,
.admin-feed-posts-index th:first-child {
    min-width: 260px;
}

.admin-feed-posts-index td.table-actions {
    min-width: 210px;
    white-space: normal;
}

.admin-feed-posts-index td.table-actions .btn,
.admin-feed-posts-index td.table-actions form {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.admin-topbar--superadmin {
    background: linear-gradient(120deg, #0f172a 0%, #1e293b 50%, #0b3c5d 100%) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
}

.admin-topbar--superadmin .navbar-brand {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.superadmin-commandbar {
    background: linear-gradient(135deg, #e6eefc 0%, #f5f8ff 55%, #e9f7f1 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.superadmin-commandbar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 0.65rem 0.35rem;
}

.superadmin-commandbar__title {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.superadmin-commandbar__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.superadmin-commandbar__links a {
    border: 1px solid rgba(30, 41, 59, 0.16);
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.34rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.superadmin-commandbar__links a:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-1px);
}

.admin-workspace--superadmin {
    background:
        radial-gradient(circle at 85% -5%, rgba(14, 116, 144, 0.12), transparent 38%),
        radial-gradient(circle at -5% 10%, rgba(30, 58, 138, 0.12), transparent 28%),
        #f4f7fb;
}

.admin-sidebar--superadmin {
    background: linear-gradient(180deg, #0b1220 0%, #111d35 100%);
    border-right: 0;
    min-height: calc(100vh - 105px);
}

.admin-sidebar__heading {
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.admin-sidebar--superadmin .list-group {
    gap: 6px;
}

.admin-sidebar--superadmin .list-group-item {
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    color: #e2e8f0;
    font-weight: 700;
    margin-bottom: 0;
}

.admin-sidebar--superadmin .list-group-item:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.34);
    color: #f8fafc;
}

.admin-main--superadmin {
    min-height: calc(100vh - 105px);
}

.admin-main--superadmin .card,
.admin-main--superadmin .module-card,
.admin-main--superadmin .stat-card,
.admin-main--superadmin .dashboard-page-preview {
    border-radius: 14px;
    border-color: rgba(148, 163, 184, 0.32);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.admin-main--superadmin .table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .admin-sidebar--superadmin {
        min-height: auto;
    }

    .superadmin-commandbar__inner {
        padding-inline: 0.75rem;
    }
}

.stat-card {
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    background: #ffffff;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.module-card {
    height: 100%;
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    background: #ffffff;
}

.module-card .badge {
    font-weight: 500;
}

.dashboard-page-preview {
    background: var(--preview-bg, #fff);
    color: var(--preview-text, #1f2937);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.dashboard-page-preview__cover {
    height: 86px;
    background: linear-gradient(135deg, var(--preview-accent, #1f3b63), rgba(15, 23, 42, 0.18));
}

.dashboard-page-preview__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dashboard-page-preview__body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px;
    align-items: start;
}

.dashboard-page-preview__logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--preview-accent, #1f3b63);
    color: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-weight: 800;
}

.dashboard-page-preview__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-page-preview h3 {
    margin: 0 0 3px;
    font-size: 1rem;
}

.dashboard-page-preview p {
    margin: 0 0 8px;
    color: var(--preview-muted, var(--preview-text, #475569));
    opacity: 1;
    font-size: 0.86rem;
}

.dashboard-page-preview a {
    color: var(--preview-accent, #1f3b63);
    font-weight: 700;
    text-decoration: none;
}

.dashboard-page-preview a:hover {
    text-decoration: underline;
}

.admin-page-dashboard {
    max-width: 1120px;
    margin: 0 auto;
    color: #0f172a;
    --page-text: #0f172a !important;
    --page-button: #1f3b63 !important;
    --page-accent: #1f3b63 !important;
    --page-header: #f8fafc !important;
}

.admin-page-dashboard__actions {
    gap: 8px;
}

.admin-page-dashboard__media-action {
    position: absolute;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #1f3b63;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.admin-page-dashboard__media-action:hover {
    background: var(--page-button, #1f3b63);
    border-color: var(--page-button, #1f3b63);
    color: #ffffff;
}

.admin-page-dashboard__media-action--cover {
    right: 16px;
    bottom: 16px;
}

.admin-page-dashboard__media-action--logo {
    right: -10px;
    bottom: -10px;
    width: 34px;
    height: 34px;
}

.admin-page-dashboard__section-stack {
    display: grid;
    gap: 16px;
}

.admin-page-dashboard__section {
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
}

.admin-page-dashboard__section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.admin-page-dashboard__section-head h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.admin-page-dashboard__tools {
    margin-top: 18px;
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    background: #f8fafc;
    padding: 18px;
}

.admin-page-dashboard__tools h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.department-dashboard-workspace {
    display: grid;
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 16px;
}

.department-dashboard-side,
.department-public__side {
    position: sticky;
    top: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #ffffff;
    padding: 12px;
}

.admin-page-dashboard .department-dashboard-side {
    top: 84px;
    z-index: 15;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.department-dashboard-side__title,
.department-public__side-title {
    margin-bottom: 10px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.department-dashboard-tabs,
.department-public__tabs {
    display: grid;
    gap: 7px;
}

.department-dashboard-tabs button,
.department-public__tabs a,
.department-public__tabs button {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    padding: 0.7rem 0.78rem;
    text-align: left;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
}

.department-dashboard-tabs button,
.department-public__tabs button {
    appearance: none;
    cursor: pointer;
}

.department-dashboard-tabs button {
    display: block;
}

.department-dashboard-tabs button small {
    display: block;
    margin-top: 0.18rem;
}

.department-dashboard-tabs__add {
    margin-top: 0.4rem;
    border-color: rgba(31, 59, 99, 0.35) !important;
    border-style: dashed !important;
    background: rgba(31, 59, 99, 0.06) !important;
    color: #1f3b63 !important;
}

.department-dashboard-tabs__add:hover {
    background: #1f3b63 !important;
    color: #ffffff !important;
}

.department-dashboard-tabs small,
.department-dashboard-tabs strong {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.department-dashboard-tabs button:hover,
.department-public__tabs a:hover,
.department-public__tabs button:hover,
.department-public__tabs a.is-active,
.department-public__tabs button.is-active {
    background: var(--page-button, #1f3b63);
    border-color: var(--page-button, #1f3b63);
    color: #ffffff;
}

.admin-page-dashboard .department-dashboard-tabs button.is-active,
.admin-page-dashboard .department-dashboard-tabs button:hover {
    background: #1f3b63;
    border-color: #1f3b63;
    color: #ffffff;
}

.department-dashboard-tabs button.is-active small,
.department-dashboard-tabs button.is-active strong {
    color: rgba(255, 255, 255, 0.8);
}

.department-dashboard-panels {
    min-width: 0;
}

.department-dashboard-launchpad {
    display: none;
    min-width: 0;
}

.department-dashboard-workspace.is-modal-dashboard .department-dashboard-launchpad {
    display: block;
    grid-column: 2;
}

.department-dashboard-workspace.is-modal-dashboard.has-inline-dashboard-panel .department-dashboard-launchpad {
    display: none;
}

.department-dashboard-workspace.is-modal-dashboard .department-dashboard-panels {
    display: none;
    grid-column: 2;
}

.department-dashboard-workspace.is-modal-dashboard.has-inline-dashboard-panel .department-dashboard-panels {
    display: block;
}

.department-dashboard-workspace.is-modal-dashboard .department-dashboard-panel:not([data-dashboard-inline-panel]) {
    display: none;
}

.department-dashboard-workspace.is-modal-dashboard .department-dashboard-panel[data-dashboard-inline-panel] {
    display: block;
}

.department-dashboard-launchpad__card {
    border: 1px dashed rgba(31, 59, 99, 0.28);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(31, 59, 99, 0.08), rgba(245, 158, 11, 0.08)),
        #ffffff;
    padding: clamp(1.2rem, 2.2vw, 2rem);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.department-dashboard-launchpad__eyebrow {
    color: #1f3b63;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.department-dashboard-launchpad h2 {
    color: #0f172a;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 850;
    margin: 0 0 0.45rem;
}

.department-dashboard-launchpad p {
    color: #64748b;
    margin: 0;
    max-width: 620px;
}

.department-dashboard-panel {
    display: none;
    color: #0f172a;
}

.department-dashboard-panel.is-active {
    display: block;
}

.dashboard-panel-modal .modal-dialog {
    max-width: min(1180px, calc(100vw - 1.5rem));
}

.dashboard-panel-modal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.dashboard-panel-modal .modal-header {
    background: linear-gradient(135deg, #f8fafc, #eef4fb);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1rem 1.2rem;
}

.dashboard-panel-modal .modal-title {
    color: #1f3b63;
    font-weight: 850;
}

.dashboard-panel-modal .modal-body {
    background: #f8fafc;
    padding: clamp(0.9rem, 1.8vw, 1.25rem);
}

.dashboard-panel-modal .department-dashboard-panel {
    display: block;
}

.dashboard-panel-modal .department-dashboard-panel--modal-open,
.dashboard-panel-modal .department-dashboard-panel--modal-open.is-active {
    display: block !important;
}

.dashboard-panel-modal .admin-page-dashboard__section {
    margin: 0;
}

.admin-page-dashboard__section.department-dashboard-panel--faculty-single,
.page-managed-section.department-dashboard-panel--faculty-single {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.department-post-composer {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.department-post-composer__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.department-post-composer__head h2,
.department-post-composer__publishing h3 {
    margin: 0;
    font-size: 1.05rem;
}

.department-post-composer__head a {
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.department-post-composer__publishing {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    padding-top: 14px;
    margin-top: 12px;
}

.department-custom-section-panel__eyebrow {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.department-custom-section-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.department-custom-section-panel__actions form,
.department-outline-item-editor__archive {
    margin: 0;
}

.department-custom-section-panel__body {
    margin-top: 1rem;
}

.dynamic-outline {
    position: relative;
    display: grid;
    gap: 0.65rem;
    border: 1px solid rgba(31, 59, 99, 0.12);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(31, 59, 99, 0.1), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: clamp(1rem, 2vw, 1.35rem);
}

.dynamic-outline__heading,
.dynamic-outline__subheading {
    margin: 0;
    color: #0f172a;
    line-height: 1.25;
}

.dynamic-outline__heading {
    border-left: 5px solid #1f3b63;
    padding-left: 0.75rem;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 800;
}

.dynamic-outline__subheading {
    color: #334155;
    font-size: 1rem;
    font-weight: 750;
}

.dynamic-outline__list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding-left: 1.25rem;
}

.dynamic-outline__list li {
    padding-left: 0.15rem;
}

.dynamic-outline__list li::marker {
    color: #1f3b63;
}

.dynamic-outline__list--depth-1,
.dynamic-outline__list--depth-2,
.dynamic-outline__list--depth-3,
.dynamic-outline__list--depth-4 {
    margin-top: 0.45rem;
}

.dynamic-outline__item {
    display: grid;
    gap: 0.75rem;
    align-items: start;
}

.dynamic-outline__item--image-left,
.dynamic-outline__item--image-right {
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
}

.dynamic-outline__item--image-right .dynamic-outline__media {
    order: 2;
}

.dynamic-outline__item--image-right .dynamic-outline__content {
    order: 1;
}

.dynamic-outline__media {
    margin: 0;
}

.dynamic-outline__media-button {
    display: block;
    width: 100%;
    position: relative;
    border: 0;
    border-radius: 14px;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
    overflow: hidden;
    text-align: inherit;
}

.dynamic-outline__media-button:focus-visible {
    outline: 3px solid rgba(31, 59, 99, 0.45);
    outline-offset: 3px;
}

.dynamic-outline__media img,
.dynamic-outline__media-button img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border: 1px solid rgba(31, 59, 99, 0.14);
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.dynamic-outline__media-hint {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.74);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    padding: 0.42rem 0.62rem;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dynamic-outline__media-button:hover .dynamic-outline__media-hint,
.dynamic-outline__media-button:focus-visible .dynamic-outline__media-hint {
    opacity: 1;
    transform: translateY(0);
}

.outline-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.88);
    padding: clamp(1rem, 3vw, 2.5rem);
}

.outline-image-lightbox.is-open {
    display: flex;
}

.outline-image-lightbox__dialog {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.outline-image-lightbox__image {
    display: block;
    max-width: 96vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.outline-image-lightbox__caption {
    position: absolute;
    left: 50%;
    bottom: 0;
    max-width: min(92vw, 900px);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 0.55rem 0.9rem;
    transform: translateX(-50%);
}

.outline-image-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
}

.outline-image-lightbox__close:hover,
.outline-image-lightbox__close:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

body.outline-image-lightbox-open {
    overflow: hidden;
}

.dynamic-outline__description {
    margin: 0.35rem 0 0;
    color: #475569;
    line-height: 1.65;
}

.department-outline-admin {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    padding-top: 1rem;
}

.department-outline-admin__guide {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.department-outline-admin__guide div {
    border: 1px solid rgba(31, 59, 99, 0.12);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 0.85rem;
}

.department-outline-admin__guide strong,
.department-outline-admin__guide span {
    display: block;
}

.department-outline-admin__guide strong {
    color: #1f3b63;
    font-size: 0.88rem;
}

.department-outline-admin__guide span {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 0.25rem;
}

.department-outline-admin__form,
.department-outline-item-editor {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.department-outline-admin__items {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.department-outline-item-editor {
    display: grid;
    gap: 0.75rem;
    margin-left: calc(var(--outline-depth, 0) * 1.2rem);
    position: relative;
    border-left: 4px solid rgba(31, 59, 99, 0.18);
}

.department-outline-item-editor__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.department-outline-item-editor__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.85rem;
}

.department-outline-item-editor__identity strong {
    display: block;
    margin-top: 0.35rem;
    color: #0f172a;
}

.department-outline-item-editor__thumb {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 1px solid rgba(31, 59, 99, 0.16);
    border-radius: 14px;
    background: #f8fafc;
}

.department-outline-item-editor__meta,
.department-outline-item-editor__quick-actions,
.department-outline-item-editor__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.department-outline-item-editor__meta {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 0.25rem;
}

.department-outline-item-editor__meta span {
    border-radius: 999px;
    background: #eef2f7;
    padding: 0.18rem 0.55rem;
}

.department-outline-item-editor__quick-actions form,
.department-outline-item-editor__actions form {
    margin: 0;
}

.department-outline-item-editor__child {
    position: relative;
}

.department-outline-item-editor__child summary {
    list-style: none;
}

.department-outline-item-editor__child summary::-webkit-details-marker {
    display: none;
}

.department-outline-item-editor__child form {
    min-width: min(420px, 100%);
    margin-top: 0.65rem;
    border: 1px dashed rgba(31, 59, 99, 0.22);
    border-radius: 12px;
    background: #f8fafc;
    padding: 0.85rem;
}

.department-outline-item-editor__children {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.25rem;
    padding-left: 0.85rem;
    border-left: 2px dashed rgba(31, 59, 99, 0.18);
}

@media (max-width: 768px) {
    .dynamic-outline__item--image-left,
    .dynamic-outline__item--image-right {
        grid-template-columns: 1fr;
    }

    .dynamic-outline__item--image-right .dynamic-outline__media,
    .dynamic-outline__item--image-right .dynamic-outline__content {
        order: initial;
    }

    .department-outline-admin__guide {
        grid-template-columns: 1fr;
    }

    .department-outline-item-editor {
        margin-left: 0;
    }

    .department-outline-item-editor__head {
        align-items: flex-start;
    }

    .department-outline-item-editor__identity {
        align-items: flex-start;
    }
}

.department-dashboard-module--approved-feed {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    background: #ffffff;
    padding: 14px;
}

.department-dashboard-approved-feed {
    margin-top: 8px;
}

.department-dashboard-approved-feed__item {
    position: relative;
}

.department-dashboard-approved-feed__item .fb-dark-post {
    padding-right: 54px;
}

.department-dashboard-approved-feed__actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
}

.department-dashboard-approved-feed__menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(10, 13, 20, 0.55);
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
}

.department-dashboard-approved-feed__menu-btn:hover {
    background: rgba(10, 13, 20, 0.8);
}

.department-dashboard-approved-feed__dropdown-form {
    margin: 0;
}

.department-dashboard-manager {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    background: var(--page-bg, #fff);
    padding: 18px;
    margin-bottom: 16px;
}

@media (max-width: 1100px) {
    .department-dashboard-workspace {
        grid-template-columns: 1fr;
    }

    .department-dashboard-workspace.is-modal-dashboard .department-dashboard-launchpad,
    .department-dashboard-workspace.is-modal-dashboard .department-dashboard-panels {
        grid-column: 1;
    }

    .department-dashboard-side,
    .department-public__side,
    .department-post-composer {
        max-height: none;
        overflow: visible;
        position: static;
    }
}

.department-dashboard-manager__intro,
.department-dashboard-org-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.department-dashboard-manager__intro h2,
.department-dashboard-org-card h3 {
    margin: 0 0 4px;
    color: var(--page-accent, #1f3b63);
    font-size: 1.1rem;
}

.department-dashboard-manager__intro p,
.department-dashboard-card p,
.department-dashboard-org-card p {
    margin: 0;
    color: #64748b;
}

.department-dashboard-manager__intro--center {
    text-align: center;
}

.department-dashboard-manager__intro--center > div {
    margin-inline: auto;
}

.department-dashboard-manager__intro--right {
    text-align: right;
}

.department-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.department-dashboard-card,
.department-dashboard-org-card {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}

.department-dashboard-card {
    display: grid;
    gap: 12px;
    align-content: space-between;
}

.department-dashboard-card h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: #111827;
}

.department-dashboard-org-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.department-dashboard-org-card--builder {
    display: block;
}

.department-dashboard-manager--faculty .department-dashboard-org-list {
    margin-top: 0;
    gap: 0;
}

.department-dashboard-manager--faculty .department-dashboard-org-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.department-dashboard-manager--faculty .department-org-layout-preview .org-tree {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.department-dashboard-org-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.department-org-builder {
    display: grid;
    gap: 12px;
}

.department-org-layout-preview {
    margin-bottom: 12px;
}

.department-org-layout-preview__tree {
    margin: 0;
}

.department-org-builder__hint,
.department-org-builder__empty,
.department-org-builder__readonly {
    border: 1px dashed rgba(31, 59, 99, 0.22);
    border-radius: 8px;
    background: rgba(31, 59, 99, 0.04);
    color: #475569;
    font-size: 0.9rem;
    padding: 10px 12px;
}

.department-dashboard-manager--faculty .department-org-builder__hint {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: #64748b;
}

.department-org-tree {
    display: grid;
    gap: 10px;
    min-height: 16px;
    margin: 0;
    padding-left: 24px;
    list-style: none;
}

.department-org-tree--root {
    padding-left: 0;
}

.department-org-node {
    display: grid;
    gap: 10px;
}

.department-org-node.is-dragging {
    opacity: 0.55;
}

.department-org-node.is-collapsed > .department-org-tree {
    display: none;
}

.department-org-node__card {
    display: grid;
    grid-template-columns: auto auto 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    background: #ffffff;
    padding: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.department-org-node__card.is-drop-target {
    border-color: var(--page-accent, #1f3b63);
    box-shadow: 0 0 0 3px rgba(31, 59, 99, 0.12);
}

.department-org-node__collapse {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    line-height: 1;
}

.department-org-node__drag {
    color: #94a3b8;
    cursor: grab;
    font-weight: 800;
    letter-spacing: 1px;
}

.department-org-node__avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(31, 59, 99, 0.1);
    display: grid;
    place-items: center;
    color: var(--page-accent, #1f3b63);
    font-weight: 800;
}

.department-org-node__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-org-node__body {
    min-width: 0;
}

.department-org-node__body strong,
.department-org-node__body span,
.department-org-node__body small {
    display: block;
}

.department-org-node__body strong {
    color: #111827;
    font-size: 0.98rem;
}

.department-org-node__body span {
    color: var(--page-accent, #1f3b63);
    font-size: 0.9rem;
    font-weight: 700;
}

.department-org-node__body small {
    color: #64748b;
    font-size: 0.82rem;
}

.department-org-node__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.department-org-builder__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.department-dashboard-module {
    margin-top: 16px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px;
    color: #0f172a;
}

.department-dashboard-module__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.department-dashboard-module__head h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 1.02rem;
}

.department-dashboard-module__head p {
    margin: 0;
    color: #475569;
    font-size: 0.88rem;
}

.department-dashboard-list {
    display: grid;
    gap: 8px;
}

.department-dashboard-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 12px;
}

.department-dashboard-list__item strong,
.department-dashboard-list__item span {
    display: block;
}

.department-dashboard-list__item strong {
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 700;
}

.department-dashboard-list__item span {
    color: #475569;
    font-size: 0.84rem;
}

.department-dashboard-community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.department-dashboard-community-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.department-dashboard-community-card__media {
    background: #f1f5f9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.department-dashboard-community-card__media img,
.department-dashboard-community-card__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.department-dashboard-community-card__media img {
    display: block;
    object-fit: cover;
}

.department-dashboard-community-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.88rem;
}

.department-dashboard-community-card__body {
    padding: 12px;
}

.department-dashboard-community-card__head {
    display: grid;
    gap: 10px;
    margin-bottom: 8px;
}

.department-dashboard-community-card__head h4 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
}

.department-inline-post-form {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #ffffff;
    padding: 12px;
}

.department-inline-post-form__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin-top: 12px;
    padding-top: 12px;
}

.department-dashboard-workspace .btn,
.department-dashboard-workspace .btn.btn-sm {
    border-radius: 8px;
    line-height: 1.25;
    font-size: 0.9rem;
}

.department-dashboard-workspace .btn.btn-sm {
    padding: 0.42rem 0.72rem;
}

.department-dashboard-workspace .admin-page-dashboard__section-head .btn,
.department-dashboard-workspace .department-dashboard-module__head .btn,
.department-dashboard-workspace .department-dashboard-org-card__top .btn {
    white-space: nowrap;
}

.department-dashboard-org-card__top .btn-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.department-dashboard-plus-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.department-dashboard-org-card__top .btn-icon svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 900px) {
    .department-dashboard-workspace .admin-page-dashboard__section-head {
        display: grid;
        gap: 10px;
    }

    .department-dashboard-workspace .admin-page-dashboard__section-head > div:last-child {
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .department-dashboard-module__head,
    .department-dashboard-list__item,
    .department-inline-post-form__footer,
    .department-dashboard-org-card__top,
    .department-org-node__card {
        display: grid;
        justify-content: stretch;
    }

    .department-org-tree {
        padding-left: 14px;
    }

    .department-org-tree--root {
        padding-left: 0;
    }

    .department-org-node__actions {
        justify-content: stretch;
    }

    .department-org-node__actions .btn,
    .department-org-node__actions form,
    .department-org-node__actions button {
        width: 100%;
    }

    .department-dashboard-workspace .btn,
    .department-dashboard-workspace .btn.btn-sm {
        width: 100%;
        min-height: 40px;
        font-size: 0.94rem;
        padding: 0.56rem 0.85rem;
    }

    .department-dashboard-workspace .admin-page-dashboard__section-head > div:last-child {
        width: 100%;
    }
}

.admin-section-card {
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.admin-evidence-chip {
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: .65rem .75rem;
    background: #f8fafc;
    color: #334155;
    font-size: .9rem;
    font-weight: 600;
}

.image-cropper-modal .modal-dialog {
    max-width: min(96vw, 860px);
}

.image-cropper-frame {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: clamp(400px, 58vh, 500px);
    margin: 0 auto;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid #d8dee8;
    border-radius: 8px;
}

.image-cropper-frame img {
    display: block;
    max-width: 100%;
}

.image-cropper-frame .cropper-container {
    width: 100% !important;
    height: 100% !important;
}

.image-cropper-frame--circle .cropper-view-box,
.image-cropper-frame--circle .cropper-face {
    border-radius: 50%;
}

.image-cropper-frame .cropper-bg {
    background-image: none;
}

.image-cropper-controls {
    display: grid;
    gap: 0.75rem;
}

.image-cropper-controls__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 575.98px) {
    .image-cropper-modal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }

    .image-cropper-frame {
        height: min(68vh, 380px);
        max-width: 100%;
    }

    .image-cropper-controls__buttons .btn {
        flex: 1 1 calc(50% - 0.25rem);
    }
}

.page-appearance-preview {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.page-appearance-preview__header {
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    padding: 0.75rem 1rem;
    font-weight: 800;
}

.page-appearance-preview__body {
    padding: 1rem;
}

.page-appearance-preview__body p {
    color: #64748b;
    margin: .35rem 0 .85rem;
}

.admin-role-banner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    background: #fff;
    padding: 1rem;
}

.admin-role-banner__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.admin-role-banner__meta span {
    border: 1px solid #d8dee8;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    padding: .35rem .7rem;
    font-size: .86rem;
}

.page-editor-shell {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.page-editor-shell--compact {
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    gap: .85rem;
}

.page-editor-nav {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: .5rem;
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    padding: .75rem;
    background: #fff;
}

.page-editor-nav__item {
    text-align: left;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    padding: .65rem .75rem;
}

.page-editor-shell--compact .page-editor-nav__item {
    padding: .55rem .65rem;
}

.page-editor-nav__item span {
    display: block;
    font-weight: 700;
}

.page-editor-nav__item small {
    display: block;
    color: #64748b;
    margin-top: .1rem;
}

.page-editor-shell--compact .page-editor-nav__item small {
    font-size: .78rem;
}

.page-editor-nav__item:hover,
.page-editor-nav__item.is-active {
    background: #eef4ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.page-editor-nav__item.is-active small {
    color: #3b82f6;
}

.page-editor-nav__save {
    border-top: 1px solid var(--cms-border);
    margin-top: .25rem;
    padding-top: .75rem;
}

.page-editor-pane {
    display: none;
}

.page-editor-pane.is-active {
    display: block;
}

.page-editor-card > .card-body {
    padding: 1rem;
}

.page-editor-card .form-label {
    margin-bottom: .25rem;
    font-size: .88rem;
    font-weight: 600;
}

.page-editor-card .form-text {
    font-size: .8rem;
}

.page-editor-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    align-items: start;
}

.page-editor-field-grid__full {
    grid-column: 1 / -1;
}

.page-editor-card .form-control-color {
    width: 100%;
    height: 2.35rem;
}

@media (max-width: 991.98px) {
    .page-editor-shell {
        grid-template-columns: 1fr;
    }

    .page-editor-nav {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .page-editor-nav__save {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .page-editor-field-grid {
        grid-template-columns: 1fr;
    }
}

.table-actions {
    white-space: nowrap;
}

.content-preview {
    color: var(--cms-muted);
    max-width: 560px;
}

.institutional-page {
    background-color: var(--page-bg, #fff);
    background-image: var(--page-bg-image, none);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--page-text, #1f2937);
    text-align: var(--page-text-align, left);
    border-radius: 8px;
    padding: clamp(1rem, 2vw, 2rem);
}

.institutional-page a {
    color: var(--page-accent, #1f3b63);
}

.institutional-page .btn-primary {
    --bs-btn-bg: var(--page-button, #1f3b63);
    --bs-btn-border-color: var(--page-button, #1f3b63);
}

.page-section-stack {
    display: grid;
    gap: 1rem;
}

.page-managed-section {
    border: 1px solid rgba(148, 163, 184, .45);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    padding: 1rem;
}

.page-managed-section h2 {
    color: var(--page-accent, #1f3b63);
    font-size: 1.15rem;
    margin-bottom: .65rem;
}

.page-section-stack--department,
.page-section-stack--broadsheet {
    margin-bottom: 1.25rem;
}

.template-profile-page {
    max-width: 1120px;
    margin: 0 auto;
    color: var(--page-text);
}

.template-profile-header {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.template-profile-cover {
    position: relative;
    height: clamp(160px, 24vw, 260px);
    background: var(--page-header);
}

.template-profile-cover img,
.template-profile-cover__fallback {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.template-profile-cover__fallback {
    background:
        linear-gradient(135deg, rgba(31, 59, 99, 0.95), rgba(199, 67, 43, 0.72)),
        url("../images/ucc-cover.jpg") center/cover;
}

.template-profile-identity {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: end;
    padding: 0 24px 18px;
    margin-top: -54px;
}

.template-profile-logo {
    position: relative;
    width: 112px;
    height: 112px;
    border-radius: 8px;
    border: 5px solid #fff;
    background: var(--page-accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.template-profile-logo img {
    border-radius: 4px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-profile-title {
    min-width: 0;
    padding-top: 62px;
}

.template-profile-eyebrow {
    color: var(--page-accent);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.template-profile-title h1 {
    margin: 2px 0 6px;
    font-size: clamp(1.75rem, 3vw, 3rem);
    line-height: 1.05;
    color: #111827;
}

.template-profile-title p {
    max-width: 760px;
    margin: 0;
    color: #475569;
}

.template-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 24px 22px;
}

.template-profile-meta span,
.template-profile-meta a {
    color: #334155;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    padding: 0.4rem 0.72rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.template-quick-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 16px 2px 4px;
    margin-bottom: 14px;
}

.template-quick-tabs a {
    flex: 0 0 auto;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.template-quick-tabs a:hover {
    color: #fff;
    background: var(--page-button);
    border-color: var(--page-button);
}

.template-intro,
.template-evidence-panel,
.template-empty-feed,
.template-feed-wall {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    padding: 22px;
    margin-top: 16px;
}

.template-evidence-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: color-mix(in srgb, var(--page-accent) 8%, #fff);
}

.template-evidence-panel h2,
.template-section-heading h2 {
    margin: 0 0 6px;
    font-size: 1.28rem;
    color: #111827;
}

.template-evidence-panel p,
.template-section-heading p {
    margin: 0;
    color: #64748b;
}

.template-evidence-panel strong {
    min-width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--page-accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}

.template-feed-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.template-empty-feed {
    color: #64748b;
    text-align: center;
}

.content-block-stack {
    display: grid;
    gap: 1rem;
    margin: 1.25rem 0;
}

.content-block {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    padding: 1.1rem;
}

.content-block h2 {
    color: var(--page-accent, #1f3b63);
    font-size: 1.16rem;
    margin: 0 0 .75rem;
}

.content-block__image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.content-block__embed {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #0f172a;
}

.content-block__embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.trustees-album__header {
    padding: 1.2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, rgba(31, 59, 99, 0.08), rgba(255, 255, 255, 0.95));
}

.trustees-album__eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
}

.trustees-album__title {
    color: #0f172a;
}

.trustees-album__subtitle {
    color: #475569;
    max-width: 760px;
    margin-inline: auto;
}

.trustee-album-card {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trustee-album-card:hover,
.trustee-album-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.trustee-album-card__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 14%;
    background: #edf2f7;
}

.trustee-album-card__placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dbe6f5;
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
}

.template-profile-page--office .template-profile-cover__fallback {
    background: linear-gradient(135deg, #334155, #64748b);
}

.template-profile-page--club .template-profile-cover__fallback {
    background: linear-gradient(135deg, #7f1d1d, #b91c1c);
}

.template-profile-page--gallery .template-profile-cover__fallback {
    background: linear-gradient(135deg, #1f3b63, #0f766e);
}

.template-profile-page--board-trustees .template-profile-cover__fallback {
    background: linear-gradient(135deg, #1e3a5f, #365f9c);
}

@media (max-width: 700px) {
    .template-profile-identity {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 0 16px 16px;
        margin-top: -44px;
    }

    .template-profile-logo {
        width: 92px;
        height: 92px;
    }

    .template-profile-title {
        padding-top: 0;
    }

    .template-profile-meta {
        padding: 0 16px 18px;
    }
}

.institutional-page__basic h1,
.institutional-page__wall .broadsheet-front__name {
    color: var(--page-text, #1f2937);
    text-align: var(--page-text-align, left);
}

.institutional-page__basic h1 {
    border-bottom: 4px solid var(--page-accent, #1f3b63);
    padding-bottom: .75rem;
}

.institutional-page__basic .content-body {
    text-align: var(--page-text-align, left);
}

.institutional-page__wall .broadsheet-front__header {
    background: var(--page-header, #f8fafc);
}

.department-layout {
    max-width: 1120px;
}

.department-layout__hero {
    background: var(--page-header, #f8fafc);
    border: 1px solid rgba(31, 41, 55, .12);
    border-radius: 8px;
    overflow: hidden;
}

.department-layout__banner {
    display: block;
    width: 100%;
    height: clamp(170px, 26vw, 300px);
    object-fit: cover;
    background: linear-gradient(135deg, var(--page-accent, #1f3b63), var(--page-header, #f8fafc));
}

.department-layout__banner--empty {
    min-height: clamp(170px, 26vw, 300px);
}

.department-layout__identity {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: end;
    padding: 0 1.25rem 1.25rem;
    margin-top: -54px;
}

.department-layout__profile {
    width: 116px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 5px solid #fff;
    background: var(--page-accent, #1f3b63);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    overflow: hidden;
}

.department-layout__profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-layout__eyebrow {
    color: var(--page-accent, #1f3b63);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.department-layout__identity h1 {
    margin: .1rem 0 .25rem;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 850;
}

.department-layout__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    color: #64748b;
}

.department-layout__meta span {
    background: #fff;
    border: 1px solid rgba(31, 41, 55, .12);
    border-radius: 999px;
    padding: .35rem .7rem;
}

.department-layout__intro,
.department-layout__evidence,
.department-layout__wall-section {
    margin-top: 1rem;
    background: #fff;
    border: 1px solid rgba(31, 41, 55, .12);
    border-radius: 8px;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.department-layout__section-head {
    margin-bottom: 1rem;
}

.department-layout__section-head h2 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin: 0;
}

.department-layout__section-head p {
    max-width: 760px;
    color: #64748b;
    margin: .35rem 0 0;
}

.department-layout__section-head--row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(31, 41, 55, .1);
    padding-bottom: .75rem;
}

.department-layout__section-head--row span {
    color: #64748b;
    white-space: nowrap;
}

.department-layout__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .75rem;
}

.department-layout__category {
    text-decoration: none;
    color: var(--page-text, #1f2937);
    border: 1px solid rgba(31, 41, 55, .12);
    border-left: 5px solid var(--page-accent, #1f3b63);
    border-radius: 8px;
    padding: .9rem;
    background: color-mix(in srgb, var(--page-header, #f8fafc) 55%, #fff);
}

.department-layout__category span {
    display: block;
    font-weight: 700;
}

.department-layout__category strong {
    display: block;
    margin-top: .35rem;
    font-size: 1.6rem;
    color: var(--page-accent, #1f3b63);
}

.department-layout__post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.department-post-card {
    border: 1px solid rgba(31, 41, 55, .12);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.department-post-card > img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #e5e7eb;
}

.department-post-card__body {
    padding: 1rem;
}

.department-post-card__meta {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    color: #64748b;
    font-size: .82rem;
    margin-bottom: .5rem;
}

.department-post-card h3 {
    font-size: 1.05rem;
    margin: 0 0 .5rem;
}

.department-post-card p {
    color: #475569;
    margin-bottom: .75rem;
}

.department-post-card__author {
    color: #64748b;
    font-size: .85rem;
    border-top: 1px solid rgba(31, 41, 55, .08);
    padding-top: .65rem;
}

.department-layout__empty {
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
}

.department-layout__empty--large {
    margin-top: 1rem;
    text-align: center;
    padding: 2rem;
}

.department-public {
    max-width: 1160px;
    margin: 0 auto;
    color: #1f2937;
    font-size: 15px;
}

.department-public__header {
    background: #fff;
    border: 1px solid var(--cms-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.department-public__cover {
    display: block;
    width: 100%;
    height: clamp(160px, 21vw, 250px);
    object-fit: cover;
    background: linear-gradient(135deg, #1f3b63, #dbeafe);
}

.department-public__cover--empty {
    min-height: clamp(160px, 21vw, 250px);
}

.department-public__identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.05rem;
    align-items: end;
    padding: 0 1.35rem 1.3rem;
    margin-top: -46px;
}

.department-public__logo {
    width: 96px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 5px solid #fff;
    display: grid;
    place-items: center;
    background: #1f3b63;
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
}

.department-public__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-public__identity h1 {
    font-size: clamp(24px, 2.7vw, 32px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0;
}

.department-public__identity p {
    max-width: 780px;
    color: #475569;
    font-size: 0.96rem;
    margin: .4rem 0 .55rem;
}

.department-public__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.department-public__meta span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    padding: .32rem .62rem;
    font-size: .82rem;
    font-weight: 600;
}

.department-public__workspace {
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.department-public__side {
    top: 84px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    scrollbar-gutter: stable;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.department-public__mobile-menu {
    display: none;
}

.department-public__mobile-menu summary {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    color: #1f3b63;
    cursor: pointer;
    display: flex;
    font-size: 0.94rem;
    font-weight: 750;
    justify-content: space-between;
    line-height: 1.25;
    list-style: none;
    padding: 0.78rem 0.85rem;
}

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

.department-public__mobile-menu summary::after {
    content: "\25BE";
    color: #64748b;
    font-size: 0.82rem;
}

.department-public__mobile-menu[open] summary::after {
    content: "\25B4";
}

.department-public__mobile-menu-list {
    display: grid;
    gap: 7px;
    padding-top: 8px;
}

.department-public__mobile-menu-list button,
.department-public__mobile-menu-list a {
    appearance: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    padding: 0.72rem 0.8rem;
    text-align: left;
    text-decoration: none;
}

.department-public__mobile-menu-list button:hover,
.department-public__mobile-menu-list a:hover {
    background: #eff6ff;
    border-color: rgba(31, 59, 99, 0.24);
    color: #1f3b63;
}

.department-public__content {
    background: #fff;
    border: 1px solid var(--cms-border);
    border-radius: 10px;
    padding: clamp(0.9rem, 1.7vw, 1.2rem);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.department-public__overview {
    display: grid;
    gap: 1rem;
}

.department-public__overview section {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.department-public__overview section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.department-public__overview h2,
.department-public__placeholder h2 {
    font-size: 1.18rem;
    font-weight: 750;
    margin-bottom: .5rem;
}

.department-public__contact {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .35rem 1rem;
    margin: 0;
}

.department-public__contact dt {
    color: #64748b;
}

.department-public__contact dd {
    margin: 0;
}

.department-public__feed {
    max-width: 760px;
    margin: 0 auto;
}

.department-public__feed--home {
    max-width: 100%;
    margin: 0;
}

.department-public__placeholder {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #475569;
    padding: 1.25rem;
}

.department-public__records {
    display: grid;
    gap: 1rem;
}

.department-public__records .department-leadership-card {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.department-public__records .department-leadership-card__image,
.department-public__records .department-leadership-card__placeholder {
    transition: transform .32s ease;
}

@media (hover: hover) and (pointer: fine) {
    .department-public__records .department-leadership-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16) !important;
    }

    .department-public__records .department-leadership-card:hover .department-leadership-card__image,
    .department-public__records .department-leadership-card:hover .department-leadership-card__placeholder {
        transform: scale(1.04);
    }
}

.department-public__posts-panel {
    margin-top: 1.25rem;
}

.department-public__panel-title {
    margin-bottom: .85rem;
}

.department-public__panel-title span {
    color: #64748b;
    display: block;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.department-public__panel-title h2 {
    color: #1f3b63;
    font-size: 1.15rem;
    margin: .15rem 0 0;
}

.department-public__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}

.department-public__gallery-item {
    appearance: none;
    aspect-ratio: 1;
    background: #e2e8f0;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.department-public__gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease;
}

.department-public__gallery-item:hover img {
    transform: scale(1.04);
}

.department-public__gallery-item:focus-visible {
    outline: 2px solid #1f3b63;
    outline-offset: 2px;
}

.department-record-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.department-record-card h2 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
}

.department-record-card dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .35rem .85rem;
}

.department-record-card dt {
    color: #64748b;
}

.department-record-card dd {
    margin: 0;
}

.department-programs-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.department-program-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.department-program-card__media {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.department-community-card__media {
    cursor: pointer;
}

.department-community-card__media:focus-visible {
    outline: 3px solid #1f3b63;
    outline-offset: -3px;
}

.department-program-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.department-program-card__placeholder {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.88rem;
}

.department-program-card__body {
    padding: 0.85rem 0.95rem 0.95rem;
}

.department-program-card__body h2 {
    font-size: 1.02rem;
    margin-bottom: 0.45rem;
}

.department-program-card__summary {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.department-program-card__details {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.55rem;
    display: grid;
    gap: 0.45rem;
    font-size: 0.9rem;
}

.department-program-card__details p {
    margin: 0;
}

.department-program-card__richtext {
    color: #334155;
    line-height: 1.55;
}

.department-program-card__richtext > :last-child {
    margin-bottom: 0;
}

.department-read-more__text {
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.department-read-more__text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.department-read-more__button {
    border: 0;
    background: transparent;
    color: #1f3b63;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0;
    margin-top: 0.45rem;
    cursor: pointer;
}

.department-read-more__button:hover {
    color: #0f172a;
    text-decoration: underline;
}

.department-read-more__button:focus-visible {
    outline: 2px solid #1f3b63;
    outline-offset: 3px;
    border-radius: 3px;
}

.department-record-card__person {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.department-record-card__person img {
    width: 92px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d8dee8;
}

.department-section-modal .modal-content {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
}

.department-section-modal .modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.15rem;
}

.department-section-modal .modal-title {
    color: #1f3b63;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 800;
    line-height: 1.2;
}

.department-section-modal .modal-body {
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.55;
    padding: 1.15rem;
}

.department-section-modal .department-public__records,
.department-section-modal .department-public__overview {
    gap: 0.9rem;
}

.department-faculty-intro {
    margin-bottom: 1rem;
}

.department-faculty-intro--center {
    text-align: center;
}

.department-faculty-intro--right {
    text-align: right;
}

.department-faculty-intro h2 {
    color: #1f3b63;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.department-faculty-intro p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 900px) {
    .department-public {
        margin-top: 0;
        font-size: 14px;
    }

    .department-public__cover {
        height: clamp(130px, 34vw, 180px);
    }

    .department-public__cover--empty {
        min-height: clamp(130px, 34vw, 180px);
    }

    .department-public__identity {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.85rem;
        margin-top: -36px;
        padding: 0 1rem 1rem;
    }

    .department-public__logo {
        width: 76px;
        border-width: 4px;
        font-size: 1.55rem;
    }

    .department-public__identity h1 {
        font-size: clamp(20px, 5vw, 24px);
    }

    .department-public__identity p {
        font-size: 0.9rem;
    }

    .department-public__workspace {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 12px;
    }

    .department-public__side {
        max-height: none;
        overflow: visible;
        position: static;
        padding: 12px;
    }

    .department-public__tabs {
        display: none;
    }

    .department-public__mobile-menu {
        display: block;
    }

    .department-public__content {
        padding: 0.75rem;
    }

    .department-public__meta {
        gap: 0.32rem;
    }

    .department-public__meta span {
        font-size: 0.76rem;
        padding: 0.28rem 0.52rem;
    }

    .department-section-modal .modal-dialog {
        margin: 0.6rem;
    }

    .department-section-modal .modal-body {
        font-size: 0.92rem;
        padding: 0.95rem;
    }

    .department-public__gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
        gap: 0.55rem;
    }
}

.content-body img {
    max-width: 100%;
    height: auto;
}

.cms-support-footer {
    background: #f8fafc;
}

.cms-support-footer a,
.cms-support-footer__inner a {
    color: #1f3b63;
    font-weight: 700;
    text-decoration: none;
}

.cms-support-footer a:hover,
.cms-support-footer__inner a:hover {
    text-decoration: underline;
}

.cms-support-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    justify-content: space-between;
}

@media (max-width: 575.98px) {
    .cms-support-footer__inner {
        display: grid;
        justify-content: start;
    }
}

.home-cover {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--cms-border);
    background:
        linear-gradient(105deg, rgba(28, 14, 18, 0.78), rgba(122, 16, 37, 0.6)),
        var(--home-hero-image, url('../images/ucc-cover.jpg')) center center / cover no-repeat;
    min-height: clamp(300px, 38vw, 380px);
}

.home-cover__overlay {
    min-height: clamp(300px, 38vw, 380px);
    color: #ffffff;
    display: flex;
    align-items: flex-end;
}

.home-cover__overlay > .row {
    width: 100%;
}

.home-cover__badge {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.home-facebook-circle {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    background: #ffffff;
    text-decoration: none;
}

.home-facebook-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-info {
    background: #ffffff;
    border: 1px solid var(--cms-border);
    border-radius: 8px;
}

.home-facebook-layout {
    background: #ffffff;
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    overflow: hidden;
}

.home-contact-list {
    display: grid;
    gap: 10px;
}

.home-contact-card {
    border: 1px solid #dce3ef;
    border-radius: 8px;
    background: #f8fafd;
    padding: 10px 12px;
}

.home-contact-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #1f2f49;
}

.home-contact-card__line {
    font-size: 0.92rem;
    color: #2d3d59;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-contact-card__line a {
    text-decoration: none;
    color: #1e4a95;
}

.home-contact-card__line a:hover {
    text-decoration: underline;
}

.home-contact-card__line a:focus-visible {
    outline: 2px solid #1e4a95;
    outline-offset: 2px;
    border-radius: 3px;
}

.home-feed-column {
    min-width: 0;
    overflow-x: hidden;
}

.home-content-row > [class*='col-'] {
    display: flex;
    align-items: flex-start;
}

.home-content-row .home-facebook-layout,
.home-content-row .fb-dark-feed {
    width: 100%;
}

.home-cover-events {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 46px rgba(6, 16, 38, 0.22);
}

.home-cover-events-column {
    display: flex;
    justify-content: flex-end;
}

.home-cover-events__eyebrow {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-cover-events h2 {
    color: #fff;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 850;
    line-height: 1.1;
    margin: 0;
}

.home-cover-events__summary {
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.home-cover-events__counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-cover-events__counts span {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 750;
    padding: 5px 10px;
}

.home-cover-events__button {
    width: fit-content;
    min-width: 230px;
    max-width: 100%;
    font-weight: 700;
    border: 0;
    color: #17365f;
    box-shadow: 0 10px 24px rgba(6, 16, 38, 0.18);
}

.home-cover-events__button:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.42);
}

.home-event-detail-list {
    display: grid;
    gap: 12px;
}

.home-event-modal {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}

.home-event-modal__header {
    background: linear-gradient(135deg, #17365f, #27638d);
    color: #fff;
    border: 0;
    align-items: flex-start;
}

.home-event-modal__header .btn-close {
    filter: invert(1) grayscale(1) brightness(1.8);
}

.home-event-modal__header p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
}

.home-event-modal__eyebrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-event-detail-card {
    border: 1px solid #dbe6f4;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 10px 24px rgba(23, 54, 95, 0.08);
    overflow: hidden;
    padding: 14px;
    position: relative;
}

.home-event-detail-card > *:not(.home-event-detail-card__watermark) {
    position: relative;
    z-index: 1;
}

.home-event-detail-card__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    z-index: 3;
}

.home-event-detail-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #1f324f;
    font-weight: 800;
}

.home-event-detail-card__status {
    border: 1px solid #cad8ec;
    border-radius: 999px;
    background: #f1f6ff;
    padding: 3px 9px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #37537a;
    white-space: nowrap;
}

.home-event-detail-card__status.is-ongoing,
.event-status-pill.is-ongoing {
    border-color: #86efac;
    background: #ecfdf3;
    color: #166534;
}

.home-event-detail-card__status.is-past,
.event-status-pill.is-past {
    border-color: #d7dde7;
    background: #f1f5f9;
    color: #64748b;
}

.home-event-detail-card__status.is-upcoming,
.event-status-pill.is-upcoming {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.home-event-detail-card__status-badge {
    box-shadow: 0 7px 15px rgba(15, 23, 42, 0.12);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 0.42rem 0.62rem;
    white-space: nowrap;
}

.home-event-detail-card__watermark {
    border: 0.12em solid currentColor;
    border-radius: 0.2em;
    color: #dc3545;
    font-size: clamp(2.4rem, 7vw, 5.4rem);
    font-weight: 950;
    inset: 50% auto auto 50%;
    letter-spacing: 0.12em;
    line-height: 1;
    opacity: 0.16;
    padding: 0.14em 0.24em;
    pointer-events: none;
    position: absolute;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-20deg);
    white-space: nowrap;
    z-index: 2;
}

.home-event-detail-card--postponed .home-event-detail-card__watermark {
    color: #b7791f;
}

.home-event-detail-card--rescheduled .home-event-detail-card__watermark {
    color: #0f766e;
}

.home-event-detail-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 0.78rem;
    color: #617391;
    margin-top: 6px;
}

.home-event-detail-card__department {
    color: #29456d;
    font-weight: 750;
}

.home-event-detail-card__media {
    border-radius: 12px;
    display: block;
    margin-top: 0.75rem;
    overflow: hidden;
    position: relative;
}

.home-event-detail-card__media img {
    aspect-ratio: 16 / 9;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.home-event-detail-card__status.is-announcement {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.home-event-detail-card__views {
    align-items: center;
    color: #37537a;
    display: inline-flex;
    font-weight: 750;
    gap: 5px;
}

.home-event-detail-card__views .fb-eye-icon {
    color: #1d4ed8;
    height: 14px;
    width: 14px;
}

.home-announcement-readmore {
    margin-top: 0.65rem;
}

.home-announcement-readmore__text {
    color: #334155;
    display: -webkit-box;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-announcement-readmore__text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.home-announcement-readmore__button,
.home-announcement-readmore__link {
    border: 0;
    background: transparent;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 750;
    margin-top: 0.35rem;
    padding: 0;
    text-decoration: none;
}

.home-announcement-readmore__button:hover,
.home-announcement-readmore__link:hover {
    color: #17365f;
    text-decoration: underline;
}

.event-status-pill {
    border: 1px solid #cad8ec;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1;
    padding: 4px 8px;
}

@media (max-width: 991.98px) {
    .home-cover {
        min-height: auto;
    }

    .home-cover__overlay {
        min-height: clamp(360px, 62vw, 520px);
        align-items: stretch;
    }

    .home-cover__overlay .row {
        align-items: stretch !important;
    }

    .home-cover-events {
        max-width: none;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .home-cover {
        border-radius: 0;
        margin-inline: -0.75rem;
    }

    .home-cover__overlay {
        min-height: auto;
        padding: 1.25rem !important;
    }

    .home-cover .display-5 {
        font-size: clamp(1.85rem, 9vw, 2.45rem);
    }

    .home-cover .lead {
        font-size: 1rem;
    }

    .home-cover-events {
        gap: 8px;
        padding: 1rem !important;
    }

    .home-cover-events h2 {
        font-size: 1.2rem;
    }

    .home-cover-events__button {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .home-event-modal {
        border-radius: 0;
    }

    .home-event-modal__header {
        padding: 1rem;
    }

    .home-event-detail-card {
        padding: 12px;
    }

    .home-event-detail-card__head {
        grid-template-columns: 1fr;
    }

    .home-event-detail-card__status {
        width: fit-content;
    }

    .home-event-detail-card__status-badge {
        width: fit-content;
    }

    .home-event-detail-card__watermark {
        font-size: clamp(1.8rem, 13vw, 3.4rem);
        letter-spacing: 0.08em;
        opacity: 0.14;
    }

    .home-event-detail-card__meta {
        display: grid;
        gap: 4px;
    }
}

.fb-dark-feed {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.fb-dark-post {
    border: 1px solid #303746;
    background: #1f242d;
    border-radius: 8px;
    padding: 12px;
    color: #e7ecf6;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.fb-dark-post__author {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f6f8fd;
}

.fb-dark-post__author-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f6f8fd;
    text-decoration: none;
}

.fb-dark-post__author-link:hover {
    color: #bdd4ff;
}

.fb-dark-post__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: #9da9bb;
}

.fb-dark-post__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #8090a7;
    display: inline-block;
}

.fb-dark-post__title {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #f7fbff;
}

.fb-dark-post__text {
    margin: 0 0 10px;
    color: #d0d9e7;
    font-size: 0.94rem;
    line-height: 1.45;
    word-break: break-word;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.fb-dark-post__text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.fb-dark-post__more {
    border: 0;
    background: transparent;
    color: #9db7e4;
    padding: 0;
    font-size: 0.81rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: -4px;
    cursor: pointer;
}

.fb-dark-post__more:hover {
    color: #bdd0ef;
}

.fb-dark-post__more:focus-visible {
    outline: 2px solid #9db7e4;
    outline-offset: 2px;
    border-radius: 4px;
}

.fb-dark-post__single-image {
    border-radius: 6px;
    overflow: hidden;
    border: 0;
    margin-bottom: 10px;
    aspect-ratio: 16 / 10;
    max-height: 460px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    position: relative;
    display: block;
    isolation: isolate;
}

.fb-dark-post__single-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.fb-gallery-image {
    cursor: zoom-in;
}

.fb-gallery-image:focus-visible {
    outline: 2px solid #cfe0ff;
    outline-offset: -2px;
}

.fb-collage {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2px;
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #121720;
    margin-bottom: 10px;
    aspect-ratio: 16 / 10;
    max-height: 460px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.fb-collage__main,
.fb-collage__side,
.fb-collage__side-item {
    background: #111722;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

.fb-collage__main img,
.fb-collage__side-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: cover;
}

.fb-collage__side {
    display: grid;
    gap: 2px;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    min-width: 0;
    min-height: 0;
}

.fb-collage__side--1 {
    grid-template-rows: minmax(0, 1fr);
}

.fb-collage__side--2 {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.fb-collage__side--3 {
    grid-template-rows: repeat(3, minmax(0, 1fr));
}

.fb-collage__side-item {
    position: relative;
    min-height: 0;
}

.fb-collage__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 22, 31, 0.62);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f6f9ff;
}

.fb-dark-post__stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #2e3645;
    padding-top: 8px;
    color: #9aa8ba;
    font-size: 0.82rem;
}

.fb-dark-post__views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(157, 183, 228, 0.18);
    border-radius: 999px;
    background: rgba(157, 183, 228, 0.08);
    color: #c7d6ef;
    font-weight: 650;
    padding: 4px 9px;
}

.fb-dark-post__actions-right {
    margin-left: auto;
}

.fb-eye-icon {
    width: 16px;
    height: 16px;
    color: #9db7e4;
    flex: 0 0 auto;
}

.fb-read-link {
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    color: #99bbff;
}

.fb-read-link:hover {
    color: #bdd4ff;
}

.fb-share-link {
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    color: #c7daff;
}

.fb-share-link:hover {
    color: #e0ebff;
}

.fb-gallery-modal .modal-content {
    background: #121720;
    border: 1px solid #2b3446;
    color: #f1f5fc;
    position: relative;
}

.fb-gallery-modal {
    z-index: 2080;
}

.fb-gallery-modal .modal-body {
    position: relative;
    padding: 0;
    min-height: min(78vh, 720px);
    display: grid;
    place-items: center;
    background: #0d1117;
    overflow: hidden;
}

.fb-gallery-modal__image {
    width: 100%;
    height: min(78vh, 720px);
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.fb-gallery-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    background-color: rgba(18, 24, 35, 0.75);
    border-radius: 50%;
}

.fb-gallery-nav {
    position: absolute;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(18, 24, 35, 0.7);
    color: #f2f6ff;
    font-size: 1.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    opacity: 1;
    text-shadow: none;
}

.fb-gallery-nav--prev {
    left: 14px;
}

.fb-gallery-nav--next {
    right: 14px;
}

.fb-gallery-nav[hidden] {
    display: none !important;
}

.facebook-card {
    border: 1px solid #d9e2f3;
    border-radius: 8px;
    background: #f6f9ff;
}

.facebook-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    background: #1877f2;
}

.facebook-page-thumb {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #d4dceb;
    flex: 0 0 auto;
}

.facebook-page-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .home-facebook-circle {
        width: 82px;
        height: 82px;
    }

    .fb-collage {
        aspect-ratio: 4 / 3;
        max-height: 360px;
    }

    .fb-dark-post__single-image {
        aspect-ratio: 4 / 3;
        max-height: 360px;
    }

}

.team-card {
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-card__image-wrap {
    aspect-ratio: 4 / 3;
    background: linear-gradient(140deg, #f2f5fb, #ebf0f8);
    display: grid;
    place-items: center;
}

.team-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: var(--ucc-maroon);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 700;
}

.team-card__body {
    padding: 14px;
}

.team-card__name {
    font-size: 1.05rem;
    font-weight: 700;
}

.team-card__role {
    color: var(--ucc-maroon);
    font-weight: 600;
    font-size: 0.9rem;
}

.team-chip {
    display: inline-block;
    border: 1px solid #d7deea;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 0.75rem;
    background: #f7f9fe;
    color: #42506a;
}

.org-chart-panel {
    border: 1px solid var(--cms-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
}

.org-chart-panel__head {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e7ecf4;
}

.org-chart-stack {
    display: grid;
    gap: 18px;
    margin: 24px 0;
}

.org-position-title {
    color: #37455e;
}

.org-tree {
    border: 1px solid #d8d0c5;
    border-radius: 8px;
    background: #f5f2ed;
    padding: 20px;
}

.org-tree__header {
    margin-bottom: 14px;
}

.org-tree--card_grid,
.org-tree--simple_list {
    background: #ffffff;
}

.org-tree__hierarchy {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.org-node-list,
.org-node-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.org-node-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.org-node {
    position: relative;
    min-width: 220px;
    flex: 0 0 auto;
    text-align: center;
    padding: 20px 10px 0 10px;
}

.org-node::before,
.org-node::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 20px;
    border-top: 2px solid #8da0bc;
}

.org-node::before {
    left: 0;
    border-right: 2px solid #8da0bc;
}

.org-node::after {
    right: 0;
    border-left: 2px solid #8da0bc;
}

.org-node:first-child::before,
.org-node:last-child::after {
    border: 0;
}

.org-node:only-child::before,
.org-node:only-child::after {
    display: none;
}

.org-node-list--root > .org-node {
    padding-top: 0;
}

.org-node-list--root > .org-node::before,
.org-node-list--root > .org-node::after {
    display: none;
}

.org-position-box {
    position: relative;
    border: 1px solid #8da0bc;
    border-radius: 8px;
    background: #f0d3a6;
    color: #2b3654;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.25;
    padding: 10px 12px;
    min-height: 44px;
    display: grid;
    place-items: center;
}

.org-node-list:not(.org-node-list--root) > .org-node > .org-position-box::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -20px;
    width: 2px;
    height: 20px;
    transform: translateX(-50%);
    background: #8da0bc;
}

.org-position-box__title {
    word-break: break-word;
}

.org-position-box__meta {
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #425376;
}

.org-position-people {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.org-person-card {
    width: 154px;
    border: 1px solid #8da0bc;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 8px;
    text-align: center;
}

.org-person-card__avatar-wrap {
    margin-bottom: 6px;
}

.org-person-card__avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #8da0bc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #25304c;
    font-weight: 700;
}

.org-person-card__avatar--placeholder {
    background: #eef2fa;
}

.org-person-card__name {
    font-size: 0.83rem;
    font-weight: 700;
    color: #1f2b45;
    line-height: 1.3;
}

.org-person-card__role {
    font-size: 0.73rem;
    color: #445678;
}

.org-person-card__meta {
    margin-top: 2px;
    font-size: 0.72rem;
    color: #5d6c87;
}

.org-person-card__bio {
    margin-top: 4px;
    font-size: 0.72rem;
    color: #5d6c87;
    line-height: 1.35;
}

.org-person-card__contact {
    margin-top: 6px;
    display: grid;
    gap: 2px;
    font-size: 0.7rem;
    color: #5d6c87;
}

.org-person-card__contact a {
    color: var(--ucc-maroon);
    text-decoration: none;
    font-weight: 700;
}

.org-node > .org-node-list {
    margin-top: 14px;
}

.org-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.org-chart-grid__position {
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px;
}

.org-chart-grid__position h3 {
    color: #1f2b45;
    font-size: 0.95rem;
    margin: 0 0 10px;
}

.org-chart-list {
    display: grid;
    gap: 8px;
}

.org-chart-list__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 12px;
    margin-left: calc(var(--depth, 0) * 18px);
}

.org-chart-list__row strong {
    color: #1f2b45;
}

.org-chart-list__row span {
    color: #52617a;
}

.navbar .dropdown-submenu {
    position: relative;
}

.navbar .submenu-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.navbar .submenu-caret {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1;
    transition: transform 0.15s ease;
}

.navbar .submenu-toggle[aria-expanded="true"] .submenu-caret {
    transform: rotate(180deg);
}

.navbar .dropdown-submenu > .dropdown-menu {
    position: static;
    float: none;
    border: 0;
    margin: 0.15rem 0 0.15rem 0.85rem;
    padding-left: 0.4rem;
    border-left: 2px solid #e2e8f0;
    box-shadow: none;
    min-width: 0;
}

.org-chart-modal .modal-content {
    border-radius: 8px;
    border: 1px solid #d9d0c4;
    background: #f5f2ed;
    position: relative;
}

.org-chart-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    padding: 0.55rem;
}

.org-chart-modal__body {
    max-height: 80vh;
    overflow: auto;
    background: #f5f2ed;
    padding-top: 50px;
}

.org-chart-modal__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.org-chart-modal__brand img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cfc3b4;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(25, 35, 52, 0.16);
}

.org-chart-modal__body .org-tree {
    margin: 0;
}

.page-content-modal .modal-content {
    border-radius: 8px;
    border: 1px solid #d8dee8;
    background: #ffffff;
    position: relative;
}

.page-content-modal .modal-header {
    border-bottom: 1px solid #dde5f0;
    background: #f7faff;
    padding: 0.85rem 1rem;
}

.page-content-modal .modal-title {
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0;
}

.page-content-modal__body {
    max-height: 82vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 18px 18px;
}

.page-content-modal__content article {
    max-width: 100%;
    margin: 0 auto;
}

.page-content-modal__content .content-body img {
    max-width: 100%;
    height: auto;
}

.broadsheet-front {
    background: #f2f2f2;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 16px 16px 20px;
    min-width: 0;
    overflow-x: clip;
}

.broadsheet-front__header {
    margin-bottom: 12px;
}

.broadsheet-front__cover {
    position: relative;
    border: 1px solid #b8b8b8;
    background: #d8d8d8;
    margin: 6px 0 10px;
    aspect-ratio: 16 / 5;
    overflow: hidden;
}

.broadsheet-front__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.broadsheet-front__cover-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dcdcdc, #c8c8c8);
}

.broadsheet-front__logo {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(12, 12, 12, 0.24);
}

.broadsheet-front__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.broadsheet-front__strapline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #242424;
}

.broadsheet-front__strapline span:nth-child(2) {
    text-align: center;
}

.broadsheet-front__strapline span:nth-child(3) {
    text-align: right;
}

.broadsheet-front__rule {
    border-top: 2px solid #3a3a3a;
    margin: 8px 0;
}

.broadsheet-front__rule--heavy {
    border-top-width: 3px;
    margin-top: 10px;
}

.broadsheet-front__name {
    margin: 4px 0 6px;
    font-size: clamp(2.7rem, 8vw, 6.1rem);
    line-height: 0.94;
    font-weight: 800;
    color: #0f0f0f;
    letter-spacing: 0;
}

.broadsheet-front__site-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f1f1f;
}

.broadsheet-front__deck {
    margin-bottom: 14px;
    color: #252525;
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 10px;
}

.broadsheet-front__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
}

.broadsheet-front__left {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.broadsheet-brief {
    padding-bottom: 6px;
    border-bottom: 1px solid #d0d0d0;
    min-width: 0;
}

.broadsheet-brief__accent {
    width: min(100%, 180px);
    height: 9px;
    background: var(--brief-accent, #bf3a2b);
    margin-bottom: 10px;
}

.broadsheet-brief__title {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.04;
    font-weight: 800;
    color: #131313;
    text-transform: uppercase;
}

.broadsheet-brief__meta {
    margin-top: 4px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #595959;
    letter-spacing: 0;
    text-transform: uppercase;
}

.broadsheet-brief__text {
    margin: 0;
    color: #242424;
    font-size: 1rem;
    line-height: 1.42;
    word-break: break-word;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.broadsheet-brief__text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.broadsheet-brief__text-wrap {
    margin-bottom: 8px;
}

.broadsheet-brief__more {
    border: 0;
    background: transparent;
    color: #4b4b4b;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
}

.broadsheet-brief__more:hover {
    color: #1d1d1d;
}

.broadsheet-brief__single-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 55 / 36;
    border: 1px solid #b8b8b8;
    border-radius: 0;
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
    min-height: 0;
    position: relative;
    display: block;
    isolation: isolate;
}

.broadsheet-brief__single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.broadsheet-brief__collage {
    margin-bottom: 0;
    max-height: 260px;
    aspect-ratio: 55 / 36;
    border-radius: 0;
    border: 1px solid #b8b8b8;
    background: #d3d3d8;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.broadsheet-front__right {
    min-width: 0;
}

.broadsheet-lead {
    min-width: 0;
    overflow: hidden;
}

.broadsheet-lead__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
    color: #5a5a5a;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.broadsheet-lead__title {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 3.7vw, 2.6rem);
    line-height: 1.05;
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
}

.broadsheet-lead__text {
    margin: 0;
    color: #242424;
    font-size: 1.02rem;
    line-height: 1.46;
    word-break: break-word;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.broadsheet-lead__text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.broadsheet-lead__text-wrap {
    margin-bottom: 10px;
}

.broadsheet-lead__more {
    border: 0;
    background: transparent;
    color: #424242;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
}

.broadsheet-lead__more:hover {
    color: #111111;
}

.broadsheet-lead__single-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 11 / 16;
    border: 1px solid #b8b8b8;
    border-radius: 0;
    overflow: hidden;
    background: #d0d0d5;
    min-width: 0;
    box-sizing: border-box;
    min-height: 0;
    position: relative;
    display: block;
    isolation: isolate;
}

.broadsheet-lead__single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.broadsheet-lead__collage {
    margin-bottom: 0;
    max-height: 760px;
    aspect-ratio: 11 / 16;
    border-radius: 0;
    border: 1px solid #b8b8b8;
    background: #d0d0d5;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.broadsheet-front .fb-collage__overlay {
    background: rgba(51, 51, 51, 0.45);
    color: #f8f8f8;
}

.broadsheet-front__empty {
    color: #4f4f4f;
    font-weight: 600;
    padding: 8px 2px 2px;
}

.admin-modal-shell {
    min-height: 100vh;
    padding: 18px;
    background: #f7f8fb;
}

.dashboard-content-modal .modal-dialog {
    max-width: min(1120px, calc(100vw - 24px));
}

.dashboard-content-modal .modal-content {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.dashboard-content-modal .modal-header {
    padding: 14px 18px;
}

.dashboard-content-modal__frame {
    display: block;
    width: 100%;
    height: min(78vh, 820px);
    border: 0;
    background: #f7f8fb;
}

.board-trustees-modal .modal-dialog {
    max-width: min(1080px, calc(100vw - 24px));
}

.trustees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.trustee-card {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    min-height: 100%;
}

.trustee-card__media {
    aspect-ratio: 2 / 3;
    background: #eef2f7;
    overflow: hidden;
}

.trustee-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 14%;
    display: block;
    transition: transform 0.24s ease;
}

.trustee-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #334155;
}

.trustee-card__content {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trustee-card__content h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    color: #0f172a;
}

.trustee-card__content h3 span {
    display: block;
    font-size: 0.83rem;
    font-weight: 500;
    color: #475569;
}

.trustee-card__content p {
    margin: 0;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.4;
}

.trustee-card:hover .trustee-card__media img,
.trustee-card:focus-within .trustee-card__media img {
    transform: scale(1.04);
}

@media (max-width: 767.98px) {
    .org-tree {
        padding: 14px;
    }

    .org-node {
        min-width: 186px;
        padding: 16px 6px 0 6px;
    }

    .org-node::before,
    .org-node::after {
        height: 16px;
    }

    .org-node-list:not(.org-node-list--root) > .org-node > .org-position-box::before {
        top: -16px;
        height: 16px;
    }

    .org-person-card {
        width: 138px;
    }

    .page-content-modal__body {
        padding: 48px 10px 12px;
    }

    .broadsheet-front {
        padding: 12px 10px 14px;
    }

    .broadsheet-front__cover {
        aspect-ratio: 16 / 7;
    }

    .broadsheet-front__logo {
        width: 62px;
        height: 62px;
        left: 10px;
        bottom: 10px;
    }

    .broadsheet-front__strapline {
        grid-template-columns: minmax(0, 1fr);
        font-size: 0.83rem;
    }

    .broadsheet-front__strapline span:nth-child(2),
    .broadsheet-front__strapline span:nth-child(3) {
        text-align: left;
    }

    .broadsheet-front__site-row {
        font-size: 0.84rem;
    }

    .broadsheet-front__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .broadsheet-brief__single-image {
        width: 100%;
    }

    .admin-modal-shell {
        padding: 12px;
    }

    .dashboard-content-modal .modal-dialog {
        max-width: calc(100vw - 12px);
        margin: 6px auto;
    }

    .dashboard-content-modal__frame {
        height: 82vh;
    }

    .board-trustees-modal .modal-dialog {
        max-width: calc(100vw - 12px);
        margin: 6px auto;
    }

    .trustees-grid {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: 10px;
    }
}

.content-block--leadership-profile {
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
    padding: 18px;
}

.leadership-page-title {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    line-height: 1.2;
    font-weight: 700;
}

.content-block--leadership-profile .profile-card {
    border: 1px solid #e1e8f3;
    border-radius: 10px;
    overflow: hidden;
}

.content-block--leadership-profile .profile-card .card-img-top {
    background: #eef3f9;
}

.content-block--leadership-profile .profile-card .card-title {
    color: #0f172a;
    font-size: 1.02rem;
}

.content-block--leadership-profile .profile-card .btn {
    border-radius: 999px;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

.content-block--leadership-profile .profile-card .btn.btn-primary {
    --bs-btn-bg: #0f4c81;
    --bs-btn-border-color: #0f4c81;
    --bs-btn-hover-bg: #0c3f6b;
    --bs-btn-hover-border-color: #0c3f6b;
    --bs-btn-active-bg: #093558;
    --bs-btn-active-border-color: #093558;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    box-shadow: 0 2px 10px rgba(12, 63, 107, 0.28);
}

.content-block--leadership-profile .profile-modal-content p:last-child {
    margin-bottom: 0;
}

.content-block--leadership-profile .profile-inline-content,
.page-content-modal__content .profile-inline-content {
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.45;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.content-block--leadership-profile .profile-inline-content.is-expanded,
.page-content-modal__content .profile-inline-content.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.content-block--leadership-profile .profile-inline-more,
.page-content-modal__content .profile-inline-more {
    border: 0;
    background: transparent;
    color: #0f4c81;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0.35rem;
    cursor: pointer;
}

.content-block--leadership-profile .profile-inline-more:hover,
.page-content-modal__content .profile-inline-more:hover {
    color: #0b3f6d;
    text-decoration: underline;
}

.content-block--leadership-profile .profile-links ul {
    display: grid;
    gap: 0.3rem;
}

.content-block--leadership-profile .profile-links__item {
    display: block;
}

.content-block--leadership-profile .profile-links__anchor {
    display: inline-block;
    max-width: 100%;
    background: #eef4ff;
    border: 1px solid #d2e1fb;
    border-radius: 6px;
    padding: 0.3rem 0.55rem;
    color: #0f4c81 !important;
    font-size: 0.9rem;
    line-height: 1.35;
    text-decoration: underline;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.content-block--leadership-profile .profile-links__anchor:hover {
    background: #e3eeff;
    color: #0b3f6d !important;
}

.content-block--timeline-page {
    border: 1px solid rgba(122, 16, 37, 0.16);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(122, 16, 37, 0.045) 0 12%, transparent 12% 100%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
    padding: clamp(18px, 3vw, 34px);
}

.timeline-page-title {
    margin: 0 0 12px;
    color: #1c2435;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    line-height: 1.12;
    font-weight: 800;
}

.timeline {
    --timeline-accent: var(--page-accent, #0f4c81);
    --timeline-warm: var(--ucc-maroon, #7a1025);
    --timeline-gold: var(--ucc-gold, #f0c24f);
    counter-reset: timeline-step;
    position: relative;
    display: grid;
    gap: 0;
    margin: 1.5rem auto 0;
    max-width: 1060px;
    overflow: hidden;
    border: 1px solid rgba(31, 59, 99, 0.18);
    border-radius: 16px;
    background:
        linear-gradient(90deg, rgba(31, 59, 99, 0.06) 0 64px, transparent 64px),
        repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 72px),
        #ffffff;
    box-shadow:
        inset 6px 0 0 var(--timeline-warm),
        inset 11px 0 0 var(--timeline-gold),
        0 18px 45px rgba(15, 23, 42, 0.08);
    isolation: isolate;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 38px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--timeline-warm), var(--timeline-accent));
    opacity: 0.7;
    z-index: 1;
}

.timeline__item {
    counter-increment: timeline-step;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(230px, 0.8fr);
    gap: 0;
    min-height: 206px;
    border-bottom: 1px solid rgba(31, 59, 99, 0.12);
    outline: none;
    background: rgba(255, 255, 255, 0.74);
    transition: grid-template-columns 0.32s ease, min-height 0.32s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    z-index: 2;
}

.timeline__item:last-child {
    border-bottom: 0;
}

.timeline__item--text-only,
.timeline__item--text-only:hover,
.timeline__item--text-only:focus-visible,
.timeline__item--text-only:focus-within {
    grid-template-columns: 1fr;
}

.timeline__item::before {
    content: counter(timeline-step, decimal-leading-zero);
    position: absolute;
    left: 38px;
    top: 28px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background:
        linear-gradient(135deg, var(--timeline-warm), var(--timeline-accent));
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    box-shadow:
        0 0 0 3px rgba(240, 194, 79, 0.65),
        0 12px 22px rgba(15, 23, 42, 0.18);
    transform: translateX(-50%);
    z-index: 4;
}

.timeline__item:hover,
.timeline__item:focus-visible,
.timeline__item:focus-within {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.96fr);
    min-height: 292px;
    background:
        linear-gradient(135deg, rgba(240, 194, 79, 0.16), transparent 42%),
        #fbfdff;
    box-shadow:
        inset 0 0 0 999px rgba(31, 59, 99, 0.018),
        0 20px 34px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

.timeline__content,
.timeline__media {
    min-width: 0;
    transition: transform 0.28s ease;
}

.timeline__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px) clamp(66px, 7vw, 88px);
}

.timeline h1 {
    margin: 0 0 0.45rem;
    color: #172036;
    font-size: clamp(1.22rem, 2.3vw, 1.72rem);
    font-style: normal;
    line-height: 1.16;
    font-weight: 800;
    text-transform: none;
}

.timeline time {
    display: inline-flex;
    width: fit-content;
    border: 1px solid rgba(122, 16, 37, 0.18);
    border-radius: 999px;
    background: rgba(240, 194, 79, 0.18);
    color: var(--timeline-warm);
    font-size: clamp(1.05rem, 2vw, 1.5rem);
    font-weight: 800;
    line-height: 1.1;
    padding: 0.32rem 0.7rem;
}

.timeline hr {
    width: min(100%, 92px);
    border-top: 3px solid var(--timeline-gold);
    margin: 0.95rem 0;
    opacity: 0.8;
}

.timeline p {
    margin: 0;
    font-size: 1rem;
    color: #1f2937;
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    transition: color 0.22s ease;
}

.timeline__item:hover p,
.timeline__item:focus-visible p,
.timeline__item:focus-within p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    color: #0f172a;
}

.timeline__media {
    position: relative;
    overflow: hidden;
    min-height: 206px;
    background:
        linear-gradient(135deg, rgba(122, 16, 37, 0.12), rgba(31, 59, 99, 0.10)),
        #e8eef6;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
}

.timeline__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.20), transparent 45%),
        linear-gradient(180deg, transparent 68%, rgba(15, 23, 42, 0.22));
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.timeline img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 206px;
    object-fit: cover;
    transition: transform 0.36s ease, filter 0.28s ease;
}

.timeline__item:hover .timeline__content,
.timeline__item:focus-visible .timeline__content,
.timeline__item:focus-within .timeline__content {
    transform: translateX(6px);
}

.timeline__item:hover img,
.timeline__item:focus-visible img,
.timeline__item:focus-within img {
    transform: scale(1.1);
    filter: saturate(1.1) contrast(1.04);
}

.timeline__item:hover .timeline__media::after,
.timeline__item:focus-visible .timeline__media::after,
.timeline__item:focus-within .timeline__media::after {
    opacity: 0.34;
}

@media (max-width: 768px) {
    .timeline {
        background:
            linear-gradient(90deg, rgba(31, 59, 99, 0.06) 0 52px, transparent 52px),
            repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 72px),
            #ffffff;
        box-shadow:
            inset 5px 0 0 var(--timeline-warm),
            inset 9px 0 0 var(--timeline-gold);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline__item,
    .timeline__item:hover,
    .timeline__item:focus-visible,
    .timeline__item:focus-within {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .timeline__item::before {
        left: 30px;
        top: 22px;
        width: 32px;
        height: 32px;
        font-size: 0.62rem;
    }

    .timeline__content {
        padding: 20px 18px 16px 58px;
    }

    .timeline__media {
        clip-path: none;
        min-height: 210px;
    }

    .timeline img {
        min-height: 210px;
    }

    .timeline__item:hover .timeline__content,
    .timeline__item:focus-visible .timeline__content,
    .timeline__item:focus-within .timeline__content {
        transform: none;
    }
}

/* Timeline page: sample-inspired event cards with animated connectors. */
.content-block--timeline-page {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.content-block--timeline-page .content-body {
    background: transparent;
}

.timeline-page-title--left {
    text-align: left;
}

.timeline-page-title--center {
    text-align: center;
}

.timeline-page-title--right {
    text-align: right;
}

.timeline {
    --event-dark: var(--ucc-maroon, #7a1025);
    --event-light: #f3d27a;
    --event-soft: rgba(122, 16, 37, 0.08);
    --event-shadow: rgba(50, 50, 93, 0.20);
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1060px;
    margin: 1.75rem auto 0;
    padding: 10px 0 18px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

.timeline::before {
    display: none;
}

.timeline__event {
    position: relative;
    display: flex;
    align-items: stretch;
    width: min(100%, 940px);
    margin: 20px auto;
    border-radius: 8px;
    outline: none;
    animation: timelineFadeInUp 0.62s ease both;
    animation-delay: var(--timeline-delay, 0ms);
    transition: width 0.3s ease, transform 0.24s ease;
}

.timeline__event:nth-child(2n + 1) {
    flex-direction: row-reverse;
}

.timeline__event--type1 {
    --event-dark: var(--ucc-maroon, #7a1025);
    --event-light: #f0c24f;
    --event-soft: rgba(240, 194, 79, 0.18);
    --event-shadow: rgba(122, 16, 37, 0.18);
}

.timeline__event--type2 {
    --event-dark: #245c91;
    --event-light: #a8d8ff;
    --event-soft: rgba(36, 92, 145, 0.10);
    --event-shadow: rgba(36, 92, 145, 0.18);
}

.timeline__event--type3 {
    --event-dark: #23745a;
    --event-light: #b9e7c7;
    --event-soft: rgba(35, 116, 90, 0.10);
    --event-shadow: rgba(35, 116, 90, 0.18);
}

.timeline__event:hover,
.timeline__event:focus-visible,
.timeline__event:focus-within {
    width: min(100%, 1020px);
    transform: translateY(-4px);
}

.timeline .timeline__event__date {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 150px;
    padding: 18px 20px;
    border-radius: 8px 0 0 8px;
    background: var(--event-dark);
    color: var(--event-light);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 24px 44px -24px var(--event-shadow);
}

.timeline .timeline__event:nth-child(2n + 1) .timeline__event__date {
    border-radius: 0 8px 8px 0;
}

.timeline__event__icon {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 82px;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 82px;
    height: 82px;
    margin: 0 20px;
    border-radius: 999px;
    background: var(--event-light);
    color: var(--event-dark);
    box-shadow:
        0 28px 52px -22px var(--event-shadow),
        0 0 0 8px rgba(255, 255, 255, 0.86);
}

.timeline__event__icon span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 2px solid currentColor;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 900;
}

.timeline__event__icon::before,
.timeline__event__icon::after {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--event-light);
    transform-origin: center;
}

.timeline__event__icon::before {
    top: 50%;
    left: 50%;
    width: 2px;
    height: calc(100% + 72px);
    transform: translate(-50%, -50%) scaleY(0);
    animation: timelineFillTop 0.9s ease forwards;
    animation-delay: calc(var(--timeline-delay, 0ms) + 240ms);
}

.timeline__event__icon::after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%) scaleX(0);
    animation: timelineFillRight 0.75s ease forwards;
    animation-delay: calc(var(--timeline-delay, 0ms) + 420ms);
}

.timeline__event:nth-child(2n + 1) .timeline__event__icon::after {
    transform-origin: right center;
}

.timeline__event:last-child .timeline__event__icon::before {
    height: 50%;
    top: 0;
}

.timeline__event__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 190px);
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    background:
        linear-gradient(135deg, var(--event-soft), transparent 48%),
        #ffffff;
    box-shadow:
        0 28px 58px -20px var(--event-shadow),
        0 16px 34px -24px rgba(0, 0, 0, 0.28);
    transition: grid-template-columns 0.3s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.timeline__event:nth-child(2n + 1) .timeline__event__content {
    border-radius: 8px 0 0 8px;
}

.timeline__event--text-only .timeline__event__content {
    grid-template-columns: 1fr;
}

.timeline__event:hover .timeline__event__content,
.timeline__event:focus-visible .timeline__event__content,
.timeline__event:focus-within .timeline__event__content {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
    box-shadow:
        0 34px 70px -24px var(--event-shadow),
        0 20px 42px -28px rgba(0, 0, 0, 0.32);
    transform: translateY(-2px);
}

.timeline__event__title {
    margin-bottom: 8px;
    color: var(--event-dark);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
    font-weight: 900;
    line-height: 1.22;
    text-transform: uppercase;
}

.timeline__event__description {
    color: #344054;
}

.timeline__event__description p {
    margin: 0;
    color: inherit;
    font-size: 0.98rem;
    line-height: 1.58;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.timeline__event:hover .timeline__event__description p,
.timeline__event:focus-visible .timeline__event__description p,
.timeline__event:focus-within .timeline__event__description p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.timeline__event__media {
    position: relative;
    align-self: stretch;
    min-height: 118px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    background: #e8eef6;
    transition: min-height 0.3s ease;
}

.timeline__event:hover .timeline__event__media,
.timeline__event:focus-visible .timeline__event__media,
.timeline__event:focus-within .timeline__event__media {
    min-height: 210px;
}

.timeline__event__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.24));
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.timeline__event:hover .timeline__event__media::after,
.timeline__event:focus-visible .timeline__event__media::after,
.timeline__event:focus-within .timeline__event__media::after {
    opacity: 0.18;
}

.timeline__event__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 118px;
    object-fit: cover;
    transition: transform 0.34s ease, filter 0.25s ease;
}

.timeline__event:hover .timeline__event__media img,
.timeline__event:focus-visible .timeline__event__media img,
.timeline__event:focus-within .timeline__event__media img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.03);
}

@keyframes timelineFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes timelineFillTop {
    to {
        transform: translate(-50%, -50%) scaleY(1);
    }
}

@keyframes timelineFillRight {
    to {
        transform: translateY(-50%) scaleX(1);
    }
}

@media (max-width: 786px) {
    .timeline {
        margin-top: 1.25rem;
        padding-inline: 0;
    }

    .timeline__event,
    .timeline__event:nth-child(2n + 1),
    .timeline__event:hover,
    .timeline__event:focus-visible,
    .timeline__event:focus-within {
        flex-direction: column;
        width: 100%;
        margin: 16px 0;
        transform: none;
    }

    .timeline__event__icon {
        width: 100%;
        height: 58px;
        flex-basis: auto;
        margin: 0;
        border-radius: 8px 8px 0 0;
        box-shadow: none;
    }

    .timeline__event__icon::before,
    .timeline__event__icon::after {
        display: none;
    }

    .timeline__event__icon span {
        width: 38px;
        height: 38px;
        font-size: 0.78rem;
    }

    .timeline .timeline__event__date,
    .timeline .timeline__event:nth-child(2n + 1) .timeline__event__date {
        min-width: 0;
        border-radius: 0;
        padding: 14px 16px;
        white-space: normal;
    }

    .timeline__event__content,
    .timeline__event:nth-child(2n + 1) .timeline__event__content,
    .timeline__event:hover .timeline__event__content,
    .timeline__event:focus-visible .timeline__event__content,
    .timeline__event:focus-within .timeline__event__content {
        grid-template-columns: 1fr;
        border-radius: 0 0 8px 8px;
        padding: 18px;
        transform: none;
    }

    .timeline__event__media,
    .timeline__event:hover .timeline__event__media,
    .timeline__event:focus-visible .timeline__event__media,
    .timeline__event:focus-within .timeline__event__media {
        min-height: 210px;
    }
}

.support-page__hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.32), transparent 28%),
        linear-gradient(135deg, #17365f 0%, #0f766e 100%);
    color: #fff;
    box-shadow: 0 20px 45px rgba(23, 54, 95, 0.18);
}

.support-page__hero .lead,
.support-page__hero .small {
    color: rgba(255, 255, 255, 0.78);
}

.support-page__notice {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    padding: 1rem;
}

.support-form {
    border: 1px solid #dbe6f4;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(23, 54, 95, 0.08);
}

.support-method-card {
    align-items: flex-start;
    border: 1px solid #dbe6f4;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    gap: 0.85rem;
    height: 100%;
    padding: 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.support-method-card:hover,
.support-method-card:has(input:checked) {
    border-color: #0f766e;
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.13);
    transform: translateY(-1px);
}

.support-method-card input {
    margin-top: 0.22rem;
}

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

.support-method-card small {
    color: #64748b;
    margin-top: 0.25rem;
}

.institutional-outline-template {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 3rem);
    text-align: var(--page-text-align, left);
}

.institutional-outline-template__header {
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
    padding-left: clamp(1rem, 2vw, 1.5rem);
    border-left: 5px solid var(--page-accent, #1f3b63);
}

.institutional-outline-template__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.institutional-outline-template__header h1 {
    margin-bottom: 0;
    color: var(--page-text, #1f2937);
    font-size: var(--page-header-font-size, clamp(2rem, 5vw, 4.15rem));
    line-height: 0.98;
}

.institutional-outline-template__logo {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(31, 59, 99, 0.18);
    background: #fff;
}

.institutional-outline-template__cover-wrap {
    margin: 1.35rem 0 0;
    overflow: hidden;
    border-radius: 20px;
    max-width: 820px;
}

.institutional-outline-template__cover {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.institutional-outline-template__summary {
    max-width: 820px;
    margin-top: 1.25rem;
    color: var(--page-text, #1f2937);
}

.institutional-outline-template__items {
    display: grid;
    gap: 1.35rem;
}

.institutional-outline-template__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(31, 59, 99, 0.14);
    background: transparent;
    box-shadow: none;
}

.institutional-outline-template__item:last-child {
    border-bottom: 0;
}

.institutional-outline-template__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    color: var(--page-accent, #1f3b63);
    background: color-mix(in srgb, var(--page-accent, #1f3b63) 10%, #ffffff);
    font-size: 1.1rem;
}

.institutional-outline-template__item h2 {
    margin-bottom: 0.55rem;
    color: var(--page-accent, #1f3b63);
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
    font-weight: 800;
    text-align: var(--page-text-align, left);
}

.institutional-outline-template__content {
    max-width: 850px;
    color: var(--page-text, #1f2937);
    line-height: 1.78;
    text-align: var(--page-text-align, left);
}

.institutional-outline-template--modal {
    padding: 0;
}

.institutional-page--align-center .institutional-outline-template__header {
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 5px solid var(--page-accent, #1f3b63);
}

.institutional-page--align-center .institutional-outline-template__identity {
    justify-content: center;
}

.institutional-page--align-center .institutional-outline-template__cover-wrap,
.institutional-page--align-center .institutional-outline-template__summary,
.institutional-page--align-center .institutional-outline-template__content {
    margin-left: auto;
    margin-right: auto;
}

.institutional-page--align-center .institutional-outline-template__item {
    display: block;
}

.institutional-page--align-center .institutional-outline-template__item-icon {
    margin: 0 auto 0.75rem;
}

.institutional-page--align-right .institutional-outline-template__header {
    padding-left: 0;
    padding-right: clamp(1rem, 2vw, 1.5rem);
    border-left: 0;
    border-right: 5px solid var(--page-accent, #1f3b63);
}

.institutional-page--align-right .institutional-outline-template__identity {
    justify-content: flex-end;
}

.institutional-page--align-right .institutional-outline-template__cover-wrap,
.institutional-page--align-right .institutional-outline-template__summary,
.institutional-page--align-right .institutional-outline-template__content {
    margin-left: auto;
}

.institutional-page--align-right .institutional-outline-template__item {
    display: block;
}

.institutional-page--align-right .institutional-outline-template__item-icon {
    margin: 0 0 0.75rem auto;
}

.image-viewer-template {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 3rem);
    box-sizing: border-box;
}

.image-viewer-template--modal {
    padding: 0;
}

.image-viewer-template__header {
    margin-bottom: 1rem;
    text-align: var(--page-text-align, left);
}

.image-viewer-template__header h1 {
    margin-bottom: 0;
    color: var(--page-text, #1f2937);
    font-size: var(--page-header-font-size, clamp(2rem, 5vw, 4rem));
    font-weight: 800;
    letter-spacing: -0.04em;
}

.image-viewer-template__intro {
    max-width: 860px;
    margin-bottom: 1.25rem;
    color: var(--page-text, #1f2937);
    text-align: var(--page-text-align, left);
}

.image-viewer-template__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.image-viewer-template__frame {
    width: 100%;
    height: min(64vh, 680px);
    min-height: 460px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(31, 59, 99, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9)),
        radial-gradient(circle at top left, color-mix(in srgb, var(--page-accent, #1f3b63) 14%, transparent), transparent 36%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    padding: clamp(1rem, 2vw, 1.5rem);
    box-sizing: border-box;
    cursor: grab;
    text-align: center;
    touch-action: none;
    user-select: none;
}

.image-viewer-template__frame.is-dragging {
    cursor: grabbing;
}

.image-viewer-template__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    cursor: inherit;
    transform: translate3d(var(--zoom-x, 0px), var(--zoom-y, 0px), 0) scale(var(--zoom-scale, 1));
    transform-origin: center center;
    transition: transform 0.18s ease;
    user-select: none;
    will-change: transform;
    -webkit-user-drag: none;
}

.image-viewer-template__frame.is-dragging .image-viewer-template__image {
    transition: none;
}

.image-viewer-template__empty {
    border: 1px dashed rgba(100, 116, 139, 0.45);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.78);
    padding: 1.25rem;
    text-align: center;
}

@media (max-width: 768px) {
    .institutional-outline-template {
        padding: 1rem;
    }

    .institutional-outline-template__identity {
        align-items: flex-start;
    }

    .institutional-outline-template__item {
        grid-template-columns: 1fr;
    }

    .image-viewer-template {
        padding: 1rem;
    }

    .image-viewer-template__frame {
        height: min(62vh, 520px);
        min-height: 320px;
        border-radius: 14px;
    }
}
