/**
 * Theme "dtnttinh" - Trường PTDTNT THPT tỉnh Điện Biên
 * Thiết kế theo mẫu "giao diện nội trú": thanh thông báo đỏ, header có logo,
 * menu xanh lá đậm, dải biểu tượng truy cập nhanh, thẻ nội dung bo góc.
 * Mọi tuỳ chỉnh để trong file này (không sửa style.css gốc).
 */

:root {
    --dtnt-red: #b3121b;
    --dtnt-red-dark: #8c0d15;
    --dtnt-green: #0d3d26;
    --dtnt-green-2: #14633b;
    --dtnt-gold: #d4a017;
    --dtnt-gold-light: #f3d98b;
    --dtnt-cream: #f6f3ea;
    --dtnt-text: #22302a;
    --dtnt-w: 1320px;
    --dtnt-radius: 10px;
    --dtnt-shadow: 0 2px 10px rgba(13, 61, 38, 0.12);
}

body {
    background-color: var(--dtnt-cream);
    color: var(--dtnt-text);
}

.dtnt-wrap {
    max-width: var(--dtnt-w);
    margin: 0 auto;
    padding: 0 15px;
}

/* ===================== THANH THÔNG BÁO ===================== */
.dtnt-topbar {
    background: var(--dtnt-red);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}

.dtnt-topbar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.dtnt-topbar-label {
    flex: 0 0 auto;
    font-weight: 700;
    color: var(--dtnt-gold-light);
}

.dtnt-topbar-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dtnt-topbar-time {
    flex: 0 0 auto;
    opacity: 0.9;
}

/* ===================== HEADER + MENU NGANG (1 THANH) ===================== */
.dtnt-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, #0f4a2f, #0a3320);
    border-bottom: 2px solid var(--dtnt-gold);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.dtnt-header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: var(--dtnt-w);
    padding-top: 6px;
    padding-bottom: 6px;
}

.dtnt-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.dtnt-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.dtnt-brand-text strong {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dtnt-brand-70 {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: end;
    column-gap: 3px;
    padding-left: 10px;
    border-left: 1px solid rgba(243, 217, 139, 0.4);
    font-family: Georgia, "Times New Roman", serif;
    color: var(--dtnt-gold);
    line-height: 1;
}

.dtnt-brand-70 b {
    grid-row: 1 / span 2;
    font-size: 38px;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(to bottom, #f7e08a, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dtnt-brand-70 i {
    font-size: 15px;
}

.dtnt-brand-70 small {
    font-size: 8px;
    letter-spacing: 0.3px;
    color: var(--dtnt-gold-light);
}

/* Menu ngang: nằm giữa thanh, chữ trắng nhỏ, gạch chân vàng ở mục đang chọn */
.dtnt-nav {
    flex: 1 1 auto;
    min-width: 0;
}

#menusite.dtnt-nav .navbar-default {
    margin: 0;
    min-height: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.dtnt-nav .navbar-collapse {
    padding: 0;
    border: 0;
    box-shadow: none;
}

#menusite.dtnt-nav .navbar-default .navbar-nav {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#menusite.dtnt-nav .navbar-default .navbar-nav > li > a {
    padding: 14px 9px;
    color: #fff;
    background: transparent !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

#menusite.dtnt-nav .navbar-default .navbar-nav > li:hover > a,
#menusite.dtnt-nav .navbar-default .navbar-nav > li.open > a {
    color: var(--dtnt-gold-light) !important;
}

#menusite.dtnt-nav .navbar-default .navbar-nav > li.active > a {
    color: var(--dtnt-gold-light) !important;
    border-bottom-color: var(--dtnt-gold);
}

#menusite.dtnt-nav .navbar-default .navbar-nav > li > a .caret {
    display: none;
}

#menusite.dtnt-nav .navbar-default .navbar-nav > li > a.home {
    font-size: 15px;
}

#menusite.dtnt-nav .dropdown-menu {
    background: #0a3320;
    border: 0;
    border-top: 2px solid var(--dtnt-gold);
    border-radius: 0 0 var(--dtnt-radius) var(--dtnt-radius);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

#menusite.dtnt-nav .dropdown-menu > li > a {
    color: #f4efe0;
    font-size: 13px;
    padding: 8px 16px;
}

#menusite.dtnt-nav .dropdown-menu > li > a:hover,
#menusite.dtnt-nav .dropdown-menu > .active > a {
    background: var(--dtnt-red) !important;
    color: #fff !important;
}

@media (min-width: 768px) {
    #menusite.dtnt-nav .navbar-default .navbar-nav > li:hover > .dropdown-menu {
        display: block;
    }
}

.dtnt-header-tools {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dtnt-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff !important;
    font-size: 15px;
    border-radius: 50%;
    text-decoration: none;
}

.dtnt-search-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--dtnt-gold-light);
}

.dtnt-login-btn {
    padding: 8px 18px;
    background: var(--dtnt-red);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.dtnt-login-btn:hover {
    background: #d11a25;
}

.right-ads {
    display: none;
}

.right-ads:empty {
    display: none;
}

.right-ads img {
    max-height: 80px;
    width: auto;
}

@media (max-width: 991px) {
    .dtnt-brand-70 {
        display: none;
    }
}

@media (max-width: 767px) {
    .dtnt-header-inner {
        flex-wrap: wrap;
    }

    .dtnt-nav {
        order: 3;
        flex: 1 0 100%;
    }

    .dtnt-nav .navbar-header {
        float: none;
    }

    .dtnt-nav .navbar-toggle {
        float: right;
        margin: 0 0 6px;
        border-color: var(--dtnt-gold);
    }

    .dtnt-nav .navbar-toggle .icon-bar {
        background: var(--dtnt-gold-light);
    }

    #menusite.dtnt-nav .navbar-default .navbar-nav {
        display: block;
    }

    .dtnt-header-tools {
        margin-left: auto;
    }
}
/* ===================== HERO + GIÁ TRỊ CỐT LÕI (TRANG CHỦ) ===================== */
.dtnt-hero {
    position: relative;
    background: var(--dtnt-green);
    line-height: 0;
}

/* Logo thật phủ lên logo trong ảnh (toạ độ theo % của ảnh 1994x789) */
.dtnt-hero img.dtnt-hero-logo {
    position: absolute;
    left: 6.02%;
    top: 4.94%;
    width: 8.12% !important;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
}

.dtnt-hero img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto;
}

.dtnt-values {
    display: flex;
    flex-wrap: wrap;
    margin: -34px auto 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, #fff8e6, #f6ebcb);
    border: 1px solid #e6d29a;
    border-radius: 16px;
    box-shadow: var(--dtnt-shadow);
}

.dtnt-values > div {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    text-align: center;
    color: #6b4a12;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    border-right: 1px solid #e6d29a;
}

.dtnt-values > div:last-child {
    border-right: 0;
}

.dtnt-values i {
    font-size: 26px;
    color: var(--dtnt-red);
}

/* ===================== BANNER TRANG CON ===================== */
.dtnt-page-banner {
    background: var(--dtnt-green) url("../images/dtnt/bg-section.jpg") center / cover no-repeat;
    line-height: 0;
    text-align: center;
}

.dtnt-page-banner img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
}

.dtnt-page-banner-text {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 15px;
    text-align: left;
    line-height: 1.3;
}

.dtnt-page-banner-text h2 {
    margin: 0;
    color: var(--dtnt-gold-light);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ===================== HOẠT ĐỘNG NỔI BẬT ===================== */
.dtnt-section-title {
    margin: 26px 0 14px;
    padding-left: 12px;
    border-left: 5px solid var(--dtnt-red);
    color: var(--dtnt-green);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.dtnt-activity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.dtnt-activity {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--dtnt-radius);
    box-shadow: var(--dtnt-shadow);
    aspect-ratio: 4 / 3;
}

.dtnt-activity img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.dtnt-activity-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(13, 61, 38, 0.95), rgba(13, 61, 38, 0.75));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===================== DẢI TRUY CẬP NHANH (TRANG CHỦ) ===================== */
.dtnt-quick {
    padding: 18px 0 4px;
}

.dtnt-quick-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.dtnt-quick-list li {
    flex: 1 1 110px;
    max-width: 150px;
}

.dtnt-quick-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: #fff;
    border-radius: var(--dtnt-radius);
    box-shadow: var(--dtnt-shadow);
    color: var(--dtnt-text);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s, background 0.15s, color 0.15s;
}

.dtnt-quick-list a i {
    font-size: 26px;
    color: var(--dtnt-green-2);
}

.dtnt-quick-list a:hover {
    transform: translateY(-3px);
    background: var(--dtnt-green-2);
    color: #fff;
}

.dtnt-quick-list a:hover i {
    color: var(--dtnt-gold-light);
}

/* ===================== NỘI DUNG & KHỐI ===================== */
.section-body {
    padding-top: 12px;
}

.third-nav .bg {
    background: #fff;
    border-radius: var(--dtnt-radius);
    box-shadow: var(--dtnt-shadow);
}

.panel,
.panel-default {
    border: 0;
    border-radius: var(--dtnt-radius);
    box-shadow: var(--dtnt-shadow);
    overflow: hidden;
}

.panel-default > .panel-heading,
.panel-primary > .panel-heading {
    background: #fff;
    color: var(--dtnt-red);
    border-bottom: 0;
    border-left: 5px solid var(--dtnt-red);
    font-weight: 700;
    text-transform: uppercase;
}

a {
    color: var(--dtnt-red);
}

a:hover,
a:focus {
    color: var(--dtnt-green-2);
}

.btn-info,
.headerSearch .btn-info,
.btn-primary {
    background-color: var(--dtnt-red) !important;
    border-color: var(--dtnt-red) !important;
    color: #fff !important;
}

.btn-info:hover,
.headerSearch .btn-info:hover,
.btn-primary:hover {
    background-color: var(--dtnt-green-2) !important;
    border-color: var(--dtnt-green-2) !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover {
    color: #fff;
    background: var(--dtnt-green-2);
    border-color: var(--dtnt-green-2);
}

.table > thead > tr > th {
    background: var(--dtnt-green-2);
    color: #fff;
    border-bottom: 0;
}

/* ===================== FOOTER ===================== */
#footer {
    margin-top: 24px;
    border-top: 4px solid var(--dtnt-gold);
    background-color: var(--dtnt-green);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0) 100%);
}

#footer,
#footer a {
    color: #e9dfc4;
}

