:root {
    --blue: #063b9b;
    --blue2: #0754d8;
    --ink: #101b3d;
    --muted: #69738d;
    --line: #e8edf5;
    --soft: #f7f9fd;
    --red: #ed1c24;
    --green: #08a676;
    --orange: #ff8a00;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Be Vietnam Pro", sans-serif;
    color: var(--ink);
    font-size: 14px;
    background: rgb(255, 255, 255);
}

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

button, input {
    font: inherit;
}

.page-loader {
    position: fixed;
    inset: 0px;
    background: rgb(255, 255, 255);
    display: grid;
    place-items: center;
    z-index: 9999;
    pointer-events: none;
    animation: page-loader-hide 0.45s ease forwards;
    animation-delay: 0.35s;
}

/* Tự ẩn bằng CSS thuần, KHÔNG phụ thuộc JavaScript (setTimeout/sự kiện 'enhancedload')
   — trên Blazor SSR enhanced navigation, layout chứa div này được render lại mỗi lần
   chuyển trang, nhưng site.js không luôn chắc chắn chạy lại kịp lúc, khiến overlay bị
   kẹt hiển thị vĩnh viễn (chỉ F5 mới hết). Animation CSS luôn tự chạy khi phần tử được
   chèn vào DOM, không phụ thuộc thời điểm/independent script chạy lại. */
@keyframes page-loader-hide {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader {
        animation-duration: 0.01ms;
        animation-delay: 0s;
    }
}

.loader-mark {
    width: 76px;
    height: 76px;
    border-width: 4px;
    border-style: solid;
    border-right-color: rgb(220, 231, 250);
    border-bottom-color: rgb(220, 231, 250);
    border-left-color: rgb(220, 231, 250);
    border-image: none;
    border-top-color: var(--blue2);
    border-radius: 50%;
    animation: 0.8s linear 0s infinite normal none running spin;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.site-shell {
    max-width: 1660px;
    margin: auto;
}

.topbar {
    padding: 18px 0px;
}

.brand-logo {
    width: min(570px, 100%);
    height: 112px;
    object-fit: contain;
    object-position: left center;
}

.tools {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    color: rgb(38, 53, 92);
    font-size: 13px;
    font-weight: 600;
}

.tools a:hover {
    color: var(--blue2);
}

.header-search {
    border: 1px solid rgb(223, 229, 239);
    border-radius: 9px;
    overflow: hidden;
    display: flex;
    height: 52px;
}

.header-search input {
    border: 0px;
    outline: 0px;
    padding: 0px 20px;
    flex: 1 1 0%;
}

.header-search button {
    border: 0px;
    background: var(--blue);
    color: rgb(255, 255, 255);
    width: 64px;
}

.weather {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 220px;
}

.weather i {
    font-size: 39px;
    color: rgb(255, 180, 0);
}

.weather strong {
    font-size: 22px;
}

.navbar-main {
    background: linear-gradient(90deg, rgb(8, 66, 170), rgb(3, 51, 141));
    padding: 0px;
}

.navbar-main .navbar-nav {
    width: 100%;
    justify-content: space-between;
}

.navbar-main .nav-link {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    white-space: nowrap;
    color: rgb(255, 255, 255) !important;
    padding: 19px 11px !important;
}

.navbar-main .nav-link:hover, .navbar-main .nav-link.active {
    background: rgba(255, 255, 255, 0.13);
}

.navbar-toggler {
    border: 0px;
    color: rgb(255, 255, 255);
}

.dropdown-menu {
    border: 0px;
    box-shadow: rgba(9, 32, 74, 0.15) 0px 12px 30px;
    padding: 10px;
    width: 100%;
}

.dropdown-item {
    padding: 9px 12px;
    font-size: 14px;
}

.smart-search {
    background: var(--soft);
    padding: 26px 0px;
}

.smart-box {
    height: 54px;
    display: flex;
    border: 1px solid rgb(220, 227, 239);
    border-radius: 9px;
    background: rgb(255, 255, 255);
    overflow: hidden;
    flex: 1 1 0%;
}

.smart-box input {
    border: 0px;
    outline: 0px;
    padding: 0px 16px;
    flex: 1 1 0%;
    min-width: 120px;
}

.ai-btn {
    border: 0px;
    background: var(--blue);
    color: rgb(255, 255, 255);
    padding: 0px 26px;
    font-weight: 600;
}

.quick-btn {
    height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgb(220, 227, 239);
    background: rgb(255, 255, 255);
    border-radius: 9px;
    padding: 0px 20px;
    color: var(--blue);
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
}

.quick-btn:hover {
    border-color: var(--blue2);
    transform: translateY(-2px);
}

main {
    background: rgb(255, 255, 255);
}

.section {
    padding: 34px 0px;
}

.panel {
    height: 100%;
    background: rgb(255, 255, 255);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px;
    box-shadow: rgba(27, 61, 126, 0.055) 0px 5px 22px;
}

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

.section-head h2 {
    font-size: 20px;
    margin: 0px;
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
}

.section-head h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 22px;
    border-radius: 3px;
    background: var(--blue2);
    margin-right: 12px;
    vertical-align: -4px;
}

