/*#region chung */
:root {
    --blue-color: #14189e;
    --blue-light: #005f99;
    --blue-dark: #171950;
    --red-color: #E81D02;
    --black-color: #111;
}

@font-face {
    font-family: 'PoltawskiNowy';
    src: url('fonts/PoltawskiNowy-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BaiJamjuree';
    src: url('fonts/BaiJamjuree-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

h1,
h2,
h3,
p {
    margin-bottom: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Bỏ height: 100% và overflow hoàn toàn ở html */
}

body {
    min-height: 100vh;
    /* Đảm bảo chiều cao tối thiểu bằng màn hình */
    overflow-x: clip;
    /* Chống tràn ngang mà không làm mất sự kiện cuộn */
    position: relative;
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.title h1,
.title h2,
.chuyenmuc .ten,
.title p,
.gopy .ten {
    font-family: 'BaiJamjuree';
    font-weight: 600;
    color: var(--blue-color);
}

.ten {
    text-transform: uppercase;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-container {
    margin: auto;
    max-width: 1288px;
    font-family: 'Roboto';
    padding: 10px;
}

a {
    color: black;
    font-family: 'PoltawskiNowy', sans-serif;
    font-weight: 500;
}

a:hover {
    color: initial;
    text-decoration: none;
}

.thongbao-marquee {
    font-family: 'BaiJamjuree';
    height: 50px;
    border-bottom: 1px solid #E7E7E7;
    margin: 0 15px;
    cursor: default;
}

.ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

.tin img {
    width: 160px;
    height: 107px;
    object-fit: cover;
    border-radius: 4px;
}

.tin .tintuc-avatar {
    position: relative;
    display: block;
    border-radius: 6px;
}

.tin .tintuc-avatar img {
    transform-origin: 50% 65%;
    transition: transform 2s;
}

/* The Transformation */
.tin .tintuc-avatar:hover img {
    transform: scale(1.05);
}

.tin .tintuc-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(48, 48, 51, 0.4), transparent);
    transition: height 0.4s ease;
}

.tin:hover .tintuc-avatar::after {
    height: 100%;
}

.tin {
    display: flex;
    padding-bottom: 16px;
    border-bottom: 1px solid #E7E7E7;
    margin-bottom: 16px;
}

.tin p {
    font-size: 16px;
    margin-bottom: 0;
}

.tintuc-thongtin {
    margin-top: 5px;
}

.tin p:hover,
.tin-new p:hover,
.tieuDe:hover,
.tintuc-avatar:hover+.tintuc-thongtin p,
.tintuc-aside a:hover p {
    color: #E81D02;
}

.tin-new {
    border-left: 3px solid transparent;
    border-radius: 4px;
    padding: 6px 6px;

}

.tin-new:hover {
    border-left-color: var(--blue-color);
    background: #14189e0d;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
}

.tintuc-linkchitiet:hover {

    .tintuc-avatar,
    .tintuc-thongtin,
    .tintuc-tomtat {
        color: #E81D02;
    }
}

.tintuc-avatar:hover+.tintuc-thongtin .tomTat p {
    color: black !important;
}

/* Ảnh bên trái trong bài nổi bật */
/*
.tintuc-avatar img {
    width: 100%;
    height: auto;
    aspect-ratio: 5/ 3;
    object-fit: cover;
    padding-right: 16px;
}*/

/* Ảnh trong danh sách 4 bài ngang dưới cùng */
.tinnoibat-small {
    overflow: hidden;
    padding-right: 0px;
}

.tinnoibat-small img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    transform-origin: 50% 65%;
    transition: transform 3s;
}


/* The Transformation */
.tintuc-small-new-a:hover img {
    transform: scale(1.1);
}

.tintuc-small-new-a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.tintuc-small-new-a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(48, 48, 51, 0.4), transparent);
    transition: height 0.4s ease;
    border-radius: 6px;
}

.col-sm-3:hover .tintuc-small-new-a::after {
    height: 100%;
}


.tin .ngayDang {
    font-size: 14px;
}

.banner-ngang-big {
    margin-top: 35px;
    margin-bottom: 35px;
}

.banner-ngang-big img {
    width: 100%;
}

.banner-small {
    max-width: 310px;
    max-height: 95px;
    border-radius: 8px;
}

.btn-lg {
    background-color: var(--blue-color);
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-family: 'BaiJamjuree';
    ;
    max-width: 105px;
    width: 100%;
    height: 48px;
}

/*#region icon */
.i-khaosat3 {
    background: url('images/khaosat3-icon.svg') no-repeat;
    height: 16px;
    width: 16px;
}

.i-clock2 {
    background: url('images/clock2-icon.svg') no-repeat;
    height: 20px;
    width: 20px;
}

.i-khaosat2 {
    background: url('images/khaosat2-icon.svg') no-repeat;
    height: 20px;
    width: 20px;
}

.i-khaosat-big {
    background: url('images/khaosat-big-icon.svg') no-repeat;
    height: 38px;
    width: 38px;
}

.i-khaosat {
    background: url('images/khaosat-icon.svg') no-repeat;
    height: 20px;
    width: 20px;
}

.i-kienthuc-big {
    background: url('images/kienthuc-big-icon.svg') no-repeat;
    height: 82px;
    width: 82px;
}

.i-khoahoc {
    background: url('images/khoahoc-icon.svg') no-repeat;
    height: 24px;
    width: 24px;
}

.i-clock {
    background: url('images/clock-icon.svg') no-repeat;
    height: 20px;
    width: 22px;
}

.i-hoc2 {
    background: url('images/hoc2-icon.svg') no-repeat;
    height: 17px;
    width: 20px;
}

.i-hoc {
    background: url('images/hoc-icon.svg') no-repeat;
    height: 17px;
    width: 20px;
}