#footer h3 {
    color: var(--dtnt-gold-light);
}

#footer .menu li a {
    border-bottom-color: rgba(212, 160, 23, 0.4);
}

#footer .menu li a:hover,
#footer .menu li a:hover:before {
    color: #fff;
    border-bottom-color: #fff;
}

.footerNav2 {
    background-color: var(--dtnt-red-dark);
}

.footerNav2 .theme-change a,
.footerNav2 .theme-change span,
.footerNav2 .bttop a {
    background-color: rgba(0, 0, 0, 0.25);
    color: var(--dtnt-gold-light);
}

.footerNav2 .theme-change a:hover,
.footerNav2 .theme-change span:hover,
.footerNav2 .bttop a:hover {
    background-color: var(--dtnt-gold);
    color: var(--dtnt-red-dark);
}

.copyright,
.copyright span a {
    color: #e9dfc4 !important;
}

.copyright span a:hover {
    color: #fff !important;
}

/* ===================== DI ĐỘNG ===================== */
@media (max-width: 767px) {
    .dtnt-topbar-time {
        display: none;
    }

    .dtnt-header {
        background-image: none;
    }

    .dtnt-brand-logo {
        width: 52px;
        height: 52px;
    }

    .dtnt-brand-text strong {
        font-size: 16px;
    }

    .dtnt-brand-text small {
        font-size: 10px;
    }

    .dtnt-quick-list li {
        flex: 1 1 28%;
        max-width: none;
    }

    .dtnt-values {
        margin-top: 8px;
    }

    .dtnt-values > div {
        flex-basis: 45%;
        border-right: 0;
    }

    .dtnt-activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dtnt-page-banner-text h2 {
        font-size: 20px;
    }
}

/* ===================== BODY: THẺ CHUYÊN MỤC + LƯỚI TIN ===================== */
.dtnt-tabs {
    list-style: none;
    margin: 16px 0 4px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dtnt-tabs li a {
    display: block;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #d9d2bb;
    border-radius: 20px;
    color: var(--dtnt-green);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.dtnt-tabs li a:hover {
    border-color: var(--dtnt-green-2);
    color: var(--dtnt-green-2);
}

.dtnt-tabs li.active a {
    background: var(--dtnt-green-2);
    border-color: var(--dtnt-green-2);
    color: #fff;
}

.dtnt-cat-head {
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 5px solid var(--dtnt-red);
}

.dtnt-cat-head h1 {
    margin: 0 0 4px;
    color: var(--dtnt-green);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.dtnt-cat-head p {
    margin: 0;
    color: #5b665f;
}

.dtnt-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.dtnt-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--dtnt-radius);
    box-shadow: var(--dtnt-shadow);
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.dtnt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(13, 61, 38, 0.2);
}

.dtnt-card-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8e3d0;
}

.dtnt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.dtnt-card:hover .dtnt-card-img img {
    transform: scale(1.05);
}

.dtnt-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 14px 14px;
}

.dtnt-card-body h2,
.dtnt-card-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-card-body h2 a,
.dtnt-card-body h3 a {
    color: var(--dtnt-green);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dtnt-card-body h2 a:hover,
.dtnt-card-body h3 a:hover {
    color: var(--dtnt-red);
}

.dtnt-card-meta {
    margin: 0 0 8px;
    color: #7a837d;
    font-size: 12px;
}

.dtnt-card-meta li {
    padding-left: 0;
    padding-right: 10px;
}

.dtnt-card-text {
    color: #44504a;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dtnt-card-text img {
    display: none;
}

.dtnt-card-more {
    margin-top: auto;
    padding-top: 10px;
    color: var(--dtnt-red);
    font-size: 13px;
    font-weight: 700;
}

/* Bài đầu tiên: thẻ lớn ngang 2 cột chữ + ảnh */
.dtnt-card-featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.dtnt-card-featured .dtnt-card-img {
    flex: 0 0 52%;
    aspect-ratio: auto;
    height: 340px;
}

.dtnt-card-featured .dtnt-card-img img {
    object-position: center top;
}

.dtnt-card-featured .dtnt-card-body {
    justify-content: center;
    padding: 22px 26px;
}

.dtnt-card-featured .dtnt-card-body h2 {
    font-size: 22px;
}

.dtnt-card-featured .dtnt-card-body h2 a {
    -webkit-line-clamp: 4;
}

.dtnt-card-featured .dtnt-card-text {
    font-size: 14px;
    -webkit-line-clamp: 5;
}

.dtnt-card-featured .dtnt-card-more {
    margin-top: 14px;
    padding-top: 0;
}

/* Phân trang */
.dtnt-pagination .pagination > li > a,
.dtnt-pagination .pagination > li > span {
    color: var(--dtnt-green);
    border-radius: 6px;
    margin: 0 2px;
}

.dtnt-pagination .pagination > .active > a,
.dtnt-pagination .pagination > .active > span {
    background: var(--dtnt-red);
    border-color: var(--dtnt-red);
    color: #fff;
}

@media (max-width: 991px) {
    .dtnt-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .dtnt-news-grid {
        grid-template-columns: 1fr;
    }

    .dtnt-card-featured {
        flex-direction: column;
    }

    .dtnt-card-featured .dtnt-card-img {
        flex-basis: auto;
        height: auto;
        aspect-ratio: 16 / 10;
    }
}
/* Ẩn số bình luận trên thẻ tin (tránh xuống dòng) */
.dtnt-card-meta li:nth-child(3) {
    display: none;
}

/* ===================== TRANG CHỦ: TIN TỨC NỔI BẬT + SỰ KIỆN ===================== */
/* Trang chủ không dùng thanh breadcrumb/tìm kiếm của nội dung */
.dtnt-hero ~ .section-body .third-nav {
    display: none;
}

.dtnt-hero ~ .section-body {
    padding-top: 0;
}

.dtnt-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
    margin-top: 14px;
}

.dtnt-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--dtnt-shadow);
    padding: 16px 18px 18px;
}

.dtnt-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.dtnt-panel-title {
    margin: 0;
    padding-left: 10px;
    border-left: 5px solid var(--dtnt-red);
    color: var(--dtnt-red);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.dtnt-panel-more {
    color: var(--dtnt-green);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.dtnt-panel-more:hover {
    color: var(--dtnt-red);
}

.dtnt-hot-body {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 18px;
}

.dtnt-hot-main-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background: #e8e3d0;
}

.dtnt-hot-main-img img,
.dtnt-hot-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s;
}

.dtnt-hot-main:hover .dtnt-hot-main-img img,
.dtnt-hot-item:hover .dtnt-hot-item-img img {
    transform: scale(1.05);
}

.dtnt-hot-main h3 {
    margin: 12px 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-hot-main h3 a,
.dtnt-hot-item h4 a {
    color: #1d2b24;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dtnt-hot-main h3 a:hover,
.dtnt-hot-item h4 a:hover {
    color: var(--dtnt-red);
}

.dtnt-hot-meta {
    display: flex;
    gap: 14px;
    color: #7a837d;
    font-size: 11.5px;
}

.dtnt-hot-list {
    display: flex;
    flex-direction: column;
}

.dtnt-hot-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ece7d6;
}

.dtnt-hot-item:first-child {
    padding-top: 0;
}

.dtnt-hot-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dtnt-hot-item-img {
    flex: 0 0 96px;
    height: 68px;
    overflow: hidden;
    border-radius: 6px;
    background: #e8e3d0;
}

.dtnt-hot-item h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

/* Sự kiện sắp diễn ra */
.dtnt-event-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
}

.dtnt-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dtnt-event-img span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 12px 10px;
    background: linear-gradient(to top, rgba(8, 40, 24, 0.92), rgba(8, 40, 24, 0));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.dtnt-countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 14px 0 12px;
}

.dtnt-countdown > div {
    min-width: 58px;
    padding: 6px 4px 5px;
    background: var(--dtnt-red-dark);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    line-height: 1.1;
}

