/* Bổ sung CSS cho các chi tiết đặc thù của Future Homes không có trong Bootstrap mặc định */
:root {
    --primary: #e63946;
    --text-muted-custom: #888;
    --navbar-h: 56px;
    --bottom-nav-h: 60px;
}
/* CSS chung */
.scale_img_hover img {
    transition: transform 0.3s ease !important;
}

.scale_img_hover:hover img {
    transform: scale(1.2) !important;
}
.active-single:hover {
    color: var(--red) !important;
}
/* custom paginate */

.page-item.active .page-link, .page-item.active .page-link:hover, .page-item.active .page-link:focus, .pagination li.active>a:not(.page-link), .pagination li.active>a:not(.page-link):hover, .pagination li.active>a:not(.page-link):focus {
    border-color: var(--red);
    background-color: var(--red);
}
.page-link:hover {
    background-color: var(--red);
    color: #fff
}

/* =========== */
/* ============================================
   CATEGORY HERO BANNER — Light & Compact
   ============================================ */
.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(153, 3, 3, .03);
}
.cat-hero-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563a8 55%, #1a5276 100%);
    border-radius: 16px;
    padding: 28px 32px 0;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 20px rgba(30,58,95,0.18);
}

/* Decorative circles */
.cat-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(225,27,34,0.15);
    pointer-events: none;
}
.cat-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30px; left: 35%;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

/* Breadcrumb */
.cat-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
}
.cat-hero-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}
.cat-hero-breadcrumb a:hover { color: #fff; }

/* Content row */
.cat-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* Left: title area */
.cat-hero-left { flex: 1; min-width: 0; }

.cat-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(225,27,34,0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 3px 11px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cat-hero-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.28;
}

.cat-hero-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 500px;
}

.cat-hero-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cat-hero-stat {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}
.cat-hero-stat strong { color: #fff; font-weight: 700; }
.cat-hero-stat-sep { color: rgba(255,255,255,0.25); }

/* Right: search */
.cat-hero-search-wrap { flex-shrink: 0; width: 260px; }

.cat-hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 9px;
    padding: 9px 13px;
    transition: background 0.2s, border-color 0.2s;
}
.cat-hero-search:focus-within {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
}
.cat-hero-search i { color: rgba(255,255,255,0.5); font-size: 13px; flex-shrink: 0; }
.cat-hero-search input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
}
.cat-hero-search input::placeholder { color: rgba(255,255,255,0.4); }
.cat-hero-search-hint {
    margin: 5px 0 0 2px;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
}

/* Filter tabs — light version */
.cat-hero-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0 -32px;
    padding: 0 32px;
}
.cat-hero-tabs::-webkit-scrollbar { display: none; }

.cat-hero-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.cat-hero-tab:hover { color: rgba(255,255,255,0.9); }
.cat-hero-tab.active {
    color: #fff;
    border-bottom-color: #fff;
    font-weight: 700;
}

@media (max-width: 767px) {
    .cat-hero-banner { padding: 16px 16px 0; border-radius: 10px; }
    .cat-hero-title { font-size: 18px; }
    .cat-hero-search-wrap { width: 100%; }
    .cat-hero-tabs { margin: 0 -16px; padding: 0 16px; }
}


/* SCROLLBAR CUSTOM CHO TAB BỘ LỌC TRÊN MOBILE */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: -8px;
    -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
    height: 4px;
    display: none;
}

.tab-btn {
    white-space: nowrap;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    background: var(--bs-white);
    border: 1px solid var(--bs-gray-100);
    border-radius: 6px;
    color: var(--bs-text);
    cursor: pointer;
}

.tab-btn.active {
    background: var(--bs-red);
    color: var(--bs-white);
    border-color: var(--bs-red);
}

/* COMPONENTS ĐẶC THÙ (Kế thừa layout Bootstrap) */
.fh-card {
    /* border: 1px solid var(--bs-gray-100); */
    /* border-radius: 12px; */
    /* padding: 20px; */
    /* background: var(--bs-white); */
}

