:root {
    --color-ink: #163047;
    --color-ink-soft: #38566f;
    --color-brand: #1f5f78;
    --color-brand-deep: #12384d;
    --color-accent: #d8a75d;
    --color-surface: #f6f2e9;
    --color-surface-alt: #eef4f7;
    --color-border: rgba(22, 48, 71, 0.12);
    --color-white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(17, 39, 57, 0.08);
    --shadow-shell: 0 24px 56px rgba(17, 39, 57, 0.09);
    --radius-lg: 28px;
    --radius-md: 20px;
}

html {
    font-size: 93.75%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base, 'Sarabun', sans-serif);
    font-size: calc(1rem * var(--font-scale-body, 1));
    color: var(--color-ink);
    background:
        radial-gradient(circle at top left, rgba(216, 167, 93, 0.18), transparent 28%),
        linear-gradient(180deg, #fdfcf9 0%, #f4f7f8 100%);
}

a {
    text-decoration: none;
}

.navbar {
    position: relative;
    z-index: 1030;
    background: var(--header-background, rgba(18, 56, 77, 0.92));
    backdrop-filter: blur(14px);
}

.brand-seal {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-accent), #f2d19a);
    color: var(--color-brand-deep);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.brand-seal--compact {
    width: 2.5rem;
    height: 2.5rem;
    flex-basis: 2.5rem;
}

.brand-seal--standard {
    width: 3rem;
    height: 3rem;
    flex-basis: 3rem;
}

.brand-seal--wide {
    width: 3.7rem;
    height: 3.7rem;
    flex-basis: 3.7rem;
}

.brand-logo-mark {
    overflow: hidden;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 56, 77, 0.08);
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: inherit;
    padding: 0.26rem;
    background: rgba(255, 255, 255, 0.98);
}

.brand-seal--compact .brand-logo-image {
    padding: 0.2rem;
}

.brand-seal--wide .brand-logo-image {
    padding: 0.3rem;
}

.brand-title {
    font-size: calc(1rem * var(--font-scale-heading, 1));
    font-weight: 700;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: calc(0.78rem * var(--font-scale-body, 1));
    color: rgba(255, 255, 255, 0.72);
}

.brand-context {
    font-size: calc(0.7rem * var(--font-scale-body, 1));
    line-height: 1.3;
    opacity: 0.72;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: calc(1rem * var(--font-scale-menu, 1));
    font-weight: 500;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.45rem;
    vertical-align: 0.15em;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: #fff;
}

.navbar .dropdown-menu {
    z-index: 1035;
    margin-top: 0.85rem;
    min-width: 17rem;
    padding: 0.6rem;
    border: 1px solid rgba(31, 95, 120, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(17, 39, 57, 0.16);
}

.navbar .dropdown-item {
    padding: 0.65rem 0.8rem;
    border-radius: 0.75rem;
    color: var(--color-brand-deep);
    font-size: calc(1rem * var(--font-scale-menu, 1));
    font-weight: 500;
    white-space: normal;
    line-height: 1.45;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:active {
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand);
}

.navbar-admin-cta {
    flex-shrink: 0;
}

.navbar-search-form {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: min(100%, 18rem);
    margin-left: auto;
}

.navbar-search-input {
    min-height: 2.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: calc(0.92rem * var(--font-scale-menu, 1));
}

.navbar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.navbar-search-input:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.36);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.08);
}

.navbar-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border: 1px solid rgba(216, 167, 93, 0.42);
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-accent), #f2d19a);
    color: var(--color-brand-deep);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.navbar-search-button:hover,
.navbar-search-button:focus {
    background: linear-gradient(145deg, #efc97f, #f5dba8);
    color: var(--color-brand-deep);
    border-color: rgba(216, 167, 93, 0.58);
}

.nav-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(216, 167, 93, 0.42);
    border-radius: 999px;
    background: linear-gradient(145deg, var(--color-accent), #f2d19a);
    color: var(--color-brand-deep);
    font-size: calc(0.92rem * var(--font-scale-menu, 1));
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.nav-admin-link:hover,
.nav-admin-link:focus {
    background: linear-gradient(145deg, #efc97f, #f5dba8);
    color: var(--color-brand-deep);
    border-color: rgba(216, 167, 93, 0.58);
}

.header-marquee {
    position: relative;
    z-index: 1010;
    margin-top: -0.12rem;
    padding: 0.6rem 0 0.8rem;
    background:
        linear-gradient(180deg, rgba(18, 56, 77, 0.14), rgba(255, 255, 255, 0)),
        radial-gradient(circle at center top, rgba(216, 167, 93, 0.14), transparent 62%);
}

.header-marquee-shell {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.1rem;
    align-items: center;
    padding: 0.72rem 1.05rem;
    border: 1px solid rgba(31, 95, 120, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 250, 0.96)),
        linear-gradient(90deg, rgba(31, 95, 120, 0.04), transparent 24%);
    box-shadow:
        0 18px 34px rgba(17, 39, 57, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.header-marquee-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(216, 167, 93, 0.12), transparent 24%, transparent 76%, rgba(31, 95, 120, 0.08));
    pointer-events: none;
}

.header-marquee-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.58rem 1rem;
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(216, 167, 93, 0.96), #f2d19a);
    color: var(--color-brand-deep);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 10px 18px rgba(216, 167, 93, 0.2);
}

.header-marquee-ticker {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-width: 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.header-marquee-track {
    --marquee-gap: 2.25rem;
    --header-marquee-duration: 22s;
    --header-marquee-shift: -240px;
    display: inline-flex;
    align-items: center;
    gap: var(--marquee-gap);
    min-width: max-content;
    will-change: transform;
    animation: header-marquee-scroll var(--header-marquee-duration) linear infinite;
}

.header-marquee-track.is-direction-right {
    animation-name: header-marquee-scroll-right;
}

.header-marquee-shell:focus-within .header-marquee-track {
    animation-play-state: paused;
}

.header-marquee-group {
    display: inline-flex;
    align-items: center;
    gap: 1.15rem;
    flex-shrink: 0;
    min-width: max-content;
}

.header-marquee-message {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-brand-deep);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
}

.header-marquee-message::after {
    content: '';
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 0.28rem rgba(216, 167, 93, 0.16);
}

.header-marquee-link {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.46rem 0.86rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 95, 120, 0.1);
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-marquee-link:hover,
.header-marquee-link:focus {
    background: rgba(31, 95, 120, 0.14);
    border-color: rgba(31, 95, 120, 0.22);
    color: var(--color-brand-deep);
    transform: translateY(-1px);
}

@keyframes header-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(var(--header-marquee-shift), 0, 0);
    }
}

@keyframes header-marquee-scroll-right {
    from {
        transform: translate3d(var(--header-marquee-shift), 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-marquee-track {
        animation-duration: 32s;
    }
}

@media (min-width: 1400px) {
    .navbar-collapse {
        gap: 0.75rem;
    }

    .navbar-menu-links {
        flex-wrap: nowrap;
        gap: 0.2rem !important;
    }

    .navbar .nav-link {
        padding-inline: 0.55rem;
        font-size: calc(0.93rem * var(--font-scale-menu, 1));
        white-space: nowrap;
    }

    .navbar .dropdown-menu {
        margin-top: 1rem;
    }

    .brand-title {
        font-size: calc(0.96rem * var(--font-scale-heading, 1));
    }

    .navbar-admin-cta {
        margin-left: 0.35rem;
    }

    .navbar-search-form {
        min-width: 15rem;
        margin-left: 0.2rem;
    }

    .nav-admin-link {
        padding: 0.62rem 0.9rem;
        font-size: calc(0.92rem * var(--font-scale-menu, 1));
    }
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
    .brand-subtitle {
        display: none;
    }
}

@media (max-width: 1399.98px) {
    .navbar .dropdown-menu {
        margin-top: 0.35rem;
        min-width: 100%;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }

    .navbar .dropdown-item {
        color: rgba(255, 255, 255, 0.88);
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus,
    .navbar .dropdown-item:active {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .navbar-admin-cta {
        margin-top: 0.85rem;
    }

    .navbar-search-form {
        width: 100%;
        margin-top: 0.85rem;
        margin-left: 0;
    }

    .navbar-search-input {
        width: 100%;
    }

    .nav-admin-link {
        width: 100%;
    }

    .header-marquee-shell {
        grid-template-columns: 1fr;
        border-radius: 1.35rem;
        padding: 0.85rem 0.95rem;
    }

    .header-marquee-label {
        justify-self: start;
    }
}

.hero-section {
    position: relative;
    padding: 4.5rem 0 3rem;
    overflow: hidden;
}

.homepage-hero-section {
    padding-top: 1.6rem;
}

.homepage-main .section-block {
    padding-top: 1.6rem !important;
}

.homepage-main .news-section,
.homepage-main .personnel-preview-section {
    padding-top: 2.2rem !important;
}

.hero-section > .container,
.section-block > .container {
    position: relative;
    padding: clamp(1.35rem, 2vw, 2.1rem);
    border: 1px solid rgba(22, 48, 71, 0.08);
    border-radius: calc(var(--radius-lg) + 4px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.92) 100%),
        radial-gradient(circle at top right, rgba(216, 167, 93, 0.12), transparent 28%);
    box-shadow: var(--shadow-shell);
    backdrop-filter: blur(10px);
}

.hero-section > .container {
    overflow: hidden;
}

.hero-section:not(.public-subpage-hero-section) > .container {
    border-color: rgba(216, 167, 93, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.78) 0%, rgba(255, 255, 255, 0.9) 100%),
        radial-gradient(circle at top right, rgba(216, 167, 93, 0.2), transparent 30%),
        radial-gradient(circle at bottom left, rgba(31, 95, 120, 0.08), transparent 24%);
}

.hero-section:not(.public-subpage-hero-section) > .container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%);
    pointer-events: none;
}

.public-subpage-header .hero-section > .container,
.news-archive-header .hero-section > .container,
.ita-page-header .hero-section > .container,
.personnel-page-header .hero-section > .container {
    border-color: rgba(18, 56, 77, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 250, 251, 0.98) 100%),
        linear-gradient(90deg, rgba(31, 95, 120, 0.06), transparent 18%);
    box-shadow: 0 28px 60px rgba(18, 56, 77, 0.1);
}

.public-subpage-header .hero-section > .container::before,
.news-archive-header .hero-section > .container::before,
.ita-page-header .hero-section > .container::before,
.personnel-page-header .hero-section > .container::before {
    content: '';
    position: absolute;
    inset: 1rem auto 1rem 1rem;
    width: 0.4rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-brand), rgba(216, 167, 93, 0.92));
    pointer-events: none;
}

.content-engagement-section > .container {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
}

.news-detail-section > .container,
.news-archive-section > .container,
.public-content-section > .container,
.personnel-directory-section > .container {
    border-color: rgba(18, 56, 77, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 251, 252, 0.99) 100%),
        linear-gradient(90deg, rgba(31, 95, 120, 0.04), transparent 16%);
    box-shadow: 0 26px 60px rgba(18, 56, 77, 0.09);
}