.more {
    color: var(--blue);
    font-weight: 600;
    font-size: 13px;
}

.hero-card {
    height: 420px;
    border-radius: 9px;
    overflow: hidden;
    position: relative;
    color: rgb(255, 255, 255);
}

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

.shade {
    position: absolute;
    inset: 0px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 65%);
}

.hero-info {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.hero-info h3 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
}

.badge-main {
    position: absolute;
    top: 17px;
    left: 17px;
    background: var(--red);
    padding: 7px 12px;
    border-radius: 4px;
    font-weight: 700;
}

.meta {
    font-size: 12px;
    color: rgb(124, 134, 157);
    display: flex;
    gap: 18px;
}

.hero-info .meta {
    color: rgb(228, 232, 241);
}

.news-mini {
    display: flex;
    gap: 14px;
    padding: 0px 0px 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.news-mini img {
    width: 112px;
    height: 78px;
    border-radius: 7px;
    object-fit: cover;
}

.news-mini h3 {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    margin: 2px 0px 9px;
}

.notice {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 14px;
    padding: 12px 0px 19px;
    border-bottom: 1px dashed rgb(220, 226, 237);
}

.notice-icon {
    width: 42px;
    height: 42px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    color: rgb(255, 255, 255);
    font-size: 18px;
}

.notice h3 {
    font-size: 13px;
    line-height: 1.55;
    margin: 0px 0px 8px;
    font-weight: 600;
}

.new {
    align-self: center;
    background: var(--red);
    color: rgb(255, 255, 255);
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: 700;
}

.tabs-line .nav-link {
    background: rgb(247, 248, 251);
    border: 1px solid rgb(230, 233, 240);
    color: var(--blue);
    font-weight: 600;
    margin-right: 12px;
    padding: 11px 22px;
}

.tabs-line .nav-link.active {
    background: var(--blue2);
    color: rgb(255, 255, 255);
}

.doc-card {
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 20px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.doc-card i {
    font-size: 80px;
}

.doc-card h3 {
    font-size: 16px;
    line-height: 1.75;
    margin: 15px 0px;
    flex: 1 1 0%;
}

.doc-foot {
    display: flex;
    justify-content: space-between;
    color: rgb(102, 113, 136);
    font-size: 12px;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 13px;
    text-align: center;
    gap: 8px;
}

.cal-day {
    display: grid;
    gap: 10px;
}

.cal-day span:first-child {
    font-weight: 600;
}

.cal-day.active span:last-child {
    background: var(--blue2);
    color: rgb(255, 255, 255);
}

.cal-day span:last-child {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin: auto;
}

.agenda {
    display: grid;
    grid-template-columns: 58px 10px 1fr auto;
    gap: 14px;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue2);
    margin-top: 5px;
}

.agenda h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0px 0px 6px;
}

.agenda p {
    font-size: 12px;
    color: var(--muted);
    margin: 0px;
}

.tag {
    padding: 5px 9px;
    border-radius: 5px;
    background: rgb(237, 244, 255);
    color: var(--blue);
    font-size: 11px;
    height: max-content;
}

.banner-slide {
    height: 310px;
    min-height: 310px;
    background-size: cover;
    background-position: center center;
    border-radius: 12px;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    padding: 50px 9%;
    position: relative;
    overflow: hidden;
}

.banner-carousel .owl-stage {
    display: flex;
}

.banner-carousel .owl-item {
    display: flex;
    height: auto;
}

.banner-carousel .owl-item .banner-slide {
    width: 100%;
}