.i-kienthuc {
    background: url('images/kienthuc-icon.svg') no-repeat;
    height: 19px;
    width: 15px;
}

.btn-pre {
    background: url('images/pre-icon.svg') no-repeat;
    height: 22px;
    width: 13px;
}

.btn-next {
    background: url('images/next-icon.svg') no-repeat;
    height: 22px;
    width: 13px;
}

.i-pdf {
    background: url('images/pdf-icon.svg') no-repeat;
    height: 20px;
    width: 16px;
}

.i-download {
    background: url('images/download-icon.svg') no-repeat;
    height: 17px;
    width: 17px;
}

.i-share {
    background: url('images/share-icon.svg') no-repeat;
    height: 20px;
    width: 20px;
}

.i-print {
    background: url('images/print-icon.svg') no-repeat;
    height: 20px;
    width: 20px;
}

.i-video {
    background: url('images/video-icon.svg') no-repeat;
    height: 20px;
    width: 24px;
}

.i-hinhanh {
    background: url('images/hinhanh-icon.svg') no-repeat;
    height: 22px;
    width: 24px;
}

.i-xemthem {
    background: url('images/xemthem-icon.svg') no-repeat;
    height: 26px;
    width: 20px;
}


/*.i-chuyenmuc{*/
/*    height: 20px;*/
/*    width: 38px;*/
/*}*/
.i-online {
    background: url('images/online-icon.svg') no-repeat;
    height: 20px;
    width: 20px;
}

.i-access {
    background: url('images/access-icon.svg') no-repeat;
    height: 20px;
    width: 20px;
}

.i-congbao {
    background: url('images/congbao-icon.svg') no-repeat;
    height: 48px;
    width: 48px;
}

.i-lich {
    background: url('images/lich-icon.svg') no-repeat;
    height: 48px;
    width: 48px;
}

.i-gopy {
    background: url('images/gopy-icon.svg') no-repeat;
    height: 48px;
    width: 48px;
}

.i-phananh {
    background: url('images/phananh-icon.svg') no-repeat;
    height: 48px;
    width: 48px;
}

.i-light {
    background: url('images/lightmode-icon.svg') no-repeat;
    height: 22px;
    width: 22px;
}

.i-dark {
    background: url('images/darkmode-icon.svg') no-repeat;
    height: 22px;
    width: 22px;
}

.i-volumn-up {
    background: url('images/volumnup-icon.svg') no-repeat;
    height: 24px;
    width: 24px;
}

.i-volumn-down {
    background: url('images/volumndown-icon.svg') no-repeat;
    height: 24px;
    width: 24px;
}

.i-aA {
    background: url('images/aA-icon.svg') no-repeat;
    height: 13px;
    width: 16px;
}

.i-doc {
    background: url('images/document-icon.svg') no-repeat;
    height: 51px;
    width: 40px;
}

.i-cuocthi-big {
    background: url('images/cuocthi-big.svg') no-repeat;
    height: 31px;
    width: 38px;
}

.i-cuocthi3 {
    background: url('images/cuocthi3.svg') no-repeat;
    height: 25px;
    width: 25px;
}

/*#endregion */
.ngayDang {
    color: #5D5D5D;
    font-size: small;
    font-family: 'BaiJamjuree';
}

.xemthem {
    font-family: 'BaiJamjuree';
    margin-left: auto;
    color: #5D5D5D;
    font-size: small;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.ten-xemthem {
    display: flex;
    align-items: center;
    margin: 6px 0;
}

.table-borderless td,
.table-borderless th {
    border: none;
}

.dot {
    height: 12px;
    width: 12px;
    border: 1px solid #E7E7E7;
    border-radius: 50%;
}

.img-play {
    width: 50px;
    height: 50px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

/*#endregion */
/*#region header*/
.header {
    position: relative;
}

.header .bg {
    width: 100%;
}

.header .grp-title {
    position: absolute;
    top: 55%;
    left: 50%;
    /* Đưa điểm bắt đầu của div ra giữa */
    transform: translate(-50%, -50%);
    /* Dịch ngược lại 50% kích thước của chính nó để căn giữa hoàn hảo */

    display: flex;
    flex-direction: row;
    /* Sắp xếp logo và tiêu đề nằm ngang */
    justify-content: center;
    /* Căn giữa các phần tử con theo chiều ngang */
    align-items: center;
    /* Căn giữa các phần tử con theo chiều dọc */

    width: 85%;
    /* Đảm bảo div chiếm hết chiều rộng để có không gian căn giữa */
    max-width: 1288px;
    padding: 0 10px;
}

.header .logo {
    max-width: 250px;
    max-height: 120px;
}

.header .title {
    display: inline-block;
    margin-left: 16px;
}

.header .title h1 {
    font-size: 2vw;
    font-weight: 700;
    color: red;
    margin: 8px 0 0 0;
}

.header .title h2 {
    font-size: 1.6vw;
    margin: 0;
    font-weight: 500;
}

.navigate-bar {
    width: 100%;
    align-items: center;
    height: 45px;
    background-color: #003d82;
    font-size: 15px;
}

.bg-dark-custom {
    background-color: #ced4da40 !important;
    /* Equivalent to bg-gray-900 */
}

.text-gold-highlight {
    font-family: 'BaiJamjuree' !important;
    color: #1934b5;
    /* Gold color for icons */
}

.text-gray-light {
    font-family: 'BaiJamjuree' !important;
    color: #000000;
    /* Equivalent to text-gray-300 */
}

/* Hover effects for icons */
.text-gold-highlight:hover {
    color: var(--red-color) !important;
    transition: color 0.3s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
    .small {
        font-size: 0.8rem;
    }

    .tintuc-avatar {
        text-align: center;
    }

    .chuyenmuc .ten {
        font-size: 15px !important;
    }
}

/*#endregion */

/*#region footer */
.main-footer {
    color: white;
    font-family: 'BaiJamjuree';
}

.main-footer .footer-src {
    width: 100%;
    align-items: center;
    min-height: 48px;
    background: linear-gradient(90deg, var(--red-color), var(--blue-dark));
    font-size: 14px;
}

.main-footer .footer-src p {
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 0px;
    font-weight: 400;
}

.main-footer .grp-contact {
    min-height: 320px;
    background: #003d82;
    background-image: url('images/Vector.png');
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 0px;
}

.main-footer .contact {
    max-width: 1288px;
    margin: auto;
}

.main-footer .contact h3 {
    font-weight: 700;
    font-family: 'poltawskiNowy', sans-serif;
    font-size: 24px;
}

.main-footer .contact p {
    font-size: 16px;
    font-weight: 400;
}

.main-footer .contact h4 {
    font-weight: 700;
    font-size: 20px;
}

.main-footer .contact img {
    max-width: 215px;
    max-height: 88px;
}

/*#endregion */
/*#region tinnoibat */
.tinnoibat .tinnoibat-left p {
    font-size: 24px;
}

.tinnoibat .tinnoibat-left img {
    max-width: 785px;
    max-height: 589px;
    /* height: 450px; */
}

.border-start {
    border-top: 2px solid var(--blue-color);
}

/*#endregion*/
/*#region chuyên mục block 1 */
.chuyenmuc {
    border-top: 2px solid var(--blue-color);
}

.chuyenmuc .ten {
    font-size: 20px;
}

.chuyenmuc.block-1 .tintuc {
    display: flex;
    padding-top: 16px;
    border-top: 1px solid #E7E7E7;
    padding-bottom: 16px;
}

.chuyenmuc.block-1 .tintuc-big {
    margin-bottom: 16px;
}

.chuyenmuc.block-1 .tintuc-big img {
    width: 218px;
    height: 145px;
}

.chuyenmuc.block-1 .tintuc-big .tintuc-avatar {
    position: relative;
    display: block;
}

.chuyenmuc.block-1 .tintuc-big .tintuc-avatar img {
    transform-origin: 50% 65%;
    transition: transform 2s;
    border-radius: 6px;
}

/* The Transformation */
.chuyenmuc.block-1 .tintuc-big .tintuc-avatar:hover img {
    transform: scale(1.05);
}

.chuyenmuc.block-1 .tintuc-big .tintuc-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(48, 48, 51, 0.4), transparent);
    transition: height 0.4s ease;
}