.news-detail-section > .container::before,
.news-archive-section > .container::before,
.public-content-section > .container::before,
.personnel-directory-section > .container::before {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0.95rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(31, 95, 120, 0.22), rgba(216, 167, 93, 0.18), transparent 70%);
    pointer-events: none;
}

.quick-links-section > .container,
.homepage-events-section > .container,
.homepage-systems-section > .container,
.news-section > .container,
.personnel-preview-section > .container {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.92) 100%),
        radial-gradient(circle at top left, rgba(216, 167, 93, 0.12), transparent 26%);
}

.quick-links-section > .container,
.homepage-events-section > .container,
.homepage-systems-section > .container,
.news-section > .container,
.personnel-preview-section > .container {
    transform: translateY(-0.2rem);
}

.quick-links-section > .container {
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.96) 0%, rgba(255, 255, 255, 0.94) 100%),
        radial-gradient(circle at top left, rgba(216, 167, 93, 0.18), transparent 28%);
}

.homepage-events-section > .container,
.personnel-preview-section > .container {
    background:
        linear-gradient(180deg, rgba(247, 250, 251, 0.88) 0%, rgba(255, 255, 255, 0.9) 100%),
        linear-gradient(90deg, rgba(31, 95, 120, 0.06), transparent 22%);
    border-style: dashed;
    border-color: rgba(31, 95, 120, 0.16);
}

.homepage-systems-section > .container {
    background:
        linear-gradient(180deg, rgba(246, 251, 249, 0.9) 0%, rgba(255, 255, 255, 0.92) 100%),
        radial-gradient(circle at top right, rgba(66, 141, 108, 0.12), transparent 30%);
}

.news-section > .container {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 251, 252, 0.96) 100%),
        linear-gradient(90deg, rgba(18, 56, 77, 0.05), transparent 18%);
    box-shadow: 0 30px 64px rgba(18, 56, 77, 0.12);
}

.quick-links-section > .container::after,
.homepage-events-section > .container::after,
.homepage-systems-section > .container::after,
.news-section > .container::after,
.personnel-preview-section > .container::after {
    content: '';
    position: absolute;
    inset: auto 1.15rem 1rem 1.15rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 167, 93, 0.34), rgba(31, 95, 120, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 10% -10% auto auto;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 95, 120, 0.22), rgba(31, 95, 120, 0));
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-kicker,
.panel-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-brand);
    text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before,
.panel-label::before {
    content: '';
    width: 1.2rem;
    height: 2px;
    background: currentColor;
}

.hero-copy h1 {
    margin: 1rem 0 1rem;
    font-size: calc(clamp(2.2rem, 4vw, 4.4rem) * var(--font-scale-heading, 1));
    font-weight: 700;
    line-height: 1.1;
}

.hero-lead {
    max-width: 42rem;
    font-size: calc(1.08rem * var(--font-scale-body, 1));
    line-height: 1.9;
    color: var(--color-ink-soft);
}

.hero-support-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.hero-support-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: min(100%, 13.5rem);
    padding: 0.8rem 1rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.05rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 251, 0.82));
    box-shadow: 0 14px 28px rgba(18, 56, 77, 0.06);
    backdrop-filter: blur(8px);
}

.hero-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 auto;
    border-radius: 0.9rem;
    color: var(--color-brand-deep);
    background: linear-gradient(135deg, rgba(216, 167, 93, 0.26), rgba(31, 95, 120, 0.16));
}

.hero-support-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.hero-support-copy strong {
    color: var(--color-brand-deep);
    font-size: 0.98rem;
    font-weight: 700;
}

.hero-support-copy span {
    color: var(--color-ink-soft);
    font-size: 0.85rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
}

.btn-hero-primary {
    background: var(--color-brand);
    color: var(--color-white);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background: #17495d;
    color: var(--color-white);
}

.btn-hero-secondary {
    border: 1px solid rgba(31, 95, 120, 0.2);
    color: var(--color-brand-deep);
    background: rgba(255, 255, 255, 0.85);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    border-color: rgba(18, 56, 77, 0.35);
    color: var(--color-brand-deep);
}

.hero-panel,
.feature-card,
.news-card,
.ita-highlight {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.hero-panel {
    position: relative;
    overflow: hidden;
}

.hero-panel-media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    overflow: hidden;
}

.hero-panel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-side-stack {
    display: grid;
    gap: 1rem;
}

.executive-spotlight-card {
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.executive-spotlight-card--feature {
    padding: 1.6rem 1.75rem;
}

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

.executive-spotlight-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand);
    font-size: 0.88rem;
    font-weight: 700;
}

.executive-spotlight-seal {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-accent), #f2d19a);
    color: var(--color-brand-deep);
    font-weight: 700;
}

.executive-spotlight-body {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1rem;
    align-items: start;
}

.executive-spotlight-photo-wrap {
    width: 5.5rem;
}

.executive-spotlight-photo {
    width: 5.5rem;
    height: 5.5rem;
    display: block;
    object-fit: cover;
    border-radius: 1rem;
    border: 3px solid rgba(31, 95, 120, 0.12);
    box-shadow: 0 10px 24px rgba(17, 39, 57, 0.12);
}

.executive-spotlight-card h2 {
    margin-bottom: 0.45rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.executive-spotlight-position,
.executive-spotlight-department,
.executive-spotlight-message,
.executive-spotlight-signature {
    color: var(--color-ink-soft);
}

.executive-spotlight-position {
    font-weight: 700;
    color: var(--color-brand);
}

.executive-spotlight-signature {
    font-size: 0.94rem;
    font-weight: 600;
}

.homepage-executive-section {
    padding-top: 2.25rem;
}

.homepage-executive-section .section-heading {
    max-width: 52rem;
}

.homepage-executive-section .executive-spotlight-body {
    grid-template-columns: 7.25rem 1fr;
    gap: 1.35rem;
}

.homepage-executive-section .executive-spotlight-photo-wrap,
.homepage-executive-section .executive-spotlight-photo {
    width: 7.25rem;
    height: 7.25rem;
}

.hero-carousel {
    height: 100%;
}

.hero-carousel-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(12rem, 0.95fr);
    gap: 0.85rem;
    align-items: stretch;
}

.hero-carousel-stage {
    position: relative;
    min-width: 0;
}

.hero-carousel-inner,
.hero-carousel-item,
.hero-carousel-card {
    height: 100%;
}

.hero-carousel-card {
    position: relative;
    min-height: 32rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(18, 56, 77, 0.06), rgba(18, 56, 77, 0.9)),
        radial-gradient(circle at top left, rgba(216, 167, 93, 0.26), transparent 30%),
        linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
}

.hero-carousel-card::after {
    content: "";
    position: absolute;
    inset: 34% 0 0;
    background: linear-gradient(180deg, rgba(12, 32, 46, 0) 0%, rgba(12, 32, 46, 0.18) 18%, rgba(12, 32, 46, 0.52) 56%, rgba(12, 32, 46, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.78) 58%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.78) 58%, #000 100%);
    pointer-events: none;
}

.hero-carousel-body {
    position: relative;
    z-index: 1;
    width: 100%;
    line-clamp: 2;
    margin: 0;
    padding: 1.35rem 1.45rem 1.5rem;
    color: var(--color-white);
}

.hero-carousel-body .news-category {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
    margin-bottom: 0.8rem;
}

.hero-carousel-meta-top {
    margin-bottom: 0.5rem;
}

.hero-carousel-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-carousel-body h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.45;
}

.hero-carousel-body p {
    margin-bottom: 0.95rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-carousel-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-carousel-meta .content-engagement-inline {
    color: rgba(255, 255, 255, 0.82);
}

.hero-carousel-meta .content-engagement-inline span {
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
}

.hero-carousel-indicators {
    margin-bottom: 1rem;
}

.hero-carousel-indicators [data-bs-target] {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
}

.hero-carousel-control {
    position: absolute;
    top: 1rem;
    bottom: auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(6px);
    opacity: 1;
}

.hero-carousel-control.carousel-control-prev {
    left: 1rem;
}

.hero-carousel-control.carousel-control-next {
    right: 1rem;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus {
    background: rgba(255, 255, 255, 0.26);
}

.hero-carousel-rail {
    display: grid;
    gap: 0.7rem;
    align-content: start;
    max-height: 32rem;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.hero-carousel-rail-item {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 5.35rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.45rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    text-align: left;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-carousel-rail-item::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 0.38rem;
    border-radius: 0 1rem 1rem 0;
    background: linear-gradient(180deg, #eb3443 0%, #0f5fd6 100%);
    opacity: 0.88;
}

.hero-carousel-rail-item:hover,
.hero-carousel-rail-item:focus,
.hero-carousel-rail-item.active {
    transform: translateY(-2px);
    border-color: rgba(31, 95, 120, 0.28);
    box-shadow: 0 16px 28px rgba(17, 39, 57, 0.12);
}

.hero-carousel-rail-item.active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 248, 0.98));
}

.hero-carousel-rail-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0.8rem;
    background: linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    background-size: cover;
    background-position: center;
}

.hero-carousel-rail-thumb::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    border-radius: 0 0 0.8rem 0.8rem;
    background: linear-gradient(180deg, rgba(15, 95, 214, 0), rgba(15, 95, 214, 0.68));
}

.hero-carousel-rail-body {
    min-width: 0;
    display: grid;
    gap: 0.28rem;
}

.hero-carousel-rail-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    color: var(--color-ink-soft);
}

.hero-carousel-rail-title {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--color-brand-deep);
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-brand));
}