.banner-slide::after {
    content: "";
    position: absolute;
    inset: 0px;
    background: linear-gradient(90deg, rgb(0, 46, 131) 5%, rgba(0, 47, 140, 0.8), rgba(0, 0, 0, 0.08));
}

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

.banner-content h2 {
    font-size: 28px;
    line-height: 1.55;
    font-weight: 700;
    color: rgb(255, 255, 255);
}

.banner-content em {
    font-style: normal;
    color: rgb(255, 213, 38);
}

#dieuHanhBannerCarousel .carousel-control-prev,
#dieuHanhBannerCarousel .carousel-control-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    box-shadow: rgba(0, 28, 82, 0.28) 0px 6px 22px;
    transition: 0.2s;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blue);
    opacity: 1;
    font-size: 22px;
}

#dieuHanhBannerCarousel .carousel-control-prev {
    left: 22px;
}

#dieuHanhBannerCarousel .carousel-control-next {
    right: 22px;
}

#dieuHanhBannerCarousel .carousel-control-prev:hover,
#dieuHanhBannerCarousel .carousel-control-next:hover {
    background: var(--blue);
    color: rgb(255, 255, 255);
}

.btn-outline-light {
    border-width: 2px;
}

.stats {
    background: var(--soft);
}

.stat-card {
    min-height: 205px;
    border-radius: 10px;
    color: rgb(255, 255, 255);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.stat-card i {
    font-size: 40px;
}

.stat-card h3 {
    font-size: 30px;
    font-weight: 800;
    margin: 20px 0px 1px;
    color: rgb(255, 255, 255);
}

.stat-card p {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.stat-card .arrow {
    position: absolute;
    right: 22px;
    bottom: 20px;
    font-size: 22px;
}

.c1 {
    background: linear-gradient(135deg, rgb(38, 191, 209), rgb(0, 138, 159));
}

.c2 {
    background: linear-gradient(135deg, rgb(77, 143, 229), rgb(18, 91, 183));
}

.c3 {
    background: linear-gradient(135deg, rgb(255, 173, 49), rgb(255, 118, 0));
}

.c4 {
    background: linear-gradient(135deg, rgb(124, 66, 212), rgb(85, 33, 168));
}

.c5 {
    background: linear-gradient(135deg, rgb(81, 170, 95), rgb(33, 132, 57));
}

.media-tabs {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 25px;
}

.media-tabs button {
    border-top: 0px;
    border-bottom: 0px;
    border-left: 0px;
    border-image: none;
    border-right: 1px solid var(--line);
    background: rgb(255, 255, 255);
    padding: 15px;
    color: rgb(57, 68, 91);
}

.media-tabs button.active {
    color: var(--blue2);
    box-shadow: inset 0 -3px var(--blue2);
}

.video-main img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 9px;
}

.video-thumb {
    position: relative;
}

.play {
    position: absolute;
    inset: 0px;
    display: grid;
    place-items: center;
    color: rgb(255, 255, 255);
    font-size: 65px;
}

.video-main h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 14px 0px;
}

.chart-card {
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 20px;
    margin-bottom: 18px;
}

.bar-chart {
    height: 150px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 8px;
}

.bar {
    width: 26px;
    background: linear-gradient(rgb(85, 162, 255), rgb(7, 84, 216));
    border-radius: 4px 4px 0px 0px;
    position: relative;
}

.bar::after {
    content: attr(data-year);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    margin-top: 6px;
}

.donut {
    width: 110px;
    height: 110px;
    flex: 0 0 110px;
    border-radius: 50%;
    background: conic-gradient(rgb(18, 105, 220) 0deg, rgb(18, 105, 220) 76%, rgb(217, 227, 246) 76%);
    display: grid;
    place-items: center;
    margin: auto;
}

.donut::after {
    content: "76%";
    background: rgb(255, 255, 255);
    width: 67px;
    height: 67px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
}

.local-card {
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    color: rgb(255, 255, 255);
}

.local-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.local-card:hover img {
    transform: scale(1.06);
}

.local-info {
    position: absolute;
    inset: auto 0px 0px;
    padding: 45px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 43, 119, 0.95));
}

.local-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: rgb(255, 255, 255);
}

.local-scroll {
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    scroll-behavior: auto;
}

.local-scroll img {
    -webkit-user-drag: none;
    user-drag: none;
}

