:root {
    --library-green: #114c32;
    --library-deep: #092719;
    --library-gold: #d7a621;
    --library-ink: #17212b;
    --library-muted: #63717d;
    --library-line: #dfe7e2;
    --library-soft: #f5f8f6;
    --library-white: #ffffff;
}

body {
    background: var(--library-soft);
    color: var(--library-ink);
    overflow-x: hidden;
}

a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.library-shell {
    background: var(--library-soft);
    font-family: Arial, Helvetica, sans-serif;
}

.library-topbar {
    background: linear-gradient(90deg, var(--library-deep) 0%, #0f3122 100%);
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    padding: 10px 0;
}

.library-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    flex-wrap: wrap;
}

.library-topbar-contact,
.library-topbar-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.library-topbar a {
    color: rgba(255, 255, 255, .95);
    text-decoration: none;
    font-weight: 700;
}

.library-topbar a:hover {
    color: var(--library-gold);
}

.library-topbar span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.library-nav {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--library-line);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 28px rgba(15, 42, 28, .08);
    backdrop-filter: blur(8px);
}

.library-nav-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    flex-wrap: wrap;
    padding: 10px 0;
}

.library-brand,
.library-brand-text,
.library-nav-actions,
.library-nav-links {
    min-width: 0;
}

.library-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
}

.library-brand-mark {
    width: 44px;
    height: auto;
    flex-shrink: 0;
}

.library-nav-links {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
}

.library-nav-control {
    display: none;
    align-items: center;
    justify-content: center;
}

.library-brand-mark img,
.library-brand-logo {
    width: 100%;
    max-width: 100%;
    max-height: 38px;
    height: auto;
    display: block;
}

.library-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.library-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--library-green);
    color: var(--library-white);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.library-nav-cta:hover {
    background: var(--library-deep);
    color: var(--library-white);
    text-decoration: none;
}

.library-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(17, 76, 50, .45);
    border-radius: 14px;
    color: var(--library-deep);
    background: rgba(228, 239, 233, .98);
    box-shadow: 0 4px 14px rgba(15, 42, 28, .12);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
}

.library-menu-toggle:hover {
    background: rgba(209, 230, 215, .95);
}

.library-menu-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inset: 0;
    transition: opacity .2s ease, transform .2s ease;
    color: var(--library-deep);
}

.library-menu-icon i {
    display: none;
}

.library-menu-icon-burger::before,
.library-menu-icon-burger::after,
.library-menu-icon-burger {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--library-deep);
}

.library-menu-icon-burger {
    inset: auto;
    position: relative;
}

.library-menu-icon-burger::before,
.library-menu-icon-burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.library-menu-icon-burger::before {
    top: -7px;
}

.library-menu-icon-burger::after {
    top: 7px;
}

.library-menu-icon-close::before,
.library-menu-icon-close::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--library-deep);
}

.library-menu-icon-close::before {
    transform: rotate(45deg);
}

.library-menu-icon-close::after {
    transform: rotate(-45deg);
}

.library-menu-icon-close {
    opacity: 0;
    transform: scale(0.9);
}

.library-menu-toggle.is-active .library-menu-icon-close {
    opacity: 1;
    transform: scale(1);
}

.library-menu-toggle.is-active .library-menu-icon-burger {
    opacity: 0;
    transform: scale(0.88);
}

.library-menu-toggle.is-active {
    background: rgba(17, 76, 50, .12);
    color: var(--library-deep);
    border-color: rgba(17, 76, 50, .55);
}

.library-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.library-menu li {
    list-style: none;
}

