body {
    background: #fdfdfd;
    font-size: 15px;
}
.khung-noidung,
.y-kien-vbqppl-block {
    background-color: #fff;
    margin-top: 12px;
    padding: 8px 20px;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(25, 90, 148, 0.15);
    margin-bottom: 16px;
}

.container-fluid.mt-4 {
    min-height: calc(100vh - 347px);
}
.block-background {
    box-shadow: 0 0 60px rgba(25, 90, 148, 0.15);
    padding: 10px 20px 8px 20px;
    border-radius: 8px;
}
gov-main-menu::part(nav){display:flex;gap:16px;flex-wrap:wrap}
gov-main-menu a{font-weight:600;text-decoration:none;color:#0d2d5a}
gov-main-menu a:hover{text-decoration:underline}

select.form-control {
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7' fill='none'%3e%3cpath d='M5.50003 6.25012L0.903442 1.65354L2.43636 0.121704L5.50003 3.18645L8.56369 0.121704L10.0966 1.65354L5.50003 6.25012Z' fill='%23747474'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 10px !important;
    padding-right: 30px;
}
@media (min-width: 992px) {
    .container-fluid.mt-4 {
        margin-top: 16px !important;
    }
    .container-fluid.web-links-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    .container-fluid {
        padding-left: 24px;
        padding-right: 24px;
    }
    .main-content-row {
        display: flex;
        flex-wrap: nowrap;
    }

    .main-content-col {
        flex: 0 0 56%;
        min-width: 0;
        padding-left: 6px;
        padding-right: 6px;
        max-width: 56%;
    }
    .tintuc-content-col {
        flex: 0 0 78%;
        min-width: 0;
        padding-left: 6px;
        padding-right: 6px;
        max-width: 78%;
    }
    .main-content-row .col-3,
    .sidebar-col {
        flex: 0 0 22%;
        max-width: 22%;
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (min-width: 1681px) {
    header.header-top {
        padding: 6px;
    }
    .main-footer .container-fluid,
    .bottom-menu-content,
    .container-fluid.web-links-content,
    .header-top .container-fluid,
    .navbar.main-menu-nav .container-fluid-max-xl,
    container-fluid {
        max-width: 1600px !important;
        position: relative;
        padding-left: 0;
        padding-right: 0;
    }

    .align-items-lg-start {
        align-items: flex-start !important;
        max-width: 1600px !important;
        position: relative;
        padding-left: 0;
        padding-right: 0;
        margin: auto;
    }
}
.article-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 0px;
}
@media (max-width: 991.98px) {
    .an-mobile {
        display: none !important;
    }
    body {
        background-color: #fff;
    }
    .khung-noidung {
        padding-left: 0;
        padding-right: 0;
        box-shadow: none;
    }
}


/* ------------------------------------------- */
/* CSS Tùy chỉnh cho Menu Chính */
.navbar.main-menu-nav .container-fluid-max-xl {
    max-width: unset;
}
.main-menu-nav {
    background-color: #d9f1ff;
    border-bottom: 1px solid #d0e0f0;
    /* Rất quan trọng: Đặt Menu dính (sticky) ngay dưới Header. Giá trị này có thể cần điều chỉnh */
    top: 70px;
    /* Điều chỉnh giá trị này bằng chiều cao của Header để nó dính ngay dưới Header */
    z-index: 1020;
    /* Đảm bảo nó nằm dưới header và trên nội dung */
}
.navbar.main-menu-nav {
    padding: 0;
}
.navbar-nav .nav-link {
    color: #195a94 !important;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 15px;
}

.navbar-nav .nav-link.active {
    color: #f65050 !important;
    font-weight: bold;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: #e60000;
}

/* ... Các style Dropdown và Chức năng khác giữ nguyên ... */
.main-menu-nav .dropdown-menu {
    border-radius: 8px;
    box-shadow: 2px 10px 25px rgba(0, 0, 0, 0.3);
    border: none;
}

.main-menu-nav .dropdown-item {
    font-size: 16px;
    color: #195a94;
    padding: 7px 24px;
    font-weight: 500;
}

.menu-functions {
    display: flex;
    align-items: center;
    padding-right: 150px;
    gap: 8px;
}

.menu-functions .btn,
.search-container {
    font-size: 14px;
    font-weight: 400;
    padding: 2px 10px;
    border-radius: 4px;
    height: 30px; /* Đảm bảo chiều cao đồng nhất */
    display: flex;
    align-items: center;
}

.menu-functions .btn {
    background-color: #d3efff;
    border: 1px solid #bcdfff;
    color: #004d99;
    gap: 8px;
}

/* --- CSS cho ô tìm kiếm mới --- */
.search-container {
    position: relative;
    border: 1px solid #0d6efd !important;
    background-color: #fff !important;
    width: 100px; /* Chiều rộng ban đầu */
    transition: width 0.4s ease-in-out;
    cursor: text;
    justify-content: flex-end; /* Đẩy icon sang phải */
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%; /* Ban đầu ẩn input */
    transition: width 0.4s ease-in-out;
    color: #004d99;
    padding: 0 !important;
}

.search-input::placeholder {
    color: #004d99;
}

/* Khi focus vào container (click vào), mở rộng nó và input bên trong */
.search-container:focus-within {
    width: 300px;
}

.search-container:focus-within .search-input {
    padding: 0 5px;
}

.date-info {
    font-size: 14px;
    color: #4a647b;
    font-weight: 600;
    background-color: #bee7ff;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    top: 0px;
    bottom: 0px;
    display: flex;
    align-items: center;
    width: 140px;
}
.nav-item.dropdown.show .nav-link {
    background: #fff;
}
.navbar-nav .nav-link:hover {
    background: #fff;
}

.nav-item {
    padding-right: 12px;
}
.navbar-nav .dropdown-menu {
    margin-left: -10px;
    margin-top: -2px;
}
.nav-item.dropdown.show .dropdown-menu {
    display: block;
}
.navbar-nav {
    margin-bottom: -1px !important ;
}
.navbar-nav .dropdown-menu {
    width: auto;
    max-width: unset;
    white-space: nowrap;
}

.navbar-nav .dropdown-item {
    padding-right: 50px;
}
.menu-functions .btn:hover {
    background-color: #fff;
    border-color: #1a6fe2;
}
.menu-functions .btn:hover i {
    color: #f65050;
}
@media (max-width: 991.98px) {
    .menuttcp .collapse {
        display: block !important;
    }
    .menu-functions {
        padding: 5px 0;
    }
    .an-mobile {
        display: none !important;
    }

    .search-container,
    .search-container:focus-within {
        width: 100%;
    }
    .menu-functions .btn {
        padding: 0;
        min-width: 30px;
        justify-content: center;
        font-size: 18px;
    }
    .navbar.main-menu-nav {
        border-bottom: none;
    }
}