.local-scroll::-webkit-scrollbar {
    display: none;
}

.local-scroll.dragging {
    cursor: grabbing;
}

.community-card {
    min-height: 145px;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.community-card i {
    font-size: 48px;
}

.community-card h3 {
    font-size: 15px;
    font-weight: 700;
}

.community-card p {
    font-size: 12px;
    color: rgb(102, 112, 133);
    margin: 0px;
}

.pale-blue {
    background: rgb(238, 244, 255);
    color: rgb(23, 105, 212);
}

.pale-green {
    background: rgb(239, 250, 245);
    color: rgb(0, 164, 116);
}

.pale-purple {
    background: rgb(247, 240, 255);
    color: rgb(124, 53, 214);
}

.pale-orange {
    background: rgb(255, 245, 233);
    color: rgb(255, 138, 0);
}

.dashboard {
    background: var(--soft);
}

.dash-card {
    display: block;
    width: 100%;
    background: rgb(255, 255, 255);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 22px 10px;
    text-align: center;
    height: 100%;
}

.dash-card i {
    font-size: 34px;
    color: var(--blue2);
}

.dash-card strong {
    display: block;
    font-size: 15px;
    margin: 10px 0px 0px;
}

.dash-card span {
    font-size: 11px;
    font-weight: 800;
    color: rgb(0, 39, 109);
}

.dash-card.style-2 span {
    font-size: 12px;
    color: rgb(6, 59, 155);
}

.footer {
    background: rgb(7, 53, 124);
    color: rgb(255, 255, 255);
    padding: 45px 0px 20px;
}

.footer-logo {
    width: 300px;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

.footer h3 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgb(255, 255, 255);
}

.footer li {
    margin-bottom: 14px;
    color: rgb(216, 226, 244);
}

.social a {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.067);
    display: inline-grid;
    place-items: center;
    margin-right: 6px;
    font-size: 19px;
}

.map-placeholder {
    height: 150px;
    border-radius: 8px;
    background: url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=700&q=80") center center / cover;
    position: relative;
}

.map-placeholder i {
    position: absolute;
    left: 52%;
    top: 42%;
    font-size: 38px;
    color: var(--red);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    margin-top: 30px;
    padding-top: 20px;
    color: rgb(203, 216, 236);
    font-size: 12px;
}

/* Hiệu ứng "hiện dần khi cuộn tới" chỉ là điểm cộng thị giác — KHÔNG được phép làm nội dung
   biến mất nếu JS (IntersectionObserver trong site.js) không kịp chạy/không chạy được (đúng lớp
   bug đã gặp ở .page-loader). Mặc định LUÔN hiển thị đầy đủ (opacity:1); khi JS thêm được lớp
   .show lúc cuộn tới, mới phát thêm hiệu ứng mờ-dần-trồi-lên bằng animation, không phải bằng
   cách đảo trạng thái ẩn/hiện cơ bản. */
.reveal {
    opacity: 1;
}

.reveal.show {
    animation: reveal-in 0.65s ease;
}

@keyframes reveal-in {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: none; }
}

.backtop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 0px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    color: var(--blue);
    box-shadow: rgba(0, 31, 83, 0.25) 0px 6px 20px;
    display: none;
    z-index: 10;
}