.hero-metrics li + li {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.metric-value {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.metric-label {
    color: var(--color-ink-soft);
    line-height: 1.7;
}

.info-strip {
    padding-bottom: 1rem;
}

.info-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 999px;
    color: var(--color-brand-deep);
    background: rgba(255, 255, 255, 0.76);
}

.section-block {
    padding: 4.25rem 0;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2,
.site-footer h2 {
    margin-top: 0.8rem;
    margin-bottom: 0.85rem;
    font-size: calc(clamp(1.7rem, 3vw, 2.6rem) * var(--font-scale-heading, 1));
    font-weight: 700;
}

.section-heading p,
.feature-card p,
.quick-link-card p,
.news-card p,
.ita-highlight p,
.site-footer p {
    color: var(--color-ink-soft);
    font-size: calc(1rem * var(--font-scale-body, 1));
    line-height: 1.85;
}

.feature-card,
.news-card,
.ita-highlight {
    padding: 1.35rem;
}

.feature-card-media {
    margin: -1.75rem -1.75rem 1.2rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 1rem 1rem;
    background: linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
}

.feature-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-icon,
.quick-link-icon {
    width: 3.6rem;
    height: 3.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    margin-bottom: 0.9rem;
    font-size: 1.4rem;
    color: var(--color-brand-deep);
    background: linear-gradient(145deg, rgba(216, 167, 93, 0.26), rgba(255, 255, 255, 0.95));
}

.feature-card h3,
.quick-link-card h3,
.news-card h3 {
    margin-bottom: 0.55rem;
    font-size: calc(1.25rem * var(--font-scale-heading, 1));
    font-weight: 700;
}

.quick-links-section {
    background: linear-gradient(180deg, rgba(238, 244, 247, 0.35) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.homepage-events-section,
.personnel-preview-section {
    background: linear-gradient(180deg, rgba(244, 248, 250, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.homepage-systems-section {
    background: linear-gradient(180deg, rgba(239, 248, 244, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.news-section {
    background: linear-gradient(180deg, rgba(241, 246, 248, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.quick-links-section,
.homepage-events-section,
.homepage-systems-section,
.news-section,
.personnel-preview-section,
.ita-section {
    padding-top: 2.35rem;
    padding-bottom: 2.35rem;
}

.homepage-systems-section + .news-section,
.news-section + .personnel-preview-section,
.personnel-preview-section + .ita-section {
    padding-top: 1.7rem;
}

.quick-link-card {
    display: block;
    padding: 1.35rem;
    border-radius: var(--radius-md);
    height: 100%;
    border: 1px solid rgba(31, 95, 120, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.quick-links-section .quick-link-card,
.homepage-events-section .feature-card,
.homepage-systems-section .feature-card,
.personnel-preview-section .feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 251, 0.95));
}

.quick-link-card:hover,
.quick-link-card:focus {
    transform: translateY(-6px);
    border-color: rgba(31, 95, 120, 0.28);
}

.quick-link-text,
.section-link,
.news-meta a {
    font-weight: 600;
    color: var(--color-brand);
}

.news-category {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand);
    font-size: 0.92rem;
    font-weight: 600;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.95rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-ink-soft);
}

.content-engagement-section {
    position: relative;
    z-index: 1;
}

.content-engagement-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.2rem 1.35rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 247, 0.96));
    box-shadow: var(--shadow-soft);
}

.content-engagement-card h2 {
    margin: 0.35rem 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.content-engagement-card p {
    margin: 0;
    color: var(--color-ink-soft);
}

.content-engagement-card__copy {
    max-width: 48rem;
}

.content-engagement-card__actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.content-engagement-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(31, 95, 120, 0.1);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.85);
}

.content-engagement-stat__icon {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    background: rgba(31, 95, 120, 0.1);
    color: var(--color-brand);
}

.content-engagement-stat strong {
    display: block;
    font-size: 1.15rem;
    color: var(--color-brand-deep);
}

.content-engagement-stat small {
    color: var(--color-ink-soft);
}

.content-like-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(216, 167, 93, 0.3);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 241, 227, 0.92));
    color: var(--color-brand-deep);
    font-weight: 700;
}

.content-like-button:hover,
.content-like-button:focus,
.content-like-button.is-liked {
    border-color: rgba(197, 93, 102, 0.3);
    background: linear-gradient(135deg, rgba(255, 245, 246, 0.98), rgba(255, 232, 235, 0.98));
    color: #a03d4b;
}

.content-like-button__icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
}

.content-like-button__count {
    min-width: 2rem;
    text-align: center;
}

.content-engagement-inline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-ink-soft);
    font-size: 0.92rem;
}

.content-engagement-inline span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.08);
}

.content-engagement-inline .bi-heart-fill {
    color: #c95262;
}

.ita-section {
    padding-top: 2rem;
}

.homepage-events-section .feature-card,
.homepage-systems-section .feature-card,
.news-section .news-highlight-featured,
.news-section .news-grid-card,
.personnel-preview-section .feature-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.homepage-events-section .feature-card:hover,
.homepage-systems-section .feature-card:hover,
.personnel-preview-section .feature-card:hover,
.news-section .news-grid-card:hover {
    transform: translateY(-6px);
    border-color: rgba(31, 95, 120, 0.24);
    box-shadow: 0 24px 44px rgba(17, 39, 57, 0.12);
}

.empty-state-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── News Highlight Layout ──────────────────────────────── */
.news-section-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.75rem;
    margin-top: 0.8rem;
}

.news-section-note span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 95, 120, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 251, 0.9));
    color: var(--color-brand-deep);
    font-size: 0.88rem;
    font-weight: 600;
}

.news-section-note i {
    color: var(--color-brand);
}

.news-highlight-featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-highlight-featured {
    position: relative;
    height: 100%;
    min-height: 24rem;
    display: flex;
    align-items: flex-end;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(18, 56, 77, 0.06) 0%, rgba(18, 56, 77, 0.86) 62%),
        linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease;
}

.news-highlight-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(11, 32, 44, 0.14));
    pointer-events: none;
}

.news-highlight-featured-link:hover .news-highlight-featured {
    transform: translateY(-3px);
}

.news-highlight-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.92);
    color: #875d0a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 24px rgba(11, 32, 44, 0.12);
}

.news-highlight-featured-link + .news-share-actions--compact {
    margin-top: 0.85rem;
}

.news-highlight-featured-caption {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.25rem 1.35rem 1.35rem;
    color: var(--color-white);
}

.news-highlight-featured-caption .news-category {
    background: rgba(255, 255, 255, 0.22);
    color: var(--color-white);
    margin-bottom: 0.65rem;
}

.news-highlight-featured-caption h3 {
    font-size: clamp(1.05rem, 2.4vw, 1.6rem);
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.6rem;
    color: var(--color-white);
}

.news-highlight-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.news-highlight-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(31, 95, 120, 0.08);
    border-radius: calc(var(--radius-lg) - 2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 252, 0.95));
    box-shadow: 0 18px 34px rgba(17, 39, 57, 0.06);
}

.news-highlight-sidebar-entry {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border);
}

.news-highlight-sidebar-entry:first-child {
    padding-top: 0;
}

.news-highlight-sidebar-entry:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.news-highlight-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.news-highlight-sidebar-item:first-child {
    padding-top: 0;
}

.news-highlight-sidebar-item:last-child {
    padding-bottom: 0;
}

.news-highlight-sidebar-item:hover {
    color: var(--color-brand);
}

.news-highlight-sidebar-body {
    flex: 1;
    min-width: 0;
}

.news-highlight-sidebar-date {
    display: block;
    font-size: 0.82rem;
    color: var(--color-ink-soft);
    margin-bottom: 0.3rem;
}

.news-highlight-sidebar-title {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-brand-deep);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-highlight-sidebar-item:hover .news-highlight-sidebar-title {
    color: var(--color-brand);
}

.news-highlight-sidebar-entry .news-share-actions--compact {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
}

.news-highlight-sidebar-thumb {
    flex-shrink: 0;
    width: 5.2rem;
    height: 3.9rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.news-highlight-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-latest-block {
    margin-top: 0.5rem;
    padding-top: 0.35rem;
}

.news-latest-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.news-latest-heading::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border), transparent);
}

.news-grid-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-grid-card-entry {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-grid-card-entry .news-grid-card-link {
    flex: 1 1 auto;
}

.news-grid-card-entry .news-share-actions--compact {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
}

.news-grid-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.news-grid-card-link:hover .news-grid-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(18, 56, 77, 0.13);
}

.news-grid-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    background-size: cover;
    background-position: center;
}

.news-grid-card-img .news-category {
    position: absolute;
    bottom: 0.5rem;
    left: 0.6rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-brand);
    font-size: 0.76rem;
    padding: 0.22rem 0.55rem;
    margin: 0;
}

.news-grid-card-body {
    padding: 0.65rem 0.8rem;
}

.news-grid-card-body .news-highlight-date {
    color: var(--color-ink-soft);
}

.news-grid-card-title {
    margin: 0.3rem 0 0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-brand-deep);
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Homepage News Widgets ─────────────────────────────── */
.homepage-news-widgets-stack {
    display: grid;
    gap: 1.5rem;
}

.homepage-news-widget {
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: calc(var(--radius-lg) + 0.15rem);
    padding: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(216, 167, 93, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 252, 0.98));
    box-shadow: 0 24px 44px rgba(17, 39, 57, 0.08);
}

.homepage-news-widget-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.homepage-news-widget-head h3 {
    margin: 0.2rem 0 0;
    font-size: 1.3rem;
    color: var(--color-brand-deep);
}

.homepage-news-widget-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand);
    font-weight: 700;
}

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

.homepage-widget-card-link,
.homepage-widget-featured-link,
.homepage-widget-masonry-item,
.homepage-widget-carousel-card,
.homepage-widget-list-item,
.homepage-widget-timeline-item {
    text-decoration: none;
    color: inherit;
}

.homepage-widget-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(31, 95, 120, 0.1);
    background: rgba(255, 255, 255, 0.96);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.homepage-widget-card-link:hover .homepage-widget-card,
.homepage-widget-featured-link:hover .homepage-widget-featured,
.homepage-widget-list-item:hover,
.homepage-widget-masonry-item:hover,
.homepage-widget-timeline-item:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 95, 120, 0.2);
    box-shadow: 0 18px 34px rgba(17, 39, 57, 0.11);
}

.homepage-widget-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(180deg, rgba(18, 56, 77, 0.08), rgba(18, 56, 77, 0.6)),
        linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    background-size: cover;
    background-position: center;
}

.homepage-widget-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.95rem;
}

.homepage-widget-card-title,
.homepage-widget-list-title,
.homepage-widget-masonry-item strong,
.homepage-widget-timeline-copy strong {
    color: var(--color-brand-deep);
    line-height: 1.5;
}

.homepage-widget-card-title {
    font-size: 0.98rem;
}

.homepage-widget-card-summary {
    color: var(--color-ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-widget-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.homepage-widget-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 95, 120, 0.08);
    background: rgba(255, 255, 255, 0.92);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homepage-widget-list-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.homepage-widget-list-title {
    font-size: 0.98rem;
}

.homepage-widget-list-thumb {
    width: 5.25rem;
    height: 4rem;
    overflow: hidden;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.homepage-widget-list-thumb img,
.homepage-widget-masonry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.homepage-widget-featured {
    position: relative;
    min-height: 24rem;
    height: 100%;
    display: flex;
    align-items: flex-end;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 31, 45, 0.08) 0%, rgba(7, 31, 45, 0.88) 75%),
        linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    background-size: cover;
    background-position: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.homepage-widget-featured-body {
    padding: 1.4rem 1.5rem;
    color: var(--color-white);
}

.homepage-widget-featured-body h4,
.homepage-widget-carousel-card h4 {
    font-size: clamp(1.15rem, 2.1vw, 1.6rem);
    line-height: 1.4;
    margin: 0.45rem 0 0.55rem;
    color: var(--color-white);
}

.homepage-widget-featured-body p,
.homepage-widget-carousel-card p {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.84);
}

.homepage-widget-tabs {
    display: grid;
    gap: 1rem;
}

.homepage-widget-tabs-nav {
    gap: 0.55rem;
    flex-wrap: wrap;
}