.chuyenmuc.block-1 .tintuc-big:hover .tintuc-avatar::after {
    height: 100%;
}

.chuyenmuc.block-1 .tintuc-small .tieuDe {
    padding-left: 12px;
    border-left: 1px solid #E7E7E7;
}

.chuyenmuc.block-1 .tintuc-small .ngayDang {
    width: 80px;
    margin-right: 9px;
    flex-shrink: 0;
    font-size: 14px;
    color: #5D5D5D
}

/*#endregion*/
/*#region chuyên mục block 2*/
.chuyenmuc.block-2 .tieuDe {
    font-size: 20px;
}

.chuyenmuc.block-2 .tintuc-big img {
    max-width: 408px;
    max-height: 306px;
}

.chuyenmuc.block-2 .tintuc-big img {
    transform-origin: 50% 65%;
    transition: transform 2s;
}

/* The Transformation */
.chuyenmuc.block-2 .tintuc-big:hover img {
    transform: scale(1.1);
}

.chuyenmuc.block-2 .tintuc-big .tintuc-avatar {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    /* Tùy chọn, bỏ nếu không muốn bo góc */
}

.chuyenmuc.block-2 .tintuc-big .tintuc-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(48, 48, 51, 0.4), transparent);
    transition: height 0.4s ease;
}

.chuyenmuc.block-2 .tintuc-big:hover .tintuc-avatar::after {
    height: 100%;
}


/*#endregion*/
/*#region chuyên mục ngang*/
.chuyenmuc-ngang,
.chuyenmuc-ngang-new {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0px;
}

.chuyenmuc-ngang-new img {
    border-radius: 6px;
    object-fit: cover;
}

.chuyenmuc-ngang-new .item {
    flex: 1 1 calc(20% - 10px);
}

.chuyenmuc-ngang .item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 232px;
    height: 120px;
    background-image: url('images/Vector.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 6px;
    padding: 0 24px;
    color: white;
    font-size: 24px;
    text-align: center;
    flex: 1 1 calc(20% - 10px);
}

/*#endregion*/

/*#region văn bản */
.tbl-vanban .sokyhieu {
    text-align: center;
    width: 30%;
}

.tbl-vanban .td-sokyhieu {
    font-size: 14px;
}

.tbl-vanban .td-sokyhieu a {
    color: var(--blue-color);
    font-weight: 400;
    cursor: pointer;
}

.tbl-vanban tbody tr {
    transition: background 0.25s ease;
}

.tbl-vanban tbody tr:hover {
    background: linear-gradient(90deg, #eaf3ff, #ffffff);
}

.tbl-vanban tbody tr:hover a {
    color: #0056b3;
    font-weight: 500;
}

.tbl-vanban thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 5;
}

.home-tbl-vanban::before,
.home-tbl-vanban::after {
    content: "";
    position: sticky;
    left: 0;
    right: 0;
    height: 30px;
    pointer-events: none;
    z-index: 10;
}