.dtnt-countdown b {
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.dtnt-countdown small {
    font-size: 10px;
    opacity: 0.85;
}

.dtnt-event-date {
    margin: 0 0 12px;
    color: #44504a;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.dtnt-event-date i {
    margin-right: 4px;
    color: var(--dtnt-red);
}

.dtnt-event-invite {
    padding: 12px 10px;
    background: linear-gradient(to bottom, #fff8e6, #f6ebcb);
    border: 1px dashed #d9bd6a;
    border-radius: 10px;
    text-align: center;
}

.dtnt-event-invite strong {
    display: block;
    color: var(--dtnt-red-dark);
    font-size: 15px;
    font-style: italic;
    line-height: 1.35;
}

.dtnt-event-invite span {
    display: block;
    margin-top: 4px;
    color: #6b4a12;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .dtnt-home-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .dtnt-hot-body {
        grid-template-columns: 1fr;
    }
}

/* Cân chiều cao với thẻ sự kiện: ảnh bài nổi bật và danh sách bên phải giãn đầy khoảng trống */
.dtnt-hot-news {
    display: flex;
    flex-direction: column;
}

.dtnt-hot-body {
    flex: 1 1 auto;
}

.dtnt-hot-main {
    display: flex;
    flex-direction: column;
}

.dtnt-hot-main-img {
    flex: 1 1 auto;
    aspect-ratio: auto;
    min-height: 220px;
}

.dtnt-hot-list {
    justify-content: space-between;
}

.dtnt-hot-item {
    flex: 1 1 0;
    align-items: center;
    padding: 0;
}

.dtnt-hot-item:first-child,
.dtnt-hot-item:last-child {
    padding: 0;
}

.dtnt-hot-item-img {
    flex-basis: 110px;
    height: 76px;
}

@media (max-width: 991px) {
    .dtnt-hot-main-img {
        flex: none;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 575px) {
    .dtnt-hot-item {
        flex: none;
        padding: 10px 0;
    }
}

/* Ảnh nổi bật không tự quyết định chiều cao: chiều cao khối do thẻ sự kiện/ danh sách quyết định, ảnh giãn đầy */
.dtnt-hot-main-img {
    position: relative;
    min-height: 240px;
}

.dtnt-hot-main-img img {
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 991px) {
    .dtnt-hot-main-img {
        min-height: 0;
    }

    .dtnt-hot-main-img img {
        position: static;
    }
}

/* Văn bản mới (trang chủ) */
.dtnt-home-grid-2 {
    margin-bottom: 8px;
}

.dtnt-law-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.dtnt-law-list li {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #ece7d6;
}

.dtnt-law-list li:last-child {
    border-bottom: 0;
}

.dtnt-law-list li > i {
    flex: 0 0 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbe9e9;
    border-radius: 8px;
    color: var(--dtnt-red);
    font-size: 18px;
}

.dtnt-law-list a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1d2b24;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-law-list a:hover {
    color: var(--dtnt-red);
}

.dtnt-law-list span {
    display: block;
    margin-top: 2px;
    color: #7a837d;
    font-size: 11.5px;
}

.dtnt-laws {
    display: flex;
    flex-direction: column;
}

/* ===== DANH SÁCH TIN TRONG CHUYÊN MỤC (dạng danh sách, không dạng lưới) ===== */
.dtnt-news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.dtnt-news-grid .dtnt-card,
.dtnt-news-grid .dtnt-card-featured {
    grid-column: auto;
    flex-direction: row;
    align-items: stretch;
}

.dtnt-news-grid .dtnt-card .dtnt-card-img,
.dtnt-news-grid .dtnt-card-featured .dtnt-card-img {
    flex: 0 0 250px;
    height: auto;
    min-height: 150px;
    aspect-ratio: auto;
}

.dtnt-news-grid .dtnt-card-img img {
    object-position: center top;
}

.dtnt-news-grid .dtnt-card .dtnt-card-body,
.dtnt-news-grid .dtnt-card-featured .dtnt-card-body {
    justify-content: center;
    padding: 14px 18px;
}

.dtnt-news-grid .dtnt-card-body h2,
.dtnt-news-grid .dtnt-card-body h3,
.dtnt-news-grid .dtnt-card-featured .dtnt-card-body h2 {
    margin: 0 0 6px;
    font-size: 17px;
}

.dtnt-news-grid .dtnt-card-body h2 a,
.dtnt-news-grid .dtnt-card-body h3 a {
    -webkit-line-clamp: 2;
}

.dtnt-news-grid .dtnt-card-text,
.dtnt-news-grid .dtnt-card-featured .dtnt-card-text {
    font-size: 13px;
    -webkit-line-clamp: 3;
}

.dtnt-news-grid .dtnt-card-featured .dtnt-card-more {
    margin-top: 8px;
}

@media (max-width: 575px) {
    .dtnt-news-grid .dtnt-card,
    .dtnt-news-grid .dtnt-card-featured {
        flex-direction: column;
    }

    .dtnt-news-grid .dtnt-card .dtnt-card-img,
    .dtnt-news-grid .dtnt-card-featured .dtnt-card-img {
        flex-basis: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

/* Ảnh dạng danh sách không được tự kéo cao hàng (ảnh đứng) */
.dtnt-news-grid .dtnt-card .dtnt-card-img,
.dtnt-news-grid .dtnt-card-featured .dtnt-card-img {
    position: relative;
    min-height: 150px;
}

.dtnt-news-grid .dtnt-card-img img {
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 575px) {
    .dtnt-news-grid .dtnt-card-img img {
        position: static;
    }
}

/* ===================== BODY CÁC TRANG CON (ĐỒNG BỘ TRANG CHỦ) ===================== */
/* Footer cùng chiều rộng với phần trên */
.section-footer-top .wraper,
.section-footer-bottom .wraper {
    width: 100%;
    max-width: var(--dtnt-w);
}

/* Khung thân trang: thẳng mép với header */
.section-body {
    padding: 18px 0 6px;
}

#body.container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

/* Thanh đường dẫn + tìm kiếm */
.third-nav {
    margin-bottom: 16px;
}

.third-nav .row {
    margin-bottom: 0;
}

.third-nav .bg {
    padding: 9px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--dtnt-shadow);
}

.third-nav .breadcrumbs-wrap .display {
    height: auto;
    overflow: visible;
}

.breadcrumbs {
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    float: none;
    display: inline-block;
    margin: 0;
}

.breadcrumbs a {
    float: none;
    padding: 0;
    background: none;
    color: var(--dtnt-green);
    font-size: 13px;
    font-weight: 600;
}

.breadcrumbs a:hover {
    background: none;
    color: var(--dtnt-red);
}

.breadcrumbs a:before,
.breadcrumbs a:after {
    content: none;
}

.breadcrumbs li + li:before {
    content: "\203A";
    margin: 0 9px;
    color: #b9b19a;
}

.breadcrumbs li:last-child a {
    color: var(--dtnt-red);
}

.third-nav .current-time {
    color: #5b665f;
    font-size: 13px;
}

.third-nav .headerSearch .form-control {
    height: 34px;
    border-radius: 18px 0 0 18px;
    border-color: #d9d2bb;
}

.third-nav .headerSearch .btn-info {
    height: 34px;
    padding: 0 14px;
    border-radius: 0 18px 18px 0;
}

/* Thẻ khối (nội dung + cột phải): cùng ngôn ngữ với trang chủ */
.panel,
.panel-default,
.panel-primary {
    margin-bottom: 18px;
    border: 0;
    border-radius: 14px;
    box-shadow: var(--dtnt-shadow);
    background: #fff;
    overflow: hidden;
}

.panel > .panel-heading,
.panel-default > .panel-heading,
.panel-primary > .panel-heading {
    margin: 14px 18px 0;
    padding: 0 0 0 10px;
    background: transparent;
    border: 0;
    border-left: 5px solid var(--dtnt-red);
    color: var(--dtnt-red);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.panel > .panel-heading a {
    color: inherit;
}

.panel > .panel-body {
    padding: 14px 18px 18px;
}

.panel > .panel-body img {
    max-width: 100%;
    height: auto;
}

/* Bài chi tiết */
.news_column.panel > .panel-body {
    padding: 22px 28px 26px;
}

h1.title,
.news_column h1.title {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dtnt-gold);
    color: var(--dtnt-green);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
}

.news_column .h5 {
    color: #6b756f;
    font-size: 13px;
}

.bodytext {
    color: #26332c;
    font-size: 15px;
    line-height: 1.75;
}

.bodytext img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.bodytext figure.image {
    margin: 0 0 14px;
    text-align: center;
}

.bodytext a {
    color: var(--dtnt-red);
    text-decoration: underline;
}

/* Biểu mẫu, nút */
.form-control {
    border-radius: 8px;
    border-color: #d9d2bb;
}

.form-control:focus {
    border-color: var(--dtnt-green-2);
    box-shadow: 0 0 0 3px rgba(20, 99, 59, 0.15);
}

.btn {
    border-radius: 8px;
}

.table {
    background: #fff;
}

.table > tbody > tr:hover {
    background: #f3f7f4;
}

/* Danh sách liên kết trong nội dung */
.list-items > li a,
ul.related a {
    color: var(--dtnt-green);
}

.list-items > li a:hover,
ul.related a:hover {
    color: var(--dtnt-red);
}

/* Thẻ bọc nội dung các module không tự có thẻ (văn bản, tải về, video...) */
.dtnt-content-card {
    margin-bottom: 18px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--dtnt-shadow);
}

.dtnt-content-card .panel {
    box-shadow: none;
    border: 1px solid #ece7d6;
}

.dtnt-content-card .table > thead > tr > th {
    border-color: var(--dtnt-green-2);
}

/* ===================== MODULE THƯ VIỆN ẢNH ===================== */
.dtnt-photos {
    color: var(--dtnt-text);
}

.dtnt-photos-section {
    margin-bottom: 26px;
}

.dtnt-photos .dtnt-panel-head {
    margin-bottom: 14px;
}

.dtnt-photos .dtnt-panel-title a {
    color: inherit;
}

.dtnt-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dtnt-subcats a {
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #d9d2bb;
    border-radius: 14px;
    color: var(--dtnt-green);
    font-size: 12px;
    font-weight: 600;
}

.dtnt-subcats a:hover {
    background: var(--dtnt-green-2);
    border-color: var(--dtnt-green-2);
    color: #fff;
}

/* Đầu trang album / chuyên mục */
.dtnt-album-head {
    margin-bottom: 18px;
    padding: 4px 0 14px 14px;
    border-left: 5px solid var(--dtnt-red);
    border-bottom: 1px solid #ece7d6;
}

.dtnt-album-head h1 {
    margin: 0 0 8px;
    color: var(--dtnt-green);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.dtnt-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dtnt-chips li {
    padding: 4px 12px;
    background: #f1ede0;
    border-radius: 14px;
    color: #5b665f;
    font-size: 12.5px;
}

.dtnt-chips li i {
    margin-right: 4px;
    color: var(--dtnt-red);
}

.dtnt-chips a {
    color: var(--dtnt-green);
    font-weight: 600;
}

.dtnt-album-head .album_description {
    margin: 12px 0 0;
    color: #44504a;
    font-size: 14px;
    line-height: 1.65;
}

/* Lưới album */
.dtnt-album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.dtnt-album {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--dtnt-shadow);
    overflow: hidden;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}

.dtnt-album:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(13, 61, 38, 0.22);
    color: inherit;
}

.dtnt-album-img {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e3d0;
}

.dtnt-album-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.dtnt-album:hover .dtnt-album-img img {
    transform: scale(1.07);
}

.dtnt-album-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 12px;
    background: rgba(13, 61, 38, 0.88);
    border-radius: 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s;
}

.dtnt-album:hover .dtnt-album-badge {
    opacity: 1;
    transform: none;
}

.dtnt-album-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 14px;
}

.dtnt-album-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    color: var(--dtnt-green);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-album:hover .dtnt-album-name {
    color: var(--dtnt-red);
}

.dtnt-album-meta {
    display: flex;
    gap: 14px;
    color: #7a837d;
    font-size: 12px;
}

.dtnt-album-meta i {
    margin-right: 4px;
}

/* Lưới ảnh trong album */
.dtnt-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.dtnt-photo {
    margin: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--dtnt-shadow);
    overflow: hidden;
}

.dtnt-photo-img {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e3d0;
}

.dtnt-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.dtnt-photo:hover .dtnt-photo-img img {
    transform: scale(1.06);
}

.dtnt-photo-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 61, 38, 0.45);
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.2s;
}

.dtnt-photo:hover .dtnt-photo-zoom {
    opacity: 1;
}

.dtnt-photo figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 12px;
}

.dtnt-photo-view {
    color: var(--dtnt-red);
    font-weight: 700;
}

.dtnt-photo-view:hover {
    color: var(--dtnt-green-2);
}

