﻿
/* ================================================================
   PLACEHOLDER for missing images (pnews thumbs + nrec cards)
   ================================================================ */
.pnews-thumb-wrap,
.nrec-img-wrap {
    background: #f0f0f0
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Crect width='80' height='60' fill='%23ebebeb'/%3E%3Cpath d='M28 38 L40 22 L52 38Z' fill='%23ccc'/%3E%3Ccircle cx='54' cy='26' r='5' fill='%23ccc'/%3E%3C/svg%3E")
        center/60% no-repeat;
}
.pnews-thumb-wrap img[src=''],
.pnews-thumb-wrap img:not([src]),
.nrec-img-wrap img[src=''],
.nrec-img-wrap img:not([src]) {
    opacity: 0;
}
body {
    font-family: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
    background: #f5f6fa;
    color: #1a1a1a;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
}

/* ================================================================
   STICKY HEADER
   ================================================================ */
.site-header-bds {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.site-header-bds.header-scrolled {
    box-shadow: 0 3px 22px rgba(0, 0, 0, 0.18);
}

/* ================================================================
   TOPBAR  (dark strip: stocks left | social + login right)
   ================================================================ */
.topbar-bds {
    background: #1a1a1a;
}
.topbar-inner-bds {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}

/* --- Stocks list --- */
.topbar-inner-bds .list-stocks {
    float: none !important;
    display: flex !important;
    align-items: center;
    gap: 3px;
    padding: 5px 0 !important;
    margin: 0 !important;
    list-style: none;
    max-width: 62%;
    overflow: hidden;
    flex-wrap: nowrap;
}
.topbar-inner-bds .list-stocks li a {
    display: inline-block;
    padding: 3px 9px !important;
    font-size: 11.5px !important;
    font-weight: 600;
    color: #bbb !important;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
    line-height: 1.8;
}
.topbar-inner-bds .list-stocks li a:hover {
    background: #e8521a !important;
    color: #fff !important;
}
.topbar-inner-bds .list-stocks li:last-child a {
    background: none;
    color: #666 !important;
}
.topbar-inner-bds .list-stocks li:last-child a:hover {
    color: #e8521a !important;
    background: none !important;
}

/* --- Social / login list --- */
.topbar-inner-bds .list-social {
    float: none !important;
    display: flex !important;
    align-items: center;
    gap: 0;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
}
.topbar-inner-bds .list-social li a {
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding: 0 10px !important;
    height: 36px;
    font-size: 12px !important;
    color: #aaa !important;
    text-decoration: none;
    transition: color 0.18s;
    white-space: nowrap;
    border-left: 1px solid rgba(255,255,255,0.07);
}
.topbar-inner-bds .list-social li:first-child a { border-left: none; }
.topbar-inner-bds .list-social li a:hover { color: #fff !important; }
.topbar-inner-bds .list-social li a i { font-size: 14px !important; }
.topbar-inner-bds .list-social li:first-child a:hover  { color: #1877f2 !important; }
.topbar-inner-bds .list-social li:nth-child(2) a:hover { color: #ff3d3d  !important; }

/* ================================================================
   HEADER MID  (white: logo | tagline | search)
   ================================================================ */
.header-mid-bds {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 11px 0;
}
.header-mid-inner-bds {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Logo */
.site-logo-bds { text-decoration: none; }
.site-logo-bds img {
    height: 54px;
    width: auto;
    display: block;
}
/* Override the old .logo img rule */
header .logo img,
.site-logo-bds img {
    height: 54px;
    width: auto;
    margin-top: 0;
}

/* Tagline */
.site-tagline-bds {
    flex: 1;
    font-family: 'Dancing Script', cursive;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #e8521a 0%, #f5a623 60%, #e8521a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 0;
}
@media (max-width: 768px) { .site-tagline-bds { font-size: 17px; } }
@media (max-width: 575px) { .site-tagline-bds { display: none; } }

/* Search  */
.header-search-wrap-bds {
    position: relative;
    margin-left: 0;
    flex-shrink: 0;
    width: 320px;
}
@media (max-width: 991px) { .header-search-wrap-bds { width: 240px; } }
@media (max-width: 767px) { .header-search-wrap-bds { flex: 1; width: auto; min-width: 0; } }
.header-search-wrap-bds .src-btn {
    color: #555 !important;
    font-size: 19px;
}
.header-search-wrap-bds .src-btn:hover { color: #e8521a !important; }
.header-search-wrap-bds .src-form {
    box-shadow: 0 10px 30px rgba(0,0,0,0.13) !important;
    border-radius: 6px !important;
    overflow: hidden;
    border: 1px solid #eee !important;
}
.header-search-wrap-bds #keyword  { height: 48px !important; border: none; padding-left: 14px; }
.header-search-wrap-bds #btnSearch {
    background: #e8521a;
    border: none;
    height: 48px !important;
    color: #fff;
    transition: background 0.2s;
}
.header-search-wrap-bds #btnSearch:hover { background: #c94110; }

/* ================================================================
   NAVBAR  (dark navigation bar)
   ================================================================ */
.navbar-bds {
    background: #222;
    position: relative;
}
.navbar-container-bds { padding: 0 15px; }

/* Hide the .banner-home that the Menu component renders inside the navbar.
   It will be moved by JavaScript to #hero-banner-slot instead. */
.navbar-container-bds .banner-home { display: none !important; }

/* Override main-menu for dark bg */
.navbar-bds .main-menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.navbar-bds .main-menu > li > a {
    color: #d8d8d8 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 14px 13px !important;
    text-transform: uppercase;
    transition: background 0.18s, color 0.18s !important;
    border-bottom: 3px solid transparent;
    display: block;
}
.navbar-bds .main-menu > li > a:hover,
.navbar-bds .main-menu > li:hover > a {
    color: #fff !important;
    background: rgba(255,255,255,0.07) !important;
    border-bottom-color: #e8521a;
}
/* Active nav link — class set dynamically by Menu component */
.navbar-bds .main-menu > li.active > a,
.navbar-bds .main-menu > li > a.active {
    color: #f5894a !important;
    border-bottom-color: #e8521a;
    background: rgba(255,255,255,0.07) !important;
}

/* Home icon */
.navbar-bds .home-icon {
    height: 15px;
    width: auto;
    margin-bottom: 0;
    filter: brightness(0) invert(0.7);
    vertical-align: middle;
}
.navbar-bds .main-menu > li:first-child a:hover .home-icon {
    filter: brightness(0) invert(1);
}

/* Override conflicting rules from styles.css that use `header .main-menu` selectors */
.navbar-bds .main-menu {
    float: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    position: static !important;
    background: transparent !important;
    text-align: left !important;
    height: auto !important;
    opacity: 1 !important;
}
.navbar-bds .main-menu > li {
    display: inline-block !important;
    float: none !important;
    /* relative so dropdown panel anchors to this li */
    position: relative !important;
}
.navbar-bds .main-menu > li > a {
    height: auto !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
}

/* Dropdown arrow icon */
.navbar-bds .main-menu > li.drop-down > a > i {
    color: #888;
    font-size: 9px;
    margin-left: 3px;
}

/* Dropdown panels */
.navbar-bds .drop-down-menu,
.navbar-bds .drop-down-inner {
    background: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    border-top: 2px solid #e8521a !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.38) !important;
    min-width: 220px !important;
    padding: 5px 0 !important;
    /* override styles.css top:60px — anchor from bottom of the li */
    top: 100% !important;
    left: 0 !important;
    position: absolute !important;
    z-index: 9999 !important;
}
.navbar-bds .drop-down-menu li a,
.navbar-bds .drop-down-inner li a {
    color: #ccc !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    padding: 9px 18px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    display: block;
    transition: all 0.15s !important;
}
.navbar-bds .drop-down-menu li a:hover,
.navbar-bds .drop-down-inner li a:hover {
    background: rgba(232,82,26,0.15) !important;
    color: #e8521a !important;
    padding-left: 24px !important;
}
.navbar-bds .drop-down-menu li:last-child a,
.navbar-bds .drop-down-inner li:last-child a {
    border-bottom: none !important;
}

/* Mobile hamburger icon */
.navbar-bds .menu-nav-icon { color: #ddd !important; font-size: 22px; }

/* ================================================================
   HERO BANNER  (sits below the sticky header, above content)
   ================================================================ */
.hero-banner-bds {
    background: #fff;
    padding: 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    overflow: hidden;
}
.hero-banner-bds #hero-banner-slot { min-height: 0; width: 100%; }
.hero-banner-bds #hero-banner-slot > div,
.hero-banner-bds #hero-banner-slot > div > a {
    display: block;
    width: 100%;
}
.hero-banner-bds #hero-banner-slot .banner-center { margin: 0 !important; padding: 0 !important; width: 100%; }
.hero-banner-bds #hero-banner-slot img,
.hero-banner-bds #hero-banner-slot .banner-center img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.hero-banner-bds #hero-banner-slot .row { margin: 0; }

/* ================================================================
   MAIN CONTENT LAYOUT
   ================================================================ */
.site-content-bds {
    padding: 22px 0 48px;
    background: #f5f6fa;
}
.primary-col-bds { padding-right: 18px; }
.sidebar-col-bds { padding-left: 10px; }

@media (max-width: 991px) {
    .primary-col-bds { padding-right: 15px; }
    .sidebar-col-bds { padding-left: 15px; margin-top: 30px; }
}

/* Sidebar: position static, flows normally with the page.
   Each child component is forced full-width block to prevent
   float/inline contamination from Bootstrap .row or old CSS. */
.sidebar-bds {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.sidebar-bds > div,
.sidebar-bds > a,
.sidebar-bds > section,
.sidebar-bds > article,
.sidebar-bds > aside {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box;
}
/* Ensure <style> and <script> tags injected by components stay hidden */
.sidebar-bds style,
.sidebar-bds script {
    display: none !important;
}
/* Neutralise Bootstrap .row negative margins inside sidebar */
.sidebar-bds .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.sidebar-bds .row img {
    border-radius: 6px;
}

/* ================================================================
   BACK TO TOP BUTTON
   ================================================================ */
#to-top {
    position: fixed;
    z-index: 9999;
    right: 22px;
    bottom: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8521a;
    color: #fff !important;
    font-size: 18px;
    cursor: pointer;
    display: none;          /* shown by site.js on scroll */
    text-align: center;
    line-height: 44px;
    box-shadow: 0 4px 18px rgba(232, 82, 26, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
    padding: 0;
    border: none;
}
#to-top:hover {
    background: #c94110;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(232, 82, 26, 0.52);
}
#to-top i { font-size: 18px; vertical-align: middle; }

/* ================================================================
   FOOTER
   ================================================================ */
footer.bg-191.color-ccc {
    height: auto !important;
    min-height: 260px;
}
.img-logo-footer {
    margin-left: 0 !important;
    margin-top: 0 !important;
    width: 55% !important;
}

/* Footer upper body: links inside dark bg need explicit light color */
footer.bg-191 a {
    color: #ccc !important;
    text-decoration: none;
    transition: color 0.18s;
}
footer.bg-191 a:hover {
    color: #f9b500 !important;
    text-decoration: underline;
}
/* Section headings */
footer.bg-191 h5.color-primary { color: #f9b500 !important; }

/* Footer bottom bar (border + contact strip) */
footer.bg-191 .oflow-hidden.color-ash {
    color: #bbb !important;
}
footer.bg-191 .oflow-hidden.color-ash li {
    color: #bbb !important;
}
footer.bg-191 .oflow-hidden.color-ash li a,
footer.bg-191 .oflow-hidden.color-ash ul a {
    color: #ddd !important;
    text-decoration: none;
}
footer.bg-191 .oflow-hidden.color-ash li a:hover,
footer.bg-191 .oflow-hidden.color-ash ul a:hover {
    color: #f9b500 !important;
}
footer.bg-191 .oflow-hidden ul {
    float: none !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0 !important;
    margin: 0 !important;
    list-style: none;
}
footer.bg-191 .oflow-hidden li {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

/* Footer img  */
footer.bg-191 img {
    width: auto !important;
    max-width: 100%;
}
@media only screen and (max-width: 767px) {
    footer.bg-191.color-ccc { height: auto !important; min-height: 360px; }
}

/* ================================================================
   RESPONSIVE OVERRIDES
   ================================================================ */
@media (max-width: 767px) {
    .topbar-inner-bds { flex-wrap: wrap; gap: 4px; padding: 5px 0; }
    .topbar-inner-bds .list-stocks { max-width: 100%; flex-wrap: wrap; }
    .site-logo-bds img, header .logo img { height: 42px; }
    .header-mid-bds { padding: 9px 0; }
    .header-mid-inner-bds { gap: 10px; }
    .site-content-bds { padding: 14px 0 30px; }
    .primary-col-bds { padding-right: 15px; }
    .navbar-bds .main-menu > li > a { padding: 11px 10px !important; font-size: 11.5px !important; }
    footer.bg-191 .oflow-hidden ul { flex-direction: column; align-items: flex-start; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* ================================================================
   NEWS LIST PAGE TITLE — shared across all list/search pages
   ================================================================ */
.news-list-page-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 16px 0 12px;
    padding: 10px 14px;
    border-left: 4px solid #e8521a;
    background: #f7f7f7;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.news-list-page-title span {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

/* ================================================================
   PAGING — shared across all list/search pages
   ================================================================ */
.paging {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 16px;
}
.paging a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ddd;
    color: #444;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}
.paging a:hover { background: #e8521a; color: #fff; border-color: #e8521a; }
.paging a.currentPage { background: #e8521a; color: #fff; border-color: #e8521a; pointer-events: none; font-weight: 800; }
.paging a.previous, .paging a.next { font-size: 18px; font-weight: 700; }
.paging a.first-page, .paging a.last-page { font-size: 13px; letter-spacing: -1px; }
.paging a.disabled { color: #ccc; border-color: #eee; background: #fafafa; pointer-events: none; cursor: default; }
.paging a.disabled:hover { background: #fafafa; color: #ccc; border-color: #eee; }
.paging span.ellipsis { display: inline-flex; align-items: flex-end; justify-content: center; min-width: 28px; height: 36px; font-size: 16px; color: #aaa; letter-spacing: 1px; padding-bottom: 2px; }


   ================================================================ */
.qcat-strip {
    background: #1a1a1a;
    border-top: 2px solid #e8521a;
    border-bottom: 2px solid #2a2a2a;
    padding: 0;
    margin-bottom: 22px;
}
.qcat-inner {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    min-height: 44px;
}
.qcat-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    background: #e8521a;
    padding: 0 18px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}
.qcat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc !important;
    font-size: 13px;
    font-weight: 600;
    padding: 0 16px;
    text-decoration: none !important;
    border-left: 1px solid #2e2e2e;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.qcat-item i { font-size: 14px; color: #aaa; flex-shrink: 0; }
.qcat-item:hover { background: #2a2a2a; color: #fff !important; }
.qcat-item:hover i { color: #fff; }
.qcat-divider { flex: 1; min-width: 10px; }
.qcat-hot {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #c0392b;
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 700;
    padding: 0 20px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}
.qcat-hot i { font-size: 15px; color: #ffd700; }
.qcat-hot:hover { background: #e8521a; }
@media (max-width: 767px) {
    .qcat-inner { flex-wrap: wrap; min-height: auto; }
    .qcat-label { padding: 8px 14px; width: 100%; }
    .qcat-item { padding: 8px 12px; border-left: none; border-top: 1px solid #2e2e2e; font-size: 12px; }
    .qcat-divider { display: none; }
    .qcat-hot { padding: 8px 14px; width: 100%; justify-content: center; }
}

/* ================================================================
   NEWS CARD / LIST — shared across NewsAggregator, NewsByGroup, StockNews
   ================================================================ */
.na-section { margin-bottom: 32px; }
.na-section-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    padding: 8px 14px;
    border-left: 4px solid #e8521a;
    background: #f7f7f7;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.na-section-title a { color: #e8521a; font-size: 12px; font-weight: 600; text-transform: none; }
.na-section-title a:hover { text-decoration: underline; }

.na-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
.na-feat-card { display: flex; flex-direction: column; text-decoration: none !important; }
.na-thumb {
    overflow: hidden;
    border-radius: 6px;
    background: #e0e0e0;
    aspect-ratio: 16/9;
}
.na-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.38s ease;
}
.na-feat-card:hover .na-thumb img { transform: scale(1.07); }
.na-feat-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.48;
    margin-top: 8px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.na-feat-card:hover .na-feat-title { color: #e8521a; }
.na-feat-meta { font-size: 11px; color: #999; display: flex; gap: 10px; }
.na-feat-meta i { color: #aaa; margin-right: 2px; font-size: 12px; }

.na-list { display: flex; flex-direction: column; }
.na-list-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
    text-decoration: none !important;
}
.na-list-item:last-child { border-bottom: none; }
.na-list-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 62px;
    border-radius: 5px;
    overflow: hidden;
    background: #e0e0e0;
}
.na-list-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.32s;
}
.na-list-item:hover .na-list-thumb img { transform: scale(1.08); }
.na-list-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}
.na-list-item:hover .na-list-title { color: #e8521a; }
.na-list-meta { font-size: 11px; color: #999; display: flex; gap: 10px; }
.na-list-meta i { color: #aaa; margin-right: 2px; font-size: 12px; }

/* TopNewsHome grid */
.tnh-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 270px 200px;
    gap: 6px;
    width: 100%;
    margin-bottom: 24px;
}
.tnh-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    text-decoration: none !important;
    background: #1a1a1a;
}
.tnh-card.featured { grid-row: 1 / 3; }
.tnh-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, opacity 0.3s ease;
    opacity: 0.82;
}
.tnh-card:hover img { transform: scale(1.07); opacity: 1; }
.tnh-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.38) 55%, transparent 100%);
    padding: 20px 16px 14px;
    color: #fff;
}
.tnh-card.featured .tnh-overlay { padding: 30px 24px 22px; }
.tnh-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.tnh-card.featured .tnh-title { font-size: 21px; }
.tnh-meta { display: flex; gap: 12px; font-size: 12px; opacity: 0.88; align-items: center; }
.tnh-meta .tnh-author { color: #f5894a; font-weight: 700; }
.tnh-meta i { color: #ccc; margin-right: 3px; font-size: 12px; }
.tnh-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
    pointer-events: none;
}
.tnh-card:hover::after { background: rgba(0,0,0,0.08); }

@media (max-width: 991px) {
    .tnh-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; }
    .tnh-card.featured { grid-column: 1 / 3; grid-row: 1 / 2; }
    .na-featured-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .tnh-grid { grid-template-columns: 1fr; grid-template-rows: repeat(6, 200px); }
    .tnh-card.featured { grid-column: 1; grid-row: 1; }
    .na-featured-grid { grid-template-columns: 1fr; }
}