.featured-img-wrap {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge-red {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bs-red);
    color: var(--bs-white);
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}
.box_featured:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 80%, rgba(0, 0, 0, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Side List Images */
.side-news-img {
    width: 110px;
    height: 80px;
    min-width: 110px;
    border-radius: 6px;
    object-fit: cover;
}

/* Topics */
.topic-img-wrap {
    position: relative;
    margin-bottom: 12px;
}

.topic-img-wrap img {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.topic-badge {
    position: absolute;
    bottom: -10px;
    left: 8px;
    background: var(--bs-white);
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 25px;
    z-index: 2;
}

.icon-circle {
    width: 24px;
    height: 24px;
    border: 1px solid var(--bs-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--bs-gray);
}

/* Cột bên phải (Widget) */

.pdf-icon {
    width: 24px;
    height: 24px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAR7SURBVHjatJVbiFVVGMd/31r7XOfMOccZZxinGdRIEjQ0GoNKDPNSWEkkJUKhTZEgZWpFaEn2IATRS/QWEvlgUYK+BF3EfLACI8RQqVS8Npo5zpk5131Za/UwOqPOWNNx+sN+2t9eP9b/+779F+ccZ3sucINmAN8BzUCZMSjmeY3HT575OgjDR+Keh3VuRM28+7pQN/l+M9ACKKBxLI9SiprvP9zfX9wjSlBKRj34ZsAcdUhrTdX3FxQGintERocqxlmep6n5wTBU5P8BOhzOWQTB05paLVhQGCh9K0pdBx03oFYK56Dm+1hrUUqoVKsLLxf69zrckL3jBoyMpaO9jQn5LM6BUppEPE4YRfNLldo3xtiZAN54AYMgIJ9tpGvWDHoLRfoGKsQ8jYhgrV0EbAC6FYBLpkBrGGV3xioRIQhDnIPW5jwtTVkcglKaWCyG53nDloo12GwOl0qDNbdorcEPQvKZNLnGJEEYYowduowCyG54lsyHW7H5HC6bv2Woc47QGCZkM0zIpomMITSWoR56p44TO3oQoojixq2I1kilAiL1+osLA6IwpCmXAaBYrg0DTcdkiCJSu7aDCKVX3sbF4kgU1n/Nhgyu2E8YRuQyaRpSiWEgxqxAqdejKdMaE9/u7tNnTkx3DRmIorpYqu8S/vzHqD7djerrxViLVopr12IRzt2NUtiWNrxjR3CVEohC4gmIxSEMcVEIIkgsDkqBtbgwGBwIkcFaBHXpAi6Zorr8haG6q+nh3dBtUAqTziDNrUgmizn5O8QTkEgiydTg+3OnUS1tg70KfCSTBRPhRK703eFyTWBGDt+IxbcX/iCxZBnJl9/EVUrYU8cprVtJ6qWNxBcvxQU+5vivlNevwnvgIdKb3sVVKuAsla1vYHvODg0OMpZ4Cnz0XfcQ/fIThbl3INk8yWdWo9o7CfZ9RXnTGrw7Z5Ja+xZqQjNYS+W9zdS2fYArF5Fk8p/7O+oeVcvoSR3EFz+BmtiK7etFkinM4YP4n++mvGUd3qwuXBShWieR7F6LN/teXOEyKF0HsFxCdU4l9eJ6/C934n+6DdU6Cck1oad3klr9Gub8OURrXO9fBDu3Ex06gCTT/56XI3PGQzXm8HftoLR+Ffq2TiSXx5w/R2LVGuKPLkNSaaqvdhNf8iTR0UPUvvgE7/ZpyBWL/xNQTeqgtuMjwBGbc/+gRdZSfX8LevJUiCeIfv4RgPDA94Q/7CM2e87gkFyFCWAtMkoYeEOBDTilUNYS6zmNGAPphsFDlMJVy7gTR0AUiXQDkkjizp4AEyGphutupi+ex06bgY3F0TcBfoxSRlcrE11p4M8L8x5fapPp9rp/bf0FzNyFJMJghMXelb7tl0pxv77YQ2HNZvqeen6KVP12MfWlhhFFg1h0oRcjaiRQHzsMSjOw7h38Fc/R1tcPYVh3WogI1kREyIjd9wCCB5cQzJlLdflK9MVeojAo1h1NN4CvUQVAnHOcDi04UJcvgYlAVBewF0hfLaxTCmgAPgO2dLa3/fb3ACrA6sglMxeYAAAAAElFTkSuQmCC);
    background-size: 100%;
}

/* Typography & Utilities */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-text {
    font-size: 11px;
    color: var(--bs-light-gray);
}

.fh-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.search-box input {
    border: 1px solid var(--bs-gray-100);
    border-radius: 6px;
    padding: 6px 12px 6px 30px;
    font-size: 13px;
    outline: none;
    width: 100%;
    max-width: 220px;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 10px;
    top: 9px;
    color: #aaa;
    font-size: 12px;
}

/* Layout cơ bản */
.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 240px;
    min-width: 240px;
    border-right: 1px solid var(--bs-gray-100);
    background: var(--bs-white);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================
   DETAIL PAGE STYLES
   ============================================ */

/* Breadcrumb */
.fh-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--bs-secondary);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.fh-breadcrumb a {
    color: var(--bs-secondary);
    text-decoration: none;
}