.dtnt-slider {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.dtnt-other-head {
    margin-top: 28px;
}

.dtnt-photos .social_tool,
.dtnt-photos .album_comment {
    margin-top: 20px;
}

/* Xem từng ảnh */
.dtnt-stage {
    position: relative;
    padding: 16px;
    background: #0f1f17;
    border-radius: 14px;
    box-shadow: var(--dtnt-shadow);
}

.dtnt-stage-img img {
    max-height: 72vh;
    width: auto;
    max-width: 100%;
    border-radius: 6px;
}

.dtnt-stage .arrow_left,
.dtnt-stage .arrow_right {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--dtnt-green) !important;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: background 0.15s, color 0.15s;
}

.dtnt-stage .arrow_left {
    left: 18px;
}

.dtnt-stage .arrow_right {
    right: 18px;
}

.dtnt-stage .arrow_left:hover,
.dtnt-stage .arrow_right:hover {
    background: var(--dtnt-red);
    color: #fff !important;
}

.dtnt-back-album {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    background: var(--dtnt-green-2);
    border-radius: 20px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
}

.dtnt-back-album:hover {
    background: var(--dtnt-red);
}

@media (max-width: 991px) {
    .dtnt-album-grid,
    .dtnt-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .dtnt-album-grid,
    .dtnt-photo-grid {
        grid-template-columns: 1fr;
    }

    .dtnt-stage .arrow_left {
        left: 6px;
    }

    .dtnt-stage .arrow_right {
        right: 6px;
    }
}

/* ===================== CỘT PHẢI (SIDEBAR) ===================== */
.dtnt-side-rank,
.dtnt-side-docs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dtnt-side-rank li,
.dtnt-side-docs li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 10px 0;
    border-bottom: 1px solid #ece7d6;
}

.dtnt-side-rank li:first-child,
.dtnt-side-docs li:first-child {
    padding-top: 2px;
}

.dtnt-side-rank li:last-child,
.dtnt-side-docs li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.dtnt-rank-no {
    flex: 0 0 26px;
    height: 26px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1ede0;
    border-radius: 50%;
    color: #6b4a12;
    font-size: 12px;
    font-weight: 700;
}

.dtnt-side-rank li:nth-child(-n+3) .dtnt-rank-no {
    background: var(--dtnt-red);
    color: #fff;
}

.dtnt-side-rank a,
.dtnt-side-docs a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1d2b24;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-side-rank a:hover,
.dtnt-side-docs a:hover {
    color: var(--dtnt-red);
}

.dtnt-side-rank small,
.dtnt-side-docs small {
    display: block;
    margin-top: 3px;
    color: #7a837d;
    font-size: 11.5px;
}

.dtnt-side-docs li > i {
    flex: 0 0 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbe9e9;
    border-radius: 8px;
    color: var(--dtnt-red);
    font-size: 16px;
}

.dtnt-side-more {
    display: block;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #d9d2bb;
    color: var(--dtnt-green);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.dtnt-side-more:hover {
    color: var(--dtnt-red);
}

/* Block cột phải: tiêu đề + danh sách */
.panel > .panel-heading,
.panel-default > .panel-heading,
.panel-primary > .panel-heading {
    background-image: none !important;
    text-shadow: none;
    box-shadow: none;
}

.col-sm-8.col-md-6 .panel-body ul:not(.dtnt-side-rank):not(.dtnt-side-docs) {
    list-style: none;
    margin: 0;
    padding: 0;
}

.col-sm-8.col-md-6 .panel-body ul:not(.dtnt-side-rank):not(.dtnt-side-docs) > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px dashed #e6e0cd;
}

.col-sm-8.col-md-6 .panel-body ul:not(.dtnt-side-rank):not(.dtnt-side-docs) > li:last-child {
    border-bottom: 0;
}

.col-sm-8.col-md-6 .panel-body ul:not(.dtnt-side-rank):not(.dtnt-side-docs) > li > a {
    position: relative;
    display: block;
    padding: 8px 4px 8px 20px;
    background: none;
    border: 0;
    color: #1d2b24;
    font-size: 13px;
    line-height: 1.4;
}

.col-sm-8.col-md-6 .panel-body ul:not(.dtnt-side-rank):not(.dtnt-side-docs) > li > a:before {
    content: "\f105";
    position: absolute;
    left: 6px;
    top: 8px;
    font-family: FontAwesome;
    color: var(--dtnt-red);
}

.col-sm-8.col-md-6 .panel-body ul:not(.dtnt-side-rank):not(.dtnt-side-docs) > li > a:hover {
    color: var(--dtnt-red);
    background: #fbf7ec;
}

/* Ô tìm kiếm trong block */
.col-sm-8.col-md-6 .panel-body .form-control {
    height: 36px;
}

.col-sm-8.col-md-6 .panel-body .btn-primary,
.col-sm-8.col-md-6 .panel-body .btn-default {
    border-radius: 18px;
}

/* Danh mục văn bản: bỏ biểu tượng bình luận thừa của module, dùng mũi tên chung */
.col-sm-8.col-md-6 .panel-body li > em.fa-comment-o {
    display: none;
}

.col-sm-8.col-md-6 .panel-body ul[style] {
    padding: 0 !important;
}

/* Cây danh mục tài liệu: bỏ đường kẻ dọc mặc định của plugin treeview */
.col-sm-8.col-md-6 .treeview,
.col-sm-8.col-md-6 .treeview ul,
.col-sm-8.col-md-6 .treeview li {
    background-image: none !important;
    margin-left: 0;
}

.col-sm-8.col-md-6 .treeview .hitarea {
    display: none;
}

/* Danh sách chuyên mục kèm số lượng (cột phải module ảnh/video) */
.dtnt-side-cats {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dtnt-side-cats li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed #e6e0cd;
}

.dtnt-side-cats li:last-child {
    border-bottom: 0;
}

.dtnt-side-cats a {
    color: #1d2b24;
    font-size: 13px;
    font-weight: 600;
}

.dtnt-side-cats a:hover {
    color: var(--dtnt-red);
}

.dtnt-side-cats span {
    flex: 0 0 auto;
    min-width: 26px;
    padding: 2px 8px;
    background: #f1ede0;
    border-radius: 12px;
    color: #6b4a12;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
}

/* ===================== CHI TIẾT VĂN BẢN: FILE ĐÍNH KÈM ===================== */
.dtnt-files {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.dtnt-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #fbf9f2;
    border: 1px solid #ece7d6;
    border-radius: 12px;
}

.dtnt-file-ico {
    position: relative;
    flex: 0 0 46px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8f8c;
    font-size: 46px;
}

.dtnt-file-ico b {
    position: absolute;
    left: 50%;
    bottom: 9px;
    transform: translateX(-50%);
    padding: 0 4px;
    background: #8a8f8c;
    border-radius: 3px;
    color: #fff;
    font-size: 9px;
    line-height: 14px;
    text-transform: uppercase;
}

.dtnt-file-ico.dtnt-ext-pdf {
    color: #d8392b;
}

.dtnt-file-ico.dtnt-ext-pdf b {
    background: #d8392b;
}

.dtnt-file-ico.dtnt-ext-doc,
.dtnt-file-ico.dtnt-ext-docx {
    color: #2b6fd8;
}

.dtnt-file-ico.dtnt-ext-doc b,
.dtnt-file-ico.dtnt-ext-docx b {
    background: #2b6fd8;
}

.dtnt-file-ico.dtnt-ext-xls,
.dtnt-file-ico.dtnt-ext-xlsx {
    color: #1f8f4e;
}

.dtnt-file-ico.dtnt-ext-xls b,
.dtnt-file-ico.dtnt-ext-xlsx b {
    background: #1f8f4e;
}

.dtnt-file-name {
    flex: 1 1 auto;
    min-width: 0;
}

.dtnt-file-name strong {
    display: block;
    color: #1d2b24;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.dtnt-file-name small {
    color: #7a837d;
    font-size: 12px;
}

.dtnt-file-act {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.dtnt-btn-view,
.dtnt-btn-down {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}

.dtnt-btn-view {
    background: var(--dtnt-red);
    border: 1px solid var(--dtnt-red);
    color: #fff !important;
}

.dtnt-btn-view:hover {
    background: var(--dtnt-red-dark);
}

.dtnt-btn-down {
    background: #fff;
    border: 1px solid var(--dtnt-green-2);
    color: var(--dtnt-green-2) !important;
}

.dtnt-btn-down:hover {
    background: var(--dtnt-green-2);
    color: #fff !important;
}

/* Cửa sổ xem PDF */
.dtnt-pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5vh 2vw;
    background: rgba(8, 24, 16, 0.78);
}

.dtnt-pdf-modal[hidden] {
    display: none;
}

.dtnt-pdf-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    height: 95vh;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.dtnt-pdf-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 16px;
    background: var(--dtnt-green);
    color: #fff;
}

.dtnt-pdf-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.dtnt-pdf-bar > span {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dtnt-pdf-bar a {
    color: var(--dtnt-gold-light) !important;
    font-size: 13px;
    font-weight: 600;
}

.dtnt-pdf-bar a:hover {
    color: #fff !important;
}

.dtnt-pdf-close {
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    cursor: pointer;
}

.dtnt-pdf-close:hover {
    background: var(--dtnt-red);
}

.dtnt-pdf-frame {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
    background: #525659;
}

body.dtnt-pdf-open {
    overflow: hidden;
}

@media (max-width: 575px) {
    .dtnt-file {
        flex-wrap: wrap;
    }

    .dtnt-file-act {
        width: 100%;
    }

    .dtnt-file-act a {
        flex: 1 1 0;
        justify-content: center;
    }

    .dtnt-pdf-modal {
        padding: 0;
    }

    .dtnt-pdf-box {
        height: 100vh;
        border-radius: 0;
    }

    .dtnt-pdf-newtab {
        display: none;
    }
}

/* ===================== MODULE VIDEO ===================== */
.dtnt-videos-section {
    margin-bottom: 26px;
}

.dtnt-videos .dtnt-panel-title a {
    color: inherit;
}

.dtnt-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.dtnt-video {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--dtnt-shadow);
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.dtnt-video:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(13, 61, 38, 0.22);
}

.dtnt-video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f1f17;
}

.dtnt-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

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

.dtnt-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(179, 18, 27, 0.92);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    padding-left: 4px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s, background 0.2s;
}

.dtnt-video:hover .dtnt-play {
    transform: scale(1.12);
    background: var(--dtnt-red);
}

.dtnt-video-body {
    padding: 12px 14px 14px;
}

