/* ============================================================================
   OVERRIDES page.css -- ghi de rule goc cho phu hop giao dien CVA
   Dat DAU file custom.css de co do uu tien cao hon page.css.
   KHONG sua page.css (theme goc), chi override tai day.
   ========================================================================= */

/* --- Body: chu den #212529, KHONG phai do --color-main --- */
body {
    color: var(--color-text);
    font-size: 1.5rem;
}

/* --- Link hover: do CVA --- */
a:hover {
    color: var(--color-hover);
}

/* --- Title section: do chinh, dam --- */
.title-section {
    color: var(--color-main);
    font-weight: 700;
}

/* --- Breadcrumb --- */
.breadcrumbs-section a {
    color: var(--color-text);
}
.breadcrumbs-section a:hover {
    color: var(--color-main);
}
.breadcrumbs-section span {
    color: var(--color-main);
}

/* --- Input checkbox --- */
.inner-checkbox > span::after {
    border-color: var(--color-main);
}
.input-opt input {
    border-color: var(--color-main);
}

/* --- Bang responsive --- */
.responsive-table thead th {
    background-color: var(--color-main);
    border-color: var(--color-main);
}
.responsive-table tfoot {
    color: var(--color-main);
}
.responsive-table tbody th[scope="row"] a {
    color: var(--color-main);
}

/* --- Danh muc sidebar --- */
.categories-section a {
    color: var(--color-text);
}
.categories-section a:hover,
.categories-section a.active {
    color: var(--color-main);
}

/* --- Article item --- */
.article-item .article-title a {
    color: var(--color-text);
}
.article-item .article-title a:hover {
    color: var(--color-main);
}

/* --- Product title --- */
.product-title a {
    color: var(--color-text);
}
.product-title a:hover {
    color: var(--color-main);
}

/* --- Menu section --- */
.menu-section > ul > li > a {
    font-size: 1.5rem;
}
.menu-section > ul > li:hover > a {
    color: var(--color-main);
}
.menu-section .menu-title {
    color: var(--color-main);
}

/* --- Block tab --- */
.block-tab.nav .nav-item .nav-link.active,
.block-tab.nav .nav-item .nav-link:hover {
    color: var(--color-main);
}

/* --- Swiper slide link --- */
.swiper-slide--link {
    border-color: var(--color-main);
    color: var(--color-main);
}
.swiper-slide--link:hover {
    background-color: var(--color-main);
    border-color: var(--color-main);
}

/* --- Pagination --- */
.pagination .page-item.active .page-link,
.pagination .page-item:hover .page-link {
    color: var(--color-main);
}

/* --- Post date --- */
.post-date span {
    color: var(--color-main);
}

/* --- Sidebar mini cart & menu mobile --- */
.sidebar-mini-cart .sidebar-header .close-sidebar {
    color: var(--color-main);
}
.btn-menu-mobile {
    color: var(--color-main);
}

/* --- Footer info --- */
.entire-info-website address p i {
    color: var(--color-main);
}
.entire-info-website .title-social-footer {
    color: var(--color-main);
}
.social-footer-section ul li a:hover {
    color: var(--color-main);
}

/* --- Dia chi --- */
.title-address {
    color: var(--color-main);
}

/* --- Product detail --- */
.product-content-detail label {
    color: var(--color-main);
}
.product-content-detail .product-title-detail {
    color: var(--color-main);
}
.product-content-detail .btn-compare {
    color: var(--color-main);
}
.product-quantity {
    color: var(--color-text);
}

/* --- Album title --- */
.album-item .album-title a {
    color: var(--color-main);
}

/* --- Read more --- */
.read-more {
    color: var(--color-main);
}

/* --- Per page & orderby --- */
.per-page-title {
    color: var(--color-main);
}
.per-page-variation {
    color: var(--color-text);
}
.per-page-variation.active {
    color: var(--color-main);
}
.orderby-section .orderby-title {
    color: var(--color-main);
}

/* --- Filter --- */
.btn-filter-mobile {
    color: var(--color-main);
}
.filter-section li > a:hover {
    color: var(--color-main);
}
.filter-section li > a.active .inner-name {
    color: var(--color-main);
}

/* --- Product attribute & reset --- */
.product-attribute-switch .inner-product-attribute {
    color: var(--color-text);
}
.reset-attribute {
    color: var(--color-main);
}
.reset-attribute:hover {
    color: var(--color-main);
}

/* --- Quick shop --- */
.product-quick-shop .quick-shop-close {
    color: var(--color-main);
}

/* --- Social share --- */
.social-share .list-social .btn-social a {
    color: var(--color-main);
}

/* --- Mini cart --- */
.sidebar-mini-cart .content-mini-cart .inner-content .product-title {
    color: var(--color-text);
}
.sidebar-mini-cart .content-mini-cart .inner-content .attr-product label {
    color: var(--color-text);
}
.sidebar-mini-cart .content-mini-cart .inner-content .quantity {
    color: var(--color-text);
}
.sidebar-mini-cart .content-mini-cart .mini-cart-btn .btn-cart-info {
    border-color: var(--color-main);
    color: var(--color-main);
}

/* --- Menu mobile open --- */
@media (max-width: 1000px) {
    .menu-section > ul > li > a,
    .menu-vertical--nav > ul > li > a {
        color: var(--color-text);
    }
    .menu-section .close-sidebar,
    .menu-vertical--nav .close-sidebar {
        color: var(--color-main);
    }
}

/* END: OVERRIDES page.css */
/* BEGIN: BLOCK_CVALAYOUT */
/* ============================================================================
 BỐ CỤC cvalayout — đầu trang + chân trang theo mẫu https://cva.edu.vn
 Màu + số đo CHÉP từ assets-css-style.css của mẫu:
 --color-main #9f0a10 (nền dải menu, nền chân trang) · hover menu #fc0
 hover link #ec2d3f · khung nội dung 1200px · .head-bottom .wrap-content padding 10px 0
 Biến màu khai CỤC BỘ trên các khoang dưới đây, KHÔNG đụng :root của theme (D4).
 ========================================================================= */
/* Bi?n m?u d? chuy?n sang variable.css (:root) */

/* ------------------------------------------------------------ đầu trang (nền trắng) */
.cva-head {
    background-color: #fff;
    padding: 10px 0;
}

.cva-head > .container > .row {
    align-items: center;
}

.cva-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cva-logo-img {
    max-height: 82px;
    width: auto;
}

.cva-logo-ten {
    display: block;
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    color: #8a0d0d;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.cva-logo-ten:hover {
    color: #b8141b;
}

.cva-logo-slogan {
    margin: 4px 0 0;
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 500;
    color: #184175;
}

