body {
    color: #000000;
    /* Default text color */
    font-size: 13px;
    /* Base font size from design */
    line-height: 1.5;
    background-color: #FFFFFF;
    /* Explicitly white background */
}

@font-face {
    font-family: 'Arial';
    src: url('/BaoQK7/Fonts/Arial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arial';
    src: url('/BaoQK7/Fonts/Arial Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('/BaoQK7/Fonts/Oswald-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('/BaoQK7/Fonts/Oswald-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UTM-Libel-KT';
    src: url('/BaoQK7/Fonts/UTM-Libel-KT.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/**/
:root {
    --font-primary: Arial, sans-serif;
    --font-heading: Arial, sans-serif;
    --font-special: Arial, sans-serif;
    /* --font-heading: 'Oswald', sans-serif;
    --font-special: 'UTM-Libel-KT', sans-serif; */
}

body {
    font-family: var(--font-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

.st0,
.st1,
.st2,
.st3 {
    color: none;
}

.st4 {
    mask: url(#mask);
}

.st5 {
    color: #1877f2;
}

.st1 {
    stroke: #007731;
}

.st1,
.st2,
.st3 {
    stroke-miterlimit: 10;
}

.st6 {
    font-size: 24.65px;
}

.st7 {
    font-size: 21px;
}

.st8 {
    font-size: 44.64px;
}

.st6,
.st7 {
    font-family: Oswald-Regular, Oswald;
}

.st6,
.st8,
.st9 {
    color: #007731;
}

.st10 {
    color: url(#linear-gradient2);
}

.st11 {
    color: url(#linear-gradient1);
}

.st12 {
    color: url(#linear-gradient3);
}

.st13 {
    color: url(#linear-gradient6);
}

.st14 {
    color: url(#linear-gradient5);
}

.st15 {
    color: url(#linear-gradient4);
}

.st16 {
    color: #d1d3d4;
}

.st17 {
    color: #00752f;
}

.st17,
.st18,
.st19,
.st20,
.st21,
.st22,
.st23,
.st24,
.st25,
.st26,
.st27,
.st28,
.st29,
.st30 {
    font-family: ArialMT, Arial;
}

.st17,
.st20 {
    font-size: 16px;
}

.st2 {
    stroke: #fff;
    stroke-width: 2.73px;
}

.st31 {
    color: url(#linear-gradient);
}

.st32 {
    font-size: 41.04px;
}

.st32,
.st7,
.st33,
.st34,
.st35,
.st36,
.st21,
.st23,
.st24,
.st25,
.st26,
.st29 {
    color: #fff;
}

.st25 {
    font-size: 12.27px;
}

.st32,
.st8 {
    font-family: UTM-Libel-KT, 'UTM Libel KT';
}

.st33 {
    font-size: 16.54px;
}

.st21 {
    font-size: 10px;
}

.st37,
.st33,
.st36 {
    font-family: Arial-BoldMT, Arial;
    font-weight: 700;
}

.st37,
.st36 {
    font-size: 22px;
}

.st38 {
    letter-spacing: 1.36em;
}

.st39 {
    letter-spacing: 1.97em;
}

.st40 {
    mask: url(#mask-2);
}

.st41 {
    mask: url(#mask-1);
}

.st3 {
    stroke: #e6e7e8;
    stroke-width: 2.58px;
}

.st18,
.st23,
.st27 {
    font-size: 14px;
}

.st42 {
    color: #8dc63f;
}

.st19,
.st24 {
    font-size: 15px;
}

.st35 {
    font-family: Oswald-Medium, Oswald;
    font-weight: 500;
}

.st35,
.st22 {
    font-size: 13px;
}

.st22 {
    color: #231f20;
}

.st30 {
    color: #58595b;
}

.italic {
    font-style: italic;
}

.top-bar-container {
    max-width: 1140px;
    /* Match main content container width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-container {
    /* max-width: 1140px; */
    margin-left: auto;
    margin-right: auto;
}

.main-content-container {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-item {
    padding: 9px 10px;
    /* Slightly reduced horizontal padding */
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    /* Slightly reduced font size for nav */
    line-height: 1.2;
    /* border-right: 1px solid #004A24; */
    /* white-space: nowrap; */
    /* Removed to allow wrapping */
}

.nav-item:last-child {
    border-right: none;
}

.nav-icon {
    height: 14px;
    /* Adjusted icon size */
    width: 14px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -1px;
}

.banner-text {
    font-size: 15px;
    /* Precise font size for banner */
    font-weight: 700;
    /* Bold */
    text-transform: uppercase;
}

.article-title-featured-main {
    /*font-size: 19px;*/
    /* For the main large featured article */
    /*font-weight: 700;*/
    line-height: 1.4;
    /*color: #1A202C;*/
    /* Darker text */
}

.article-title-medium {
    /*font-size: 14px;*/
    /* For medium titles like top-left or full-width middle */
    /*font-weight: 700;*/
    line-height: 1.4;
    /*color: #1A202C;*/
}

.article-title-small {
    /*font-size: 13px;*/
    /* For bottom grid titles */
    /*font-weight: 700;*/
    line-height: 1.4;
    /*color: #1A202C;*/
}

.sidebar-title {
    font-size: 12.5px;
    font-weight: 500;
    /* Medium weight as in nav */
    line-height: 1.45;
    /*color: #1A202C;*/
}

.sidebar-icon {
    width: 11px;
    /* Smaller icons for sidebar */
    height: 11px;
    display: inline-block;
    margin-right: 5px;
    fill: #555555;
    /* Gray icon color */
    vertical-align: -1px;
}

.text-ellipsis-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
    /* Adjust if line-height/font-size changes */
}

.text-ellipsis-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.35em;
    /* Adjusted for 1.45 line-height */
}

.text-ellipsis-4-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 5.8em;
    /* 1.45 * 4 = 5.8 */
}

.text-ellipsis-5-lines {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 7.25em;
    /* 1.45 * 5 = 7.25 */
}

.text-ellipsis-6-lines {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 8.7em;
    /* 1.45 * 6 = 8.7 */
}

.text-ellipsis-7-lines {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 10.15em;
    /* 1.45 * 7 = 10.15 */
}

.img-hover-effect {
    transition: opacity 0.2s ease-in-out;
}

.img-hover-effect:hover {
    opacity: 0.85;
}

.title-hover-effect:hover {
    color: #006837;
    /* Green hover for titles */
}

/* Mobile menu button */
#mobile-menu {
    /*    position: fixed;
    z-index: 9999;
    width: 100%;*/
    /*margin-top: 142px;*/
    position: fixed;
    z-index: 9999;
    width: 100%;
    /* margin-top: 142px; */
    position: fixed !important;
    z-index: 9999 !important;
    top: 142px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    transition: opacity 0.3s ease;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}

.custom-swiper-bottom-news .swiper-button-next,
.custom-swiper-bottom-news .swiper-button-prev {
    color: #7e7d7d;
    background-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #7e7d7d;
}

.custom-swiper-bottom-news .swiper-button-next {
    right: -16px;
}

.custom-swiper-bottom-news .swiper-button-prev {
    left: -16px;
}

.custom-swiper-bottom-news .swiper-button-next:after,
.custom-swiper-bottom-news .swiper-button-prev:after {
    font-size: 12px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.custom-swiper-btn-media .swiper-button-next,
.custom-swiper-btn-media .swiper-button-prev {
    color: #fff;
    /*  background-color: #fff;
    border-radius: 50%;*/
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    /*border: 2px solid #7e7d7d;*/
}

.custom-swiper-btn-media .swiper-button-next {
    right: -2px;
    top: 47%;
}

.custom-swiper-btn-media .swiper-button-prev {
    left: -2px;
    top: 47%;
}

.custom-swiper-btn-media .swiper-button-next:after,
.custom-swiper-btn-media .swiper-button-prev:after {
    font-size: 24px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.color-green {
    color: #007731;
}

.bg-green {
    background-color: #007731;
}

.hover\:text-green:hover {
    color: #007731;
}

.article-title-medium,
.article-title-small {
    font-weight: 400 !important;
}

.font-size-11 {
    font-size: 11px;
}

.font-size-12 {
    font-size: 12px;
}

.font-size-13 {
    font-size: 13px;
}

.font-size-14 {
    font-size: 14px;
}

.font-size-15 {
    font-size: 15px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-17 {
    font-size: 17px;
}

.font-size-18 {
    font-size: 18px;
}

.font-size-22 {
    font-size: 22px;
}

/* Responsive order classes */
@media (max-width: 639px) {
    .order-first {
        order: -1 !important;
    }

    .order-last {
        order: 999 !important;
    }
}

@media (min-width: 640px) {
    .sm\:order-none {
        order: 0 !important;
    }
}

/* Grid layout adjustments for news sections */
@media (max-width: 639px) {
    .grid-cols-1>* {
        width: 100%;
    }
}

@media (min-width: 640px) {
    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sm\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .sm\:col-span-1 {
        grid-column: span 1 / span 1;
    }
}

.max-h-160 {
    max-height: 160px;
}

.title-category {
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    -webkit-text-decoration-color: #007731;
    text-decoration-color: #007731;
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
}

.min-w-300 {
    min-width: 300px;
}

/* Dots menu icon and animation */
.dots-menu {
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform 0.3s ease;
}

.dots-menu::before {
    content: '⋮';
    position: absolute;
    font-size: 20px;
    line-height: 16px;
    color: #333;
}

.dots-menu.active {
    transform: rotate(90deg);
}

.custom-swiper-btn-video .swiper-button-next,
.custom-swiper-btn-video .swiper-button-prev {
    color: #fff;
    /*  background-color: #fff;
    border-radius: 50%;*/
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    /*border: 2px solid #7e7d7d;*/
}

.custom-swiper-btn-video .swiper-button-next {
    right: -2px;
    top: 47%;
}

.custom-swiper-btn-video .swiper-button-prev {
    left: -2px;
    top: 47%;
}

.custom-swiper-btn-video .swiper-button-next:after,
.custom-swiper-btn-video .swiper-button-prev:after {
    font-size: 24px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

/* Submenu styles */
.nav-container .group\/nav {
    position: relative;
}

.nav-container .group\/nav>div {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    display: none;
}

.nav-container .group\/nav:hover>div {
    display: block;
}

.nav-container .group\/nav ul {
    margin-top: 0;
    min-width: 200px;
}

.nav-container .group\/nav ul li a {
    display: block;
    padding: 8px 16px;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.nav-container .group\/nav ul li a:hover {
    background-color: #005229;
}

/* Image sizing and aspect ratio classes */
@media (min-width: 640px) {
    .sm-whitespace-nowrap {
        white-space: nowrap;
    }

    .sm\:w-200 {
        width: 200px;
    }
}

.aspect-ratio-container {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.aspect-ratio-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

.load-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 15px;
    font-size: 13px;
    font-weight: 500;
    color: #006837;
    background-color: #ffffff;
    border: 2px solid #006837;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* min-width: 160px; */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.load-more-button:hover {
    background-color: #006837;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 104, 55, 0.15);
}

.lds-ellipsis {
    display: none;
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #006837;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-container {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 8px;
    display: none;
}

.search-input-container.active {
    display: flex;
    animation: slideIn 0.3s ease-out;
}

.search-input {
    background: #4a4a4a;
    border: none;
    border-radius: 20px;
    padding: 6px 35px 6px 15px;
    color: #fff;
    font-size: 13px;
    width: 240px;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.search-submit svg {
    width: 16px;
    height: 16px;
    color: #999;
}

#searchToggle {
    transition: opacity 0.3s ease;
}

#searchToggle.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-20px, -50%);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.datetime-display {
    min-width: 200px;
    display: inline-block;
}

.text-decoration-color-red {
    text-decoration-color: #ff0000 !important;
}

.text-color-red {
    color: #ff0000;
}

.ic {
    width: 15px;
    height: 15px;
    background: url('/BaoQK7/images/allicon.png') no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-top: -5px !important;
}

.btn_print i,
.btn_email i {
    color: #999;
    font-size: 15px;
}

.item_fb,
.item_twit,
.item_google {
    width: 16px;
    height: 16px;
    text-align: center;
    margin-left: 5px;
    display: inline-block;
}

.item_fb {
    background: #3067a3;
}

.item_fb i,
.item_twit i,
.item_google i,
.btn_print i,
.btn_email i {
    font-size: 11px;
    color: #fff;
    vertical-align: middle;
    display: inline-block;
    margin-top: 1px;
}

.item_twit {
    background: #00aced;
}

.ic-facebook {
    width: 8px;
    height: 12px;
    background-position: -509px -95px;
}

.ic-twitter {
    background-position: -519px -96px;
    width: 12px;
    height: 10px;
}

.ic-print {
    background-position: -555px 0;
}

.ic-email {
    height: 12px;
    background-position: -315px -1px;
}

.item_fb,
.item_twit,
.item_google,
.btn_print,
.btn_email {
    width: 16px;
    height: 16px;
    text-align: center;
    margin-left: 5px;
    display: inline-block;
}

.max-w-none {
    max-width: none;
}

.article-content img {
    display: unset;
    width: 100%;
}

.article-content {
    font-size: 16px;
    line-height: 2;
}

.custom-baoin {
    border: 1px solid #007731;
}

.custom-thong-tin-liet-si {
    border: 1px solid #007731;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-thong-tin-liet-si a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom-thong-tin-liet-si div:last-child {
    flex: 1;
    display: flex;
}

.custom-thong-tin-liet-si img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Media query for md breakpoint (768px and above) */
@media (min-width: 768px) {
    .md\:w-1\/3 {
        width: 33.333333%;
    }

    .md\:w-2\/3 {
        width: 66.666667%;
    }
}

/* Navigation menu styles for desktop */
@media (min-width: 768px) {
    /*.nav-container {
        overflow: hidden;
        margin: 0 auto;
        position: relative;
    }

    .nav-container .flex {
        justify-content: center;
    }*/

    .nav-container ul.desktop-menu {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        position: relative;
        margin: 0 auto;
    }

    .nav-container ul.desktop-menu>li {
        flex: 0 0 auto;
    }

    .nav-container ul.desktop-menu>li>a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

    .nav-container .more-menu-trigger {
        display: none;
        align-items: center;
        padding: 11px 10px;
        cursor: pointer;
        color: white;
        background-color: #006837;
        position: absolute;
        right: 0;
        top: 0;
        font-weight: bold;
    }

    .nav-container .more-menu-trigger:hover {
        background-color: #005229;
    }

    .nav-container .more-menu-trigger.show {
        display: flex;
    }

    .nav-container .overflow-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #006837;
        min-width: 200px;
        z-index: 50;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .nav-container .overflow-menu.show {
        display: block;
    }

    .nav-container .overflow-menu li a {
        padding: 8px 16px;
        display: block;
        color: white;
        text-decoration: none;
    }

    .nav-container .overflow-menu li a:hover {
        background-color: #005229;
    }
}

.min-h-4-5 {
    min-height: 4.5em;
}

.warning-search-custom {
    border: 3px solid #ff0000;
}

.custom-da-phuong-tien:before {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: -20px;
    right: -20px;
    bottom: 0px;
    background: linear-gradient(to right, #007731 0%, #004e23 100%);
}

.custom-phong-su-anh:before {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: -20px;
    right: -20px;
    bottom: 0px;
    background: #007731;
}

.custom-channel-qk7:before {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: -20px;
    right: -20px;
    bottom: 0px;
    background: #007731;
}

@media (max-width: 768px) {
    .custom-da-phuong-tien:before {
        right: -10px;
    }

    .custom-phong-su-anh:before {
        right: -10px;
    }

    .custom-channel-qk7:before {
        right: -10px;
    }

    .custom-slide-top-new:before {
        left: 0 !important;
        right: 0 !important;
    }

    .custom-fixed-mt {
        margin-top: 151px;
    }

    .custom-thong-quangcao:before {
        display: none
    }

    .custom-thong-quangcao .ml50 {
        margin-left: 0 !important;
    }
}

.custom-zindex-1 {
    z-index: 1;
}

.custom-slide-top-new:before {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: -30px;
    right: -30px;
    bottom: 0px;
}

.custom-border-rigtht::after {
    content: "";
    position: absolute;
    right: 0;
    top: 6px;
    height: 130px;
    width: 0;
    border-right: 2px solid black;
}

.custom-thong-tin-liet-si1:before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    height: 100%;
    width: 4px;
    border-right: 1px solid rgb(229 231 235/var(--tw-divide-opacity, 1));
}

.custom-thong-quangcao:before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    height: 110%;
    width: 4px;
    border-right: 1px solid rgb(229 231 235/var(--tw-divide-opacity, 1));
}

.custom-thong-quangcao .ml50 {
    margin-left: 50px;
}

.gap-y-12 {
    row-gap: 12px;
    -moz-column-gap: 12px;
}

/* Custom aspect ratio classes */
.aspect-ratio-3-2 {
    position: relative;
    padding-bottom: 66.67%;
    /* 3:2 Aspect Ratio */
}

.aspect-ratio-3-2>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid image aspect ratio */
.aspect-ratio-grid {
    position: relative;
    padding-bottom: 66.67%;
    /* 198/296 ≈ 66.67% - same 3:2 ratio */
}

.aspect-ratio-grid>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Small image aspect ratio (130x86) */
.aspect-ratio-small {
    position: relative;
    width: 130px;
    /* Fixed width */
    height: 86px;
    /* Fixed height */
    flex-shrink: 0;
    /* Prevent shrinking in flex containers */
}

.aspect-ratio-small>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Banner image fixed size (684x480) */
.aspect-ratio-banner {
    position: relative;
    width: 684px;
    height: 480px;
    margin: 0 auto;
}

.aspect-ratio-banner>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Channel QK7 custom styles */
.custom-channel-qk7 {
    position: relative;
}

.custom-channel-qk7 .aspect-video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.custom-channel-qk7 .aspect-video video,
.custom-channel-qk7 .aspect-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.custom-channel-qk7 .video-grid-item {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
}

.custom-channel-qk7 .video-grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video grid responsive styles */
@media (max-width: 640px) {
    .custom-channel-qk7 .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 641px) {
    .custom-channel-qk7 .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.custom-channel-qk7 .grid-rows-2 {
    grid-template-rows: repeat(2, 1fr);
}

.custom-gap-x-16 {
    -moz-column-gap: 3rem;
    column-gap: 3rem;
}

@media (min-width: 1024px) {
    .custom-channel-qk7 .lg\:w-2\/5 {
        width: 40% !important;
    }

    .custom-channel-qk7 .lg\:w-3\/5 {
        width: 60% !important;
    }

    .custom-channel-qk7 .lg\:flex-row {
        flex-direction: row !important;
    }
}

.custom-channel-qk7 .flex-col {
    flex-direction: column;
}

.custom-channel-qk7 .w-full {
    width: 100%;
}

/* Custom horizontal line for Tieu Diem section */
.custom-tieudiem-item {
    position: relative;
    overflow: visible;
}

.custom-tieudiem-item::after {
    content: '';
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    width: calc(200% - -133px);
    height: 1px;
    background-color: #d1d3d4;
    display: none;
}

@media (min-width: 640px) {
    .custom-tieudiem-item::after {
        display: block;
    }
}

/* Container for Tieu Diem section */
.tieudiem-container {
    position: relative;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Custom animation for button appearance */
.back-to-top {
    transition: all 0.3s ease-in-out;
}

.back-to-top.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Remove pb-6 from last item */
.custom-sidebar-top-right li:last-child {
    padding-bottom: 0 !important;
}

.overflow-y-auto {
    overflow-y: auto;
}

.block-category a:not(:last-child):before {
    content: "";
    position: absolute;
    right: 0px;
    top: 2px;
    height: 12px;
    background: #666;
    width: 1px;
}

.block-category a {
    position: relative;
    padding-right: 8px;
    font-weight: bold;
}

.detail-post-related {
    background: #f7f7f7;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

span.strSearchUni,
.strSearchUnitotalRow {
    color: red;
    font-weight: bold;
    font-size: 15px;
}

.longform-highlight,
.longform-highlight-true {
    border: 1px solid #f0e68c !important;
    padding: 12px 16px !important;
    margin: 10px 0 !important;
    border-radius: 4px !important;
}


/* Merge adjacent highlight blocks to create seamless appearance */
.longform-highlight + .longform-highlight,
.longform-highlight-true + .longform-highlight-true {
    margin-top: -1px !important;
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    padding-top: 0 !important;
}

.longform-highlight:has(+ .longform-highlight),
.longform-highlight-true:has(+ .longform-highlight-true) {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding-bottom: 0 !important;
}
blockquote {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-left: 4px solid #6c757d !important;
    padding: 16px 20px !important;
    margin: 16px 0 !important;
    border-radius: 6px !important;
    font-style: italic !important;
    color: #495057 !important;
    position: relative !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

blockquote::before {
    content: '"' !important;
    font-size: 48px !important;
    color: #6c757d !important;
    position: absolute !important;
    top: -5px !important;
    left: 10px !important;
    opacity: 0.3 !important;
    font-family: Georgia, serif !important;
    line-height: 1 !important;
}
blockquote:not(:first-of-type) {
    margin-top: -1px !important;
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    padding-top: 8px !important;
}
blockquote {
    border-left: 4px solid #ccc;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 16px;
}
blockquote + blockquote {
    margin-top: -1px !important;
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    padding-top: 8px !important;
}
blockquote:not(:last-of-type) {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding-bottom: 8px !important;
}
img.lazy-placeholder {
    background-color: #eee;
    background-image: linear-gradient(90deg, #eee 0, #f5f5f5 20%, #eee 40%, #eee 100%);
    background-size: 200% 100%;
    animation: lazy-shimmer 1.2s ease-in-out infinite;
    transition: filter .35s ease, opacity .35s ease, background .2s ease;
    filter: blur(6px);
}

img.lazy-placeholder.loaded {
    animation: none;
    background: none;
    filter: blur(0);
}

@keyframes lazy-shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}