.homepage-widget-tabs-nav .nav-link {
    border-radius: 999px;
    border: 1px solid rgba(31, 95, 120, 0.12);
    padding: 0.5rem 0.95rem;
    color: var(--color-brand);
    background: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.homepage-widget-tabs-nav .nav-link.active {
    background: var(--color-brand-deep);
    color: var(--color-white);
    border-color: transparent;
}

.homepage-widget-carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.homepage-widget-carousel-card {
    min-height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem 1.5rem;
    background:
        linear-gradient(180deg, rgba(11, 37, 54, 0.06), rgba(11, 37, 54, 0.9)),
        linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    background-size: cover;
    background-position: center;
}

.homepage-widget-carousel-control {
    width: 3rem;
    top: 1rem;
    bottom: auto;
    opacity: 1;
}

.homepage-widget-carousel-control .carousel-control-prev-icon,
.homepage-widget-carousel-control .carousel-control-next-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 50%;
    background-color: rgba(9, 33, 47, 0.55);
    background-size: 1.1rem;
}

.homepage-widget-masonry {
    column-count: 3;
    column-gap: 1rem;
}

.homepage-widget-masonry-item {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 95, 120, 0.08);
    background: rgba(255, 255, 255, 0.96);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.homepage-widget-masonry-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.homepage-widget-timeline {
    position: relative;
    display: grid;
    gap: 0.85rem;
    padding-left: 1.2rem;
}

.homepage-widget-timeline::before {
    content: '';
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0.35rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(31, 95, 120, 0.2), rgba(31, 95, 120, 0.02));
}

.homepage-widget-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    align-items: flex-start;
    padding: 0.2rem 0;
}

.homepage-widget-timeline-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-brand));
    box-shadow: 0 0 0 0.35rem rgba(31, 95, 120, 0.08);
}

.homepage-widget-timeline-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 95, 120, 0.08);
    background: rgba(255, 255, 255, 0.94);
}

.homepage-widget-sidebar-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(31, 95, 120, 0.96), rgba(9, 40, 59, 0.98));
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.homepage-widget-sidebar-panel h4 {
    margin: 0.4rem 0 0.75rem;
    color: var(--color-white);
    font-size: 1.35rem;
}

.homepage-widget-sidebar-panel p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1rem;
}

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

.homepage-widget-category-block {
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 95, 120, 0.08);
    background: rgba(255, 255, 255, 0.94);
}

.homepage-widget-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.homepage-widget-category-head h4 {
    margin: 0;
    color: var(--color-brand-deep);
    font-size: 1.05rem;
}

.homepage-widget-category-head a {
    color: var(--color-brand);
    font-weight: 600;
    text-decoration: none;
}

.homepage-widget-list--sidebar .homepage-widget-list-item,
.homepage-widget-list--category .homepage-widget-list-item,
.homepage-widget-list--plain .homepage-widget-list-item {
    padding: 0.8rem 0.9rem;
}

.homepage-widget-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 1rem;
    align-items: stretch;
    padding: 1.1rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(16, 59, 83, 0.98), rgba(33, 108, 139, 0.94));
    color: var(--color-white);
    overflow: hidden;
}

.homepage-widget-banner-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    min-height: 100%;
}

.homepage-widget-banner-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.homepage-widget-banner-media {
    min-height: 12rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.homepage-widget-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.homepage-widget-links-wrap,
.homepage-widget-social-wrap,
.homepage-widget-html-block {
    display: grid;
    gap: 1rem;
}

.homepage-widget-links-intro {
    margin: 0;
    color: var(--color-ink-soft);
    line-height: 1.7;
}

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

.homepage-widget-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 4rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-brand-deep);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(31, 95, 120, 0.1);
    box-shadow: 0 14px 28px rgba(17, 39, 57, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homepage-widget-link-pill:hover,
.homepage-widget-social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 95, 120, 0.2);
    box-shadow: 0 18px 32px rgba(17, 39, 57, 0.1);
}

.homepage-widget-link-pill i,
.homepage-widget-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.1);
    color: var(--color-brand);
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.homepage-widget-social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 8.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-brand-deep);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 251, 0.98));
    border: 1px solid rgba(31, 95, 120, 0.1);
    box-shadow: 0 14px 28px rgba(17, 39, 57, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homepage-widget-social-label {
    font-weight: 700;
    text-align: center;
}

.homepage-widget-html-content {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 95, 120, 0.08);
    background: rgba(255, 255, 255, 0.96);
    overflow: hidden;
}

.homepage-widget-html-content > :last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .homepage-widget-grid,
    .homepage-widget-category-sections,
    .homepage-widget-links-grid,
    .homepage-widget-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-widget-masonry {
        column-count: 2;
    }

    .homepage-widget-featured {
        min-height: 19rem;
    }

    .homepage-widget-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .homepage-news-widget {
        padding: 1rem;
    }

    .homepage-news-widget-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .homepage-widget-grid,
    .homepage-widget-category-sections,
    .homepage-widget-links-grid,
    .homepage-widget-social-grid {
        grid-template-columns: 1fr;
    }

    .homepage-widget-list-item {
        grid-template-columns: 1fr;
    }

    .homepage-widget-list-thumb {
        width: 100%;
        height: 10rem;
    }

    .homepage-widget-featured,
    .homepage-widget-carousel-card {
        min-height: 18rem;
    }

    .homepage-widget-masonry {
        column-count: 1;
    }

    .homepage-widget-sidebar-panel {
        padding: 1rem;
    }
}

@media (max-width: 991.98px) {
    .news-highlight-featured {
        min-height: 18rem;
    }
}

@media (max-width: 767.98px) {
    .news-highlight-featured {
        min-height: 14rem;
    }

    .news-section-note {
        gap: 0.5rem;
    }

    .news-section-note span {
        width: 100%;
        justify-content: center;
    }

    .news-highlight-sidebar-thumb {
        width: 4.2rem;
        height: 3.2rem;
    }

    .news-grid-card-img {
        aspect-ratio: 16 / 10;
    }

    .hero-carousel-card {
        min-height: 21rem;
    }

    .quick-link-card,
    .homepage-events-section .feature-card,
    .homepage-systems-section .feature-card,
    .personnel-preview-section .feature-card,
    .news-card,
    .news-detail-card,
    .news-sidebar-card {
        padding: 1.15rem;
    }

    .news-highlight-featured-caption {
        padding: 1.1rem 1.15rem;
    }

    .news-highlight-featured-caption h3 {
        font-size: 1rem;
    }

    .news-grid-card-body {
        padding: 0.7rem 0.75rem;
    }

    .news-grid-card-title {
        font-size: 0.84rem;
    }
}

.personnel-preview-card .personnel-meta {
    font-size: 0.92rem;
    color: var(--color-brand);
    font-weight: 600;
}

.ita-highlight {
    position: relative;
    overflow: hidden;
}

.ita-highlight::after {
    content: '';
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 167, 93, 0.35), rgba(216, 167, 93, 0));
}

.highlight-badge {
    display: inline-flex;
    padding: 0.5rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--color-brand-deep);
    color: var(--color-white);
    font-weight: 700;
}

.site-footer {
    margin-top: 2rem;
    padding: 3rem 0;
    color: rgba(255, 255, 255, 0.86);
    background: var(--footer-background, linear-gradient(120deg, rgba(18, 56, 77, 0.96), rgba(31, 95, 120, 0.94)));
}

.footer-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.footer-primary {
    min-width: 0;
}

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

.footer-widget,
.footer-meta {
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
}

.footer-widget-title {
    margin: 0 0 0.75rem;
    font-size: calc(1rem * var(--font-scale-heading, 1));
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
}

.footer-widget-body,
.footer-widget-body p,
.footer-widget-body li,
.footer-widget-body span,
.footer-widget-body div,
.footer-widget-body strong,
.footer-widget-body a {
    color: rgba(255, 255, 255, 0.88);
}

.footer-widget-body a {
    text-decoration: none;
}

.footer-widget-body a:hover,
.footer-widget-body a:focus {
    color: #fff;
}

.footer-widget-links {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.55rem;
}

.footer-widget-links li::marker {
    color: rgba(216, 167, 93, 0.95);
}

.footer-meta {
    text-align: right;
}

.site-footer p,
.site-footer h2,
.footer-copy,
.footer-credit {
    color: rgba(255, 255, 255, 0.86);
}

.footer-social-wrap {
    margin-top: 1rem;
}

.footer-social-heading {
    display: inline-block;
    margin-bottom: 0.65rem;
    font-size: calc(0.95rem * var(--font-scale-body, 1));
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--color-white);
}

.footer-social-link i {
    font-size: 1rem;
}

.admin-inline-help {
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(31, 95, 120, 0.22);
    border-radius: 1rem;
    background: rgba(31, 95, 120, 0.04);
}

.footer-widget-admin-card {
    padding: 1.15rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 251, 0.96));
}

.footer-preview-shell {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.footer-preview-shell .site-footer {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 3.25rem;
    }

    .homepage-hero-section {
        padding-top: 0.95rem;
    }

    .homepage-main .section-block {
        padding-top: 0.95rem !important;
    }

    .homepage-main .news-section,
    .homepage-main .personnel-preview-section {
        padding-top: 1.25rem !important;
    }

    .hero-section > .container,
    .section-block > .container {
        padding: 1.15rem;
        border-radius: 1.4rem;
    }

    .info-chip {
        justify-content: flex-start;
        border-radius: 1rem;
    }

    .hero-carousel-shell {
        grid-template-columns: 1fr;
    }

    .hero-carousel-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
    }

    .hero-carousel-card {
        min-height: 27rem;
    }

    .homepage-executive-section .executive-spotlight-body {
        grid-template-columns: 6rem 1fr;
    }

    .homepage-executive-section .executive-spotlight-photo-wrap,
    .homepage-executive-section .executive-spotlight-photo {
        width: 6rem;
        height: 6rem;
    }
}

@media (max-width: 767.98px) {
    .header-marquee {
        padding-top: 0.45rem;
    }

    .header-marquee-shell {
        gap: 0.75rem;
        padding: 0.75rem 0.85rem;
    }

    .header-marquee-message {
        font-size: 0.9rem;
    }

    .header-marquee-track {
        animation-duration: 24s;
    }

    .header-marquee-track.is-direction-right {
        animation-duration: 24s;
    }

    .section-block {
        padding: 3.2rem 0;
    }

    .hero-section > .container,
    .section-block > .container {
        padding: 0.95rem;
        border-radius: 1.15rem;
    }

    .content-engagement-section > .container {
        padding: 0.85rem 0.95rem;
    }

    .hero-copy h1 {
        font-size: calc(2rem * var(--font-scale-heading, 1));
    }

    .hero-lead,
    .section-heading p {
        font-size: 1rem;
    }

    .hero-carousel-body {
        padding: 1.5rem;
    }

    .hero-carousel-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-carousel-rail {
        grid-template-columns: 1fr;
    }

    .hero-carousel-rail-item {
        grid-template-columns: 4.75rem minmax(0, 1fr);
    }

    .executive-spotlight-body {
        grid-template-columns: 4.75rem 1fr;
        gap: 0.9rem;
    }

    .executive-spotlight-photo-wrap,
    .executive-spotlight-photo {
        width: 4.75rem;
        height: 4.75rem;
    }

    .homepage-executive-section .executive-spotlight-body {
        grid-template-columns: 4.75rem 1fr;
    }

    .homepage-executive-section .executive-spotlight-photo-wrap,
    .homepage-executive-section .executive-spotlight-photo {
        width: 4.75rem;
        height: 4.75rem;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        padding: 2.5rem 0;
    }

    .footer-layout {
        grid-template-columns: 1fr;
    }

    .footer-meta {
        text-align: left;
    }

    .footer-social-links {
        gap: 0.6rem;
    }
}