.home-tbl-vanban::before {
    top: 0;
    background: linear-gradient(#fff, transparent);
}

.home-tbl-vanban::after {
    bottom: 0;
    background: linear-gradient(transparent, #fff);
}


/*#endregion*/

/*#region chuyên mục dọc */
.chuyenmuc-doc-new .item {
    display: flex;
    max-width: 298px;
    max-height: 160px;
    margin-bottom: 20px;
}

.chuyenmuc-doc-new .item img {
    object-fit: contain;
}

.chuyenmuc-doc .item {
    display: flex;
    align-items: center;
    max-width: 298px;
    max-height: 160px;
    width: 100%;
    height: 100%;
    background-image: url('images/Vector.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 6px;
    padding: 0 24px;
    margin-bottom: 32px;
    color: white;
    font-size: 20px;
    text-align: center;
}

/*#endregion*/
/*#region liên kết */
.lienket-website a {
    width: 100%;
    height: 75px;
    background-color: #F6F6F6;
    padding: 0 10px;
}

/*#endregion*/
/*#region thanh điều chỉnh*/
.dieuchinh {
    min-height: 50px;
    border-top: 1px solid #E7E7E7;
    border-bottom: 1px solid #E7E7E7; 
    margin: 8px 0 0 0;
    font-size: 14px;
}

.voice,
.mode {
    display: flex;
    align-items: center;
}

.mode {
    justify-content: end;
}

.voice audio {
    background-color: #F6F6F6;
    border-radius: 100px;
    height: 40px;
}

.mode .mode-container {
    background-color: #F6F6F6;
    border-radius: 100px;
    min-height: 40px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

/*#endregion */

/*#region thanh home print share*/
.home-print-share {
    margin-top: 16px;
}

.home-print-share #btn-home,
.btn-dieuHuong {
    color: #5D5D5D;
    font-weight: 500;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
}

.home-print-share .mode button {
    padding: 12px;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
}

/*#endregion */

/*#region chi tiết tin tức */
.tintuc-chitiet {
    padding: 16px;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
    margin-bottom: 32px;
}

.tintuc-chitiet img {
    width: 90% !important;
    height: auto !important;
    /*height: 100% !important;*/
}

.tintuc-tieude {
    font-family: 'PoltawskiNowy', sans-serif !important;
    font-size: 48px !important;
    color: var(--black-color) !important;
}

.tintuc-noiDung {
    margin: 16px 0;
    font-size: 20pt;
    margin-left: 200px;
    margin-right: 200px;
}

/* Style Blockquote mới */
   /* Style cho Blockquote trong Megastory */
.tintuc-noiDung blockquote {
    position: relative;
    margin: 30px 40px;
    padding: 25px 40px 25px 60px; /* Padding left lớn để chứa icon */
    background: #f9f9f9;
    border-left: 6px solid #2c5aa0; /* Màu xanh đậm thương hiệu */
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.05);
}

/* Icon dấu ngoặc kép mở */
.tintuc-noiDung blockquote::before {
    content: "\201C"; /* Mã Unicode cho dấu ngoặc kép mở */
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 60px;
    color: #2c5aa0;
    opacity: 0.25;
    font-family: serif;
    line-height: 1;
}

/* Icon dấu ngoặc kép đóng (tùy chọn - nếu bạn muốn nổi bật hơn nữa) */
.tintuc-noiDung blockquote::after {
    content: "";
    display: block;
    height: 1px;
}

/* Responsive cho Mobile */
@media (max-width: 768px) {
    .tintuc-noiDung blockquote {
        margin: 20px 15px;
        padding: 20px 20px 20px 45px;
        font-size: 0.95em;
    }
   .tintuc-noiDung blockquote::before {
        font-size: 40px;
        left: 10px;
    }
}

.longform-noiDung {
    margin: 10px 0;
    font-size: 20pt;
}

.tintuc-noiDung,
.tintuc-noiDung *,
.longform-noiDung,
.longform-noiDung * {
    font-family: 'BaiJamjuree', sans-serif !important;
}

.tintuc-noiDung p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'BaiJamjuree' !important;
}

.tintuc-noiDung table,
.longform-noiDung table {
    width: 100% !important;
    margin-bottom: 5px;
}

.tintuc-noiDung img,
.longform-noiDung img {
    object-fit: contain !important;
}

.longform-chitiet {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 3%;
    padding-right: 3%;

}

/*#endregion */

/*#region chuyenmuc-block-3 */
.chuyenmuc-block-3 .baiviet-tongquan_image img {
    height: 199px;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 4px;
}

.chuyenmuc-block-3 .tintuc-3-content {
    margin-bottom: 32px;
}

.chuyenmuc-block-3 .tintuc-3-content .sub-content {
    display: none;
}

/*#endregion */
/*#region chuyenmuc-aside */
.chuyenmuc-aside img {
    max-width: 297px;
    max-height: 199px;
}

.chuyenmuc-aside .tintuc-aside {
    margin-bottom: 24px;
}

/*#endregion */
/*#region table */
.table-frag .table-frag-noidung {
    margin-bottom: 8px;
}

.table-chitiet-vbpq th {
    font-weight: 500;
    height: 60px;
    vertical-align: middle;
    font-family: 'BaiJamjuree', sans-serif;
}

.table-chitiet-vbpq .th-tieuDe {
    font-family: 'BaiJamjuree', sans-serif;
    width: 180px;
}

/*#endregion */
/*#region tìm kiếm */
.timkiem {
    background-color: #F6F6F6;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 32px;
}

form label {
    color: #5D5D5D;
    font-weight: 500;
}

form input,
form select {
    min-height: 48px;
}

form .form-group {
    margin-bottom: 10px;
}

.timkiem button {
    margin-top: 25px;
}

.gopy {
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 32px;
    border: 1px solid #E7E7E7;
}

.gopy .ten {
    font-size: 20px;
}

.gopy form {
    margin-top: 16px;
}

/*#endregion */

/* #region form submit */
.form-submit {
    max-width: 540px;
    background-color: white;
    padding: 32px;
    margin: 48px auto;
    border-radius: 16px;
}

.form-submit .title {
    color: #E81D02;
    font-size: 36px;
}

.form-submit #password,
.form-submit #pw-confirm {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-submit .btn-eye {
    border: 1px solid #dee2e6;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-submit .btn-lg {
    max-width: unset;
    margin-top: 12px;
}

.ketquakiemtra img {
    max-width: 300px;
    object-fit: contain;
}

.ketquakiemtra .diem {
    background-image: linear-gradient(to right, #E81D02, #821001);
    color: white;
    font-size: 28px;
    padding: 8px;
}

.ketquakiemtra .ketqua {
    border: 2px solid #E81D02;
    border-radius: 8px;
}

.ketquakiemtra .info {
    padding: 32px;
}

.ketquakiemtra .btn-back {
    background-color: white;
    color: black;
    border-radius: 8px;
    border: 1px solid #E7E7E7;
}

.form-submit input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: #FF4027;
}

.tintuc-4 {
    margin-bottom: 32px;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.tintuc-4 a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.tintuc-4 .thumb {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.tintuc-4 img {
    width: 100%;
    height: 199px;
    object-fit: cover;
    transform-origin: 50% 65%;
    transition: transform 2s;
}

/* Zoom ảnh */
.tintuc-4:hover img {
    transform: scale(1.1);
}

/* Overlay gradient */
.tintuc-4 .thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(48, 48, 51, 0.5), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tintuc-4:hover .thumb::after {
    opacity: 1;
}

/* Thông tin album */
.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;

    padding: 12px;
    color: #fff;

    background: rgba(0, 0, 0, 0.35);
    /* nền tối nhẹ */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.tintuc-4:hover .album-info {
    opacity: 1;
    transform: translateY(0);
}

.album-info h3 {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 4px;
    font-weight: 600;
}

.album-info span {
    font-size: 13px;
    color: #ddd;
}


/* #endregion */
@media (max-width:744px) {
    .tinnoibat .tinnoibat-left p {
        font-size: 20px;
    }

    .tinnoibat-right .tin:last-child {
        display: none;
    }

    .chuyenmuc.block-1 .tintuc-big img {
        width: 200px;
        height: 133px;
    }

    .chuyenmuc.block-1 .tintuc-big span,
    .tin span {
        font-size: 14px;
    }

    .chuyenmuc-ngang .item,
    .chuyenmuc-ngang-new .item {
        flex: 1 1 calc(33.333% - 10px);
        /* 3 items trên 1 hàng */
    }

    .chuyenmuc-ngang .item:nth-child(4),
    .chuyenmuc-ngang .item:nth-child(5) {
        flex: 1 1 calc(50% - 10px);
        /* 2 items trên 1 hàng */
    }

    .chuyenmuc-ngang-new .item:nth-child(4),
    .chuyenmuc-ngang-new .item:nth-child(5) {
        flex: 1 1 calc(50% - 10px);
        /* 2 items trên 1 hàng */
    }

    .chuyenmuc .tinnoibat:last-child {
        display: none;
    }

    .chuyenmuc-doc .chuyenmuc-left,
    .chuyenmuc-doc .chuyenmuc-right {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .chuyenmuc-doc-new .chuyenmuc-left,
    .chuyenmuc-doc-new .chuyenmuc-right {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .chuyenmuc-doc .item,
    .chuyenmuc-doc-new .item {
        max-width: 348px;
    }

    .chuyenmuc-left {
        margin-bottom: 20px;
    }

    .lienketkhac img,
    .lienket-website a {
        max-width: 348px;
    }

    .banner-small {
        max-width: 348px;
    }

    .thuVien iframe {
        height: 400px;
    }

    .thuVien-small:last-child {
        display: none;
    }

    .thuVien-small iframe {
        height: 232px;
    }

    .tintuc-3 {
        display: flex;
        margin-bottom: 12px;
        border-bottom: 1px solid #E7E7E7;
    }

    .tintuc-3:nth-child(5),
    .tintuc-3:nth-child(6) {
        display: none;
    }

    .chuyenmuc-block-3 .baiviet-tongquan_image {
        flex-shrink: 0;
        margin-right: 16px;
    }

    .chuyenmuc-block-3 .baiviet-tongquan_image img {
        width: 200px;
        max-height: 133px;
    }

    /*.chuyenmuc-block-3 .tintuc-3-content .sub-content{*/
    /*    display: block;*/
    /*}*/
    .chuyenmuc-aside img {
        max-width: 348px;
        max-height: 232px;
    }

    .timkiem {
        padding: 16px 8px;
    }

    .tintuc-4 img {
        height: 232px;
    }

    iframe {
        height: 400px;
    }
}

@media (max-width:430px) {
    .banner-ngang-big {
        margin-top: 0px;
        margin-bottom: 25px;
    }

    .chuyenmuc.block-1 .tintuc.tintuc-big {
        display: block;
    }

    .chuyenmuc.block-1 .tintuc-big img {
        width: 100%;
        height: 265px;
        border-radius: 4px;
    }

    .chuyenmuc.block-2 .tintuc-big img {
        width: 100%;
        height: 265px;
        border-radius: 4px;
    }

    .banner-small {
        max-width: 398px;
    }

    .chuyenmuc.block-1 .tintuc-big .ms-2 {
        margin-left: 0 !important;
        margin-top: 12px;
    }

    .chuyenmuc-ngang .item {
        flex: 1 1 calc(50% - 10px);
        /* 3 items trên 1 hàng */
        font-size: 20px;
        font-weight: 500;
    }

    .chuyenmuc-ngang-new .item {
        flex: 1 1 calc(50% - 10px);
        /* 3 items trên 1 hàng */
    }

    .chuyenmuc-ngang-new .item:nth-child(5) {
        flex: 1 1 calc(100% - 10px);
        /* 2 items trên 1 hàng */
    }

    .chuyenmuc-ngang .item:nth-child(5) {
        flex: 1 1 calc(100% - 10px);
        /* 2 items trên 1 hàng */
    }

    .thuVien iframe {
        height: 224px;
    }

    .thuVien-small iframe {
        height: 265px;
    }

    .tbl-vanban .sokyhieu {
        width: 40%;
    }

    .chuyenmuc.block-2 .tieuDe {
        font-size: 16px;
    }

    .main-footer .footer-src p {
        font-size: 14px;
    }

    .main-footer .contact h3 {
        font-size: 16px;
    }

    .main-footer .contact h4 {
        font-size: 16px;
        font-weight: 500;
    }

    .tinnoibat-right .tin:last-child {
        display: flex;
    }

    .table-frag-tieude {
        -webkit-line-clamp: 2;
    }

    .chuyenmuc-block-3 .baiviet-tongquan_image img {
        max-width: 160px;
        max-height: 106px;
    }

    .chuyenmuc-block-3 .tintuc-3-content {
        margin-bottom: 16px;
    }

    .chuyenmuc-aside img {
        max-width: 398px;
        max-height: 265px;
    }

    .baiviet-tongquan img {
        width: 160px;
        height: 106px;
    }

    .table-chitiet-vbpq .th-tieuDe {
        width: 140px;
    }

    .mode {
        justify-content: unset;
        margin-top: 8px;
    }

    .dieuchinh {
        padding: 8px 0;
    }

    .tintuc-4 img {
        height: 232px;
    }

    .tinnoibat-left {
        margin-bottom: 16px;
    }

    iframe {
        height: 300px;
    }
}

.i-lienket {
    flex-shrink: 0;
}

.i-lienket img {
    width: 27px;
}

.menu-chinh .nav-item .nav-link:hover {
    color: #FFF212;
}

.menu-chinh .dropdown-item {
    color: #212529;
}

.menu-chinh .dropdown-item:hover {
    color: #CE1110;
}

.menu-toggle {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle.collapsed i {
    transform: rotate(-90deg);
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

.lienketkhac .banner-small {
    object-fit: cover;
    min-height: 87px;
}

/*Thư viện*/
#modalThuVien .modal-content {
    background: transparent;
    border: none;
}


@media (max-width: 1280px) {
    .navigate-bar {
        font-size: 13px;
    }

    .lienket-website p {
        font-size: 13px;
    }

    .header .logo {
        max-width: 200px;
        max-height: 90px;
    }

    .header .title img{
        width: 80%;
        height: 80%;
    }
}

/*Button share*/
.share-container {
    position: relative;
    display: inline-block;
}

#share-options {
    position: absolute;
    top: 100%;
    left: -5px;
    display: none;
    padding: 5px;
    z-index: 1000;
    width: auto;
    min-width: 50px;
}

#share-options button {
    display: block;
    width: 100%;
    margin: 5px 0;
    cursor: pointer;
    text-align: left;
    background-color: white;
    display: flex
}

#share-options button:hover {
    background-color: #f0f0f0;
}

.share-container.active #share-options {
    display: block;
}

.i-sharefb {
    background: url('images/facebook-icon.svg') no-repeat;
    height: 41px;
    width: 41px;
}

.i-sharezalo {
    background: url('images/zalo-icon.png') no-repeat;
    height: 20px;
    width: 20px;
    object-fit: contain;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/*header banner*/
/* Mặc định: Hiển thị hình ảnh desktop, ẩn mobile */

.header-banner {
    display: block;
}

.header-banner_mobile {
    display: none;
}

/* Khi màn hình nhỏ hơn hoặc bằng 768px (mobile) */
@media (max-width: 768px) {
    .tintuc-noiDung {
        font-family: 'BaiJamjuree' !important;
        margin: 16px 0;
        font-size: 20pt;
        margin-left: 20px;
        margin-right: 20px;
    }

    .longform-noiDung {
        font-family: 'BaiJamjuree' !important;
        margin: 16px 0;
        font-size: 20pt;
    }

    .tintuc-tieude {
        font-size: 30px !important;
    }

    .header-banner {
        display: none;
    }

    .header-banner_mobile {
        display: block;
    }

    .grp-title {
        display: none !important;
    }

    .header .grp-title {
        flex-direction: column;
        /* Xếp chồng logo lên trên tiêu đề */
        text-align: center;
    }

    .header .title {
        margin-left: 0;
        margin-top: 10px;
    }
}

/*header banner*/


/*Tóm tắt trang chủ*/
.tomTat {
    font-family: 'BaiJamjuree' !important;
    text-align: justify;
}

/*Tóm tắt trang chủ*/

b>span {
    font-weight: bolder;
}

strong>span {
    font-weight: bolder;
}


.tintuc-tomtat {
    font-family: 'BaiJamjuree' !important;
    color: rgb(19, 18, 18);
    text-align: justify;
    margin-top: 15px;
    font-weight: 100;
}

.sub-title {
    margin-bottom: 5px;
    color: #006699;
    font-size: 17px;
    font-weight: bold;
}

.tieude-group:hover .tieu-de,
.tieude-group:hover .tieu-de-phu {
    color: #E81D02;
}

.tieu-de-phu {
    font-style: italic;
}

.tinkhongnoibat-right {
    display: block !important;
    height: 100%;
    overflow-y: auto;
}

.tinnoibat-right {
    align-self: flex-start !important;
}

@media (max-width: 767.98px) {
    .tinkhongnoibat-right.border-start {
        border-left: none !important;
    }
}


.tin-title {
    font-size: 1rem;
    color: #000;
    font-family: 'BaiJamjuree';
    font-weight: 700;
    position: relative;
    display: inline-block;
    /* Medium */
}

.tin-title:hover {
    border: none;
}

.tin-title:not([aria-selected="true"])::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--blue-color);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.tin-title:not([aria-selected="true"]):hover::before {
    width: 100%;
}

.tinmoi-nav button[aria-selected="true"] {
    border-top: 3px solid var(--blue-color) !important;
    border-radius: 4px;
}

.tinkhongnoibat-scroll::-webkit-scrollbar {
    width: 6px;
}

.tinkhongnoibat-scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.dot-icon {
    width: 8px;
    height: 8px;
    border: 1.5px solid #000;
    /* viền đen */
    border-radius: 50%;
    background-color: transparent;
    margin-top: 6px;
}

.hover-highlight:hover p {
    color: #E81D02;
}

a.text-decoration-none:hover .tintuc-thongtin-new,
a.text-decoration-none:hover p+p {
    color: #E81D02;
}

/* A. Cố định Chiều cao cho Ảnh */
.tintuc-avatar-new {
    width: 100%;
    aspect-ratio: 16/ 9;
    overflow: hidden;
    position: relative;
}

.tintuc-avatar-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transform-origin: 50% 65%;
    transition: transform 2s;
}

.tintuc-avatar-new:hover img {
    transform: scale(1.1);
}

.tintuc-avatar-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(48, 48, 51, 0.4), transparent);
    transition: height 0.4s ease;
    border-radius: 6px;
}