.library-menu a {
    color: #263642;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.library-menu a:hover,
.library-menu a.active {
    background: rgba(17, 76, 50, .09);
    color: var(--library-green);
    text-decoration: none;
}

.library-dropdown {
    position: relative;
}

.library-dropdown-menu {
    position: relative;
    display: inline-block;
}

.library-dropdown-menu summary {
    list-style: none;
    cursor: pointer;
    color: #263642;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

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

.library-dropdown-menu[open] summary,
.library-dropdown-menu summary:hover {
    background: rgba(17, 76, 50, .09);
    color: var(--library-green);
}

.library-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 170px;
    background: var(--library-white);
    border: 1px solid var(--library-line);
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(23, 33, 43, .12);
    padding: 8px 0;
    display: grid;
    z-index: 1100;
}

.library-dropdown-panel a {
    color: #263642;
    padding: 10px 14px;
    font-weight: 700;
    text-decoration: none;
}

.library-dropdown-panel a:hover {
    background: rgba(17, 76, 50, .06);
    color: var(--library-green);
}

@media (max-width: 768px) {
    .library-topbar {
        padding: 10px 0;
    }

    .library-topbar-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .library-topbar-contact,
    .library-topbar-meta {
        gap: 8px 12px;
    }

    .library-nav-inner {
        min-height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
        align-items: center;
    }

    .library-brand {
        min-width: 0;
        flex: 1 1 100%;
        display: inline-flex;
        align-items: center;
        gap: 13px;
        overflow: hidden;
        text-decoration: none;
    }

    .library-brand-mark {
        width: 42px;
        height: auto;
        flex-shrink: 0;
    }

    .library-brand-mark img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .library-brand-text {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .library-brand strong,
    .library-brand small {
        display: block;
        overflow-wrap: anywhere;
        word-break: break-word;
        margin: 0;
    }

    .library-brand strong {
        font-size: 16px;
    }

    .library-brand small {
        font-size: 12px;
        color: var(--library-muted);
    }

    .library-nav-actions {
        width: auto;
        margin-left: 0;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    .library-nav-control {
        display: flex;
    }

    .library-menu-toggle {
        display: inline-flex !important;
        visibility: visible !important;
    }

    .library-nav-links {
        width: 100%;
        order: 3;
    }

    .library-nav-control {
        order: 2;
    }

    .library-nav-actions {
        order: 1;
    }

    .library-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 10px;
        padding: 14px;
        border: 1px solid rgba(17, 76, 50, .16);
        border-radius: 14px;
        background: linear-gradient(180deg, #f7fbf8 0%, #eef5f0 100%);
        background-color: #f7fbf8;
        box-shadow: 0 10px 24px rgba(23, 33, 43, .08);
        animation: libraryMenuFade .25s ease-out;
    }

    .library-menu a,
    .library-dropdown-menu summary {
        width: 100%;
        justify-content: flex-start;
    }

    .library-dropdown-menu {
        display: block;
        width: 100%;
    }

    .library-dropdown-panel {
        position: static;
        margin-top: 6px;
        border: 0;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 8px;
    }

    .library-menu.is-open {
        display: flex;
        background: linear-gradient(180deg, #f7fbf8 0%, #eef5f0 100%);
        border-color: rgba(17, 76, 50, .18);
    }
}

@keyframes libraryMenuFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .library-brand {
        gap: 10px;
        flex-wrap: wrap;
        width: 100%;
    }

    .library-brand-mark {
        width: 42px;
        height: 42px;
    }

    .library-brand-text {
        min-width: 0;
        flex: 1 1 auto;
        width: auto;
        max-width: 100%;
    }

    .library-brand strong {
        font-size: 14px;
    }

    .library-brand small {
        font-size: 10px;
    }
}

.library-hero {
    position: relative;
    color: var(--library-white);
    background:
        linear-gradient(90deg, rgba(9, 39, 25, .93) 0%, rgba(9, 39, 25, .82) 48%, rgba(9, 39, 25, .44) 100%),
        url("/assets/img/bg/bg-1.jpg") center/cover no-repeat;
}

.library-hero-inner {
    min-height: 520px;
    display: grid;
    align-items: center;
    padding: 60px 0 28px;
}

.library-eyebrow {
    color: var(--library-gold);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.library-hero h1 {
    color: var(--library-white);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.06;
    font-weight: 900;
    margin: 0 0 20px;
    max-width: 850px;
}

.library-hero p {
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.75;
    max-width: 760px;
    margin-bottom: 0;
}

.library-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.library-btn-primary,
.library-btn-secondary,
.library-btn-light {
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
}

.library-btn-primary {
    background: var(--library-gold);
    border: 1px solid var(--library-gold);
    color: #161204;
}

.library-btn-primary:hover {
    color: #161204;
    transform: translateY(-1px);
    text-decoration: none;
}

.library-btn-secondary {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .45);
    color: var(--library-white);
}

.library-btn-secondary:hover {
    color: var(--library-white);
    border-color: var(--library-white);
    text-decoration: none;
}

.library-btn-light {
    background: var(--library-white);
    border: 1px solid var(--library-white);
    color: var(--library-green);
}

.library-btn-light:hover {
    color: var(--library-green);
    transform: translateY(-1px);
    text-decoration: none;
}

.library-search-panel {
    background: var(--library-white);
    color: var(--library-ink);
    border-radius: 8px;
    padding: 22px;
    margin-top: 38px;
    max-width: 980px;
    box-shadow: 0 24px 55px rgba(3, 24, 14, .28);
}

.library-search-panel label {
    color: var(--library-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.library-search-panel .form-control,
.library-search-panel .form-select {
    border: 1px solid var(--library-line);
    border-radius: 6px;
    color: var(--library-ink);
    height: 50px;
    font-weight: 700;
}

.library-search-panel button {
    background: var(--library-green);
    border: 1px solid var(--library-green);
    border-radius: 6px;
    color: var(--library-white);
    height: 50px;
    width: 100%;
    font-weight: 900;
}

.library-quick-strip {
    transform: translateY(-36px);
    margin-bottom: -4px;
}

.library-quick-card {
    background: var(--library-white);
    border: 1px solid var(--library-line);
    border-radius: 8px;
    min-height: 128px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 16px 34px rgba(23, 33, 43, .08);
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

.library-quick-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.library-quick-card i {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(15, 79, 58, .12), rgba(31, 122, 120, .2));
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    flex: 0 0 auto;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(15, 79, 58, .08);
}

.library-quick-card i::before {
    content: "";
    width: 24px;
    height: 19px;
    border: 2px solid var(--library-green);
    border-radius: 5px;
}

.library-quick-card i::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--library-green);
    box-shadow: 0 7px 0 rgba(15, 79, 58, .72);
}

.library-quick-card .ri-global-line::before {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.library-quick-card .ri-global-line::after {
    width: 25px;
    box-shadow: 0 -7px 0 -5px var(--library-green), 0 7px 0 -5px var(--library-green);
}

.library-quick-card .ri-folder-open-line::before {
    width: 28px;
    height: 20px;
    border-radius: 5px;
    transform: translateY(2px);
}

.library-quick-card .ri-folder-open-line::after {
    width: 14px;
    transform: translate(-5px, -9px);
    box-shadow: none;
}

.library-quick-card .ri-customer-service-2-line::before {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.library-quick-card .ri-customer-service-2-line::after {
    width: 13px;
    transform: translate(12px, 12px) rotate(45deg);
    box-shadow: none;
}

.library-quick-card h3 {
    color: var(--library-ink);
    font-size: 17px;
    font-weight: 900;
    margin: 0 0 7px;
}

.library-quick-card p {
    color: var(--library-muted);
    line-height: 1.55;
    margin: 0;
}

.library-quick-card span {
    min-width: 0;
}

.library-section {
    padding: 76px 0;
}

.library-section.compact {
    padding-top: 34px;
}

.library-section.white {
    background: var(--library-white);
}

.library-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.library-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.library-heading span {
    color: var(--library-green);
    display: block;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.library-heading h2 {
    color: var(--library-ink);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.18;
    margin: 0;
    text-align: inherit;
}

.library-heading p {
    color: var(--library-muted);
    line-height: 1.75;
    margin: 14px 0 0;
}

.library-feature-image {
    min-height: 440px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(8, 36, 27, .08), rgba(8, 36, 27, .42)),
        url("../../img/logo/adminbuiding.jpg") center/cover no-repeat;
    box-shadow: 0 18px 38px rgba(23, 33, 43, .12);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.library-feature-image::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 8px;
    pointer-events: none;
}

.library-feature-badge {
    position: absolute;
    left: 24px;
    top: 24px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 14px 34px rgba(8, 36, 27, .18);
}

.library-feature-badge span,
.library-feature-badge strong {
    display: block;
    line-height: 1.1;
}

.library-feature-badge span {
    color: var(--library-green);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.library-feature-badge strong {
    color: var(--library-deep);
    font-size: 16px;
    font-weight: 900;
}

.library-feature-stats {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.library-feature-stats div {
    background: rgba(8, 36, 27, .86);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    padding: 16px;
    backdrop-filter: blur(8px);
}

.library-feature-stats strong,
.library-feature-stats span {
    display: block;
}

.library-feature-stats strong {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.library-feature-stats span {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 800;
}

.library-info-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 14px;
}

.library-info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #32424f;
    line-height: 1.6;
    font-weight: 700;
}

.library-info-list i {
    color: var(--library-gold);
    font-size: 21px;
    margin-top: 2px;
}

.library-service-card,
.library-resource-card,
.library-news-card,
.library-event-card {
    background: var(--library-white);
    border: 1px solid var(--library-line);
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 12px 28px rgba(23, 33, 43, .06);
}

.library-service-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.library-service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 79, 58, .22);
    box-shadow: 0 18px 42px rgba(20, 42, 32, .11);
}

.library-service-card i {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0f4f3a 0%, #1f7a78 100%);
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 14px 28px rgba(15, 79, 58, .22);
}

.library-service-card i::before {
    content: "";
    width: 25px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, .95);
    border-radius: 5px;
    display: block;
}

.library-service-card i::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 7px 0 rgba(255, 255, 255, .8);
}

.library-service-card .ri-question-answer-line::before,
.library-service-card .ri-search-eye-line::before {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.library-service-card .ri-question-answer-line::after,
.library-service-card .ri-search-eye-line::after {
    width: 10px;
    transform: translate(12px, 12px) rotate(45deg);
    box-shadow: none;
}

.library-service-card .ri-database-2-line::before {
    width: 26px;
    height: 14px;
    border-radius: 50%;
    transform: translateY(-5px);
    box-shadow: 0 11px 0 -2px rgba(255, 255, 255, .28);
}

.library-service-card .ri-database-2-line::after {
    width: 26px;
    transform: translateY(7px);
    box-shadow: none;
}

.library-service-card .ri-newspaper-line::before {
    width: 26px;
    height: 22px;
    border-radius: 4px;
}

.library-service-card .ri-newspaper-line::after {
    width: 16px;
    transform: translateX(2px);
    box-shadow: 0 6px 0 rgba(255, 255, 255, .8), 0 -6px 0 rgba(255, 255, 255, .8);
}

.library-service-card .ri-bookmark-3-line::before {
    width: 22px;
    height: 28px;
    border-radius: 4px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}

.library-service-card .ri-bookmark-3-line::after {
    display: none;
}

.library-service-card h3,
.library-resource-card h3,
.library-news-card h3,
.library-event-card h3 {
    color: var(--library-ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 10px;
}

.library-service-card p,
.library-news-card p,
.library-event-card p {
    color: var(--library-muted);
    line-height: 1.7;
    margin: 0;
}

.library-resource-card {
    padding: 28px;
}

.library-resource-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.library-resource-list li {
    border-top: 1px solid var(--library-line);
}

.library-resource-list a {
    color: #263642;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    font-weight: 800;
    text-decoration: none;
}

.library-resource-list a:hover {
    color: var(--library-green);
}

.library-mission-panel {
    background: var(--library-green);
    color: var(--library-white);
    border-radius: 8px;
    padding: 34px;
    height: 100%;
}

.library-mission-panel.alt {
    background: var(--library-ink);
}

.library-mission-panel.gold {
    background: var(--library-gold);
    color: #161204;
}

.library-mission-panel h3 {
    color: inherit;
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 12px;
}

.library-mission-panel p {
    color: inherit;
    line-height: 1.72;
    margin: 0;
}

.library-stats {
    background: var(--library-deep);
    color: var(--library-white);
    padding: 34px 0;
}

.library-stat {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.library-stat i {
    color: var(--library-gold);
    font-size: 34px;
}

.library-stat strong {
    color: var(--library-white);
    display: block;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.library-stat span {
    color: rgba(255, 255, 255, .75);
    display: block;
    margin-top: 6px;
    font-weight: 700;
}

.library-event-card {
    overflow: hidden;
}

.library-event-media {
    min-height: 260px;
    background: var(--library-green);
    position: relative;
}

.library-event-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.library-event-body {
    padding: 26px;
}

.library-event-status {
    background: var(--library-gold);
    color: #161204;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.library-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.library-countdown div {
    background: var(--library-soft);
    border-radius: 6px;
    padding: 12px 6px;
    text-align: center;
}

.library-countdown strong {
    color: var(--library-green);
    display: block;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

.library-countdown span {
    color: var(--library-muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 5px;
}

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

.library-news-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.library-news-body {
    padding: 22px;
}

.library-meta {
    color: var(--library-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.library-news-card a {
    color: var(--library-ink);
    text-decoration: none;
}

.library-news-card a:hover {
    color: var(--library-green);
}

.library-cta {
    background:
        linear-gradient(90deg, rgba(17, 76, 50, .98), rgba(23, 33, 43, .94)),
        url("/assets/img/bg/bg-3.jpg") center/cover no-repeat;
    border-radius: 8px;
    color: var(--library-white);
    padding: 42px;
}

.library-cta h2 {
    color: var(--library-white);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 10px;
    text-align: left;
}

.library-cta p {
    color: rgba(255, 255, 255, .86);
    line-height: 1.7;
    margin: 0;
}

.library-footer {
    background: var(--library-deep);
    color: var(--library-white);
    padding: 56px 0 24px;
}

.library-footer h3 {
    color: var(--library-white);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 16px;
}

.library-footer p,
.library-footer a {
    color: rgba(255, 255, 255, .76);
    line-height: 1.7;
}

.library-footer a {
    text-decoration: none;
}

.library-footer a:hover {
    color: var(--library-white);
}

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

.library-footer li {
    margin-bottom: 8px;
}

.library-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 34px;
    padding-top: 20px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

@media (max-width: 991px) {
    .library-nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
        gap: 14px;
    }

    .library-menu {
        justify-content: flex-start;
    }

    .library-hero-inner {
        min-height: auto;
        padding: 46px 0 60px;
    }

    .library-feature-image {
        min-height: 320px;
        margin-bottom: 28px;
    }

    .library-quick-strip {
        transform: none;
        margin: 28px 0 0;
    }
}

@media (max-width: 575px) {
    .library-topbar span {
        display: flex;
        margin: 0 0 5px;
        white-space: normal;
    }

    .library-brand {
        min-width: 0;
    }

    .library-menu a {
        min-height: 36px;
        padding: 8px 9px;
        font-size: 13px;
    }

    .library-search-panel,
    .library-cta {
        padding: 20px;
    }

    .library-feature-image {
        padding: 18px;
    }

    .library-feature-badge {
        left: 18px;
        top: 18px;
    }

    .library-feature-stats {
        grid-template-columns: 1fr;
    }

    .library-quick-card {
        align-items: center;
        padding: 20px;
    }

    .library-quick-card i {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .library-section {
        padding: 54px 0;
    }

    .library-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 2026 library program refresh */
.library-shell {
    --library-green: #0f4f3a;
    --library-deep: #08241b;
    --library-gold: #c89418;
    --library-teal: #1f7a78;
    --library-ink: #17222b;
    --library-muted: #64727e;
    --library-line: #dce7e2;
    --library-soft: #f4f8f6;
    --library-white: #ffffff;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

.library-brand-text strong,
.library-brand-text small {
    display: block;
    line-height: 1.1;
}

.library-brand-text strong {
    color: var(--library-deep);
    font-size: 16px;
    letter-spacing: 0;
}

.library-brand-text small {
    color: var(--library-muted);
    font-size: 12px;
    margin-top: 3px;
}

.library-hero {
    background:
        linear-gradient(90deg, rgba(8, 36, 27, .92), rgba(15, 79, 58, .78)),
        url("../../img/logo/adminbuiding.jpg") center/cover no-repeat;
}

.library-hero h1,
.library-page-hero h1 {
    letter-spacing: 0;
}

.library-btn-primary,
.library-btn-secondary,
.library-btn-light,
.library-search-panel button {
    border-radius: 8px;
}

.library-page-hero {
    background:
        linear-gradient(90deg, rgba(8, 36, 27, .94), rgba(31, 122, 120, .72)),
        url("../../img/logo/adminbuiding.jpg") center/cover no-repeat;
    color: #fff;
    padding: 72px 0 58px;
}

.library-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 28px;
    align-items: end;
}

.library-page-hero h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 850;
    margin: 8px 0 14px;
}

.library-page-hero p {
    color: rgba(255, 255, 255, .88);
    max-width: 720px;
    font-size: 17px;
    margin: 0;
}

.library-page-search {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    padding: 18px;
    backdrop-filter: blur(12px);
}

.library-page-search label {
    color: rgba(255, 255, 255, .84);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 8px;
}

.library-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
}

.library-search-row input {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
}

.library-search-row button {
    border: 0;
    border-radius: 8px;
    background: var(--library-gold);
    color: var(--library-deep);
    font-size: 20px;
}

.library-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.library-results-head h2 {
    color: var(--library-deep);
    font-size: 26px;
    font-weight: 850;
    margin: 0;
}

.library-record-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.library-record-card,
.library-text-panel {
    background: #fff;
    border: 1px solid var(--library-line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 18px 44px rgba(20, 42, 32, .08);
}

.library-record-kicker {
    display: inline-flex;
    color: var(--library-green);
    background: rgba(15, 79, 58, .09);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 850;
    margin-bottom: 14px;
}

.library-record-card h3 {
    color: var(--library-deep);
    font-size: 19px;
    font-weight: 850;
    line-height: 1.25;
    margin: 0 0 8px;
}

.library-record-card p,
.library-text-panel p {
    color: var(--library-muted);
    margin-bottom: 16px;
}

.library-record-meta,
.library-feature-list,
.library-contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.library-record-meta span,
.library-feature-list span,
.library-contact-grid span,
.library-contact-grid a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #33434e;
    background: #f6faf8;
    border: 1px solid var(--library-line);
    border-radius: 8px;
    padding: 9px 11px;
    text-decoration: none;
}

.library-inline-link {
    color: var(--library-green);
    font-weight: 850;
    text-decoration: none;
}

.library-inline-link:hover {
    color: var(--library-teal);
}

.library-result-group-title {
    color: var(--library-deep);
    font-size: 18px;
    font-weight: 850;
    margin: 28px 0 14px;
}

.library-result-group-title:first-of-type {
    margin-top: 0;
}

.library-empty-state {
    background: #fff;
    border: 1px dashed rgba(15, 79, 58, .28);
    border-radius: 8px;
    padding: 34px 24px;
    text-align: center;
    color: var(--library-muted);
}

.library-empty-state i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: var(--library-green);
    background: rgba(15, 79, 58, .09);
    border-radius: 8px;
    font-size: 28px;
    margin-bottom: 14px;
}

.library-empty-state h3 {
    color: var(--library-deep);
    font-size: 20px;
    font-weight: 850;
    margin-bottom: 8px;
}

.library-empty-state p {
    margin-bottom: 0;
}

.library-operations {
    background: linear-gradient(180deg, #f4f8f6 0%, #edf4f1 100%);
}

.library-hours-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--library-line);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 18px 44px rgba(20, 42, 32, .08);
}

.library-hours-card h3 {
    color: var(--library-deep);
    font-size: 24px;
    font-weight: 900;
    margin: 8px 0 20px;
}

.library-hours-list {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.library-hours-list div,
.library-update-list article,
.library-profile-grid article,
.library-editorial-card {
    background: #fff;
    border: 1px solid var(--library-line);
    border-radius: 8px;
}

.library-hours-list div {
    padding: 14px;
}

.library-hours-list span,
.library-hours-list strong {
    display: block;
}

.library-hours-list span {
    color: var(--library-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.library-hours-list strong {
    color: var(--library-deep);
    font-size: 16px;
}

.library-update-list {
    display: grid;
    gap: 14px;
}

.library-update-list article {
    padding: 20px;
    box-shadow: 0 12px 30px rgba(20, 42, 32, .06);
}

.library-update-list span,
.library-editorial-card .library-meta span:first-child {
    color: var(--library-green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.library-update-list h3 {
    color: var(--library-deep);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    margin: 7px 0 8px;
}

.library-update-list p,
.library-editorial-card p,
.library-profile-grid p {
    color: var(--library-muted);
    line-height: 1.65;
    margin: 0;
}

.library-editorial-card {
    min-height: 260px;
}

.library-editorial-card h3 a {
    color: var(--library-deep);
    text-decoration: none;
}

.library-editorial-card h3 a:hover {
    color: var(--library-green);
}

.library-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.library-profile-grid article {
    padding: 22px;
    box-shadow: 0 14px 34px rgba(20, 42, 32, .06);
}

.library-profile-grid h3 {
    color: var(--library-deep);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 10px;
}

.library-admin-body {
    background: #eef4f1;
    color: #17222b;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

.library-admin-body.is-login {
    background:
        linear-gradient(90deg, rgba(8, 36, 27, .92), rgba(31, 122, 120, .78)),
        url("../../img/logo/adminbuiding.jpg") center/cover fixed no-repeat;
}

.library-admin-shell {
    min-height: 100vh;
}

.library-admin-topbar {
    background: linear-gradient(90deg, #08241b 0%, #0f4f3a 56%, #1f7a78 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.library-admin-topbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 8px;
}

.library-admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.library-admin-brand:hover {
    color: #fff;
    text-decoration: none;
}

.library-admin-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: rgba(255, 255, 255, .96);
    border-radius: 8px;
    padding: 4px;
}

.library-admin-brand strong,
.library-admin-brand small {
    display: block;
    line-height: 1.1;
}

.library-admin-brand strong {
    font-size: 17px;
    font-weight: 850;
}

.library-admin-brand small {
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    margin-top: 4px;
}

.library-admin-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.library-admin-actions .btn,
.library-admin-login .btn,
.wrap .btn,
.dash .btn {
    border-radius: 8px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.library-admin-nav {
    background: #fff;
    border-bottom: 1px solid #dce7e2;
    box-shadow: 0 12px 28px rgba(20, 42, 32, .06);
}

.library-admin-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    overflow-x: auto;
    padding: 12px 8px;
    margin: 0;
}

.library-admin-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    color: #34434f;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 8px 13px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
}

.library-admin-nav a:hover,
.library-admin-nav a.active {
    color: #0f4f3a;
    background: rgba(15, 79, 58, .09);
    border-color: rgba(15, 79, 58, .16);
}

.library-admin-body .wrap,
.library-admin-body .dash {
    max-width: 1180px;
    margin: 24px auto;
}

.library-admin-body h4,
.library-admin-body h5 {
    color: #08241b;
    font-weight: 850;
    letter-spacing: 0;
}

.library-admin-body .card,
.library-admin-body .table-responsive,
.library-admin-body form:not(#loginForm):not(.admin-inline-form) {
    border: 1px solid #dce7e2;
    border-radius: 8px !important;
    box-shadow: 0 16px 38px rgba(20, 42, 32, .07);
}

.library-admin-body .card {
    overflow: hidden;
}

.library-admin-body .card .text-muted {
    color: #64727e !important;
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.library-admin-body .card .fs-4 {
    color: #0f4f3a;
    font-size: 34px !important;
}

.library-admin-body .table-responsive {
    padding: 0 !important;
    background: #fff;
    overflow-x: auto;
    overflow-y: visible;
}

.library-admin-body .table {
    margin-bottom: 0;
    min-width: 960px;
    table-layout: auto;
}

.library-admin-body .table thead th {
    background: #f3f8f6;
    color: #31414c;
    border-bottom: 1px solid #dce7e2;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 13px 12px;
}

.library-admin-body .table tbody td {
    vertical-align: middle;
    color: #263642;
    padding: 12px;
}

.library-admin-body form:not(#loginForm):not(.admin-inline-form) {
    background: #fff;
    padding: 24px;
}

.admin-table-panel {
    position: relative;
}

.admin-table-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid #dce7e2;
    background: #fff;
}

.admin-table-search {
    position: relative;
    flex: 1 1 360px;
    max-width: 520px;
}

.admin-table-search i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #64727e;
    font-size: 18px;
}

.admin-table-search .form-control {
    padding-left: 40px;
}

.admin-table-count {
    color: #64727e;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.admin-table-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #dce7e2;
}

.admin-table-pagination span {
    color: #34434f;
    font-size: 13px;
    font-weight: 800;
}

.admin-actions-col,
.admin-actions-cell {
    width: 1%;
    min-width: 168px;
    white-space: nowrap;
}

.admin-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.admin-inline-form {
    display: inline-flex !important;
    align-items: center;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.admin-empty-row td {
    text-align: center;
    color: #64727e;
    padding: 28px 12px !important;
}

.library-admin-body label,
.library-admin-login label {
    color: #34434f;
    font-weight: 800;
    margin-bottom: 6px;
}

.library-admin-body .form-control {
    border-radius: 8px;
    border-color: #d4e0db;
    min-height: 44px;
}

.library-admin-body .form-control:focus {
    border-color: #1f7a78;
    box-shadow: 0 0 0 .2rem rgba(31, 122, 120, .15);
}

.admin-dashboard-hero,
.admin-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(90deg, #08241b 0%, #0f4f3a 100%);
    color: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 18px 42px rgba(8, 36, 27, .18);
}

.admin-dashboard-hero span,
.admin-form-head span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.admin-dashboard-hero h4,
.admin-form-head h4 {
    color: #fff;
    margin: 0 0 8px;
}

.admin-dashboard-hero p,
.admin-form-head p {
    color: rgba(255, 255, 255, .78);
    margin: 0;
    max-width: 720px;
}

.admin-stat-card span {
    color: #64727e;
    font-size: 12px;
    font-weight: 800;
}

.admin-work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-work-grid a {
    display: block;
    background: #fff;
    border: 1px solid #dce7e2;
    border-radius: 8px;
    padding: 18px;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(20, 42, 32, .06);
}

.admin-work-grid strong,
.admin-work-grid span {
    display: block;
}

.admin-work-grid strong {
    color: #08241b;
    font-weight: 900;
    margin-bottom: 6px;
}

.admin-work-grid span {
    color: #64727e;
    line-height: 1.5;
}

.admin-record-form {
    display: grid;
    gap: 18px;
}

.admin-form-section {
    border: 1px solid #dce7e2;
    border-radius: 8px;
    padding: 20px;
    background: #fbfdfc;
}

.admin-form-section h5 {
    color: #08241b;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 16px;
}

.admin-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.library-admin-login {
    width: min(480px, calc(100% - 32px));
    margin: 7vh auto;
    padding: 30px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.library-admin-login-mark {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #0f4f3a;
    border-radius: 8px;
    font-size: 26px;
    margin-bottom: 16px;
}

.library-admin-login h3 {
    color: #08241b;
    font-weight: 850;
    margin-bottom: 8px;
}

.library-admin-login p {
    color: #64727e;
    margin-bottom: 22px;
}

@media (max-width: 991px) {
    .library-page-hero-grid,
    .library-record-grid {
        grid-template-columns: 1fr;
    }

    .library-admin-topbar-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .library-admin-actions {
        justify-content: flex-start;
    }

    .admin-table-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-table-search {
        max-width: none;
    }

    .library-profile-grid,
    .admin-work-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-hero,
    .admin-form-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .library-page-hero {
        padding: 50px 0 42px;
    }

    .library-admin-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