@media (max-width: 1199px) {
    .brand-logo {
        height: 88px;
    }

    .tools {
        gap: 10px;
    }

    .navbar-main .nav-link {
        font-size: 11px;
        padding: 15px 8px !important;
    }

    .quick-btn {
        padding: 0px 12px;
    }

    .hero-card {
        height: 360px;
    }

    .stat-card {
        min-height: 180px;
    }

    .video-main img {
        height: 280px;
    }
}

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

    .brand-logo {
        height: 78px;
    }

    .tools {
        justify-content: center;
        flex-wrap: wrap;
        margin: 10px 0px;
    }

    .header-search {
        height: 46px;
    }

    .weather {
        min-width: auto;
    }

    .navbar-main {
        padding: 8px 0px;
    }

    .navbar-main .nav-link {
        padding: 11px !important;
    }

    .smart-scroll {
        overflow-x: auto;
        padding-bottom: 4px;
        flex-wrap: nowrap !important;
    }

    .panel {
        padding: 18px;
    }

    .section {
        padding: 24px 0px;
    }

    .media-tabs {
        overflow-x: auto;
        display: flex;
    }

    .media-tabs button {
        min-width: 150px;
    }

    .video-main img {
        height: 330px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 13px;
    }

    .brand-logo {
        width: 100%;
        height: auto;
        max-height: 85px;
    }

    .tools a:nth-child(-n+3) {
        display: none;
    }

    .weather {
        display: none;
    }

    .header-search {
        margin-top: 8px;
    }

    .smart-search {
        padding: 14px 0px;
    }

    .smart-box {
        min-width: 290px;
    }

    .quick-btn {
        height: 48px;
    }

    .section-head h2 {
        font-size: 16px;
    }

    .panel {
        border-radius: 8px;
        padding: 15px;
    }

    .hero-card {
        height: 320px;
    }

    .hero-info {
        left: 16px;
        right: 16px;
        bottom: 14px;
    }

    .hero-info h3 {
        font-size: 17px;
    }

    .news-mini img {
        width: 96px;
        height: 68px;
    }

    .banner-slide {
        height: 260px;
        min-height: 260px;
        padding: 35px 12%;
    }

    .banner-content h2 {
        font-size: 21px;
    }

    .stat-card {
        min-height: 160px;
        padding: 22px;
    }

    .stat-card h3 {
        font-size: 25px;
    }

    .video-main img {
        height: 240px;
    }

    .local-card {
        height: 220px;
    }

    .community-card {
        min-height: 110px;
    }

    .footer {
        text-align: center;
    }

    .footer-logo {
        margin: auto;
    }

    .map-placeholder {
        margin-top: 20px;
    }

    .copyright {
        line-height: 1.8;
    }

    .agenda {
        grid-template-columns: 45px 8px 1fr;
    }

    .agenda .tag {
        display: none;
    }
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0px;
}

.brand-lockup img {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    object-fit: contain;
}

.brand-copy {
    min-width: 0px;
    color: var(--blue);
    text-align: center;
}

.brand-copy strong {
    display: block;
    font-size: clamp(18px, 1.5vw, 27px);
    line-height: 1.45;
    font-weight: 800;
    text-transform: uppercase;
}