.tintuc-avatar-new:hover::after {
    height: 100%;
}

.tintuc-thongtin-new {
    font-size: 1.5rem;
    color: #000;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
}

/* Tóm tắt */
.tintuc-tomtat-new {
    font-family: 'BaiJamjuree' !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3em;
    max-height: 3.9em;
}

#newsTabs {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    white-space: nowrap;
    /* Giữ tab không wrap */
}

#newsTabs .nav-link {
    white-space: nowrap;
    /* Đảm bảo text trong tab không ngắt dòng */
    flex-shrink: 0;
    /* Ngăn tab bị co lại quá nhỏ */
}

/* Ẩn thanh cuộn mặc định (tùy chọn, cho giao diện sạch hơn) */
#newsTabs {
    -ms-overflow-style: none;
    /* IE và Edge */
    scrollbar-width: none;
    /* Firefox */
}

#newsTabs::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}


/* Giảm cỡ chữ và padding trên mobile */
@media (max-width: 768px) {
    .tintuc-avatar-new img {
        width: 100%;
        height: auto;
        aspect-ratio: 5/3;
        object-fit: cover;
    }

    .tintuc-thongtin-new {
        font-size: 1rem;
        font-weight: 600;
        margin-top: 5px;
    }

    .tintuc-tomtat-new {
        font-size: 0.9rem;
    }


    .tinnoibat-slick .slick-slide {
        margin-left: 5px !important;
    }

    .tinnoibat-slick .d-flex {
        flex-direction: column;
    }


    .tinnoibat-slick .tintuc-avatar {
        margin-bottom: 0.75rem;
        max-width: 100%;
    }

    .tinkhongnoibat-scroll {
        max-height: none;
        overflow: visible;
    }

    .dot-icon {
        width: 8px;
        height: 8px;
        border: 1px solid #000;
        border-radius: 50%;
        margin-top: 0.4rem;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .tintuc-avatar-new img {
        width: 100%;
        height: auto;
        aspect-ratio: 5/3;
        object-fit: cover;
    }

    .tintuc-thongtin-new {
        font-size: 1rem;
        font-weight: 600;
    }

    .tintuc-tomtat-new {
        font-size: 0.9rem;
    }


    .tinnoibat-slick .slick-slide {
        margin-left: 5px !important;
    }

    .tinnoibat-slick .d-flex {
        flex-direction: column;
    }


    .tinnoibat-slick .tintuc-avatar {
        margin-bottom: 0.75rem;
        max-width: 100%;
    }

    .tinkhongnoibat-scroll {
        max-height: none;
        overflow: visible;
    }

    .dot-icon {
        width: 8px;
        height: 8px;
        border: 1px solid #000;
        border-radius: 50%;
        margin-top: 0.4rem;
    }
}

#dateNow {
    font-weight: 500;
    color: gray;
}