/* hotline + email, canh phải như mẫu */
.cva-lienhe {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 32px;
}

.cva-lienhe-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cva-lienhe-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fcebeb;
    border: 1px solid #f9d6d6;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    box-shadow: 0 2px 6px rgba(138, 13, 13, 0.08);
}

/* icon vẽ bằng SVG nội tuyến */
.cva-lienhe-icon--dt {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a0d0d' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
}

.cva-lienhe-icon--mail {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a0d0d' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E");
}

.cva-lienhe-nhan {
    margin: 0;
    font-size: 1.3rem;
    color: #6c757d;
    line-height: 1.2;
}

.cva-lienhe-gt {
    margin: 3px 0 0;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.cva-lienhe-gt a {
    color: #8a0d0d;
}

.cva-lienhe-item:nth-child(2) .cva-lienhe-gt a {
    color: #222;
    font-size: 1.45rem;
    font-weight: 600;
}

.cva-lienhe-gt a:hover {
    color: #b8141b;
}

/* ------------------------------------------------------------ dải menu (nền đỏ) */
.cva-menubar {
    background-color: #8a0d0d;
    position: relative;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cva-menubar > .container-fluid, .cva-menubar > .container {
    max-width: 1200px;
    margin: auto;
}

.cva-menubar .row {
    align-items: center;
}

.cva-menubar .menu-section > ul, .cva-menubar .menu-container > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cva-menubar .menu-section li > a, .cva-menubar .menu-container li > a {
    display: flex;
    align-items: center;
    padding: 13px 18px;
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    transition: all .2s ease;
}

.cva-menu-home-icon {
    color: #ffc107 !important;
    font-size: 1.8rem;
    line-height: 1;
    transition: transform .2s ease, color .2s ease;
}

.cva-menubar .menu-section li > a:hover .cva-menu-home-icon {
    transform: scale(1.15);
    color: #fff !important;
}

.cva-menubar .menu-section li > a:hover, .cva-menubar .menu-section li > a.active {
    color: #ffc107 !important;
}

/* menu con: nền sáng, chữ thường — chép từ .menu ul li ul của mẫu */
.cva-menubar .menu-section li ul {
    min-width: 250px;
    background-color: #fafafa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.cva-menubar .menu-section li ul li > a {
    padding: 10px 12px;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: none;
    color: #313131;
    border-bottom: 1px solid #ececec;
}

.cva-menubar .menu-section li ul li:hover > a {
    color: var(--color-hover);
}

/* ô tìm kiếm nằm cuối dải menu */
.cva-tim-form {
    display: flex;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
}

.cva-tim-o {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 7px 14px;
    font-size: 1.4rem;
    outline: none;
}

.cva-tim-nut {
    flex: 0 0 auto;
    border: 0;
    background: var(--color-main-dark);
    color: #fff;
    padding: 7px 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cva-tim-nut:hover {
    background: #6d060a;
}

/* ------------------------------------------------------------ chân trang (nền đỏ) */
footer {
    background: #9f0a10 url("../media/bgf.png") no-repeat center top;
    background-size: cover;
}

.cva-footer-main {
    background: transparent;
    color: #fff;
    padding: 45px 0 25px;
    font-size: 1.4rem;
}

.cva-footer-main a {
    color: #fff;
}

.cva-footer-main a:hover {
    color: var(--color-accent);
}

.cva-ft-tieude, .cva-footer-main .menu-vertical--header {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

/* cột "Chính sách hỗ trợ": view_vertical của theme gập danh sách vào nút ☰;
 ở chân trang mẫu danh sách luôn mở nên mở sẵn và ẩn nút. */
.cva-footer-main .menu-vertical--title, .cva-footer-main .menu-vertical--top .close-sidebar, .cva-footer-main .back-drop {
    display: none !important;
}

/* cả cụm ngăn kéo: nền tối nằm ở phần tử con, phải ép trong suốt hết */
.cva-footer-main .menu-vertical, .cva-footer-main .menu-vertical--nav, .cva-footer-main .menu-vertical--top, .cva-footer-main .menu-vertical--content, .cva-footer-main .menu-container {
    background: transparent !important;
    border: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* theme ẩn .menu-vertical--top ở khổ máy tính (nó là thanh tiêu đề của NGĂN KÉO);
 ở chân trang mẫu đây là tiêu đề cột nên phải hiện lại. */
.cva-footer-main .menu-vertical--top {
    display: block !important;
}

.cva-footer-main .menu-vertical--header {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.cva-footer-main .menu-vertical--nav {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    visibility: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cva-footer-main .menu-vertical--content {
    display: block !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cva-footer-main .menu-vertical--content li > a {
    display: flex;
    align-items: center;
    padding: 6px 0;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.5;
    border: 0;
    transition: color .2s ease;
}

.cva-footer-main .menu-vertical--content li > a:hover {
    color: var(--color-accent);
}

.cva-footer-main .menu-vertical--content li > a::before {
    content: "»";
    margin-right: 8px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.cva-footer-main .menu-vertical--content li > a span {
    display: none;
}

.cva-ft-thongtin .cva-ft-ten {
    font-size: 2.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.cva-ft-thongtin p {
    margin: 0 0 7px;
    line-height: 1.65;
    color: #fff;
    font-size: 1.42rem;
}

.cva-ft-thongtin span {
    font-weight: 600;
}

.cva-ft-chiduong {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 20px;
    border-radius: 20px;
    background: var(--color-accent);
    color: var(--color-main) !important;
    font-weight: 700;
}

.cva-ft-chiduong:hover {
    background: #fff;
    color: var(--color-main) !important;
}

/* dải "Ban ngành liên quan" — hàng riêng, logo đặt trên nền trắng như mẫu */
.cva-footer-coquan {
    background-color: transparent;
    padding: 5px 0 35px;
}

.cva-footer-coquan .cva-ft-tieude {
    color: #ffb800;
}

.cva-coquan-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cva-coquan-item {
    background: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 92px;
}

.cva-coquan-item img {
    max-width: 100%;
    height: auto;
    max-height: 74px;
}

/* dòng bản quyền */
.cva-footer-copyright {
    background-color: var(--color-main-dark);
    color: #fff;
    font-size: 1.3rem;
}

.cva-ft-copyright {
    padding: 12px 0;
}

.cva-ft-copyright .container {
    max-width: 1200px;
}

.cva-footer-copyright a {
    color: #fff;
}

/* ------------------------------------------------------------ nút liên hệ nổi */
.cva-nutnoi {
    position: fixed;
    left: 12px;
    bottom: 70px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cva-nutnoi-item {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 20px;
    background: var(--color-main);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.cva-nutnoi-item:hover {
    background: var(--color-main-dark);
    color: #fff;
}

.cva-nutnoi-zalo {
    background: #0068ff;
}

.cva-nutnoi-mess {
    background: #0084ff;
}

/* ------------------------------------------------------------ khổ điện thoại
 Mẫu ẩn hẳn hàng hotline/email dưới 1024px (.head .head-top{display:none}) — làm y vậy. */
/* ------------------------------------------------------------ khổ điện thoại
 Mẫu ẩn hẳn hàng hotline/email dưới 1024px (.head .head-top{display:none}) — làm y vậy. */
@media (max-width: 1024px) {
    .cva-head {
        background: #fff;
        padding: 8px 0;
    }
    .cva-head .cva-lienhe {
        display: none;
    }
    .cva-logo {
        gap: 10px;
    }
    .cva-logo-img {
        max-height: 52px;
        width: auto;
    }
    .cva-logo-ten {
        font-size: 1.45rem;
        font-weight: 800;
        line-height: 1.25;
        color: #8a0d0d;
    }
    .cva-logo-slogan {
        display: block;
        margin: 2px 0 0;
        font-size: 1.15rem;
        font-style: italic;
        color: #184175;
    }
    .cva-footer-main {
        padding: 24px 0 12px;
    }
    .cva-footer-main .cva-ft-thongtin, .cva-footer-main .menu-vertical, .cva-footer-main .cva-ft-vitri {
        margin-bottom: 20px;
    }
    .cva-coquan-item {
        min-width: 130px;
        min-height: 64px;
    }
    .cva-nutnoi {
        bottom: 16px;
        left: 10px;
    }
}

@media (max-width: 576px) {
    .cva-logo-ten {
        font-size: 1.3rem;
    }
    .cva-logo-slogan {
        font-size: 1.05rem;
    }
    .cva-tim-o {
        display: none;
    }
}

/* ------------------------------------------------------------ mạng xã hội + nút nhận tin */
.cva-ft-mxh {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.cva-mxh-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform .2s ease, opacity .2s ease;
}

.cva-mxh-item:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

.cva-mxh-fb {
    background-image: url("../media/icon/icon_cva_facebook.png");
}

.cva-mxh-yt {
    background-image: url("../media/icon/icon_cva_youtube.png");
}

.cva-mxh-za {
    background-image: url("../media/icon/icon_cva_zalo.png");
}

.cva-ft-dangky {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    background: #e69500;
    background: linear-gradient(180deg, #f6b001 0%, #e59b00 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    transition: background .2s ease, transform .2s ease;
}

.cva-ft-dangky:hover {
    background: #ffb800;
    color: #fff !important;
    transform: translateY(-1px);
}
/* END: BLOCK_CVALAYOUT */

/* BEGIN: BLOCK_CVAHOME */
/* ============================================================================
 RUỘT TRANG CHỦ cvahome — theo mẫu https://cva.edu.vn/
 Số đo chép từ mẫu: ô Tuyển sinh 380×280 · ô Chương trình học 260×260 ·
 ô Hoạt động 293×293 · khung 1200px · dải cách nhau 60px (padding-top-bottom).
 Biến màu khai cục bộ trên từng khoang, không đụng :root (D4).
 ========================================================================= */
/* Bi?n m?u d? chuy?n sang variable.css (:root) */

/* ------------------------------------------------------------ hàng 1: slideshow + tin mới */
.cva-hero {
    padding: 20px 0;
}

.cva-hero .swiper-slider-main img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.cva-hero .cvahome-tinmoi {
    height: 100%;
}

/* cột tin tức mới bên phải slideshow: danh sách dọc, ảnh nhỏ bên trái */
.cvahome-tinmoi .item-article, .cvahome-tinmoi .news-item, .cvahome-tinmoi .item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
}

.cvahome-tinmoi img {
    width: 110px;
    height: 74px;
    object-fit: cover;
    border-radius: 4px;
}

.cvahome-tinmoi a {
    color: #212529;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.45;
}

.cvahome-tinmoi a:hover {
    color: var(--color-main);
}

/* ------------------------------------------------------------ dải 4 ô (Tuyển sinh · Chương trình học) */
.cva-dai {
    padding: 60px 0;
}

.cva-dai--chuongtrinh {
    background: var(--color-bg-light);
}

.cva-ts-dau, .cva-ct-dau {
    text-align: center;
    margin-bottom: 30px;
}

.cva-ts-tieude, .cva-ct-tieude {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
    position: relative;
    padding-bottom: 10px;
}

.cva-ts-tieude::after, .cva-ct-tieude::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    margin-left: -30px;
    background: var(--color-accent);
}

.cva-ts-mota, .cva-ct-mota {
    margin: 10px 0 0;
    font-size: 1.4rem;
    font-style: italic;
    color: #5c5c5c;
}

.cva-ts-luoi, .cva-ct-luoi {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cva-ts-o, .cva-ct-o {
    min-width: 0;
    /* ô của grid: thiếu dòng này là block phồng ~11 triệu px */
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.cva-ts-anh, .cva-ct-anh {
    overflow: hidden;
}

.cva-ts-anh img, .cva-ct-anh img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.cva-ts-o:hover .cva-ts-anh img, .cva-ct-o:hover .cva-ct-anh img {
    transform: scale(1.06);
}

/* Tuyển sinh: ảnh 380×280, tên chữ trắng đè lên dải mờ dưới ảnh */
.cva-ts-anh {
    aspect-ratio: 380 / 280;
    max-width: 100%;
}

.cva-ts-o {
    text-align: center;
    overflow: visible;
}

.cva-ts-anh {
    border-radius: 8px;
}

/* mẫu để tên trong thẻ ribbon đỏ NẰM DƯỚI ảnh, không đè lên ảnh */
.cva-ts-ten {
    display: block;
    width: 80%;
    margin: -18px auto 0;
    position: relative;
    z-index: 2;
    padding: 9px 10px;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(180deg, var(--color-main-gradient), var(--color-main));
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}

/* Chương trình học: ảnh vuông 260×260 bo tròn, tên nằm dưới ảnh */
.cva-ct-anh {
    aspect-ratio: 1 / 1;
    max-width: 100%;
    border-radius: 50%;
    margin: 0 auto 14px;
    width: 260px;
}

.cva-ct-o {
    text-align: center;
    overflow: visible;
}

.cva-ct-ten {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
}

/* ------------------------------------------------------------ dải Hoạt động (băng chuyền bài viết) */
.cva-dai--hoatdong {
    background: #fff;
}

.cvahome-hoatdong img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
}

.cvahome-hoatdong a {
    display: block;
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
    text-align: center;
}

.cvahome-hoatdong a:hover {
    color: var(--color-hover);
}

/* ------------------------------------------------------------ giới thiệu: tin nổi bật + video */
.cva-gioithieu {
    padding: 60px 0;
    background: var(--color-bg-light);
}

.cva-video-tieude, .cvahome-tincuon .cva-ft-tieude {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
    margin-bottom: 16px;
}

.cva-video-khung {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    border-radius: 5px;
    overflow: hidden;
    background: #000;
}

.cva-video-khung iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ------------------------------------------------------------ đăng ký nhận tin */
.cva-nhantin {
    background: var(--color-main);
    color: #fff;
    padding: 30px 0;
}

.cva-nhantin .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
}

.cva-nhantin-tieude {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cva-nhantin-mota {
    margin: 4px 0 0;
    font-size: 1.4rem;
    opacity: .9;
}

.cva-nhantin-nut {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 24px;
    background: var(--color-accent);
    color: var(--color-main) !important;
    font-weight: 700;
}

.cva-nhantin-nut:hover {
    background: #fff;
}

/* ------------------------------------------------------------ khổ điện thoại */
@media (max-width: 1024px) {
    .cva-dai, .cva-gioithieu {
        padding: 30px 0;
    }
    .cva-ts-luoi, .cva-ct-luoi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .cva-ts-tieude, .cva-ct-tieude {
        font-size: 2.2rem;
    }
    .cva-ct-anh {
        width: 100%;
    }
    .cva-hero .cvahome-tinmoi {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .cva-ts-ten, .cva-ct-ten {
        font-size: 1.3rem;
    }
    .cva-nhantin .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ------------------------------------------------------------ 2 dải dùng view gốc của theme
 (`article/view_slider.tpl` + `article/item.tpl`). Class thật của item: .border · .inner-image
 .ratio-1-1 · .post-date · .article-title. Mẫu chỉ có ảnh vuông + tên, nên bỏ viền/ngày/mô tả
 bằng CSS — KHÔNG sửa view gốc (C14). Số ô/hàng do cấu hình swiper quyết định, không ép flex. */
.cvahome-hoatdong .title-section, .cvahome-tincuon .title-section {
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
}

.cvahome-hoatdong .title-section::after, .cvahome-tincuon .title-section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    margin-left: -30px;
    background: var(--color-accent);
}

.cvahome-hoatdong .article-item .border, .cvahome-tincuon .article-item .border {
    border: 0 !important;
    padding: 0 !important;
}

.cvahome-hoatdong .inner-image, .cvahome-tincuon .inner-image {
    border-radius: 5px;
    overflow: hidden;
}

.cvahome-hoatdong .article-category, .cvahome-tincuon .article-category, .cvahome-hoatdong .btn-submit-1, .cvahome-tincuon .btn-submit-1, .cvahome-hoatdong .post-date, .cvahome-tincuon .post-date, .cvahome-hoatdong .article-description, .cvahome-tincuon .article-description {
    display: none !important;
}

.cvahome-hoatdong .article-title, .cvahome-tincuon .article-title {
    margin: 12px 0 0 !important;
    text-align: center;
}

.cvahome-hoatdong .article-title a, .cvahome-tincuon .article-title a {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
}

.cvahome-hoatdong .article-title a:hover, .cvahome-tincuon .article-title a:hover {
    color: var(--color-hover);
}

/* ------------------------------------------------------------ VÒNG SỬA 2 (user soi lại)

 Dải HOẠT ĐỘNG: mẫu là lưới 4 cột × 2 hàng, tên chữ trắng đè lên ảnh ở đáy ô. */
.cvahome-hoatdong .row > [class*="col-"], .cvahome-hoatdong .swiper-wrapper > [class*="col-"] {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 5px;
}

.cvahome-hoatdong .article-item {
    position: relative;
    height: 100%;
}

.cvahome-hoatdong .article-item .inner-image {
    border-radius: 0;
}

.cvahome-hoatdong .article-item .inner-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 10px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
}

.cvahome-hoatdong .article-item .article-title {
    margin: 0 !important;
    text-align: left;
}

.cvahome-hoatdong .article-item .article-title a {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.35;
}

.cvahome-hoatdong .article-item .article-title a:hover {
    color: var(--color-accent);
}

/* cột TIN TỨC MỚI: tiêu đề trong thanh đỏ bo tròn, tên tin in hoa đậm — như mẫu */
.cvahome-tinmoi > .border-bottom {
    border: 0 !important;
    padding: 9px 22px !important;
    margin-bottom: 16px !important;
    display: inline-block;
    background: var(--color-main);
    color: #fff !important;
    border-radius: 0 20px 20px 0;
    font-size: 1.5rem;
}

.cvahome-tinmoi .article-title a, .cvahome-tinmoi .article-item a {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #212529;
    line-height: 1.4;
}

.cvahome-tinmoi .article-title a:hover, .cvahome-tinmoi .article-item a:hover {
    color: var(--color-main);
}

.cvahome-tinmoi .article-item {
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 10px;
}

/* TIN TỨC NỔI BẬT: mẫu là danh sách dọc cạnh video, không phải lưới ô vuông */
.cvahome-tincuon .row > [class*="col-"], .cvahome-tincuon .swiper-wrapper > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}

.cvahome-tincuon .article-item .border {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cvahome-tincuon .article-item .inner-image {
    flex: 0 0 132px;
    max-width: 132px;
}

.cvahome-tincuon .article-item .inner-content {
    flex: 1 1 auto;
    min-width: 0;
}

.cvahome-tincuon .article-item .article-title {
    text-align: left !important;
    margin: 0 !important;
}

.cvahome-tincuon .article-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #e0e0e0;
}

@media (max-width: 1024px) {
    .cvahome-hoatdong .row > [class*="col-"], .cvahome-hoatdong .swiper-wrapper > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* tiêu đề khối "Tin tức nổi bật": view_small in tiêu đề bằng div.border-bottom (giống cột tin mới),
 không phải .title-section — sơn lại cho đồng bộ với tiêu đề các dải khác. */
.cvahome-tincuon > .border-bottom {
    border: 0 !important;
    padding: 0 0 10px !important;
    margin-bottom: 24px !important;
    display: inline-block;
    position: relative;
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
}

.cvahome-tincuon > .border-bottom::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}
/* END: BLOCK_CVAHOME */

/* BEGIN: BLOCK_CVAHOME_REFINED */
/* Lớp hoàn thiện bám bố cục trang mẫu; đặt sau khối cũ để thay thế có kiểm soát. */
.cva-head > .container,
.cva-hero > .container,
.cva-dai > .container,
.cva-gioithieu > .container,
.cva-footer-main > .container,
.cva-footer-coquan > .container,
.cva-footer-copyright > .container {
    max-width: 1200px;
}

.cva-head {
    padding: 14px 0;
}

.cva-logo-img {
    max-height: 78px;
}

.cva-logo-ten {
    font-size: 2.2rem;
}

.cva-logo-slogan {
    font-size: 1.3rem;
}

.cva-lienhe {
    gap: 28px;
}

.cva-menubar .menu-section li > a,
.cva-menubar .menu-container li > a {
    padding: 12px 14px;
    font-size: 1.3rem;
}

.cva-menubar .c-tim {
    display: flex;
    justify-content: flex-end;
}

.cva-tim {
    position: relative;
}

.cva-tim-form {
    justify-content: flex-end;
    overflow: visible;
    background: transparent;
}

.cva-tim-o {
    position: absolute;
    right: 44px;
    top: 50%;
    width: 0;
    padding: 9px 0;
    border-radius: 4px;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: width .2s ease, padding .2s ease, opacity .2s ease;
}

.cva-tim.is-open .cva-tim-o {
    width: 260px;
    padding: 9px 14px;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .18);
}

.cva-tim-nut {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.cva-hero {
    padding: 16px 0 42px;
}

.cva-hero > .container > .row {
    align-items: stretch;
}

.cva-hero .cvahome-slide,
.cva-hero .cvahome-slide > .swiper,
.cva-hero .cvahome-slide .swiper-wrapper,
.cva-hero .cvahome-slide .swiper-slide {
    height: 100%;
}

.cva-hero .swiper-slider-main {
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    min-height: 430px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cva-hero .swiper-slider-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.cva-news-panel {
    height: 100%;
    min-height: 430px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0 16px 12px;
    display: flex;
    flex-direction: column;
}

.cva-news-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 -16px 12px -16px;
    padding: 10px 24px 10px 18px;
    background: linear-gradient(90deg, #8a0d0d 0%, #a81717 80%, #7b0909 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
    width: fit-content;
    max-width: 90%;
}

.cva-news-title-icon {
    font-size: 1.6rem;
    color: #fff;
}

.cva-news-title-arrow {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.85);
}

.cva-news-list {
    flex: 1 1 auto;
    max-height: 360px;
    padding: 0 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #8a0d0d #f5f5f5;
}

.cva-news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    transition: background-color .2s;
}

.cva-news-item:last-child {
    border-bottom: 0;
}

.cva-news-image {
    flex: 0 0 115px;
    width: 115px;
    height: 76px;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
}

.cva-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.cva-news-item:hover .cva-news-image img {
    transform: scale(1.06);
}

.cva-news-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f7f7f7;
    color: #ccc;
    font-size: 1.8rem;
}

.cva-news-copy {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 14px;
}

.cva-news-copy h3 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.cva-news-copy h3 a {
    color: #222;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cva-news-copy h3 a:hover {
    color: #8a0d0d;
}

.cva-news-copy time {
    display: block;
    color: #888;
    font-size: 1.15rem;
    font-weight: 500;
}


.cva-dai {
    padding: 55px 0 65px;
}

.cva-section-head {
    margin-bottom: 25px;
    text-align: center;
}

.cva-section-title {
    display: block;
    margin: 0;
    padding: 24px 0 0;
    background: url("../media/gach.png") no-repeat center top;
    background-size: 140px auto;
    color: #9f0a10;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cva-ts-tieude::after,
.cva-ct-tieude::after {
    display: none;
}

.cva-section-description {
    margin: 8px 0 0;
    color: #333;
    font-size: 1.45rem;
    font-style: normal;
}

/* ------------------------------------------------------------ DẢI TUYỂN SINH */
.cva-dai--tuyensinh {
    background-color: #fff;
    padding: 55px 0 65px;
}

.cva-ts-luoi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.cva-ts-link {
    display: block;
    text-decoration: none;
}

.cva-ts-anh {
    aspect-ratio: 380 / 280;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.cva-ts-anh img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cva-ts-o:hover .cva-ts-anh img {
    transform: scale(1.05);
}

.cva-ts-ten {
    width: 277px;
    height: 57px;
    margin: -28px auto 0;
    position: relative;
    z-index: 2;
    background: url("../media/name-ts.png") no-repeat center center;
    background-size: 100% 100%;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 50px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    clip-path: none;
    outline: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cva-ts-o:hover .cva-ts-ten {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* ------------------------------------------------------------ DẢI CHƯƠNG TRÌNH HỌC */
.cva-dai--chuongtrinh {
    background-color: #96090f;
    padding: 60px 0;
}

.cva-dai--chuongtrinh .cva-section-title {
    color: #fff;
    background: url("../media/gach.png") no-repeat center top;
    background-size: 140px auto;
}

.cva-dai--chuongtrinh .cva-section-description {
    color: #fff;
}

.cva-ct-luoi {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    text-align: center;
}

.cva-ct-link {
    display: block;
    text-decoration: none;
}

.cva-ct-anh {
    width: 250px;
    height: 250px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 50%;
    padding: 7px;
    border: 2px dashed #f6b001;
    background: transparent;
    transition: transform 0.4s ease;
}

.cva-ct-anh img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.cva-ct-o:hover .cva-ct-anh {
    transform: scale(1.04);
}

.cva-ct-ten {
    width: 246px;
    height: 73px;
    margin: -36px auto 0;
    position: relative;
    z-index: 2;
    background: url("../media/name-ct.png") no-repeat center center;
    background-size: 100% 100%;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 68px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    clip-path: none;
    filter: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cva-ct-o:hover .cva-ct-ten {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* ------------------------------------------------------------ DẢI HOẠT ĐỘNG */
.cva-dai--hoatdong {
    padding: 60px 0;
    background-color: #fff;
}

.cva-activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.cva-activity-item {
    min-width: 0;
}

.cva-activity-item a {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
    text-decoration: none;
}

.cva-activity-item img,
.cva-activity-no-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cva-activity-item:hover img {
    transform: scale(1.06);
}

.cva-activity-item h3 {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 45px 12px 14px;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ------------------------------------------------------------ DẢI VIDEO */
.cva-gioithieu {
    padding: 60px 0;
    background: #f8eff0;
}

.cva-gioithieu > .container > .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}

.cva-video-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 25px;
    align-items: start;
}

.cva-video-main-col {
    display: flex;
    flex-direction: column;
}

.cva-video-main {
    display: block;
    text-decoration: none;
}

.cva-video-khung {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cva-video-khung img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cva-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: url("../media/play.png") no-repeat center / contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cva-video-main:hover .cva-video-play,
.cva-video-item:hover .cva-video-play {
    transform: translate(-50%, -50%) scale(1.15);
}

.cva-video-main-title {
    display: block;
    margin-top: 14px;
    font-size: 1.7rem;
    font-weight: 700;
    color: #9f0a10;
    line-height: 1.4;
    text-transform: uppercase;
}

.cva-video-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cva-video-item {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    color: #333;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cva-video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.cva-video-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    background: #ddd;
}

.cva-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cva-video-thumb .cva-video-play {
    width: 36px;
    height: 25px;
}

.cva-video-copy strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.35;
    color: #212529;
}

.cva-video-copy small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.4rem;
    color: #666;
    margin-top: 6px;
}

.cva-video-copy strong,
.cva-video-copy small {
    display: block;
}

.cva-video-copy strong {
    margin-bottom: 7px;
    color: var(--color-main-darker);
    font-size: 1.6rem;
    line-height: 1.35;
}

.cva-video-copy small {
    color: #666;
    font-size: 1.4rem;
    line-height: 1.45;
}

.cva-media-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 24px;
    background: #ececec;
    color: #777;
    font-size: 1.35rem;
    text-align: center;
}

.cva-media-empty--list {
    min-height: 100%;
    grid-row: 1 / -1;
}

.cva-ft-map {
    width: 100%;
    height: 205px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.cva-ft-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.cva-ft-map .cva-media-empty {
    background: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .8);
}

.cva-coquan {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.cva-coquan .cva-ft-tieude {
    color: #ffb800;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.cva-coquan-mota {
    color: #fff;
    font-size: 1.42rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.cva-coquan-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.cva-coquan-item {
    background: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 86px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    transition: transform .2s ease;
}

.cva-coquan-item:hover {
    transform: translateY(-2px);
}

.cva-coquan-item img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

/* ============================================================================
   RESPONSIVE TOÀN DIỆN CHO CÁC BLOCK TRANG CHỦ & ĐẦU TRANG
   ========================================================================= */

/* Chống tràn ngang tuyệt đối */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

@media (max-width: 991px) {
    /* Menu bar trên mobile & tablet */
    .cva-menubar {
        padding: 6px 0;
        min-height: 46px;
    }

    .cva-menubar .btn-menu-mobile {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: #fff !important;
        font-size: 2.2rem;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .cva-menubar .menu-section:not([nh-menu="sidebar"]) {
        display: none !important;
    }

    /* Hero Section: Slider & Tin tức mới */
    .cva-hero {
        padding: 10px 0 25px;
    }

    .cva-hero > .container > .row {
        gap: 0;
    }

    .cva-hero .swiper-slider-main {
        height: auto !important;
        min-height: unset !important;
        aspect-ratio: 16 / 9;
        border-radius: 6px;
    }

    .cva-hero .swiper-slider-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cva-news-panel {
        height: auto !important;
        min-height: unset !important;
        margin-top: 16px;
        padding: 0 14px 10px;
        border-radius: 6px;
    }

    .cva-news-list {
        max-height: 320px;
        padding: 0;
    }

    .cva-news-item {
        padding: 10px 0;
        gap: 12px;
    }

    .cva-news-image {
        flex: 0 0 100px;
        width: 100px;
        height: 68px;
    }

    /* Dải Tuyển sinh */
    .cva-dai--tuyensinh {
        padding: 40px 0 50px;
    }

    .cva-ts-luoi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .cva-ts-anh {
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .cva-ts-ten {
        width: 100%;
        max-width: 165px;
        height: 42px;
        margin: -21px auto 0;
        line-height: 38px;
        font-size: 1.25rem;
        padding: 0 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Dải Chương trình học */
    .cva-dai--chuongtrinh {
        padding: 45px 0 55px;
    }

    .cva-ct-luoi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .cva-ct-anh {
        width: 145px;
        height: 145px;
        aspect-ratio: 1 / 1;
        padding: 5px;
        border: 2px dashed #f6b001;
        border-radius: 50%;
        margin: 0 auto;
    }

    .cva-ct-anh img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    .cva-ct-ten {
        width: 100%;
        max-width: 165px;
        height: 46px;
        margin: -23px auto 0;
        line-height: 42px;
        font-size: 1.25rem;
        padding: 0 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Dải Hoạt động */
    .cva-dai--hoatdong {
        padding: 40px 0;
    }

    .cva-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cva-activity-item a {
        aspect-ratio: 1 / 1;
        border-radius: 4px;
    }

    .cva-activity-item h3 {
        font-size: 1.25rem;
        line-height: 1.35;
        padding: 30px 8px 10px;
    }

    /* Dải Video */
    .cva-gioithieu {
        padding: 40px 0;
    }

    .cva-video-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cva-video-main-title {
        font-size: 1.5rem;
        margin-top: 10px;
    }

    .cva-video-item {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

/* ============================================================================
   HEADER MOBILE WEB4S (ROW cva-head--mb) - CHUẨN CVA
   Tầng 1: Logo & Tên trường full 100% width
   Tầng 2: Dải Menubar đỏ đô chứa Menu 3 gạch & Tìm kiếm
   ========================================================================= */
.cva-head--mb,
[nh-row="g5tl62o"] {
    padding: 0 !important;
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.cva-head--mb > .row,
.cva-head--mb > .container > .row,
[nh-row="g5tl62o"] > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    margin: 0 !important;
}

/* Tầng 1: Cột Logo chiếm 100% chiều ngang hàng trên */
.cva-head--mb .col-8,
.cva-head--mb > .row > div:nth-child(2),
.cva-head--mb > .container > .row > div:nth-child(2),
[nh-row="g5tl62o"] > .row > div:nth-child(2),
[nh-row="g5tl62o"] .col-8 {
    order: 1 !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 14px !important;
    background: #fff !important;
    display: block !important;
}

.cva-head--mb .cva-logo,
[nh-row="g5tl62o"] .cva-logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}

.cva-head--mb .cva-logo-img,
[nh-row="g5tl62o"] .cva-logo-img {
    max-height: 50px !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

.cva-head--mb .cva-logo-chu,
[nh-row="g5tl62o"] .cva-logo-chu {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.cva-head--mb .cva-logo-ten,
[nh-row="g5tl62o"] .cva-logo-ten {
    display: block !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #8a0d0d !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    white-space: normal !important;
}

.cva-head--mb .cva-logo-slogan,
[nh-row="g5tl62o"] .cva-logo-slogan {
    display: block !important;
    margin: 3px 0 0 !important;
    font-size: 1.12rem !important;
    font-style: italic !important;
    font-weight: 500 !important;
    color: #184175 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
}

/* Tầng 2: Dải Menubar đỏ đô chứa Menu 3 gạch và Tìm kiếm */
.cva-head--mb .col-2:first-child,
.cva-head--mb > .row > div:nth-child(1),
.cva-head--mb > .container > .row > div:nth-child(1),
[nh-row="g5tl62o"] > .row > div:nth-child(1),
[nh-row="g5tl62o"] .col-2:first-child {
    order: 2 !important;
    flex: 1 0 auto !important;
    max-width: none !important;
    background: var(--color-main, #8a0d0d) !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 14px !important;
}

.cva-head--mb .col-2:last-child,
.cva-head--mb > .row > div:nth-child(3),
.cva-head--mb > .container > .row > div:nth-child(3),
[nh-row="g5tl62o"] > .row > div:nth-child(3),
[nh-row="g5tl62o"] .col-2:last-child {
    order: 3 !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    background: var(--color-main, #8a0d0d) !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 14px !important;
}

.cva-head--mb .btn-menu-mobile,
[nh-row="g5tl62o"] .btn-menu-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    color: #fff !important;
    font-size: 2.2rem !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.cva-head--mb .cva-tim,
[nh-row="g5tl62o"] .cva-tim {
    display: flex !important;
    align-items: center !important;
}

.cva-head--mb .cva-tim-nut,
[nh-row="g5tl62o"] .cva-tim-nut {
    color: #fff !important;
    background: transparent !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.cva-head--mb .cva-tim-nut svg,
[nh-row="g5tl62o"] .cva-tim-nut svg {
    stroke: #fff !important;
}
    .cva-logo-slogan {
        font-size: 1.15rem !important;
    }
    .cva-logo-img {
        max-height: 52px !important;
    }

    /* Chân trang - Ban ngành liên quan: 1 cột 100% full-width trên mobile/tablet */
    .cva-footer-coquan {
        padding: 20px 0 30px;
    }

    .cva-coquan {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .cva-coquan-info {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 6px !important;
    }

    .cva-coquan .cva-ft-tieude {
        font-size: 2rem !important;
        margin-bottom: 4px !important;
    }

    .cva-coquan-mota {
        font-size: 1.35rem !important;
    }

    .cva-coquan-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .cva-coquan-item {
        min-width: unset !important;
        width: 100% !important;
        min-height: 65px;
        height: 72px !important;
        padding: 6px 10px !important;
    }

    .cva-coquan-item img {
        max-height: 52px;
    }
}

@media (max-width: 767px) {
    .cva-section-title {
        font-size: 2.3rem;
        padding-top: 20px;
        background-size: 100px auto;
    }

    .cva-section-description {
        font-size: 1.25rem;
        margin-top: 6px;
    }

    .cva-hero .swiper-slider-main {
        aspect-ratio: 16 / 9;
    }

    .cva-news-title {
        font-size: 1.35rem;
        padding: 8px 18px 8px 14px;
    }

    .cva-news-image {
        flex: 0 0 90px;
        width: 90px;
        height: 62px;
    }

    .cva-news-copy h3 {
        font-size: 1.2rem;
    }

    .cva-news-copy time {
        font-size: 1.1rem;
    }

    .cva-ts-luoi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .cva-ts-ten {
        max-width: 145px;
        height: 38px;
        line-height: 34px;
        font-size: 1.15rem;
        margin: -19px auto 0;
    }

    .cva-ct-luoi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 10px;
    }

    .cva-ct-anh {
        width: 125px;
        height: 125px;
        padding: 4px;
    }

    .cva-ct-ten {
        max-width: 145px;
        height: 42px;
        line-height: 38px;
        font-size: 1.12rem;
        margin: -21px auto 0;
    }

    .cva-video-item {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 10px;
        padding: 8px;
    }

    .cva-video-copy strong {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .cva-video-copy small {
        font-size: 1.15rem;
        margin-top: 3px;
    }

    .cva-nutnoi {
        left: 8px;
        bottom: 12px;
        z-index: 999;
    }

    .cva-nutnoi-item {
        padding: 6px 10px;
        font-size: 1.15rem;
    }
}

@media (max-width: 380px) {
    .cva-ts-luoi {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cva-ts-ten {
        max-width: 240px;
        height: 48px;
        line-height: 44px;
        font-size: 1.35rem;
        margin: -24px auto 0;
    }

    .cva-ct-anh {
        width: 115px;
        height: 115px;
    }

    .cva-ct-ten {
        max-width: 130px;
        height: 38px;
        line-height: 34px;
        font-size: 1.05rem;
        margin: -19px auto 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cva-ts-anh img,
    .cva-ct-anh img,
    .cva-activity-item img,
    .cva-tim-o {
        transition: none;
    }
}
/* END: BLOCK_CVAHOME_REFINED */

/* BEGIN: BLOCK_CVABV */
/* ============================================================================
 TRANG DANH SÁCH + CHI TIẾT BÀI VIẾT — theo mẫu cva.edu.vn/chuong-trinh-hoc
 và cva.edu.vn/chuong-trinh-giao-duc-thpt.
 Số đo chép từ mẫu: banner 1440×432 tràn viền · khung 1200 · cột danh mục 302px
 · thân bài 894px · padding khối 60px trên dưới.
 ========================================================================= */
/* Bi?n m?u d? chuy?n sang variable.css (:root) */

/* ------------------------------------------------------------ banner đầu trang */
.cva-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------------------------------ khung 2 cột */
.cva-bv {
    padding: 60px 0;
}

.cva-bv > .container {
    max-width: 1200px;
}

/* ============================================================================
   TRANG DANH SÁCH BÀI VIẾT (CHUẨN CVA HOẠT ĐỘNG)
   1. Khối Danh Mục bên trái: Header có icon 3 gạch đỏ + tiêu đề xám; items có mũi tên ›
   2. Khối Bài Viết bên phải: Tiêu đề to màu #184175 gạch chân xanh; lưới 3 cột thẻ phẳng;
      khối chữ xám nhạt dính chân ảnh, in hoa, cắt 2 dòng.
   ========================================================================= */

/* --- 1. KHỐI DANH MỤC BÊN TRÁI --- */
.cva-cat-box,
.cva-bv .categories {
    border: 1px solid #e2e6ea !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.cva-cat-header {
    display: flex !important;
    align-items: stretch !important;
    height: 44px !important;
    border-bottom: 1px solid #e2e6ea !important;
}

.cva-cat-header-icon {
    flex: 0 0 44px !important;
    width: 44px !important;
    background: var(--color-main, #8a0d0d) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
}

.cva-cat-header-title {
    flex: 1 1 auto !important;
    background: #f1f3f5 !important;
    color: #212529 !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: 0.2px;
}

.cva-cat-list,
.cva-bv .categories ul,
.categories-section {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cva-cat-list li,
.cva-bv .categories li,
.categories-section > li {
    border-bottom: 1px solid #f0f2f5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cva-cat-list li:last-child,
.cva-bv .categories li:last-child,
.categories-section > li:last-child {
    border-bottom: none !important;
}

/* Ẩn triệt để bullet hình vuông mặc định của theme */
.categories .categories-section > li > a::before,
.cva-cat-list li > a::before,
.cva-cat-link::before {
    display: none !important;
    content: none !important;
}

.cva-cat-link,
.cva-bv .categories li > a,
.categories-section > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 10px 14px !important;
    color: #333 !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    background: #fff;
    transition: all .2s ease;
    border: none !important;
    position: relative !important;
}

.cva-cat-arrow {
    flex: 0 0 auto;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #6c757d !important;
    margin-right: 10px !important;
    line-height: 1 !important;
}

.cva-cat-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cva-cat-link:hover,
.cva-bv .categories li > a:hover,
.categories-section > li > a:hover {
    background: #f8f9fa !important;
    color: var(--color-main, #8a0d0d) !important;
}

.cva-cat-link.active,
.cva-bv .categories li > a.active,
.categories-section > li > a.active {
    background: #fff !important;
    color: var(--color-main, #8a0d0d) !important;
    font-weight: 700 !important;
}


/* --- 2. KHỐI BÀI VIẾT BÊN PHẢI --- */
/* Tiêu đề trang bài viết */
.cva-bv-head {
    margin-bottom: 24px;
}

.cva-bv-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #184175 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.3px;
}

.cva-bv-line {
    width: 60px;
    height: 2px;
    background: #184175;
}

/* Lưới bài viết (3 cột) */
.cva-bv-grid {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

.cva-bv-grid > [class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-bottom: 22px !important;
}

/* Thẻ bài viết CVA phẳng */
.cva-bv .article-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cva-bv .article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.cva-bv .article-item .border {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: transparent !important;
}

/* Thumbnail ảnh tỉ lệ 4:3 */
.cva-bv .article-item .inner-image {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    position: relative !important;
    overflow: hidden !important;
    background: #f0f2f5 !important;
}

.cva-bv .article-item .ratio-1-1 {
    padding-top: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.cva-bv .article-item .inner-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.cva-bv .article-item .inner-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .35s ease !important;
}

.cva-bv .article-item:hover .inner-image img {
    transform: scale(1.06) !important;
}

/* Khối tiêu đề dính chân ảnh màu xám */
.cva-bv .article-item .inner-content {
    flex: 1 0 auto !important;
    background: #d8dce2 !important;
    padding: 10px 12px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.cva-bv .article-item .article-title {
    margin: 0 !important;
    width: 100% !important;
    text-align: center !important;
}

.cva-bv .article-item .article-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #212529 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: color .2s ease !important;
}

.cva-bv .article-item .article-title a:hover {
    color: var(--color-main, #8a0d0d) !important;
}

/* Ẩn triệt để các chi tiết không có trong mẫu CVA */
.cva-bv .article-item .post-date,
.cva-bv .article-item .article-category,
.cva-bv .article-item .article-description,
.cva-bv .article-item .btn-submit-1 {
    display: none !important;
}

/* Responsive khổ mobile / tablet cho trang danh sách bài viết */
@media (max-width: 991px) {
    .cva-bv-grid > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .cva-bv-title {
        font-size: 2.1rem !important;
    }
}

@media (max-width: 576px) {
    .cva-bv-grid > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .cva-bv .article-item .inner-content {
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 8px 10px !important;
    }
    .cva-bv .article-item .article-title a {
        font-size: 1.25rem !important;
    }
}

/* phân trang */
.cva-bv .pagination {
    justify-content: center;
    margin-top: 24px;
}

.cva-bv .pagination .page-link, .cva-bv .pagination a {
    color: var(--color-main);
}

.cva-bv .pagination .active .page-link, .cva-bv .pagination .active a {
    background: var(--color-main);
    border-color: var(--color-main);
    color: #fff;
}

/* ------------------------------------------------------------ thân bài (trang 05) */
.cva-bv .article-detail h1, .cva-bv .detail-article h1, .cva-bv [nh-block] > article h1 {
    font-size: 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
    line-height: 1.3;
    margin-bottom: 10px;
}

.cva-bv .article-detail .post-date, .cva-bv .article-detail .article-view, .cva-bv .detail-article .post-date {
    display: block;
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 16px;
}

.cva-bv .article-content, .cva-bv .detail-content, .cva-bv .content-detail {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-text);
    text-align: justify;
}

.cva-bv .article-content img, .cva-bv .detail-content img, .cva-bv .content-detail img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}

.cva-bv .article-content p, .cva-bv .detail-content p, .cva-bv .content-detail p {
    margin-bottom: 14px;
}

.cva-bv .article-content ul, .cva-bv .article-content ol, .cva-bv .detail-content ul, .cva-bv .detail-content ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.cva-bv .article-content li, .cva-bv .detail-content li {
    margin-bottom: 6px;
}

/* ------------------------------------------------------------ khổ điện thoại */
@media (max-width: 1024px) {
    .cva-bv {
        padding: 24px 0;
    }
    .cva-bv .categories, .cva-bv .category-article, .cva-bv .list-category {
        margin-bottom: 20px;
    }
    .cva-bv .article-detail h1, .cva-bv .detail-article h1 {
        font-size: 2rem;
    }
}

/* tiêu đề cột danh mục: view in ra <div class="border-bottom text-uppercase h5 ..."> —
 gỡ viền dưới + khoảng đệm mặc định của theme để thành thanh tiêu đề đỏ như mẫu */
.cva-bv .categories > .h5 {
    border: 0 !important;
    padding: 12px 16px !important;
    margin: 0 !important;
}

.cva-bv .categories {
    margin-bottom: 0;
}

/* ------------------------------------------------------------ thân bài: class THẬT của
 `article_detail/view.tpl` là `article.article-detail > div.h3` cho tiêu đề, `.post-date`
 cho ngày, và phần tóm tắt nằm trong `.bg-light.p-5` (nền xám của theme — mẫu để nền trắng). */
.cva-bv .article-detail > .h3 {
    font-size: 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-main);
    line-height: 1.3;
    margin-bottom: 8px !important;
}

.cva-bv .article-detail .post-date {
    font-size: 1.3rem;
    color: #888;
}

.cva-bv .article-detail .bg-light {
    background: transparent !important;
    padding: 0 0 10px !important;
}

.cva-bv .article-detail .bg-light .font-weight-bold p {
    font-size: 1.5rem;
    font-style: italic;
    color: #444;
}
/* END: BLOCK_CVABV */