.dtnt-video-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-video-body h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    color: var(--dtnt-green);
}

.dtnt-video-body h3 a:hover {
    color: var(--dtnt-red);
}

.dtnt-video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    color: #7a837d;
    font-size: 12px;
}

.dtnt-video-meta i {
    margin-right: 4px;
}

.dtnt-video-meta a {
    color: #5b665f;
}

.dtnt-video-admin {
    margin: 0;
    padding: 0 14px 12px;
}

/* Trang xem video */
.detail_container {
    width: 100%;
    margin-bottom: 18px;
    padding: 22px 26px 26px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--dtnt-shadow);
}

.detail_video.row {
    margin: 0;
}

.detail_header .title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dtnt-gold);
    color: var(--dtnt-green);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.videoplayer {
    margin-bottom: 18px;
}

.videoplayer .player-position {
    position: static;
}

.dtnt-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.dtnt-player iframe,
.dtnt-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.dtnt-player-loading,
.dtnt-player-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-align: center;
}

.dtnt-player-fallback i {
    font-size: 54px;
    color: var(--dtnt-gold-light);
}

.detail_video .uploader {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid #ece7d6;
}

.detail_video .uploader > div {
    float: none;
    width: auto;
    padding: 0;
}

.detail_video .uploader img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
}

.detail_video .uploader > div:nth-child(2) {
    flex: 1 1 auto;
}

.detail_video .uploader p {
    margin: 0;
}

.detail_video .hitstotal {
    margin-left: auto;
    padding: 4px 14px;
    background: #f1ede0;
    border-radius: 14px;
    color: #5b665f;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.media-func {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.media-func .button-style-1 {
    float: none;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid #d9d2bb;
    border-radius: 20px;
    color: var(--dtnt-green);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.media-func .button-style-1:hover {
    background: var(--dtnt-green-2);
    border-color: var(--dtnt-green-2);
    color: #fff;
}

.media-func .add-playlist-region {
    flex: 1 0 100%;
}

.dtnt-video-others {
    margin-top: 24px;
}

.dtnt-video-others .dtnt-panel-head {
    margin-bottom: 14px;
}

@media (max-width: 991px) {
    .dtnt-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .dtnt-video-grid {
        grid-template-columns: 1fr;
    }

    .detail_container {
        padding: 16px;
    }

    .detail_header .title {
        font-size: 19px;
    }
}

/* Ảnh bìa + nút phát lớn ở trang xem video */
.dtnt-poster {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: #0f1f17;
    border: 0;
    cursor: pointer;
}

.dtnt-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s, filter 0.3s;
}

.dtnt-poster:hover img {
    transform: scale(1.03);
    filter: brightness(0.85);
}

.dtnt-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 45%);
    pointer-events: none;
}

.dtnt-play.dtnt-play-lg {
    z-index: 2;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    border-width: 4px;
    font-size: 32px;
    padding-left: 6px;
}

.dtnt-poster:hover .dtnt-play-lg {
    transform: scale(1.12);
    background: var(--dtnt-red);
}

.dtnt-poster:focus-visible {
    outline: 3px solid var(--dtnt-gold);
    outline-offset: -3px;
}

@media (max-width: 575px) {
    .dtnt-play.dtnt-play-lg {
        width: 60px;
        height: 60px;
        margin: -30px 0 0 -30px;
        font-size: 22px;
    }
}

/* ===================== TRANG CHỦ: THƯ VIỆN ẢNH + VIDEO ===================== */
.dtnt-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0 8px;
}

.dtnt-media-grid .dtnt-panel {
    display: flex;
    flex-direction: column;
}

/* Ảnh: 1 ô lớn bên trái + 4 ô nhỏ bên phải */
.dtnt-mosaic {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    min-height: 330px;
}

.dtnt-mosaic-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #e8e3d0;
}

.dtnt-mosaic-item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.dtnt-mosaic-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.dtnt-mosaic-item:hover img {
    transform: scale(1.07);
}

.dtnt-mosaic-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 26px 10px 9px;
    background: linear-gradient(to top, rgba(8, 40, 24, 0.9), rgba(8, 40, 24, 0));
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s, transform 0.25s;
}

.dtnt-mosaic-item:first-child .dtnt-mosaic-cap,
.dtnt-mosaic-item:hover .dtnt-mosaic-cap {
    opacity: 1;
    transform: none;
}

.dtnt-mosaic-cap strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.35;
}

.dtnt-mosaic-item:first-child .dtnt-mosaic-cap strong {
    font-size: 15px;
}

.dtnt-mosaic-cap small {
    color: var(--dtnt-gold-light);
    font-size: 11px;
}

/* Video: 1 video nổi bật + danh sách các video tiếp theo */
.dtnt-vbody {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 16px;
}

.dtnt-vthumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #0f1f17;
}

.dtnt-vthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.dtnt-vfeat:hover .dtnt-vthumb img,
.dtnt-vitem:hover .dtnt-vthumb img {
    transform: scale(1.06);
}

.dtnt-vfeat h3 {
    margin: 12px 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-vfeat h3 a,
.dtnt-vitem h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1d2b24;
}

.dtnt-vfeat h3 a:hover,
.dtnt-vitem h4 a:hover {
    color: var(--dtnt-red);
}

.dtnt-vlist {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.dtnt-vitem {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dtnt-vitem .dtnt-vthumb {
    flex: 1 1 auto;
    aspect-ratio: auto;
    min-height: 90px;
}

.dtnt-vitem h4 {
    margin: 0 0 3px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
}

.dtnt-vitem h4 a {
    -webkit-line-clamp: 2;
}

.dtnt-play.dtnt-play-sm {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border-width: 2px;
    font-size: 14px;
    padding-left: 3px;
}

@media (max-width: 991px) {
    .dtnt-media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .dtnt-vbody {
        grid-template-columns: 1fr;
    }

    .dtnt-mosaic {
        min-height: 260px;
    }
}

/* Video trang chủ: lưới 2x2, 4 video mới nhất */
.dtnt-vgrid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 16px 14px;
    align-content: space-between;
}

.dtnt-vcard h4 {
    margin: 9px 0 4px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-vcard h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    color: #1d2b24;
}

.dtnt-vcard h4 a:hover {
    color: var(--dtnt-red);
}

.dtnt-vcard:hover .dtnt-vthumb img {
    transform: scale(1.06);
}

.dtnt-play.dtnt-play-md {
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-width: 3px;
    font-size: 17px;
    padding-left: 3px;
}

@media (max-width: 575px) {
    .dtnt-vgrid {
        grid-template-columns: 1fr;
    }
}

/* Khẩu hiệu luân phiên trên thanh đầu trang: ẩn hiện mờ dần + ngôi sao nhấp nháy, quay tròn */
.dtnt-topbar {
    position: relative;
    overflow: hidden;
}

.dtnt-topbar-inner {
    position: relative;
    z-index: 2;
}

.dtnt-topbar-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0;
}

.dtnt-topbar-label i {
    color: var(--dtnt-gold-light);
    text-shadow: 0 0 6px rgba(243, 217, 139, 0.9);
}

.dtnt-star-spin {
    font-size: 13px;
    animation: dtntSpin 5s linear infinite;
}

.dtnt-star-sm {
    font-size: 9px;
    animation-direction: reverse;
    animation-duration: 3.5s;
}

.dtnt-star-twinkle {
    font-size: 11px;
    animation: dtntTwinkle 1.6s ease-in-out infinite;
}

.dtnt-slogans {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 1.5em;
    overflow: hidden;
}

.dtnt-slogan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.2px;
    opacity: 0;
    filter: blur(4px);
    transition: opacity 0.7s ease, filter 0.7s ease;
    pointer-events: none;
}

.dtnt-slogan.is-active {
    opacity: 1;
    filter: blur(0);
    animation: dtntGlow 5s ease-in-out infinite;
    pointer-events: auto;
}

/* Các ngôi sao nhỏ lấp lánh rải trên thanh */
.dtnt-sparkles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.dtnt-spark {
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--dtnt-gold-light);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    opacity: 0;
    animation: dtntSpark 3.2s ease-in-out infinite;
}

.dtnt-spark:nth-child(1) { left: 3%;  top: 20%; animation-delay: 0s; }
.dtnt-spark:nth-child(2) { left: 9%;  top: 62%; animation-delay: 1.1s; width: 6px; height: 6px; }
.dtnt-spark:nth-child(3) { left: 16%; top: 25%; animation-delay: 2.2s; }
.dtnt-spark:nth-child(4) { left: 27%; top: 65%; animation-delay: 0.6s; width: 7px; height: 7px; }
.dtnt-spark:nth-child(5) { left: 38%; top: 18%; animation-delay: 1.7s; width: 6px; height: 6px; }
.dtnt-spark:nth-child(6) { left: 47%; top: 68%; animation-delay: 2.7s; }
.dtnt-spark:nth-child(7) { left: 55%; top: 22%; animation-delay: 0.3s; width: 7px; height: 7px; }
.dtnt-spark:nth-child(8) { left: 63%; top: 66%; animation-delay: 1.4s; width: 6px; height: 6px; }
.dtnt-spark:nth-child(9) { left: 71%; top: 20%; animation-delay: 2.4s; }
.dtnt-spark:nth-child(10) { left: 79%; top: 62%; animation-delay: 0.9s; width: 7px; height: 7px; }
.dtnt-spark:nth-child(11) { left: 86%; top: 24%; animation-delay: 1.9s; width: 6px; height: 6px; }
.dtnt-spark:nth-child(12) { left: 92%; top: 64%; animation-delay: 0.4s; }
.dtnt-spark:nth-child(13) { left: 96%; top: 18%; animation-delay: 2.9s; width: 7px; height: 7px; }
.dtnt-spark:nth-child(14) { left: 33%; top: 40%; animation-delay: 1.3s; width: 5px; height: 5px; }

@keyframes dtntSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dtntTwinkle {
    0%, 100% { opacity: 0.35; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.25); }
}

@keyframes dtntSpark {
    0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    45% { opacity: 0.95; transform: scale(1) rotate(90deg); }
    70% { opacity: 0.2; transform: scale(0.6) rotate(180deg); }
}

@keyframes dtntGlow {
    0%, 100% { text-shadow: 0 0 0 rgba(243, 217, 139, 0); }
    50% { text-shadow: 0 0 10px rgba(243, 217, 139, 0.65); }
}