/* Tạo khoảng cách giữa các item */
.slick-lienket .slick-slide {
    box-sizing: border-box;
}

/* Nếu muốn khoảng cách hàng rõ ràng hơn */
.slick-lienket .banner-small {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 10px;
}


.slick-lienket .item-lienket {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.slick-lienket .item-lienket:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* Fullscreen Modal */
#modalGallery .modal-body {
    padding: 0;
}

.fullscreen-slide {
    outline: none;
}

.fullscreen-img {
    max-width: 95%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.slick-gallery-fullscreen {
    width: 100%;
}

.slick-gallery-fullscreen .slick-list {
    height: 90vh;
}

.slick-gallery-fullscreen .slick-track {
    display: flex;
    align-items: center;
}

.slick-gallery-fullscreen .slick-slide {
    height: 90vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-gallery-fullscreen .slick-slide>div {
    width: 100%;
}

.slick-gallery-fullscreen .slick-prev,
.slick-gallery-fullscreen .slick-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 100;
}

.slick-gallery-fullscreen .slick-prev:hover,
.slick-gallery-fullscreen .slick-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slick-gallery-fullscreen .slick-prev {
    left: 30px;
}

.slick-gallery-fullscreen .slick-next {
    right: 30px;
}

.slick-gallery-fullscreen .slick-prev:before,
.slick-gallery-fullscreen .slick-next:before {
    font-size: 30px;
}

.slick-gallery-fullscreen .slick-dots {
    bottom: 30px;
}

.slick-gallery-fullscreen .slick-dots li button:before {
    color: #fff;
    font-size: 12px;
    opacity: 0.5;
}

.slick-gallery-fullscreen .slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Button xem thêm */
.btn-xemthem {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    background: linear-gradient(135deg, #003d82 0%, #0056b3 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 61, 130, 0.3);
}

.btn-xemthem:hover {
    background: linear-gradient(135deg, #002a5c 0%, #003d82 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 61, 130, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .thumb-wrapper {
        height: 150px;
    }

    .slick-gallery-thumbs .slick-prev {
        left: -15px;
    }

    .slick-gallery-thumbs .slick-next {
        right: -15px;
    }
}

@media (max-width: 480px) {
    .thumb-wrapper {
        height: 120px;
    }
}

.thuVien-small {
    height: 180px;
    /* Hoặc chiều cao bạn mong muốn */
    overflow: hidden;
    display: flex !important;
    /* Slick slider đôi khi cần !important */
    align-items: center;
    justify-content: center;
    background: #000;
    /* Nền đen nếu ảnh không đủ chiều ngang */
    border: 2px solid #fff;
    /* Khoảng cách giữa các slide */
}

/* Quan trọng: Ép ảnh thumbnail phải bằng nhau */
.img-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cắt ảnh để vừa khung, không làm méo ảnh */
    display: block;
}

/* Cấu hình nút Play */
.img-play {
    width: 40px !important;
    /* Cố định cỡ nút play */
    height: 40px !important;
    z-index: 10;
}

.nguon-tin {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    /* Tạo đường gạch đứt nhẹ phân cách */
    text-align: right;
    /* Đẩy nguồn sang bên phải */
    font-style: italic;
    /* In nghiêng */
    color: #555;
    /* Màu chữ nhẹ hơn nội dung */
    font-size: 0.95em;
}

.nguon-tin strong {
    color: #333;
    font-weight: 600;
}

.contact-info li {
    font-size: 1.05rem;
    line-height: 1.8;
}

.form-group label {
    font-weight: 600;
    color: #444;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .1);
}

.border-left {
    border-left: 2px solid #f0f0f0 !important;
}

/* Đảm bảo các card trong slide có độ cao bằng nhau */
.hoidap-slick-slider .slick-track {
    display: flex !important;
}

.hoidap-slick-slider .slick-slide {
    height: inherit !important;
}

.hoidap-slick-slider .card {
    height: 100%;
}

/* Tùy chỉnh mũi tên của Slick nếu cần */
.slick-prev:before,
.slick-next:before {
    color: #007bff;
    /* Màu xanh của Trung ương Đoàn */
    font-size: 25px;
}

/* Thanh bar chính */
.side-floating-bar {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;

    /* 1. Đổi sang màu trắng trong suốt (80%) */
    background-color: rgba(255, 255, 255, 0.50);

    /* 3. Làm viền mờ đi một chút */
    border: 1px solid rgba(224, 224, 224, 0.5);

    border-radius: 50px;
    padding: 10px 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 9999;
}

/* Các nút bên trong cũng nên trong suốt */
.side-floating-bar button {
    background: transparent;
    /* Luôn để trong suốt */
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    margin: 5px 0;
}

/* Hiệu ứng hover cho nút */
.side-floating-bar button:hover {
    background-color: rgba(0, 0, 0, 0.05);
    /* Hiệu ứng tối nhẹ khi di chuột */
    color: #000;
}

/* Phần menu con Chia sẻ cũng nên làm trong suốt tương tự */
.share-options-inner {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(224, 224, 224, 0.5);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Container chứa options chia sẻ */
.share-container {
    position: relative;
    display: inline-block;
}

#share-options {
    position: absolute;
    /* Đẩy sang phải và căn giữa theo chiều dọc của nút cha */
    left: 100%;
    top: 50%;
    transform: translateY(-50%);

    /* Tạo khoảng cách nhỏ nhưng vẫn giữ kết nối */
    padding-left: 15px;
    display: none;
    z-index: 100;
}

/* Đây là "Cầu nối" tàng hình giúp chuột di chuyển qua không bị mất */
#share-options::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    /* Độ rộng của khoảng trống giữa 2 phần */
    height: 100%;
    background: transparent;
}