.fh-breadcrumb a:hover {
    color: #E11B22;
}

.fh-breadcrumb .sep {
    color: #ccc;
}

.fh-breadcrumb .current {
    color: #1a1a1b;
    font-weight: 500;
}

/* Article hero image */
.article-hero {
    position: relative;
    width: 100%;
/*    height: 420px;*/
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
}

.article-cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #E11B22;
    color: var(--bs-white);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Article title & meta */
.article-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    color: #1a1a1b;
    margin-bottom: 14px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    color: #9ba4b5;
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Share buttons */
.share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid #E8ECEF;
    border-bottom: 1px solid #E8ECEF;
    margin-bottom: 20px;
}

.share-bar .share-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    margin-right: 4px;
}

.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
    border: none;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.fb {
    background: #1877F2;
    color: var(--bs-white);
}

.share-btn.tw {
    background: #1DA1F2;
    color: var(--bs-white);
}

.share-btn.li {
    background: #0A66C2;
    color: var(--bs-white);
}

.share-btn.lnk {
    background: #E8ECEF;
    color: #1a1a1b;
}

/* Article body content */
.article-content {
    font-size: 15px;
    line-height: 1.85;
    color: #2d2d2d;
	word-break: break-word;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.article-content iframe {
    max-width: 100%;
    border-radius: 8px;
}

.article-content h2,
.article-content h3 {
    font-weight: 600;
    margin: 16px 0;
    color: unset
}

.article-content blockquote {
    border-left: 4px solid #E11B22;
    padding: 12px 20px;
    margin: 20px 0;
    background: #FEF2F2;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

/* Related news widget (sidebar right) */
.related-news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #E8ECEF;
}

.related-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-news-thumb {
    width: 76px;
    height: 56px;
    min-width: 76px;
    border-radius: 6px;
    object-fit: cover;
}

.related-news-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1b;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-title:hover {
    color: #E11B22;
}

/* Gallery section */
.gallery-section {
    margin-top: 32px;
}

.gallery-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ============================================
   NEWS GRID CARD (Cat list + Load More)
   ============================================ */
.news-grid-card {
    border: 1px solid #E8ECEF;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.news-grid-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.news-grid-img-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-grid-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-grid-card:hover .news-grid-img-wrap img {
    transform: scale(1.04);
}

.news-grid-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #E11B22;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    z-index: 2;
}

.news-grid-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-grid-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-title a {
    color: #1a1a1b;
    text-decoration: none;
}