@media (prefers-reduced-motion: reduce) {
    .dtnt-star-spin,
    .dtnt-star-twinkle,
    .dtnt-spark,
    .dtnt-slogan.is-active {
        animation: none;
    }

    .dtnt-spark {
        opacity: 0.5;
    }

    .dtnt-slogan {
        transition: none;
        filter: none;
    }
}

@media (max-width: 767px) {
    .dtnt-spark:nth-child(n+8) {
        display: none;
    }
}

/* ===================== FOOTER ===================== */
.dtnt-footer {
    position: relative;
    margin-top: 30px;
    border-top: 4px solid var(--dtnt-gold);
    background:
        linear-gradient(to bottom, rgba(5, 33, 20, 0.80) 0%, rgba(6, 40, 24, 0.58) 55%, rgba(6, 40, 24, 0.30) 100%),
        var(--dtnt-green) url("../images/dtnt/footer-bg.jpg") center 68% / cover no-repeat;
    color: #e9dfc4;
}

.dtnt-footer a {
    color: #e9dfc4;
}

.dtnt-footer a:hover {
    color: #fff;
}

.dtnt-footer-main {
    padding: 38px 0 28px;
}

.dtnt-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 1.3fr 1.05fr;
    gap: 34px;
}

.dtnt-footer-col h3,
.dtnt-footer .dtnt-footer-links h3,
.dtnt-footer .panel-body h3 {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 10px;
    color: var(--dtnt-gold-light);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dtnt-footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: var(--dtnt-red);
    border-radius: 2px;
}

.dtnt-footer-links .panel-body {
    padding: 0;
}

/* Cột thương hiệu */
.dtnt-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.dtnt-footer-logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    box-shadow: 0 0 0 2px var(--dtnt-gold);
}

.dtnt-footer-logo strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    text-transform: uppercase;
}

.dtnt-footer-logo small {
    display: block;
    margin-top: 3px;
    color: var(--dtnt-gold-light);
    font-size: 11.5px;
}

.dtnt-footer-slogan {
    margin: 16px 0 14px;
    color: #e9dfc4;
    font-size: 13px;
    font-style: italic;
    line-height: 1.7;
}

.dtnt-footer-70 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-family: Georgia, "Times New Roman", serif;
}

.dtnt-footer-70 b {
    font-size: 46px;
    font-style: italic;
    line-height: 1;
    background: linear-gradient(to bottom, #f7e08a, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dtnt-footer-70 span {
    color: var(--dtnt-gold-light);
    font-size: 12px;
    line-height: 1.4;
}

.dtnt-footer-70 em {
    color: #fff;
    font-size: 13px;
    font-style: normal;
    letter-spacing: 0.5px;
}

.dtnt-footer .qr-code-wraper {
    margin: 0;
}

/* Cột liên kết */
.dtnt-footer .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dtnt-footer .menu li a {
    position: relative;
    display: block;
    padding: 7px 0 7px 16px;
    border-bottom: 1px dashed rgba(243, 217, 139, 0.28);
    font-size: 13px;
}

.dtnt-footer .menu li a::before {
    content: "\f105";
    position: absolute;
    left: 2px;
    top: 7px;
    font-family: FontAwesome;
    color: var(--dtnt-gold);
}

.dtnt-footer .menu li a:hover {
    padding-left: 20px;
    color: #fff;
}

/* Cột liên hệ */
.dtnt-footer .company_info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dtnt-footer .company_info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    font-size: 13px;
    line-height: 1.5;
}

.dtnt-footer .company_info li.company_name {
    display: block;
    margin-bottom: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.dtnt-footer .company_info li.hide {
    display: none;
}

.dtnt-footer .company_info li > em,
.dtnt-footer .company_info li > a > em {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 217, 139, 0.16);
    border-radius: 50%;
    color: var(--dtnt-gold-light);
    font-size: 14px;
}

.dtnt-footer .company_info li > a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Cột Facebook */
.dtnt-footer-fb iframe {
    max-width: 100%;
    border-radius: 10px;
    background: #fff;
}

/* Thanh dưới cùng */
.dtnt-footer-bottom {
    background: rgba(106, 14, 20, 0.88);
    border-top: 1px solid rgba(243, 217, 139, 0.35);
}

.dtnt-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dtnt-footer-copy {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.6;
}

.dtnt-footer-copy .copyright,
.dtnt-footer-copy .copyright span a {
    color: #f1e6c6 !important;
}

.dtnt-footer-tools {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dtnt-footer .theme-change,
.dtnt-footer .bttop {
    position: static;
    float: none;
    display: flex;
    gap: 6px;
    margin: 0;
}

.dtnt-footer .theme-change a,
.dtnt-footer .theme-change span,
.dtnt-footer .bttop a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    color: var(--dtnt-gold-light);
}

.dtnt-footer .theme-change a:hover,
.dtnt-footer .bttop a:hover {
    background: var(--dtnt-gold);
    color: var(--dtnt-red-dark);
}

@media (max-width: 991px) {
    .dtnt-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .dtnt-footer-grid {
        grid-template-columns: 1fr;
    }

    .dtnt-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Footer: sửa danh sách liên kết (1 cột, mũi tên không đè chữ) + bản đồ */
.dtnt-footer .menu li {
    float: none !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    border: 0;
}

.dtnt-footer .menu li a {
    padding: 8px 0 8px 20px !important;
    border-bottom: 1px dashed rgba(243, 217, 139, 0.28) !important;
    background: none !important;
}

.dtnt-footer .menu li a::before {
    left: 3px;
    top: 8px;
}

.dtnt-footer .menu li a:hover {
    padding-left: 24px !important;
}

.dtnt-footer-col h3,
.dtnt-footer-col h3 a {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.dtnt-map {
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid rgba(243, 217, 139, 0.55);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    background: #e8e3d0;
}

.dtnt-map iframe {
    display: block;
    width: 100%;
    height: 190px;
    border: 0;
}

.dtnt-map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    background: var(--dtnt-red);
    border-radius: 18px;
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

.dtnt-map-link:hover {
    background: var(--dtnt-red-dark);
}

.dtnt-footer-slogan,
.dtnt-footer .company_info li,
.dtnt-footer .menu li a {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* Ghi đè các luật #footer cũ (id mạnh hơn class) để hiện ảnh nền và căn lại danh sách */
#footer.dtnt-footer {
    border-top: 4px solid var(--dtnt-gold);
    background-color: var(--dtnt-green);
    background-image:
        linear-gradient(to bottom, rgba(5, 33, 20, 0.80) 0%, rgba(6, 40, 24, 0.58) 55%, rgba(6, 40, 24, 0.30) 100%),
        url("../images/dtnt/footer-bg.jpg");
    background-position: center, center 68%;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
}

#footer.dtnt-footer,
#footer.dtnt-footer a {
    color: #e9dfc4;
}

#footer.dtnt-footer .menu li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

#footer.dtnt-footer .menu li a {
    padding: 8px 0 8px 20px !important;
}

#footer.dtnt-footer h3 {
    color: var(--dtnt-gold-light);
}

/* Fanpage Facebook trong footer */
.dtnt-fb {
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid rgba(243, 217, 139, 0.55);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    background: #fff;
}

.dtnt-fb iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}

/* Khung Fanpage: tên trang (do theme vẽ) ở trên, bên dưới là bài đăng mới nhất.
 * Phần đầu mặc định của Facebook (ảnh đại diện, nút Theo dõi/Chia sẻ, class _38vo) nằm trong iframe khác tên miền
 * nên không sửa CSS được -> đẩy iframe lên để che đi, chỉ lộ phần bài đăng. */
.dtnt-fb {
    height: auto;
    overflow: hidden;
}

.dtnt-fb-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(to right, #0d3d26, #14633b);
    border-bottom: 3px solid var(--dtnt-gold);
    color: #fff !important;
    text-decoration: none;
}

.dtnt-fb-head img {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.dtnt-fb-head span {
    flex: 1 1 auto;
    min-width: 0;
}

.dtnt-fb-head strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
    line-height: 1.3;
}

.dtnt-fb-head small {
    color: var(--dtnt-gold-light);
    font-size: 11.5px;
}

.dtnt-fb-head > i {
    flex: 0 0 auto;
    color: #4a9bff;
    font-size: 24px;
    background: #fff;
    border-radius: 50%;
    line-height: 22px;
    width: 24px;
    height: 24px;
    text-align: center;
    overflow: hidden;
}

.dtnt-fb-head:hover strong {
    text-decoration: underline;
}

.dtnt-fb-body {
    height: 200px;
    overflow: hidden;
    background: #fff;
}

.dtnt-fb-body iframe {
    height: 440px;
    margin-top: -146px;
}

/* ===================== MENU SỔ XUỐNG MỚI ===================== */
#menusite.dtnt-nav .dropdown-menu {
    min-width: 250px;
    margin: 0;
    padding: 8px;
    background: #fff !important;
    background-color: #fff !important;
    border: 0;
    border-top: 3px solid var(--dtnt-red) !important;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

/* mũi tên nhỏ chỉ về mục cha */
#menusite.dtnt-nav .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 26px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--dtnt-red);
}

#menusite.dtnt-nav .dropdown-menu > li {
    margin: 0;
    padding: 0;
    border: 0;
}

#menusite.dtnt-nav .dropdown-menu > li + li {
    margin-top: 2px;
}

#menusite.dtnt-nav .dropdown-menu > li > a {
    position: relative;
    display: block;
    padding: 9px 14px 9px 32px;
    background: transparent !important;
    border-radius: 9px;
    color: #1d2b24 !important;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    white-space: normal;
    transition: background 0.15s, color 0.15s, padding 0.15s;
}

#menusite.dtnt-nav .dropdown-menu > li > a::before {
    content: "\f105";
    position: absolute;
    left: 14px;
    top: 9px;
    font-family: FontAwesome;
    font-weight: normal;
    color: var(--dtnt-red);
    transition: transform 0.15s;
}

#menusite.dtnt-nav .dropdown-menu > li > a:hover,
#menusite.dtnt-nav .dropdown-menu > li > a:focus {
    padding-left: 36px;
    background: #f6f1df !important;
    color: var(--dtnt-red) !important;
}

#menusite.dtnt-nav .dropdown-menu > li > a:hover::before {
    transform: translateX(3px);
}

#menusite.dtnt-nav .dropdown-menu > .active > a {
    background: #fbe9e9 !important;
    color: var(--dtnt-red) !important;
}