.brand-copy span {
    display: block;
    margin-top: 8px;
    color: rgb(119, 128, 150);
    font-size: clamp(9px, 0.72vw, 12px);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.navbar-main > .container-fluid {
    max-width: 100%;
    padding-left: clamp(16px, 3vw, 54px) !important;
    padding-right: clamp(16px, 3vw, 54px) !important;
}

.footer {
    background: linear-gradient(135deg, rgb(6, 45, 109), rgb(7, 59, 134));
    padding-top: 42px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.footer-brand img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    flex: 0 0 96px;
}

.footer-brand strong {
    font-size: 18px;
    line-height: 1.5;
    text-transform: uppercase;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgb(220, 232, 248);
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-contact p i {
    margin-top: 2px;
    color: rgb(255, 255, 255);
}

.footer-map {
    width: 100%;
    height: 190px;
    border: 0px;
    border-radius: 9px;
    background: rgb(255, 255, 255);
}

.footer a:hover {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}

@media (min-width: 1200px) {
    .navbar-main .navbar-nav {
        align-items: stretch;
    }

    .navbar-main .navbar-nav > li {
        display: flex;
        flex: 1 1 auto;
        border-right: 1px solid rgba(255, 255, 255, 0.09);
    }

    .navbar-main .navbar-nav > li:first-child, .navbar-main .navbar-nav > li:last-child {
    }

    /* Bug thật phát hiện 17/07/2026 (đã xác nhận CÓ SẴN TRONG CHÍNH FILE MOCKUP, tái hiện ở
       documents/sokhcn/index.html khi mở màn hình rộng — không phải lỗi phát sinh lúc port):
       ".dropdown-menu { width:100% }" (khai báo chung, dùng để phục vụ dropdown khác) vô tình
       áp cho cả dropdown-menu ở đây, khớp đúng bề rộng của <li> — nhưng <li> lại bị kéo giãn
       đều nhau bằng flex-grow ngay phía trên, nên trên màn hình rộng mỗi <li> to hơn nhiều so
       với chữ bên trong, kéo theo khung dropdown-menu cũng to ra theo, trông như "tràn" ra
       ngoài dù thực chất chỉ đang khớp đúng bề rộng (bị thổi phồng) của <li> cha. Sửa bằng cách
       cho dropdown-menu tự co theo nội dung + canh giữa dưới nút cha thay vì khớp bề rộng <li>. */
    .navbar-main .dropdown-menu {
        width: max-content;
        min-width: 200px;
        max-width: 300px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .navbar-main .nav-link {
        width: 100%;
        min-height: 68px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.35;
        font-size: clamp(10px, 0.72vw, 13px);
        padding: 10px 9px !important;
    }
}

@media (max-width: 991px) {
    .brand-lockup {
        justify-content: center;
    }

    .brand-lockup img {
        width: 86px;
        height: 86px;
        flex-basis: 86px;
    }

    .brand-copy strong {
        font-size: 20px;
    }

    .navbar-main .navbar-nav > li {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 575px) {
    .brand-lockup {
        gap: 10px;
    }

    .brand-lockup img {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

    .brand-copy strong {
        font-size: 14px;
        line-height: 1.45;
    }

    .brand-copy span {
        margin-top: 3px;
        font-size: 7px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-brand img {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }

    .footer-brand strong {
        font-size: 14px;
        text-align: left;
    }

    .footer-contact p {
        justify-content: center;
    }
}

.advanced-doc-search {
    min-height: 54px;
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--blue);
    background: rgb(255, 255, 255);
    font-weight: 600;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s;
}

.advanced-doc-search:hover {
    color: rgb(255, 255, 255);
    border-color: var(--blue2);
    background: var(--blue2);
    transform: translateY(-2px);
}

.advanced-doc-search i {
    font-size: 18px;
}

.schedule-actions-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.schedule-action {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgb(255, 255, 255);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: 0.2s;
}

.schedule-action:hover {
    border-color: var(--blue2);
    background: rgb(241, 246, 255);
    transform: translateY(-2px);
}

.schedule-action i {
    font-size: 17px;
}

.schedule-panel.schedule-focus {
    animation: 0.7s ease 0s 1 normal none running scheduleFocus;
}

@keyframes scheduleFocus {
    50% {
        box-shadow: rgba(7, 84, 216, 0.16) 0px 0px 0px 4px, rgba(27, 61, 126, 0.12) 0px 8px 30px;
    }
}

@media (max-width: 767px) {
    .advanced-doc-search {
        min-height: 48px;
        margin-top: 14px;
        border-radius: 8px;
        font-size: 12px;
    }

    .schedule-actions-bar {
        gap: 7px;
        margin-top: 14px;
        padding-top: 14px;
    }

    .schedule-action {
        min-height: 54px;
        padding: 6px 4px;
        flex-direction: column;
        gap: 3px;
        font-size: 10px;
    }
}

@media (max-width: 1199px) {
    .navbar-main .dropdown-menu {
        max-height: 0px;
        padding: 0px 14px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        background: linear-gradient(rgb(6, 45, 118), rgb(5, 38, 96));
        border-left: 3px solid rgba(255, 255, 255, 0.28);
        transition: max-height 0.35s, opacity 0.25s, padding 0.35s, visibility 0.35s;
        display: block !important;
        margin: 0px !important;
    }

    .navbar-main .dropdown-menu.show {
        max-height: 360px;
        padding: 7px 14px 10px;
        opacity: 1;
        visibility: visible;
    }

    .navbar-main .dropdown-item {
        position: relative;
        margin: 2px 0px;
        padding: 11px 14px 11px 30px;
        border: 0px;
        border-radius: 6px;
        color: rgb(220, 232, 255);
    }

    .navbar-main .dropdown-item::before {
        content: "›";
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: rgb(127, 176, 255);
        font-size: 18px;
    }

    .navbar-main .dropdown-item:hover, .navbar-main .dropdown-item:focus {
        color: rgb(255, 255, 255);
        background: rgba(255, 255, 255, 0.1);
    }
}

@media print {
    body.print-schedule > * {
        display: none !important;
    }

    body.print-schedule main {
        display: block !important;
    }

    body.print-schedule main > section:not(#docs) {
        display: none !important;
    }

    body.print-schedule #docs {
        display: block !important;
        padding: 0px !important;
        background: rgb(255, 255, 255) !important;
    }

    body.print-schedule #docs .container-fluid > .row > div:first-child {
        display: none !important;
    }

    body.print-schedule #docs .container-fluid > .row > div:last-child {
        width: 100% !important;
    }

    body.print-schedule .schedule-panel {
        border: 0px !important;
        box-shadow: none !important;
    }

    body.print-schedule .schedule-actions-bar {
        display: none !important;
    }
}

.language-switch {
    align-items: center;
    gap: 6px;
    display: inline-flex !important;
}

.language-switch img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: rgb(217, 222, 234) 0px 0px 0px 1px;
}

.language-switch .lang-code {
    font-size: 11px;
}

@media (min-width: 1200px) {
    .navbar-main .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0px;
        top: 100%;
    }

    .navbar-main .dropdown > .dropdown-toggle {
        pointer-events: auto;
    }

    .navbar-main .dropdown-toggle::after {
        margin-left: 7px;
    }
}