/* Hiển thị khi hover */
.share-container:hover #share-options {
    display: flex;
    flex-direction: row;
    gap: 8px;
    /* Khoảng cách giữa các nút FB, Zalo */
}

/* Container chứa các nút thực tế */
.share-options-inner {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .side-floating-bar {
        left: 2px;
        padding: 5px 2px;
    }

    .side-floating-bar button {
        width: 20px;
        height: 20px;
        font-size: 15px;
    }
}

/* Tùy chỉnh ảnh chính */
.slider-for .main-img-wrapper img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tùy chỉnh thanh điều hướng ảnh nhỏ */
.slider-nav .slick-slide {
    opacity: 0.5;
    /* Mờ các ảnh xung quanh */
    transition: opacity 0.3s ease;
    padding: 5px;
}

.slider-nav .slick-center {
    opacity: 1;
    /* Ảnh ở giữa hiện rõ */
}

.slider-nav .thumb-nav-item img {
    border: 2px solid transparent;
}

.slider-nav .slick-center .thumb-nav-item img {
    border-color: #ff1212;
    /* Viền đỏ cho ảnh đang chọn */
}

/* Ẩn các nút điều hướng mặc định nếu cần */
.slider-nav .slick-prev,
.slider-nav .slick-next {
    z-index: 10;
}

.video-main-item,
.video-sub-item {
    overflow: hidden;
    border-radius: 8px;
}

.video-overlay,
.video-overlay-sm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.video-main-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.cursor-pointer {
    cursor: pointer;
}

/* Tùy chỉnh tỉ lệ ảnh chuẩn video */
.object-fit-cover {
    object-fit: cover;
}

.tab-content {
    overflow-y: auto; 
    max-height: 490px; 
    height: auto; 
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

@media (max-width: 1202px) {
    .tab-content {
        max-height: 450px; 
    }
}

@media (max-width: 1170px) {
    .tab-content {
        max-height: 420px; 
    }
}

.downloadFile{
    color: #14189e !important;
    font-family: 'BaiJamjuree' !important;
}