.news-grid-title a:hover { color: #E11B22; }

.news-grid-intro {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    flex: 1;
}

.news-grid-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #9ba4b5;
    margin-top: auto;
}

/* Load more button */
.news-load-more-wrap {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 8px;
}
.btn-load-more-news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 36px;
    font-size: 13px;
    font-weight: 600;
    color: #E11B22;
    background: #fff;
    border: 1.5px solid #E11B22;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-load-more-news:hover {
    background: #E11B22;
    color: #fff;
}
.btn-load-more-news:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
#reading-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #E11B22, #ff6b6b);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ============================================
   ARTICLE HERO BANNER (detail page)
   ============================================ */
.article-hero-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563a8 55%, #1a5276 100%);
    border-radius: 16px;
    padding: 24px 32px 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30,58,95,0.18);
}
.article-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(225,27,34,0.13);
    pointer-events: none;
}
.article-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
}
.article-hero-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.15s;
}
.article-hero-breadcrumb a:hover { color: #fff; }

.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
}
.article-hero-tag {
    background: rgba(225,27,34,0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
}
.article-read-time {
    background: #EEF3FF;
    color: #2563a8;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #d0dff8;
}
/* Article header inside card */
.article-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FFF0F0;
    color: #E11B22;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}


/* ============================================
   BOTTOM SHARE BAR
   ============================================ */
.article-share-bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #F0F2F5;
}
.article-share-bottom .share-label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1b;
}
.bottom-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    color: #4B5563;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    transition: all 0.2s;
    cursor: pointer;
}
.bottom-share-btn:hover {
    background: #E5E7EB;
    color: #1a1a1b;
}
.bottom-share-btn.fb { background: #E8F0FE; color: #1877F2; border-color: transparent; }
.bottom-share-btn.fb:hover { background: #d3e3fd; }
.bottom-share-btn.tw { background: #E1EFFE; color: #1DA1F2; border-color: transparent; }
.bottom-share-btn.tw:hover { background: #c3ddfd; }
/* ============================================
   ARTICLE TAGS
   ============================================ */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.article-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-right: 8px;
}
.article-tag {
    background: #fff;
    color: #1a1a1b;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    text-decoration: none;
    transition: all 0.2s;
}
.article-tag:hover {
    border-color: #E11B22;
    color: #E11B22;
}

/* ============================================
   HELPFUL FEEDBACK WIDGET
   ============================================ */
.article-helpful {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #E9ECEF;
}
.article-helpful-icon {
    font-size: 32px;
    color: #4267B2; /* Optional: adjust color as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.article-helpful-text {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.article-helpful-actions {
    display: flex;
    gap: 12px;
}
.helpful-btn {
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4B5563;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}
.helpful-btn:hover {
    background: #F3F4F6;
    color: #1a1a1b;
    border-color: #9CA3AF;
}
.helpful-btn.helpful-yes:hover {
    color: #059669; /* Green for thumbs up */
    border-color: #34D399;
}
.helpful-btn.helpful-no:hover {
    color: #DC2626; /* Red for thumbs down */
    border-color: #F87171;
}

@media (max-width: 576px) {
    .article-helpful {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 16px;
    }
}

/* ============================================
   ARTICLE NAVIGATION (Prev / Next)
   ============================================ */
.article-navigation {
    margin-top: 32px;
}
.nav-direction {
    font-size: 13px;
    color: #6B7280;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.nav-direction:hover {
    color: #E11B22;
}
.nav-content {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: center;
}
.nav-img {
    flex-shrink: 0;
    /* width: 120px; */
    /* height: 70px; */
    border-radius: 8px;
    /* overflow: hidden; */
    padding: 4px;
    background: #FFF0F0;
    color: #E11B22;
    font-size: 24px;
    border: 1px solid #E11B22;
}
.nav-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.nav-content:hover .nav-img img {
    transform: scale(1.05);
}
.nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.nav-content:hover .nav-title {
    color: #E11B22;
}
@media (max-width: 576px) {
    .article-navigation .col-6 {
        width: 100%;
        margin-bottom: 20px;
    }
    .nav-item-next { text-align: left !important; }
    .nav-item-next .nav-content { flex-direction: row !important; }
}
/*============SIDEBAR==============*/
.sidebar_news .sidebar-widget {
	background: #ffffff;
	border-radius: 12px;
	padding: 20px 15px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.sidebar_news .widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.sidebar_news .widget-title {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	text-transform: uppercase;
	margin: 0;
	letter-spacing: 0.5px;
}

.sidebar_news .widget-link-muted {
	font-size: 13px;
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s;
}

.sidebar_news .widget-link-muted:hover { color: #dc3545; }

.sidebar_news .widget-link-muted i { margin-left: 4px; color: #dc3545; }

.sidebar_news .widget-link-primary {
	font-size: 13px;
	font-weight: 600;
	color: #dc3545; /* Màu đỏ chủ đạo */
	text-decoration: none;
}

.sidebar_news .widget-link-primary:hover { color: #b02a37; }

/* --- BẢN TIN BỘ LỌC --- */
.sidebar_news .filter-tabs {
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
	border-bottom: 1px solid transparent;
	gap:5px
}

.sidebar_news .filter-tab {
	font-size: 11px;
	font-weight: 600;
	color: #475569;
	padding: 8px 12px;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.2s;
	text-decoration: none;
	text-align: center;
}

.sidebar_news .filter-tab.active {
	background-color: #fef2f2;
	color: #dc3545;
	position: relative;
}

.sidebar_news .filter-tab.active::after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 3px;
	background-color: #dc3545;
	border-radius: 2px;
}

.sidebar_news .filter-list-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px dashed #f1f5f9;
}

.sidebar_news .filter-list-item:last-child {
	border-bottom: none;
}
/* News */
.sidebar_news .news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.sidebar_news .news-item:last-child {
    border-bottom: none;
}
.sidebar_news .news-item:hover {
    opacity: 0.8;
}
.sidebar_news .news-img {
    width: 72px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.sidebar_news .news-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    background: rgba(200, 16, 46, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 4px;
}
.sidebar_news .news-title-text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 4px;
}
.sidebar_news .news-date {
    font-size: 11px;
    color: var(--gray);
}

.sidebar_news .company-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sidebar_news .company-logo {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.sidebar_news .company-name {
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
}

.sidebar_news .news-count {
	font-size: 13px;
	color: #64748b;
}

/* --- DỰ ÁN NỔI BẬT --- */
.sidebar_news .project-item {
	display: flex;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #f1f5f9;
	gap: 12px;
	text-decoration: none;
}

.sidebar_news .project-item:last-child {
	border-bottom: none;
}

.sidebar_news .project-thumb {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.sidebar_news .project-details {
	flex-grow: 1;
}

.sidebar_news .project-title {
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 2px;
}

.sidebar_news .project-location {
	font-size: 12px;
	color: #64748b;
}

.sidebar_news .badge-custom {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	background-color: #fef2f2;
	color: #dc3545;
	white-space: nowrap;
}

/* --- BÁO CÁO THỊ TRƯỜNG --- */
.sidebar_news .report-item {
	display: flex;
	align-items: center;
	padding: 16px 0;
	gap: 16px;
	text-decoration: none;
}

.sidebar_news .report-icon-wrapper {
	width: 48px;
	height: 48px;
	background-color: #f8f9fa;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sidebar_news .report-icon-wrapper img {
	width: 24px;
	height: 24px;
}

.sidebar_news .report-title {
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 4px;
	line-height: 1.4;
}

.sidebar_news .report-size {
	font-size: 12px;
	color: #64748b;
}
/*============END SIDEBAR==============*/
/*============SIDEBAR DETAIL==============*/
.sidebar_news .custom-widget {
    background: #ffffff;
    border: 1px solid #f1f3f5;
    border-radius: 12px;
    padding: 20px 15px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.sidebar_news .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar_news .category-item {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.sidebar_news .category-item:hover {
    color: #1e293b;
    background-color: #f8f9fa;
}

.sidebar_news .category-item.active {
    color: #dc3545;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(254,242,242,1) 0%, rgba(255,255,255,0) 100%);
    border-left: 3px solid #dc3545;
    border-radius: 0 6px 6px 0;
}

/* --- Style chung cho List Item (Tin tức, Dự án, CĐT) --- */
.sidebar_news .list-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed #f1f5f9;
    text-decoration: none;
    gap: 16px;
}

.sidebar_news .list-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar_news .list-item:first-of-type {
    padding-top: 0;
}

.sidebar_news .item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar_news .item-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* --- 2. TIN NỔI BẬT --- */
.sidebar_news .news-thumb {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

/* --- 3. DỰ ÁN LIÊN QUAN --- */
.sidebar_news .project-thumb {
    width: 72px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar_news .badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}

.sidebar_news .badge-green { background-color: #ecfdf5; color: #10b981; }
.sidebar_news .badge-orange { background-color: #fff7ed; color: #f97316; }

/* --- 4. CHỦ ĐẦU TƯ TIÊU BIỂU --- */
.sidebar_news .developer-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    object-fit: contain;
    padding: 4px;
    flex-shrink: 0;
}

/* --- 5. TÀI LIỆU LIÊN QUAN & CTA --- */
.sidebar_news .doc-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.sidebar_news .cta-box {
    background-color: #fef2f2;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sidebar_news .cta-title {
    font-size: 16px;
    font-weight: 700;
    color: #b02a37;
    margin-bottom: 8px;
}

.sidebar_news .cta-text {
    font-size: 13px;
    color: #475569;
    margin-bottom: 16px;
}

.sidebar_news .btn-cta {
    background-color: #b02a37;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.sidebar_news .btn-cta:hover {
    background-color: #90222c;
    color: #ffffff;
}
/*============END SIDEBAR DETAIL==============*/
/*=======DETAIL NEWS========*/
.box_img_resource {
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 12px;
	gap: 7px
}
.box_img_resource .box_left {
    width: calc(67% - 7px);
/*    padding-right: 7px;*/
}
.box_img_resource .image_resource_big a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.box_img_resource .image_resource_big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box_img_resource .image_resource_small {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
}
.box_img_resource .box_right {
    width: 33%;
}
.box_img_resource .image_resource_small .img_resource {
    position: relative;
    width: calc(100% / 3 - 2.5px);
}
.box_img_resource .image_resource_small .img_resource:first-child {
    width: 100%;
    /* margin-bottom: 7px; */
    min-height: calc(200% / 3);
}
.box_img_resource .img_resource img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box_img_resource .image_resource_small .img_resource {
    position: relative;
    width: calc(100% / 3 - 5px);
}
.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
@media screen and (max-width:767px){
	.article-title {
		font-size: 24px;
	}
	.box_img_resource .box_left,.box_img_resource .box_right{
		width:100%;
		padding:0px;
	}
	.box_img_resource,.box_img_resource .image_resource_small{
		gap:8px
	}
	.box_img_resource .image_resource_small .img_resource,
	.box_img_resource .image_resource_small .img_resource:first-child{
		width: calc(25% - 6px);
		margin-bottom: 0px;
	}
}
/*=======END DETAIL NEWS========*/
/*========QUICK ACCESS & TOPIC=========*/
.section-heading {
    font-size: 15px;
    font-weight: 700;
    color: #3b4256;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* --- Style cho TRUY CẬP NHANH --- */
.owl-carousel .owl-stage {
    padding: 10px 0;
}
.box_quick_access_news .quick-access-card {
    background: #ffffff;
    border: 1px solid #f1f3f5;
    border-radius: 12px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.box_quick_access_news .quick-access-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.box_quick_access_news .qa-icon-wrapper {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.05);
}

.box_quick_access_news .qa-content {
    margin-left: 8px;
}

.box_quick_access_news .qa-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.3;
}

.box_quick_access_news .qa-desc {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Style cho TIN TỨC THEO CHỦ ĐỀ --- */
.box_topic_news .topic-news-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 190px;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background-color: #f8f9fa;
}

.box_topic_news .topic-news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.box_topic_news .topic-news-card:hover img {
    transform: scale(1.05);
}

.box_topic_news .topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 16px;
    /* Tạo hiệu ứng chuyển mượt từ ảnh sang phần nền trắng chứa text */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,1) 100%);
}

.box_topic_news .topic-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.box_topic_news .topic-count {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .box_quick_access_news .qa-title { font-size: 12px; }
    .box_quick_access_news .qa-desc { font-size: 10px; }
}
/*========END QUICK ACCESS & TOPIC=========*/

/*======== START =========*/
/* ===== BLOCK ===== */
section.block {
    background: #fff;
    padding: 14px 14px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
@media (min-width: 992px) {
    section.block {
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 16px;
    }
}

/* ===== OWL NAV SHARED ===== */
.owl-carousel { position: relative; }
.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    background: #fff !important;
    border-radius: 50% !important;
    width: 30px; height: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    font-size: 16px !important;
    line-height: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.owl-carousel .owl-nav .owl-prev { left: -12px; }
.owl-carousel .owl-nav .owl-next { right: -12px; }
.owl-prev.disabled, .owl-next.disabled {
    display: none !important;
}
/* Hide nav arrows on mobile – swipe is enough */
@media (max-width: 767px) {
    .owl-carousel .owl-nav { display: none !important; }
}

/* ===== FEATURED PROJECTS ===== */
.project-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.project-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
@media (min-width: 768px) {
    .project-card img { height: 160px; }
}
.project-card .card-body { padding: 10px 10px 12px; }
.project-card .card-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 768px) {
    .project-card .card-title { font-size: 14px; }
}
.project-card .location {
    font-size: 11px;
    color: var(--text-muted-custom);
    margin-bottom: 6px;
}
.project-card .badge-new {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}
.project-card .badge-new span {
    background: #fff0f0;
    border-radius: 4px;
    padding: 1px 6px;
}

/* ===== Popular Topics ===== */
.topic-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f8fa;
    border-radius: 8px;
    padding: 9px 10px;
    cursor: pointer;
    transition: box-shadow .2s;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.topic-item:active { background: #eef0f4; color: inherit; }
@media (min-width: 992px) {
    .topic-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,.1); color: inherit; }
}
.topic-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.topic-icon.blue   { background: #e8f0fe; color: #4a90d9; }
.topic-icon.green  { background: #e6f9f0; color: #27ae60; }
.topic-icon.orange { background: #fff4e5; color: #f5a623; }
.topic-icon.purple { background: #f3e8fd; color: #9b59b6; }
.topic-icon.teal   { background: #e0f7f5; color: #1abc9c; }
.topic-icon.red    { background: #fde8e8; color: var(--primary); }
.topic-name {
    font-size: 14px;
    font-weight: 600;
}
.topic-count { font-size: 11px; color: var(--text-muted-custom); }

/* ===== REPORT & INSIGHT ===== */
/* Mobile: horizontal scroll row */
.report-scroll-wrap::-webkit-scrollbar { display: none; }
.report-scroll-wrap .report-col {
    flex: 0 0 72vw;
    max-width: 260px;
    scroll-snap-align: start;
}
@media (min-width: 992px) {
    .report-scroll-wrap {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible;
        margin: 0;
        padding: 0;
    }
    .report-scroll-wrap .report-col {
        flex: unset;
        max-width: unset;
    }
}
.report-card {
    border-radius: 10px;
    padding: 14px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}
.report-card.pink   { background: #fff0f2; }
.report-card.blue   { background: #eef4ff; }
.report-card.green  { background: #edfaf3; }
.report-card.yellow { background: #fffbea; }
.report-card h5 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}
.report-card p {
    font-size: 12px;
    color: #555;
    margin-bottom: 10px;
    flex: 1;
}
.report-card .btn-report {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 6px;
    padding: 4px 12px;
    text-decoration: none;
    width: fit-content;
}
@media (min-width: 992px) {
    .report-card .btn-report:hover { background: var(--primary); color: #fff; }
}
.report-icon {
    position: absolute;
    right: 10px; bottom: 10px;
    font-size: 36px;
    opacity: .13;
}

/* ===== VIDEO & PODCAST ===== */
.video-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.video-thumb {
    position: relative;
    overflow: hidden;
}
.video-thumb img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}
@media (min-width: 768px) {
    .video-thumb img { height: 120px; }
}
.video-duration {
    position: absolute;
    bottom: 6px; left: 8px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 4px;
}
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.85);
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.video-card .card-body { padding: 8px 10px 10px; }
.video-card .card-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
@media (min-width: 768px) {
    .video-card .card-title { font-size: 13px; }
}
.video-card .meta {
    font-size: 11px;
    color: var(--text-muted-custom);
}
.video-card .meta span { display: block; }

/* ===== TOPIC GRID ===== */
.topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 0;
}
@media (min-width: 576px) {
    .topic-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .topic-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ===== PROJECT CARDS ===== */
.featured_project .owl-carousel .owl-stage-outer{
    padding: 10px 0;
}
.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    animation: fadeInUp 0.5s ease both;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0px 13px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}
.card-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-card:hover .card-img-wrap img {
    transform: scale(1.06);
}
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-badge.soon {
    background: var(--orange);
}
.card-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.card-fav:hover {
    color: var(--red);
    transform: scale(1.15);
}
.card-body-custom {
    padding: 14px;
}
.card-title-custom {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text);
}
.card-location {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
}
.card-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--red);
}
.card-price span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
}
#projectCarousel.owl-carousel .owl-item {
    width: 100%;
    height: auto;
    display: flex;
}

#projectCarousel.owl-carousel .owl-item .project-card {
    width: 100%;
}

.owl_flex .owl-stage {
    display: flex !important;
}
/* Carousel nav */
.carousel-nav {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.carousel-nav:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.filter-tabs {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-tab {
    font-size: 13px;
    color: var(--gray);
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    font-weight: 500;
}
.filter-tab.active,.filter-tab.active:hover{
    background: var(--red);
    color: #fff;
    font-weight: 700;
}
.filter-tab:hover {
    color: var(--red);
    background: rgba(200, 16, 46, 0.08);
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
/* ===== END PROJECT CARDS ===== */
/* Card hover lift */
.card-hover {
    transition: box-shadow .2s, transform .2s;
}

.card-hover:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1) !important;
    transform: translateY(-2px);
}

/* Tab active brand */
.tab-link.active, .tab-link:hover {
    color: var(--bs-red) !important;
    border-bottom: 2px solid var(--bs-red);
    border-radius: 0 !important;
    font-weight: 600;
}

/* Pill active brand */
.pill-btn.active {
    background-color: var(--bs-red) !important;
    border-color: var(--bs-red) !important;
    color: #fff !important;
}

/* Quick card hover */
.quick-card {
    transition: background .15s, transform .15s;
    cursor: pointer;
}

.quick-card:hover {
    background: #eef2ff !important;
    transform: translateY(-1px);
}

.object-fit-none {
    object-fit: none !important;
}
.first-uppercase {
    text-transform: lowercase;
}

.first-uppercase::first-letter {
    text-transform: uppercase;
}

.news-thumb {
    width: 120px;
    min-width: 120px;
    height: 80px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-meta {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
}
.news-meta i {
    font-size: 13px;
    vertical-align: -1px;
}

@media (max-width: 991px) {
	.video_podcast,.report_insight {
		border-radius: 12px;
		margin-bottom: 24px !important;
	}
}
@media (max-width: 768px) {
    .news-thumb { width: 100%; height: 200px }
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    margin-right: 20px;
}

.tag-item {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #444;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.tag-item:hover {
    border-color: #aaa;
    color: #111;
}