.ita-page-header .hero-section {
    padding-bottom: 2.5rem;
}

.ita-summary-strip {
    padding-top: 0.5rem;
}

.summary-card {
    min-height: 100%;
    padding: 1.4rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
}

.summary-number {
    display: inline-flex;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.summary-card p {
    margin-bottom: 0;
    color: var(--color-ink-soft);
    line-height: 1.75;
}

.no-gift-section {
    padding-top: 1rem;
}

.no-gift-banner {
    padding: 2rem;
    border-radius: calc(var(--radius-lg) + 4px);
    background:
        linear-gradient(135deg, rgba(18, 56, 77, 0.97), rgba(31, 95, 120, 0.92)),
        radial-gradient(circle at top right, rgba(216, 167, 93, 0.24), transparent 28%);
    box-shadow: var(--shadow-soft);
}

.no-gift-banner h2 {
    margin: 0.85rem 0 0.9rem;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--color-white);
}

.no-gift-banner p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
}

.no-gift-section .section-kicker,
.no-gift-section .section-kicker::before {
    color: rgba(255, 255, 255, 0.86);
}

.no-gift-badge-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-gift-badge {
    width: min(240px, 100%);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.18);
    background: radial-gradient(circle, rgba(216, 167, 93, 0.24), rgba(255, 255, 255, 0.08));
    color: var(--color-white);
    text-align: center;
}

.badge-title {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.badge-subtitle {
    font-size: 1rem;
    letter-spacing: 0.14em;
}

.oit-accordion {
    display: grid;
    gap: 1rem;
}

.oit-group-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
}

.oit-group-card .accordion-button {
    align-items: flex-start;
    padding: 1.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

.oit-group-card .accordion-button:not(.collapsed) {
    color: var(--color-brand-deep);
    background: linear-gradient(180deg, rgba(31, 95, 120, 0.08), rgba(255, 255, 255, 0.95));
}

.oit-group-card .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.oit-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-right: 1rem;
}

.oit-range {
    font-size: calc(0.9rem * var(--font-scale-body, 1));
    font-weight: 700;
    color: var(--color-brand);
    letter-spacing: 0.06em;
}

.oit-title {
    font-size: calc(1.1rem * var(--font-scale-heading, 1));
    font-weight: 700;
    color: var(--color-brand-deep);
}

.oit-description {
    font-size: calc(0.96rem * var(--font-scale-body, 1));
    line-height: 1.7;
    color: var(--color-ink-soft);
}

.oit-group-card .accordion-body {
    padding: 0 1.25rem 1.25rem;
}

.oit-item-card {
    padding: 1.25rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.1rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 249, 0.96));
}


.oit-item-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.38rem;
    background: linear-gradient(180deg, var(--color-brand), rgba(216, 167, 93, 0.92));
}
.oit-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.oit-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.1);
    color: var(--color-brand-deep);
    font-weight: 700;
}

.oit-status {
    font-size: 0.85rem;
    color: var(--color-ink-soft);
}

.oit-item-card h3 {
    margin-bottom: 0.7rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.6;
}

.oit-item-card p {
    margin-bottom: 0.95rem;
    color: var(--color-ink-soft);
    line-height: 1.75;
}

.oit-item-link {
    font-weight: 600;
    color: var(--color-brand);
}

.oit-item-link.disabled {
    color: var(--color-ink-soft);
}

.oit-detail-text {
    font-size: 0.94rem;
}

.news-filter-card,
.news-sidebar-card,
.news-detail-card,
.personnel-directory-card,
.appearance-preview-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.news-filter-card {
    padding: 1.5rem;
}

.news-filter-input {
    min-height: 3.25rem;
    border: 1px solid rgba(31, 95, 120, 0.16);
    border-radius: 1rem;
}

.news-filter-input:focus {
    border-color: rgba(31, 95, 120, 0.42);
    box-shadow: 0 0 0 0.2rem rgba(31, 95, 120, 0.12);
}

.news-archive-count {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand-deep);
    font-weight: 700;
}

.news-archive-section .pagination {
    --bs-pagination-border-width: 1px;
    --bs-pagination-border-color: rgba(31, 95, 120, 0.14);
    --bs-pagination-color: var(--color-brand-deep);
    --bs-pagination-bg: rgba(255, 255, 255, 0.92);
    --bs-pagination-hover-color: var(--color-brand-deep);
    --bs-pagination-hover-bg: rgba(240, 246, 248, 0.98);
    --bs-pagination-hover-border-color: rgba(31, 95, 120, 0.28);
    --bs-pagination-focus-color: var(--color-brand-deep);
    --bs-pagination-focus-bg: rgba(240, 246, 248, 0.98);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(31, 95, 120, 0.12);
    --bs-pagination-active-color: var(--color-white);
    --bs-pagination-active-bg: var(--color-brand);
    --bs-pagination-active-border-color: var(--color-brand);
    --bs-pagination-disabled-color: rgba(31, 95, 120, 0.45);
    --bs-pagination-disabled-bg: rgba(255, 255, 255, 0.72);
    --bs-pagination-disabled-border-color: rgba(31, 95, 120, 0.1);
}

.news-archive-section .page-link {
    min-width: 2.9rem;
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.news-archive-card {
    overflow: hidden;
}

.news-archive-image-wrap {
    margin: -1.75rem -1.75rem 1.25rem;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.news-archive-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.appearance-preview-swatch {
    padding: 1.75rem;
    border-radius: var(--radius-md);
    min-height: 16rem;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 767.98px) {
    .no-gift-banner {
        padding: 1.5rem;
    }

    .oit-group-card .accordion-button {
        padding: 1.15rem;
    }

    .oit-group-card .accordion-body {
        padding: 0 1rem 1rem;
    }

    .oit-item-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-filter-card {
        padding: 1.15rem;
    }
}

.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(216, 167, 93, 0.22), transparent 26%),
        radial-gradient(circle at bottom right, rgba(31, 95, 120, 0.18), transparent 24%),
        linear-gradient(180deg, #f7f4ed 0%, #edf4f7 100%);
}

.login-layout {
    min-height: 100vh;
}

.login-shell {
    overflow: hidden;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 55px rgba(17, 39, 57, 0.14);
}

.login-aside {
    background:
        linear-gradient(145deg, rgba(18, 56, 77, 0.98), rgba(31, 95, 120, 0.92)),
        radial-gradient(circle at top right, rgba(216, 167, 93, 0.24), transparent 24%);
}

.login-aside-inner,
.login-form-wrap {
    height: 100%;
    padding: 2.25rem;
}

.login-aside-inner {
    color: rgba(255, 255, 255, 0.88);
}

.login-aside-inner h1 {
    margin: 1rem 0 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.login-aside-inner p,
.login-form-text {
    line-height: 1.85;
}

.login-feature-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.login-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.login-feature-list i {
    margin-top: 0.15rem;
    font-size: 1.1rem;
    color: #f4d29b;
}

.login-form-column {
    background: rgba(255, 255, 255, 0.95);
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.login-form-title {
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.login-form-text {
    color: var(--color-ink-soft);
}

.login-input-group {
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1rem;
    overflow: hidden;
}

.login-input-group .input-group-text {
    border: 0;
    background: rgba(31, 95, 120, 0.06);
    color: var(--color-brand);
}

.login-input-group .form-control {
    border: 0;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.login-input-group .form-control:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .login-aside-inner,
    .login-form-wrap {
        padding: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .login-shell {
        border-radius: 1.5rem;
    }

    .login-aside-inner,

    .appearance-preview-swatch--admin {
        background-size: cover;
    }

    .brand-asset-preview__frame {
        min-height: 6.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px dashed rgba(31, 95, 120, 0.18);
        border-radius: 1rem;
        background: linear-gradient(180deg, rgba(247, 250, 251, 0.98), rgba(241, 246, 248, 0.96));
        overflow: hidden;
    }

    .brand-asset-preview__frame--favicon {
        min-height: 5rem;
    }

    .brand-asset-preview__image {
        width: 100%;
        max-height: 6.2rem;
        object-fit: contain;
        object-position: center;
        display: block;
        padding: 0.75rem;
    }

    .brand-asset-preview--favicon .brand-asset-preview__image {
        max-height: 4.8rem;
    }

    .brand-asset-preview__placeholder {
        display: grid;
        gap: 0.2rem;
        justify-items: center;
        text-align: center;
        padding: 1rem;
        color: var(--color-ink-soft);
    }

    .brand-asset-preview__placeholder strong {
        color: var(--color-brand-deep);
    }

    .brand-asset-preview__placeholder span {
        font-size: 0.92rem;
    }
    .login-form-wrap {
        padding: 1.4rem;
    }
}

.admin-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(31, 95, 120, 0.12), transparent 22%),
        linear-gradient(180deg, #f7f5ef 0%, #eef4f7 100%);
}

.admin-header {
    z-index: 1030;
    padding: 1rem 0;
    backdrop-filter: blur(14px);
    background: rgba(18, 56, 77, 0.9);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.custom-form-admin-builder {
    display: grid;
    gap: 1rem;
}

.custom-form-admin-builder-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.custom-form-admin-builder-head h3,
.custom-form-admin-list-item h3,
.custom-form-embed-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.custom-form-admin-fields,
.custom-form-admin-list {
    display: grid;
    gap: 1rem;
}

.custom-form-admin-field-card,
.custom-form-admin-list-item,
.custom-form-embed {
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.custom-form-admin-field-card {
    padding: 1.1rem;
}

.custom-form-admin-field-head,
.custom-form-admin-list-head,
.custom-form-embed-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.custom-form-admin-field-actions {
    display: inline-flex;
    gap: 0.45rem;
}

.custom-form-admin-embed-box,
.custom-form-admin-embed-inline {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand-deep);
    font-weight: 700;
    word-break: break-word;
}

.custom-form-admin-embed-box {
    margin-bottom: 0.85rem;
}

.custom-form-admin-list-item {
    padding: 1.15rem;
}

.custom-form-admin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.45rem;
}

.custom-form-admin-submissions th {
    white-space: nowrap;
}

.custom-form-admin-submission-payload {
    display: grid;
    gap: 0.35rem;
    min-width: 18rem;
}

.custom-form-embed {
    position: relative;
    max-width: 34rem;
    padding: clamp(1.5rem, 2.8vw, 2.4rem) clamp(1.25rem, 2.8vw, 2rem);
    margin: 1.25rem auto;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.custom-form-embed::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.45rem;
    background: linear-gradient(135deg, #2f6fed 0%, #0f5cc0 100%);
}

.custom-form-embed-head {
    display: block;
    margin-bottom: 1.35rem;
}

.custom-form-embed-head h3 {
    margin: 0;
    color: #0f2740;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 700;
}

.custom-form-embed-head p {
    margin: 0.65rem 0 0;
    color: #51657a;
    line-height: 1.75;
}

.custom-form-alert {
    border-radius: 1rem;
}

.custom-form-public .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

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

.custom-form-public .form-control,
.custom-form-public .form-select {
    padding: 0.88rem 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.9rem;
    background: #f8fafc;
    color: #334155;
    box-shadow: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.custom-form-public .form-control::placeholder,
.custom-form-public .form-select::placeholder {
    color: #7c8ca0;
}

.custom-form-public .form-control:focus,
.custom-form-public .form-select:focus {
    border-color: #2f6fed;
    background: #ffffff;
    box-shadow: 0 0 0 0.28rem rgba(47, 111, 237, 0.14);
}

.custom-form-public textarea.form-control {
    min-height: 8rem;
    resize: vertical;
}

.custom-form-section {
    display: grid;
    gap: 0.75rem;
    padding-top: 0.5rem;
    margin-top: 0.2rem;
}

.custom-form-section-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 92, 192, 0.26), rgba(15, 92, 192, 0.05));
}

.custom-form-section-copy h4 {
    margin: 0;
    color: #16314b;
    font-size: 1.02rem;
    font-weight: 700;
}

.custom-form-section-copy p {
    margin: 0.35rem 0 0;
    color: #5e7185;
    line-height: 1.7;
}

.custom-form-field .form-label,
.custom-form-check-single {
    font-weight: 600;
}

.custom-form-field .form-label {
    margin-bottom: 0;
    color: #475569;
    font-size: 0.95rem;
}

.custom-form-public .form-text {
    color: #64748b;
    margin-top: 0;
}

.custom-form-choice-list {
    display: grid;
    gap: 0.6rem;
}

.custom-form-choice-item,
.custom-form-check-single {
    padding: 0.9rem 1rem;
    border: 1.5px solid rgba(148, 163, 184, 0.45);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.9);
}

.custom-form-button-wrap {
    display: flex;
    justify-content: stretch;
    padding-top: 0.35rem;
}

.custom-form-submit-btn {
    width: 100%;
    min-width: 10rem;
    padding: 0.95rem 1.1rem;
    border: 0;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, #2f6fed 0%, #1e88e5 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(30, 136, 229, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.custom-form-submit-btn:hover,
.custom-form-submit-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(30, 136, 229, 0.3);
    filter: saturate(1.05);
}

@media (max-width: 767.98px) {
    .custom-form-admin-builder-head,
    .custom-form-admin-field-head,
    .custom-form-admin-list-head,
    .custom-form-embed-head {
        flex-direction: column;
    }

    .custom-form-admin-field-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.admin-userbox {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: rgba(255, 255, 255, 0.86);
}

.admin-user-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.admin-utility-btn,
.admin-logout-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.admin-utility-btn:hover,
.admin-utility-btn:focus,
.admin-logout-btn:hover,
.admin-logout-btn:focus {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.16);
}

.admin-main h1 {
    margin: 0.9rem 0 0.8rem;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-brand-deep);
}

.admin-main p {
    color: var(--color-ink-soft);
}

.admin-module-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-module-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.1rem;
    border: 1px solid rgba(31, 95, 120, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--color-brand-deep);
    font-weight: 600;
    transition: all 0.2s ease;
}