.calendar-nav {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    color: var(--blue) !important;
}

.cal-day {
    cursor: pointer;
    border-radius: 8px;
    padding: 5px 2px;
    transition: 0.2s;
    background: transparent;
    border: none;
    font: inherit;
    color: inherit;
    width: 100%;
}

.cal-day:hover {
    background: rgb(240, 245, 255);
}

.cal-day:focus-visible {
    outline: 2px solid var(--blue2);
    outline-offset: 2px;
}

.banner-carousel {
    position: relative;
}

.banner-carousel .owl-nav {
    position: absolute;
    inset: 0px;
    pointer-events: none;
    margin: 0px !important;
}

.banner-carousel .owl-nav button {
    top: 50%;
    transform: translateY(-50%);
    box-shadow: rgba(0, 28, 82, 0.28) 0px 6px 22px;
    pointer-events: auto;
    transition: 0.2s;
    position: absolute !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--blue) !important;
    font-size: 32px !important;
    line-height: 42px !important;
}

.banner-carousel .owl-nav button:hover {
    background: var(--blue) !important;
    color: rgb(255, 255, 255) !important;
}

.banner-carousel .owl-prev {
    left: 22px;
}

.banner-carousel .owl-next {
    right: 22px;
}

.banner-carousel .owl-dots {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 16px;
}

.banner-carousel .owl-dot span {
    background: rgba(255, 255, 255, 0.533) !important;
}

.banner-carousel .owl-dot.active span {
    background: rgb(255, 255, 255) !important;
    width: 24px !important;
}

.stat-card::before {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Be Vietnam Pro", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    font-size: 86px;
    content: "⚛";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -30px;
    top: -34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 0;
}

.stat-card.c1::before {
    content: "⚛";
}

.stat-card.c2::before {
    content: "⚗";
}

.stat-card.c3::before {
    content: "✦";
}

.stat-card.c4::before {
    content: "▦";
}

.stat-card.c5::before {
    content: "↗";
}

.stat-card > i:first-child {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
    transition: 0.25s;
}

.stat-card h3, .stat-card p {
    position: relative;
    z-index: 1;
}

.stat-card:hover > i:first-child {
    transform: scale(1.08) rotate(-5deg);
    transition: 0.25s;
}

.media-pane {
    display: none;
    animation: 0.35s ease 0s 1 normal none running mediaFade;
}

.media-pane.active {
    display: flex;
}

.media-empty-card {
    height: 100%;
    min-height: 245px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: rgb(255, 255, 255);
}

.media-empty-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.media-empty-card .content {
    padding: 16px;
}

.media-empty-card h3 {
    font-size: 15px;
    line-height: 1.5;
    margin: 0px 0px 8px;
}

.video-thumb {
    cursor: pointer;
    overflow: hidden;
    border-radius: 9px;
}

.video-thumb img {
    transition: 0.4s;
}

.video-thumb:hover img {
    transform: scale(1.035);
}

.video-thumb:hover .play {
    transform: scale(1.1);
}

.play {
    transition: 0.25s;
}

.video-modal .modal-content {
    background: rgb(0, 0, 0);
    border: 0px;
}

.video-modal .btn-close {
    position: absolute;
    right: 10px;
    top: -38px;
    filter: invert(1);
    opacity: 1;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0px;
    display: block;
}