@keyframes dtntDrop {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
    #menusite.dtnt-nav .navbar-default .navbar-nav > li > .dropdown-menu {
        display: none;
    }

    #menusite.dtnt-nav .navbar-default .navbar-nav > li:hover > .dropdown-menu,
    #menusite.dtnt-nav .navbar-default .navbar-nav > li.open > .dropdown-menu {
        display: block;
        animation: dtntDrop 0.22s ease-out;
    }

    /* các mục cuối: sổ xuống canh phải để không tràn mép màn hình */
    #menusite.dtnt-nav .navbar-default .navbar-nav > li:nth-last-child(-n+2) > .dropdown-menu {
        left: auto;
        right: 0;
    }

    #menusite.dtnt-nav .navbar-default .navbar-nav > li:nth-last-child(-n+2) > .dropdown-menu::before {
        left: auto;
        right: 26px;
    }
}

@media (max-width: 767px) {
    #menusite.dtnt-nav .dropdown-menu {
        box-shadow: none;
        border-radius: 10px;
        margin: 4px 0 8px;
    }

    #menusite.dtnt-nav .dropdown-menu::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #menusite.dtnt-nav .navbar-default .navbar-nav > li:hover > .dropdown-menu {
        animation: none;
    }
}

/* Mục cha khi rê chuột / đang mở: bỏ nền xanh dương cũ của style.css, chỉ đổi chữ sang vàng + gạch chân */
#menusite.dtnt-nav .navbar-default .navbar-nav > li > a:hover,
#menusite.dtnt-nav .navbar-default .navbar-nav > li > a:focus,
#menusite.dtnt-nav .navbar-default .navbar-nav > li.open > a,
#menusite.dtnt-nav .navbar-default .navbar-nav > li.open > a:hover,
#menusite.dtnt-nav .navbar-default .navbar-nav > li.open > a:focus,
#menusite.dtnt-nav .navbar-default .navbar-nav > li:hover > a {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: var(--dtnt-gold-light) !important;
    border-bottom-color: var(--dtnt-gold) !important;
}

/* Bỏ đánh dấu mục đang chọn ở menu trên cùng: mục đang xem trông giống các mục khác (chỉ đổi màu khi rê chuột) */
#menusite.dtnt-nav .navbar-default .navbar-nav > li.active > a,
#menusite.dtnt-nav .navbar-default .navbar-nav > li.active > a:focus {
    background: transparent !important;
    color: #fff !important;
    border-bottom-color: transparent !important;
}

#menusite.dtnt-nav .navbar-default .navbar-nav > li.active:hover > a,
#menusite.dtnt-nav .navbar-default .navbar-nav > li.active.open > a,
#menusite.dtnt-nav .navbar-default .navbar-nav > li.active > a:hover {
    color: var(--dtnt-gold-light) !important;
    border-bottom-color: var(--dtnt-gold) !important;
}

/* Mục con trong sổ xuống cũng không tô nền khi đang chọn */
#menusite.dtnt-nav .dropdown-menu > .active > a {
    background: transparent !important;
    color: #1d2b24 !important;
}

#menusite.dtnt-nav .dropdown-menu > .active > a:hover {
    background: #f6f1df !important;
    color: var(--dtnt-red) !important;
}

/* ===================== BLOCK THÀNH VIÊN + THỐNG KÊ TRUY CẬP ===================== */
/* --- Đã đăng nhập --- */
.dtnt-me .dtnt-me-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 0 14px;
    border-bottom: 1px dashed #e0d9c0;
}

.dtnt-me-avatar {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
}

.dtnt-me-avatar img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--dtnt-gold);
    background: #f1ede0;
    padding: 0;
}

.dtnt-me-cam {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dtnt-red);
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.15s;
}

.dtnt-me-avatar:hover .dtnt-me-cam {
    opacity: 1;
}

.dtnt-me-name {
    min-width: 0;
}

.dtnt-me-name small {
    display: inline-block;
    padding: 2px 10px;
    background: var(--dtnt-green-2);
    border-radius: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.dtnt-me-name strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--dtnt-green);
    font-size: 17px;
    line-height: 1.25;
}

.dtnt-me-links {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dtnt-me-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    color: #1d2b24;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}

.dtnt-me-links a i {
    width: 18px;
    color: var(--dtnt-red);
    text-align: center;
}

.dtnt-me-links a:hover {
    background: #f6f1df;
    color: var(--dtnt-red);
}

.dtnt-me-admin {
    margin-top: 12px;
    padding: 12px;
    background: #f7f4e8;
    border: 1px solid #e8e1c6;
    border-radius: 12px;
}

.dtnt-me-admin h4 {
    margin: 0 0 10px;
    color: var(--dtnt-red-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.dtnt-me-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.dtnt-me-tiles a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 6px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(13, 61, 38, 0.12);
    color: #1d2b24;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: transform 0.15s, background 0.15s, color 0.15s;
}

.dtnt-me-tiles a i {
    color: var(--dtnt-green-2);
    font-size: 19px;
}

.dtnt-me-tiles a:hover {
    transform: translateY(-2px);
    background: var(--dtnt-green-2);
    color: #fff;
}

.dtnt-me-tiles a:hover i {
    color: var(--dtnt-gold-light);
}

.dtnt-me-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e0d9c0;
}

.dtnt-me-time {
    color: #7a837d;
    font-size: 11.5px;
    line-height: 1.4;
}

.dtnt-me-logout {
    flex: 0 0 auto;
    border-radius: 18px;
    border-color: var(--dtnt-red);
    color: var(--dtnt-red);
    font-weight: 700;
}

.dtnt-me-logout:hover {
    background: var(--dtnt-red);
    color: #fff;
}

/* --- Chưa đăng nhập: biểu mẫu --- */
.col-sm-8.col-md-6 .panel-body .input-group-addon {
    background: #f1ede0;
    border-color: #d9d2bb;
    color: var(--dtnt-green-2);
}

.col-sm-8.col-md-6 .panel-body .input-group .form-control {
    border-color: #d9d2bb;
}

.col-sm-8.col-md-6 .panel-body .input-group .form-control:focus {
    border-color: var(--dtnt-green-2);
    box-shadow: none;
}

.col-sm-8.col-md-6 .panel-body .input-group-addon:first-child {
    border-radius: 18px 0 0 18px;
}

.col-sm-8.col-md-6 .panel-body .input-group .form-control:last-child {
    border-radius: 0 18px 18px 0;
}

.dtnt-login-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dtnt-login-actions .bsubmit {
    width: 100%;
    padding: 9px 16px;
    border-radius: 20px;
    font-weight: 700;
}

.dtnt-login-actions .dtnt-login-reset {
    align-self: center;
    background: none;
    border: 0;
    box-shadow: none;
    color: #7a837d;
    font-size: 12px;
    text-decoration: underline;
}

.dtnt-login-reg a {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--dtnt-green-2);
    border-radius: 20px;
    color: var(--dtnt-green-2);
    font-size: 13px;
    font-weight: 700;
}

.dtnt-login-reg a:hover {
    background: var(--dtnt-green-2);
    color: #fff;
}

/* --- Thống kê truy cập --- */
.dtnt-stat-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #0d3d26, #14633b);
    border-radius: 12px;
    color: #fff;
}

.dtnt-stat-hero b {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: var(--dtnt-gold-light);
}

.dtnt-stat-hero span {
    font-size: 12px;
    opacity: 0.9;
}

.dtnt-stat-pulse {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 217, 139, 0.18);
    border-radius: 50%;
    color: var(--dtnt-gold-light);
    font-size: 20px;
}

.dtnt-stat-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--dtnt-gold-light);
    border-radius: 50%;
    animation: dtntPulse 2s ease-out infinite;
}

@keyframes dtntPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.dtnt-stat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.dtnt-stat-chips span {
    padding: 3px 10px;
    background: #f1ede0;
    border-radius: 12px;
    color: #5b665f;
    font-size: 11.5px;
}

.dtnt-stat-chips i {
    margin-right: 3px;
    color: var(--dtnt-red);
}

.dtnt-stat-chips b {
    color: var(--dtnt-green);
}

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

.dtnt-stat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 6px;
    background: #fbf9f2;
    border: 1px solid #ece7d6;
    border-radius: 10px;
    text-align: center;
}

.dtnt-stat-tile i {
    color: var(--dtnt-red);
    font-size: 17px;
}

.dtnt-stat-tile b {
    color: var(--dtnt-green);
    font-size: 17px;
    line-height: 1.2;
}

.dtnt-stat-tile span {
    color: #7a837d;
    font-size: 11.5px;
}

.dtnt-stat-total {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    background: #fff6dd;
    border-color: #ead9a0;
}

.dtnt-stat-total b {
    font-size: 20px;
}

/* ===================== MODULE GIỚI THIỆU ===================== */
.dtnt-about-kicker {
    display: inline-block;
    padding: 3px 14px;
    background: rgba(243, 217, 139, 0.2);
    border: 1px solid rgba(243, 217, 139, 0.6);
    border-radius: 14px;
    color: var(--dtnt-gold-light);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Danh sách --- */
.dtnt-about-intro {
    position: relative;
    margin-bottom: 20px;
    padding: 30px 34px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(5, 33, 20, 0.92), rgba(13, 61, 38, 0.72)),
        url("../images/dtnt/bg-section.jpg") center / cover no-repeat;
    border-radius: 16px;
    box-shadow: var(--dtnt-shadow);
    color: #fff;
}

.dtnt-about-intro h1 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.dtnt-about-intro p {
    max-width: 640px;
    margin: 0;
    color: #efe6c8;
    font-size: 14.5px;
    line-height: 1.7;
}

.dtnt-about-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
}

.dtnt-about-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--dtnt-shadow);
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.dtnt-about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(13, 61, 38, 0.2);
}

.dtnt-about-card:nth-child(even) {
    flex-direction: row-reverse;
}

.dtnt-about-img {
    position: relative;
    flex: 0 0 38%;
    min-height: 220px;
    background: #e8e3d0;
    overflow: hidden;
}

.dtnt-about-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.dtnt-about-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
}