.admin-module-link:hover,
.admin-module-link:focus,
.admin-module-link.active {
    color: var(--color-white);
    background: var(--color-brand);
    border-color: var(--color-brand);
}

.admin-summary-card,
.admin-card {
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.admin-summary-card {
    padding: 1.6rem;
}

.admin-card {
    overflow: hidden;
}

.admin-card-header {
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid rgba(31, 95, 120, 0.1);
    background: rgba(31, 95, 120, 0.04);
}

.admin-card-header h2 {
    margin-bottom: 0.55rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.admin-card-body {
    padding: 1.5rem;
}

.admin-filter-panel {
    display: grid;
    gap: 1rem;
    border-bottom: 1px solid rgba(31, 95, 120, 0.1);
    background: linear-gradient(180deg, rgba(250, 252, 253, 0.98), rgba(244, 248, 250, 0.96));
}

.admin-filter-scopes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 95, 120, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-brand-deep);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-filter-chip:hover,
.admin-filter-chip:focus,
.admin-filter-chip.active {
    color: var(--color-white);
    background: var(--color-brand);
    border-color: var(--color-brand);
}

.admin-form .form-label {
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: var(--color-brand-deep);
}

.admin-form .form-control,
.admin-form .form-select {
    padding-top: 0.82rem;
    padding-bottom: 0.82rem;
    border-color: rgba(31, 95, 120, 0.16);
    border-radius: 0.95rem;
}

.admin-form textarea.form-control {
    min-height: 120px;
}

.admin-form .tox-tinymce {
    border: 1px solid rgba(31, 95, 120, 0.16) !important;
    border-radius: 1.1rem !important;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 16px 32px rgba(17, 39, 57, 0.06);
}

.admin-form .tox .tox-editor-header {
    border-bottom: 1px solid rgba(31, 95, 120, 0.1);
    background: linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(241, 246, 248, 0.96));
}

.admin-form .tox .tox-toolbar,
.admin-form .tox .tox-toolbar__primary,
.admin-form .tox .tox-toolbar__overflow {
    background: transparent;
}

.admin-form .tox .tox-edit-area__iframe {
    background: linear-gradient(180deg, #fffefb 0%, #ffffff 100%);
}

.admin-form .tox .tox-statusbar {
    border-top: 1px solid rgba(31, 95, 120, 0.1);
    background: rgba(248, 251, 252, 0.98);
}

.admin-content-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.admin-content-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.admin-content-sidebar {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 1.1rem;
}

.admin-content-nav {
    display: grid;
    gap: 0.75rem;
}

.admin-section-link {
    display: grid;
    grid-template-columns: 2.3rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 250, 0.96));
    color: var(--color-brand-deep);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-section-link:hover,
.admin-section-link:focus {
    transform: translateY(-2px);
    border-color: rgba(31, 95, 120, 0.24);
    box-shadow: 0 16px 30px rgba(17, 39, 57, 0.08);
    color: var(--color-brand-deep);
}

.admin-section-link strong,
.admin-section-link small {
    display: block;
}

.admin-section-link strong {
    margin-bottom: 0.18rem;
    font-size: 0.98rem;
}

.admin-section-link small {
    color: var(--color-ink-soft);
    line-height: 1.5;
}

.admin-section-link-index,
.admin-content-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.1);
    color: var(--color-brand);
    font-weight: 700;
}

.admin-section-link-index {
    width: 2.3rem;
    height: 2.3rem;
}

.admin-content-sidebar-note {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 1.2rem;
    background: linear-gradient(145deg, rgba(31, 95, 120, 0.08), rgba(216, 167, 93, 0.12));
    border: 1px solid rgba(31, 95, 120, 0.12);
}

.admin-content-sidebar-note-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.86);
    color: var(--color-brand);
}

.admin-content-sidebar-note p {
    color: var(--color-ink-soft);
}

.admin-content-shell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-content-save-btn {
    flex-shrink: 0;
}

.admin-form-toolbar,
.admin-content-overview-stats {
    align-items: stretch;
}

.admin-form-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-mini-stat {
    display: grid;
    gap: 0.28rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 250, 0.96));
}

.admin-mini-stat-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-brand);
}

.admin-mini-stat strong {
    font-size: 1.15rem;
    color: var(--color-brand-deep);
}

.admin-mini-stat small {
    color: var(--color-ink-soft);
    line-height: 1.5;
}

.admin-content-stack {
    display: grid;
    gap: 1.2rem;
}

.admin-content-section {
    padding: 1.3rem;
    border: 1px solid rgba(31, 95, 120, 0.1);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 251, 0.96));
}

.admin-content-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.admin-content-section-title {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.admin-content-section-title > div {
    min-width: 0;
}

.admin-content-section-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.28rem;
    padding: 0.24rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(31, 95, 120, 0.1);
    color: var(--color-brand);
}

.admin-content-section-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 1rem;
    font-size: 1.1rem;
}