@keyframes mediaFade {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1199px) {
    .navbar-main .dropdown-toggle {
        position: relative;
        padding-right: 44px !important;
    }

    .navbar-main .dropdown-toggle::after {
        content: "+";
        border: 0px;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 23px;
        font-weight: 400;
        line-height: 1;
    }

    .navbar-main .dropdown-toggle[aria-expanded="true"]::after {
        content: "−";
    }

    .navbar-main .dropdown-menu {
        width: 100%;
        margin: 0px;
        background: rgb(7, 44, 117);
        border-radius: 0px;
        box-shadow: none;
        position: static !important;
        transform: none !important;
    }

    .navbar-main .dropdown-item {
        color: rgb(255, 255, 255);
        padding: 11px 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-main .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: rgb(255, 255, 255);
    }
}

@media (max-width: 767px) {
    .smart-search {
        padding: 12px 0px 16px;
    }

    .smart-scroll {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
        display: grid !important;
        gap: 9px !important;
        overflow: visible !important;
    }

    .smart-box {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0px;
        height: 50px;
    }

    .smart-box input {
        width: 100%;
        font-size: 12px;
        padding: 0px 8px;
    }

    .ai-btn {
        padding: 0px 14px;
        white-space: nowrap;
        font-size: 12px;
    }

    .quick-btn {
        width: 100%;
        height: 46px;
        min-width: 0px;
        padding: 6px 8px;
        white-space: normal;
        font-size: 11px;
        line-height: 1.35;
        transition: 0.3s;
    }

    .quick-btn i {
        display: block;
        margin-bottom: 2px;
    }

    .banner-carousel .owl-nav button {
        width: 38px !important;
        height: 38px !important;
        font-size: 25px !important;
        line-height: 34px !important;
    }

    .banner-carousel .owl-prev {
        left: 8px;
    }

    .banner-carousel .owl-next {
        right: 8px;
    }

    .media-pane.active {
        display: block;
    }

    .language-switch .lang-code {
        display: none;
    }
}

.banner-bg-technology {
    background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=85");
}

.banner-bg-digital {
    background-image: url("https://images.unsplash.com/photo-1519608487953-e999c86e7455?auto=format&fit=crop&w=1800&q=85");
}

.bar-35 {
    height: 35%;
}

.bar-42 {
    height: 42%;
}

.bar-55 {
    height: 55%;
}

.bar-69 {
    height: 69%;
}

.bar-76 {
    height: 76%;
}

.bar-85 {
    height: 85%;
}

@media (max-width: 767px) {
    #docs .panel {
        padding: 16px;
    }

    #docs .section-head {
        margin-bottom: 16px;
    }

    #docs .section-head h2 {
        font-size: 15px;
        line-height: 1.4;
    }

    #docs .section-head .more {
        font-size: 11px;
        white-space: nowrap;
    }

    .tabs-line {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        margin-left: -16px;
        margin-right: -16px;
        padding: 0px 16px 8px;
        scroll-snap-type: x;
        scrollbar-width: none;
    }

    .tabs-line::-webkit-scrollbar {
        display: none;
    }

    .tabs-line li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .tabs-line .nav-link {
        margin: 0px;
        padding: 10px 14px;
        border-radius: 8px;
        white-space: nowrap;
        font-size: 11px;
        min-height: 40px;
    }

    #newDocs .row {
        --bs-gutter-y: 10px;
    }

    .doc-card {
        min-height: 0px;
        padding: 14px;
        display: grid;
        grid-template-columns: 46px minmax(0px, 1fr);
        align-items: start;
        gap: 8px 12px;
        border-radius: 8px;
        background: rgb(255, 255, 255);
    }

    .doc-card > i:first-child {
        grid-area: 1 / 1 / span 2;
        width: 46px;
        height: 52px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        background: rgb(246, 248, 252);
        font-size: 30px;
    }

    .doc-card h3 {
        grid-area: 1 / 2;
        height: auto;
        margin: 0px;
        font-size: 12px;
        line-height: 1.55;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .doc-foot {
        grid-area: 2 / 2;
        align-items: center;
        font-size: 11px;
        padding-top: 6px;
        border-top: 1px solid var(--line);
    }

    .doc-foot i {
        font-size: 16px !important;
    }

    #centralDocs .alert, #localDocs .alert {
        margin-bottom: 0px;
        padding: 14px;
        font-size: 12px;
        line-height: 1.6;
    }
}

@media (max-width: 575px) {
    .banner-slide {
        height: 240px;
        min-height: 240px;
    }

    .banner-content h2 {
        font-size: 17px;
        line-height: 1.45;
    }

    .banner-content .btn {
        font-size: 11px;
        padding: 8px 12px;
    }
}