.dtnt-about-body h2 {
    margin: 0 0 10px;
    padding-left: 12px;
    border-left: 5px solid var(--dtnt-red);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-about-body h2 a {
    color: var(--dtnt-green);
}

.dtnt-about-body h2 a:hover {
    color: var(--dtnt-red);
}

.dtnt-about-body p {
    margin: 0 0 12px;
    color: #44504a;
    font-size: 14px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dtnt-about-body p.adminlink {
    display: block;
}

.dtnt-about-more {
    align-self: flex-start;
    padding: 7px 20px;
    background: var(--dtnt-red);
    border-radius: 20px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
}

.dtnt-about-more:hover {
    background: var(--dtnt-green-2);
}

/* --- Bài chi tiết --- */
.dtnt-article {
    overflow: hidden;
}

.dtnt-article-hero {
    padding: 26px 30px 24px;
    background:
        linear-gradient(120deg, rgba(5, 33, 20, 0.94), rgba(20, 99, 59, 0.82)),
        url("../images/dtnt/bg-section.jpg") center / cover no-repeat;
    border-bottom: 4px solid var(--dtnt-gold);
}

.dtnt-article-hero h1 {
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.35;
}

.dtnt-article > .panel-body {
    padding: 26px 32px 30px;
}

.dtnt-article .hometext {
    padding: 14px 18px;
    background: #fbf7e8;
    border-left: 5px solid var(--dtnt-gold);
    border-radius: 0 10px 10px 0;
    color: #3d4a43;
    font-size: 15px;
    font-style: italic;
    line-height: 1.75;
}

.dtnt-article .bodytext {
    color: #26332c;
    font-size: 15.5px;
    line-height: 1.85;
}

.dtnt-article .bodytext p {
    margin-bottom: 14px;
    text-align: justify;
}

.dtnt-article .bodytext h2,
.dtnt-article .bodytext h3,
.dtnt-article .bodytext h4 {
    margin: 26px 0 12px;
    padding-left: 12px;
    border-left: 5px solid var(--dtnt-red);
    color: var(--dtnt-green);
    font-weight: 700;
    line-height: 1.4;
}

.dtnt-article .bodytext img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.dtnt-article .bodytext figure {
    margin: 18px 0;
    text-align: center;
}

.dtnt-article .bodytext figcaption,
.dtnt-article figcaption {
    margin-top: 6px;
    color: #7a837d;
    font-size: 12.5px;
    font-style: italic;
}

.dtnt-article .bodytext blockquote {
    margin: 18px 0;
    padding: 14px 20px;
    background: #f3f7f4;
    border-left: 5px solid var(--dtnt-green-2);
    border-radius: 0 10px 10px 0;
    font-size: 15px;
}

.dtnt-article .bodytext table {
    width: 100%;
    margin: 16px 0;
    border-collapse: collapse;
}

.dtnt-article .bodytext table td,
.dtnt-article .bodytext table th {
    padding: 8px 12px;
    border: 1px solid #e0d9c0;
}

.dtnt-article .bodytext table th {
    background: var(--dtnt-green-2);
    color: #fff;
}

.dtnt-article figure.article.left {
    float: left;
    margin: 0 22px 14px 0;
}

.dtnt-about-others {
    margin: 18px 0;
    padding: 18px 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--dtnt-shadow);
}

.dtnt-about-chips {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dtnt-about-chips a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: #fbf9f2;
    border: 1px solid #ece7d6;
    border-radius: 10px;
    color: #1d2b24;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, color 0.15s, padding 0.15s;
}

.dtnt-about-chips a i {
    color: var(--dtnt-red);
}

.dtnt-about-chips a:hover {
    padding-left: 20px;
    background: var(--dtnt-green-2);
    color: #fff;
}

.dtnt-about-chips a:hover i {
    color: var(--dtnt-gold-light);
}

@media (max-width: 767px) {
    .dtnt-about-card,
    .dtnt-about-card:nth-child(even) {
        flex-direction: column;
    }

    .dtnt-about-img {
        flex-basis: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .dtnt-about-intro,
    .dtnt-article-hero {
        padding: 20px;
    }

    .dtnt-about-intro h1,
    .dtnt-article-hero h1 {
        font-size: 20px;
    }

    .dtnt-article > .panel-body {
        padding: 18px;
    }
}

/* ===================== MODULE LIÊN HỆ ===================== */
.dtnt-contact-hero {
    position: relative;
    margin-bottom: 20px;
    padding: 34px 40px;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(5, 33, 20, 0.96) 0%, rgba(8, 48, 30, 0.88) 55%, rgba(8, 48, 30, 0.35) 100%),
        url("../images/dtnt/bg-section.jpg") right center / cover no-repeat;
    border-radius: 16px;
    box-shadow: var(--dtnt-shadow);
    color: #fff;
}

.dtnt-contact-hero h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 700;
}

.dtnt-contact-line {
    display: block;
    width: 70px;
    height: 3px;
    margin: 10px 0 16px;
    background: var(--dtnt-gold);
    border-radius: 2px;
}

.dtnt-contact-intro,
.dtnt-contact-intro p {
    max-width: 760px;
    margin: 0;
    background: none;
    border: 0;
    box-shadow: none;
    color: #f0e8cc;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

.dtnt-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.dtnt-contact-form,
.dtnt-contact-info {
    padding: 24px 26px 26px;
    background: #fff;
    border: 1px solid #e8dfc2;
    border-radius: 16px;
    box-shadow: var(--dtnt-shadow);
}

.dtnt-card-title {
    margin: 0 0 6px;
    padding-left: 12px;
    border-left: 5px solid var(--dtnt-red);
    color: var(--dtnt-red);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.dtnt-card-sub {
    margin: 0 0 18px;
    color: #6a746e;
    font-size: 13.5px;
    line-height: 1.6;
}

/* Biểu mẫu: lưới 2 cột */
.dtnt-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
}

.dtnt-form .dtnt-f-half {
    margin-bottom: 10px;
}

.dtnt-form .dtnt-f-full {
    grid-column: 1 / -1;
    margin-bottom: 10px;
}

.dtnt-label {
    display: block;
    margin-bottom: 5px;
    color: #1d2b24;
    font-size: 13.5px;
    font-weight: 700;
}

.dtnt-label b {
    color: var(--dtnt-red);
}

.dtnt-form .input-group-addon {
    min-width: 42px;
    background: #f1ede0;
    border-color: #d9d2bb;
    color: #2b3a33;
}

.dtnt-form .form-control {
    height: 42px;
    border-color: #d9d2bb;
    background: #fff;
    box-shadow: none;
    font-size: 14px;
}

.dtnt-form textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.dtnt-form .form-control:focus {
    border-color: var(--dtnt-green-2);
    box-shadow: 0 0 0 3px rgba(20, 99, 59, 0.14);
}

.dtnt-form .form-control.disabled,
.dtnt-form .form-control[disabled] {
    background: #f4f1e6;
}

.dtnt-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 600;
    cursor: pointer;
}

.dtnt-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--dtnt-green-2);
}

.dtnt-captcha {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dtnt-captcha .captchaImg {
    border-radius: 6px;
    border: 1px solid #d9d2bb;
}

.dtnt-captcha em {
    color: var(--dtnt-green-2);
    font-size: 18px;
}

.dtnt-captcha .fcode {
    width: 190px !important;
}

.dtnt-f-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 6px 0 0 !important;
}

.dtnt-btn-send {
    min-width: 200px;
    padding: 10px 22px;
    background: var(--dtnt-red) !important;
    border-color: var(--dtnt-red) !important;
    border-radius: 8px;
    font-weight: 700;
}

.dtnt-btn-send:hover {
    background: var(--dtnt-red-dark) !important;
}

.dtnt-btn-reset {
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #1d2b24;
    border-radius: 8px;
    font-weight: 700;
}

.dtnt-btn-reset:hover {
    background: #f1ede0;
}

/* Thông tin liên hệ */
.dtnt-info-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dtnt-info-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dtnt-info-ico {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px #e5d9ad;
}

.dtnt-info-list .is-red .dtnt-info-ico { background: var(--dtnt-red); }
.dtnt-info-list .is-green .dtnt-info-ico { background: var(--dtnt-green-2); }
.dtnt-info-list .is-gold .dtnt-info-ico { background: #c79a2c; }

.dtnt-info-list strong {
    display: block;
    color: var(--dtnt-green);
    font-size: 15px;
}

.dtnt-info-list span:not(.dtnt-info-ico),
.dtnt-info-list a {
    display: block;
    color: var(--dtnt-red);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
}

.dtnt-dep {
    margin-top: 14px;
    padding: 14px 16px;
    background: #fbf9f2;
    border: 1px solid #ece7d6;
    border-radius: 12px;
}

.dtnt-dep-name {
    margin: 0 0 8px;
    color: var(--dtnt-green);
    font-size: 15px;
    font-weight: 700;
}

.dtnt-dep-name i {
    margin-right: 6px;
    color: var(--dtnt-red);
}

.dtnt-dep-body p {
    margin: 0 0 5px;
    color: #44504a;
    font-size: 13px;
}

.dtnt-dep-body a {
    color: var(--dtnt-red);
}

.dtnt-contact-quote {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #d9c98f;
    text-align: center;
    color: #b68a2a;
}

.dtnt-contact-quote i {
    display: block;
    margin-bottom: 8px;
    font-size: 40px;
    opacity: 0.55;
}

.dtnt-contact-quote span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-style: italic;
    color: var(--dtnt-red-dark);
}

@media (max-width: 991px) {
    .dtnt-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .dtnt-contact-hero {
        padding: 22px 20px;
    }

    .dtnt-contact-hero h1 {
        font-size: 28px;
    }

    .dtnt-form {
        grid-template-columns: 1fr;
    }

    .dtnt-f-actions {
        flex-direction: column-reverse;
    }

    .dtnt-btn-send,
    .dtnt-btn-reset {
        width: 100%;
    }
}

.dtnt-contact-intro *,
.dtnt-contact-intro strong,
.dtnt-contact-intro b {
    font-weight: 400 !important;
    color: #f0e8cc !important;
    background: none !important;
}

/* Ô "Địa chỉ" (ô lẻ cuối) rộng hết hàng; câu trích dẫn dùng phông không chân để dấu tiếng Việt không bị lệch */
.dtnt-form .dtnt-f-half:has(input[name="faddress"]) {
    grid-column: 1 / -1;
}

.dtnt-contact-quote span {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.dtnt-contact-hero h1 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Video Facebook: khung doc cho reel + nut mo tren Facebook */
.dtnt-player.dtnt-player-reel{ aspect-ratio:9 / 16; max-width:360px; margin:0 auto; }
.dtnt-fb-open{ display:inline-block; margin:10px auto 0; }
.player-position:has(.dtnt-player-reel) .dtnt-fb-open{ display:block; width:fit-content; }