.admin-content-section--hero {
    border-color: rgba(41, 103, 152, 0.18);
    background:
        linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(238, 246, 255, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.admin-content-section--hero .admin-content-section-head {
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(41, 103, 152, 0.14);
}

.admin-content-section--hero .admin-content-section-icon {
    background: linear-gradient(135deg, rgba(74, 137, 186, 0.18), rgba(41, 103, 152, 0.32));
    color: #23557d;
    box-shadow: inset 0 0 0 1px rgba(41, 103, 152, 0.08);
}

.admin-content-section--hero .admin-content-section-label {
    background: rgba(41, 103, 152, 0.12);
    color: #23557d;
}

.admin-content-section--widgets {
    border-color: rgba(181, 95, 62, 0.2);
    background:
        radial-gradient(circle at top right, rgba(216, 167, 93, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 247, 239, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.admin-content-section--widgets .admin-content-section-head {
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(181, 95, 62, 0.14);
}

.admin-content-section--widgets .admin-content-section-icon {
    background: linear-gradient(135deg, rgba(216, 167, 93, 0.18), rgba(181, 95, 62, 0.28));
    color: #8d4c2f;
    box-shadow: inset 0 0 0 1px rgba(181, 95, 62, 0.08);
}

.admin-content-section--widgets .admin-content-section-label {
    background: rgba(181, 95, 62, 0.12);
    color: #8d4c2f;
}

.admin-content-section--links {
    border-color: rgba(31, 95, 120, 0.18);
    background:
        radial-gradient(circle at top right, rgba(118, 169, 195, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(246, 250, 253, 0.98), rgba(240, 247, 250, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.admin-content-section--links .admin-content-section-head {
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(31, 95, 120, 0.14);
}

.admin-content-section--links .admin-content-section-icon {
    background: linear-gradient(135deg, rgba(118, 169, 195, 0.18), rgba(31, 95, 120, 0.28));
    color: var(--color-brand-deep);
    box-shadow: inset 0 0 0 1px rgba(31, 95, 120, 0.08);
}

.admin-content-section--links .admin-content-section-label {
    background: rgba(31, 95, 120, 0.12);
    color: var(--color-brand-deep);
}

.homepage-quicklink-admin-card {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.admin-content-section-title h3 {
    margin-bottom: 0.32rem;
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.admin-content-section-title p,
.admin-content-footer p {
    color: var(--color-ink-soft);
}

.admin-content-preview-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(31, 95, 120, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-brand-deep);
    font-weight: 600;
    white-space: nowrap;
}

.admin-content-preview-link:hover,
.admin-content-preview-link:focus {
    color: var(--color-white);
    background: var(--color-brand);
    border-color: var(--color-brand);
}

.admin-content-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(31, 95, 120, 0.1);
}

.current-file-box {
    padding: 0.9rem 1rem;
    border: 1px dashed rgba(31, 95, 120, 0.22);
    border-radius: 1rem;
    background: rgba(31, 95, 120, 0.04);
}

.news-cover-preview {
    display: grid;
    gap: 1rem;
}

.news-cover-preview__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(219, 232, 238, 0.95), rgba(31, 95, 120, 0.18));
    border: 1px solid rgba(31, 95, 120, 0.14);
}

.news-cover-preview__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.news-cover-preview__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 0.45rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--color-brand-deep);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
}

.news-cover-preview__placeholder strong {
    font-size: 1rem;
}

.news-cover-preview__placeholder span {
    max-width: 24rem;
    color: var(--color-ink-soft);
}

.news-cover-preview__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.admin-switch {
    padding-left: 3rem;
}

.admin-switch .form-check-input {
    width: 2.7rem;
    height: 1.4rem;
    margin-left: -3rem;
}

.homepage-widget-admin-list {
    display: grid;
    gap: 1rem;
}

.homepage-widget-admin-card {
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homepage-widget-admin-card:hover {
    border-color: rgba(31, 95, 120, 0.24) !important;
    box-shadow: 0 18px 30px rgba(17, 39, 57, 0.08);
}

.homepage-widget-admin-card.is-dragging {
    opacity: 0.7;
    transform: scale(0.985);
    box-shadow: 0 20px 36px rgba(17, 39, 57, 0.12);
}

.homepage-widget-admin-handle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: grab;
    user-select: none;
}

.homepage-widget-admin-handle .bi {
    font-size: 1rem;
}

.admin-table th {
    padding: 1rem 1.25rem;
    border-bottom-width: 1px;
    color: var(--color-brand-deep);
    background: rgba(31, 95, 120, 0.05);
}

.admin-table td {
    padding: 1rem 1.25rem;
    vertical-align: top;
}

.admin-table-sticky-action {
    min-width: 10.5rem;
}

.admin-table-action-stack form {
    margin: 0;
}

.admin-doc-links {
    display: grid;
    gap: 0.25rem;
}

.dashboard-card {
    padding: 1.5rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 249, 0.96));
    box-shadow: var(--shadow-soft);
}

.dashboard-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(31, 95, 120, 0.1);
    color: var(--color-brand-deep);
    font-size: 1.25rem;
}

.dashboard-metric {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.dashboard-card h2 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.dashboard-card p {
    margin-bottom: 1rem;
}

.dashboard-link {
    font-weight: 600;
    color: var(--color-brand);
}

.dashboard-list {
    display: grid;
    gap: 0.9rem;
}

.dashboard-list-item {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(31, 95, 120, 0.1);
}

.dashboard-list-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.dashboard-list-title {
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--color-brand-deep);
}

.dashboard-list-meta {
    font-size: 0.92rem;
    color: var(--color-ink-soft);
}

.analytics-hero {
    position: relative;
}

.legacy-page-item {
    background:
        radial-gradient(circle at top right, rgba(31, 95, 120, 0.06), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 251, 0.98));
}

.legacy-page-summary {
    padding: 0.8rem 0.95rem;
    border: 1px dashed rgba(31, 95, 120, 0.18);
    border-radius: 1rem;
    background: rgba(31, 95, 120, 0.04);
    color: var(--color-brand-deep);
    line-height: 1.65;
}

.legacy-page-badge {
    flex-shrink: 0;
}

.legacy-page-action {
    font-weight: 600;
}

.analytics-summary-card {
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(216, 167, 93, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 249, 0.96));
}

.analytics-status-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.analytics-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 0.92rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 95, 120, 0.12);
    background: rgba(255, 255, 255, 0.88);
    color: var(--color-brand-deep);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.analytics-status-chip.is-warning {
    border-color: rgba(216, 167, 93, 0.26);
    background: rgba(255, 249, 239, 0.95);
    color: #8d4c2f;
}

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

.analytics-kpi-card {
    display: grid;
    gap: 0.35rem;
    padding: 1.25rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 250, 0.96));
    box-shadow: var(--shadow-soft);
}

.analytics-kpi-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(31, 95, 120, 0.1);
    color: var(--color-brand);
    font-size: 1.15rem;
}

.analytics-kpi-card strong {
    font-size: 2rem;
    line-height: 1;
    color: var(--color-brand-deep);
}

.analytics-kpi-card span {
    font-weight: 700;
    color: var(--color-brand-deep);
}

.analytics-kpi-card small {
    color: var(--color-ink-soft);
    line-height: 1.55;
}

.analytics-chart-card .admin-card-body {
    padding-top: 1.15rem;
}

.analytics-chart-wrap {
    position: relative;
    min-height: 20rem;
}

.analytics-chart-wrap--lg {
    min-height: 24rem;
}

.analytics-list-item {
    border-bottom-style: dashed;
}

.analytics-inline-metric {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand-deep);
    font-weight: 700;
}

.analytics-inline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: var(--color-ink-soft);
    font-size: 0.95rem;
}

.analytics-inline-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 1199.98px) {
    .analytics-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .analytics-kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .analytics-status-chips {
        flex-direction: column;
        align-items: stretch;
    }

    .analytics-chart-wrap,
    .analytics-chart-wrap--lg {
        min-height: 18rem;
    }
}

.executive-header .hero-section {
    padding-bottom: 2.75rem;
}

.executive-summary-section {
    padding-top: 1rem;
}

.public-stat-list {
    display: grid;
    gap: 0.75rem;
}

.public-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(31, 95, 120, 0.1);
}

.public-stat-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.public-stat-row strong {
    color: var(--color-brand-deep);
    font-size: 1.05rem;
}

.news-detail-section,
.personnel-directory-section {
    padding-top: 2.5rem;
}

.news-detail-card,
.news-sidebar-card,
.personnel-directory-card {
    position: relative;
    overflow: hidden;
    padding: 1.75rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.news-detail-card::before,
.news-sidebar-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.42rem;
    background: linear-gradient(180deg, var(--color-brand-deep), var(--color-accent));
}

.news-detail-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 251, 0.96) 100%),
        linear-gradient(90deg, rgba(31, 95, 120, 0.04), transparent 16%);
}

.news-sidebar-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 251, 252, 0.95) 100%),
        radial-gradient(circle at top right, rgba(216, 167, 93, 0.1), transparent 30%);
}

.news-detail-title {
    margin: 1rem 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--color-brand-deep);
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-ink-soft);
}

.news-detail-image-wrap {
    margin-bottom: 1.5rem;
    border-radius: 1.2rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.news-detail-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.news-detail-summary {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-brand-deep);
}

.news-detail-content {
    line-height: 1.95;
    color: var(--color-ink-soft);
}

.news-detail-content h2,
.news-detail-content h3,
.oit-detail-text h2,
.oit-detail-text h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.news-detail-content blockquote,
.oit-detail-text blockquote {
    margin: 1.2rem 0;
    padding: 0.95rem 1.1rem 0.95rem 1.2rem;
    border-left: 4px solid rgba(216, 167, 93, 0.78);
    border-radius: 0 1rem 1rem 0;
    background: rgba(216, 167, 93, 0.08);
    color: var(--color-brand-deep);
}

.news-detail-content img,
.oit-detail-text img {
    border-radius: 1rem;
    box-shadow: 0 16px 32px rgba(17, 39, 57, 0.12);
}

.oit-detail-text {
    position: relative;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(31, 95, 120, 0.18);
}

.news-detail-share-wrap {
    margin-top: 1.8rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(31, 95, 120, 0.12);
}

.news-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.news-share-actions--compact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.news-share-label {
    font-size: calc(0.92rem * var(--font-scale-body, 1));
    font-weight: 700;
    color: var(--color-brand-deep);
}

.news-share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.62rem 0.92rem;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.06);
    color: var(--color-brand-deep);
    font-size: calc(0.9rem * var(--font-scale-body, 1));
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.news-share-button:hover,
.news-share-button:focus {
    background: rgba(31, 95, 120, 0.12);
    color: var(--color-brand);
}

.news-share-button.is-copied {
    background: rgba(36, 143, 94, 0.14);
    border-color: rgba(36, 143, 94, 0.22);
    color: #1e6b4b;
}

.news-detail-attachments {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(31, 95, 120, 0.12);
}

.news-detail-attachments h2,
.news-sidebar-card h2 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.personnel-directory-card {
    height: 100%;
}

.personnel-directory-top {
    margin-bottom: 1rem;
}

.personnel-type-chip {
    display: inline-flex;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand);
    font-size: 0.9rem;
    font-weight: 600;
}

.personnel-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(31, 95, 120, 0.08);
}

.personnel-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
}

.personnel-directory-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-brand-deep);
}

.personnel-position {
    margin-bottom: 1rem;
    color: var(--color-brand);
    font-weight: 600;
}

.personnel-directory-meta {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-ink-soft);
}

.personnel-biography {
    line-height: 1.8;
    color: var(--color-ink-soft);
}

.public-subpage-header {
    position: relative;
}

.public-content-section + .public-content-section {
    padding-top: 0;
}

.content-article-card,
.content-gallery-card,
.faq-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.content-article-card {
    padding: 1.8rem;
}

.content-article-card > *:last-child {
    margin-bottom: 0;
}

.content-article-card p,
.content-gallery-card p,
.faq-card p {
    color: var(--color-ink-soft);
    line-height: 1.85;
}

.content-rich-text,
.news-detail-content,
.oit-detail-text,
.content-article-card {
    color: var(--color-ink-soft);
}

.content-rich-text > *:first-child,
.news-detail-content > *:first-child,
.oit-detail-text > *:first-child,
.content-article-card > *:first-child {
    margin-top: 0;
}

.content-rich-text > *:last-child,
.news-detail-content > *:last-child,
.oit-detail-text > *:last-child,
.content-article-card > *:last-child {
    margin-bottom: 0;
}

.content-rich-text p,
.news-detail-content p,
.oit-detail-text p,
.content-article-card p {
    line-height: 1.9;
    margin-bottom: 1rem;
}

.content-rich-text h2,
.content-rich-text h3,
.content-rich-text h4,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.oit-detail-text h2,
.oit-detail-text h3,
.oit-detail-text h4,
.content-article-card h2,
.content-article-card h3,
.content-article-card h4 {
    line-height: 1.35;
}

.content-rich-text ul,
.content-rich-text ol,
.news-detail-content ul,
.news-detail-content ol,
.oit-detail-text ul,
.oit-detail-text ol,
.content-article-card ul,
.content-article-card ol {
    margin: 0 0 1.15rem;
    padding-left: 1.3rem;
    color: var(--color-ink-soft);
}

.content-rich-text li,
.news-detail-content li,
.oit-detail-text li,
.content-article-card li {
    margin-bottom: 0.45rem;
    line-height: 1.8;
}

.content-rich-text a,
.news-detail-content a,
.oit-detail-text a,
.content-article-card a {
    color: var(--color-brand);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

.content-rich-text a:hover,
.news-detail-content a:hover,
.oit-detail-text a:hover,
.content-article-card a:hover {
    color: var(--color-brand-deep);
}

.content-rich-text figure,
.news-detail-content figure,
.oit-detail-text figure,
.content-article-card figure {
    margin: 1.4rem 0;
}

.content-rich-text figcaption,
.news-detail-content figcaption,
.oit-detail-text figcaption,
.content-article-card figcaption {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    color: var(--color-ink-soft);
    text-align: center;
}

.content-rich-text table,
.news-detail-content table,
.oit-detail-text table,
.content-article-card table {
    width: 100%;
    margin: 1.3rem 0;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid rgba(31, 95, 120, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
}

.content-rich-text th,
.content-rich-text td,
.news-detail-content th,
.news-detail-content td,
.oit-detail-text th,
.oit-detail-text td,
.content-article-card th,
.content-article-card td {
    padding: 0.8rem 0.95rem;
    border-bottom: 1px solid rgba(31, 95, 120, 0.1);
    vertical-align: top;
}

.content-rich-text th,
.news-detail-content th,
.oit-detail-text th,
.content-article-card th {
    background: rgba(31, 95, 120, 0.08);
    color: var(--color-brand-deep);
    font-weight: 700;
}

.content-rich-text tr:last-child td,
.news-detail-content tr:last-child td,
.oit-detail-text tr:last-child td,
.content-article-card tr:last-child td {
    border-bottom: 0;
}

.content-rich-text iframe,
.news-detail-content iframe,
.oit-detail-text iframe,
.content-rich-text video,
.news-detail-content video,
.oit-detail-text video,
.content-article-card iframe,
.content-article-card video {
    width: 100%;
    min-height: 22rem;
    margin: 1.35rem 0;
    border: 0;
    border-radius: calc(var(--radius-lg) - 0.25rem);
    box-shadow: 0 16px 32px rgba(17, 39, 57, 0.1);
    background: rgba(18, 56, 77, 0.05);
}

.content-rich-text hr,
.news-detail-content hr,
.oit-detail-text hr,
.content-article-card hr {
    margin: 1.35rem 0;
    border: 0;
    border-top: 1px dashed rgba(31, 95, 120, 0.2);
}

.content-article-card iframe {
    width: 100%;
    min-height: 24rem;
    border: 0;
    border-radius: calc(var(--radius-lg) - 0.25rem);
}

.content-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.content-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--color-ink-soft);
}

.content-gallery-card {
    overflow: hidden;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.content-card-link:hover .content-gallery-card,
.content-card-link:focus .content-gallery-card,
.content-card-link:hover .feature-card,
.content-card-link:focus .feature-card {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(17, 39, 57, 0.14);
}

.content-gallery-image {
    height: 14rem;
    background:
        linear-gradient(180deg, rgba(18, 56, 77, 0.08), rgba(18, 56, 77, 0.4)),
        linear-gradient(160deg, #dbe8ee 0%, #1f5f78 100%);
    background-size: cover;
    background-position: center;
}

.content-gallery-body {
    padding: 1.2rem 1.25rem 1.35rem;
}

.content-gallery-body h3,
.faq-card h3 {
    margin-bottom: 0.65rem;
    font-size: calc(1.15rem * var(--font-scale-heading, 1));
    font-weight: 700;
    color: var(--color-brand-deep);
}

.embed-section-card {
    overflow: hidden;
}

.system-directory-card,
.homepage-event-card,
.homepage-system-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.system-directory-image-wrap,
.homepage-event-image-wrap,
.homepage-system-image-wrap {
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 2px);
}

.system-directory-image,
.homepage-event-image,
.homepage-system-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.homepage-system-image {
    height: 180px;
}

.homepage-systems-section .feature-card {
    padding: 1.15rem;
}

.homepage-system-card {
    gap: 0.6rem;
}

.homepage-system-card .homepage-system-image {
    height: 156px;
}

.homepage-system-card p {
    line-height: 1.72;
    margin-bottom: 0.45rem;
}

.homepage-system-card .mt-auto {
    margin-top: 0.45rem !important;
    padding-top: 0.1rem !important;
}

.system-directory-head {
    display: grid;
    gap: 0.55rem;
}

.system-directory-note,
.homepage-meta {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-ink-soft);
}

.homepage-meta i {
    color: var(--color-brand);
    margin-right: 0.35rem;
}

.system-directory-embed {
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 2px);
    border: 1px solid rgba(31, 95, 120, 0.14);
    background: rgba(255, 255, 255, 0.75);
}

.system-directory-embed iframe {
    min-height: 320px;
}

.homepage-inline-link {
    padding-inline: 0;
    font-weight: 700;
    color: var(--color-brand-deep);
    text-decoration: none;
}

.homepage-inline-link:hover,
.homepage-inline-link:focus {
    color: var(--color-brand);
}

.welcome-page-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(216, 167, 93, 0.18), transparent 24%),
        radial-gradient(circle at bottom right, rgba(31, 95, 120, 0.18), transparent 26%),
        linear-gradient(180deg, #eef6f7 0%, #f6fbfc 42%, #ffffff 100%);
}

.welcome-page-shell {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.welcome-page-stage {
    padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.welcome-page-card {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.8rem);
    border: 1px solid rgba(31, 95, 120, 0.1);
    border-radius: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 251, 0.96));
    box-shadow: 0 20px 70px rgba(31, 95, 120, 0.12);
}

.welcome-page-copy {
    display: grid;
    gap: 1.5rem;
    padding-inline: clamp(0rem, 1vw, 0.6rem);
}

.welcome-page-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    background: rgba(31, 95, 120, 0.1);
    color: var(--color-brand-deep);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.welcome-page-copy h1 {
    margin: 0;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    line-height: 1.02;
    color: var(--color-brand-deep);
    font-weight: 700;
}

.welcome-page-message {
    color: var(--color-ink-soft);
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.8;
}

.welcome-page-message > *:last-child {
    margin-bottom: 0;
}

.welcome-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    padding-top: 0.35rem;
}

.welcome-page-action-form {
    margin: 0;
}

.welcome-page-action-form--secondary {
    display: inline-flex;
    align-items: center;
}

.welcome-primary-button {
    min-width: 11.5rem;
    min-height: 3.7rem;
    padding-inline: 1.6rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
}

.welcome-secondary-link {
    padding: 0;
    border: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-brand-deep);
    text-decoration: none;
}

.welcome-secondary-link:hover,
.welcome-secondary-link:focus {
    color: var(--color-brand);
}

.welcome-page-visual {
    position: relative;
}

.welcome-page-image-frame {
    padding: clamp(0.4rem, 1vw, 0.75rem);
    background: linear-gradient(135deg, rgba(255, 211, 84, 0.9), rgba(255, 227, 133, 0.96));
    box-shadow: 0 24px 60px rgba(212, 174, 64, 0.18);
}

.welcome-page-image {
    width: 100%;
    min-height: 440px;
    object-fit: cover;
    display: block;
}

.welcome-page-placeholder {
    width: 100%;
    min-height: 440px;
    display: grid;
    place-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(18, 56, 77, 0.95), rgba(31, 95, 120, 0.84)),
        radial-gradient(circle at top, rgba(216, 167, 93, 0.28), transparent 28%);
    color: rgba(255, 255, 255, 0.88);
}

.welcome-page-placeholder-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.faq-card {
    padding: 1.5rem;
}

.faq-card--form {
    padding: 1.75rem;
}

.faq-card--form .faq-card-answer {
    margin-top: 0.9rem;
}

.faq-form-slot,
.faq-card-action {
    margin-top: 1rem;
}

.faq-card-action .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 14rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(17, 39, 57, 0.16);
}

.faq-card-action .btn::after {
    content: "\2192";
    font-size: 1rem;
    line-height: 1;
}

.faq-card-action .btn:hover,
.faq-card-action .btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(17, 39, 57, 0.2);
}

.faq-card--form .custom-form-embed {
    max-width: none;
    margin: 0;
}

@media (max-width: 991.98px) {
    .content-gallery-image {
        height: 11rem;
    }
}

@media (max-width: 767.98px) {
    .welcome-page-card {
        padding: 1.5rem;
    }

    .welcome-page-copy {
        gap: 1.15rem;
    }

    .welcome-page-copy h1 {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }

    .welcome-page-message {
        max-width: none;
    }

    .welcome-page-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-support-strip {
        gap: 0.65rem;
        margin-top: 1rem;
    }

    .hero-support-chip {
        width: 100%;
        min-width: 0;
    }

    .welcome-page-image,
    .welcome-page-placeholder {
        min-height: 240px;
    }

    .content-article-card,
    .faq-card {
        padding: 1.2rem;
    }

    .content-article-card iframe {
        min-height: 18rem;
    }

    .content-rich-text iframe,
    .news-detail-content iframe,
    .oit-detail-text iframe,
    .content-rich-text video,
    .news-detail-content video,
    .oit-detail-text video,
    .content-article-card video {
        min-height: 18rem;
    }

    .content-gallery-image {
        height: 9rem;
    }
}

@media (max-width: 767.98px) {
    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .content-engagement-card {
        flex-direction: column;
        align-items: stretch;
    }

    .content-engagement-card__actions {
        justify-content: stretch;
    }

    .content-engagement-stat,
    .content-like-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-userbox {
        width: 100%;
        justify-content: space-between;
    }

    .admin-user-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .admin-card-header,
    .admin-card-body {
        padding: 1.15rem;
    }

    .admin-content-overview,
    .admin-form-toolbar,
    .admin-content-overview-stats {
        grid-template-columns: 1fr;
    }

    .admin-content-shell-header,
    .admin-content-section-head,
    .admin-content-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-content-preview-link,
    .admin-content-save-btn {
        width: 100%;
    }

    .admin-content-sidebar {
        position: static;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.9rem;
    }

    .admin-table--events .admin-table-sticky-action {
        position: sticky;
        right: 0;
        z-index: 2;
        background: #fff;
        box-shadow: -10px 0 18px rgba(17, 39, 57, 0.08);
    }

    .admin-table--events td.admin-table-sticky-action {
        min-width: 8.75rem;
    }

    .admin-table--events .admin-table-action-stack {
        display: inline-flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .admin-table--events .admin-table-action-stack .btn {
        width: 100%;
    }

    .admin-form .tox-tinymce {
        border-radius: 0.95rem !important;
    }

    .admin-form .tox .tox-toolbar__group {
        gap: 0.12rem;
    }

    .admin-userbox {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-user-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .hero-section > .container,
    .section-block > .container {
        padding: 0.85rem;
        border-radius: 1rem;
    }

    .content-engagement-section > .container {
        padding: 0.75rem 0.8rem;
    }

    .hero-carousel-card,
    .news-highlight-featured {
        min-height: 18.5rem;
    }

    .hero-carousel-control {
        top: 0.75rem;
        width: 2.2rem;
        height: 2.2rem;
    }

    .news-highlight-sidebar-thumb {
        width: 3.7rem;
        height: 2.9rem;
    }

    .news-grid-card-img {
        aspect-ratio: 16 / 10;
    }

    .homepage-event-image,
    .homepage-system-image {
        height: 9.4rem;
    }

    .content-rich-text table,
    .news-detail-content table,
    .oit-detail-text table,
    .content-article-card table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}