/**
 * DECOFI Theme (NSSV3) — Khối Tin Tức Theo Chuyên Mục (global.block_news_cat)
 * 4 Kiểu Bố Cục Kiến Trúc Độc Lập (4 Architectural Editorial Styles):
 * - Style 1 (.decofi-news-block-s1): Tạp chí Tiêu điểm bất đối xứng (1 bài lớn bên trái + Danh sách bên phải)
 * - Style 2 (.decofi-news-block-s2): Lưới 3 cột Thẻ Tin Tức Kiến Trúc đồng đều (3-Column Architectural Grid)
 * - Style 3 (.decofi-news-block-s3): Cặp Bài Đôi Nổi Bật 2 cột (50/50) + Lưới Tin Nhanh bên dưới
 * - Style 4 (.decofi-news-block-s4): Bento Tin Nổi Bật phủ kính mờ trên ảnh + Lưới 2x2 Thẻ Tiêu Điểm
 * Brand Tokens: --c-primary (#ce2027) | --c-secondary (#14539a) | Fahkwang Font
 */

.decofi-home-news-section {
    position: relative;
    margin: 72px 0 80px;
    background-color: #ffffff;
}

.decofi-news-showcase {
    position: relative;
}

/* ==========================================================================
   1. HEADER BAR CHUNG CHO CẢ 4 STYLE: TIÊU ĐỀ RÃNH KIẾN TRÚC & NÚT XEM TẤT CẢ
   ========================================================================== */
.decofi-news-showcase .news-header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 32px;
}

.decofi-news-showcase .news-section-title {
    flex: 1;
    min-width: 240px;
    margin: 0 !important;
    text-transform: uppercase;
}

.decofi-news-showcase .news-header-action {
    flex-shrink: 0;
}

/* Nhãn chuyên mục, ngày đăng, chỉ số kỹ thuật //01 và nút Xem chi tiết dùng chung */
.decofi-news-showcase .news-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    padding: 5px 12px;
    background-color: rgba(20, 83, 154, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-left: 3px solid var(--c-primary, #ce2027);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    line-height: 1.25;
}

.decofi-news-showcase .news-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.decofi-news-showcase .news-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-primary, #ce2027);
}

.decofi-news-showcase .news-index-tag {
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.8px;
}

.decofi-news-showcase .news-readmore-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--c-secondary, #14539a);
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.decofi-news-showcase .news-readmore-link i {
    color: var(--c-primary, #ce2027);
    transition: transform 0.3s ease;
}

.decofi-news-showcase .news-readmore-link:hover {
    color: var(--c-primary, #ce2027);
}

.decofi-news-showcase .news-readmore-link:hover i {
    transform: translateX(6px);
}

.decofi-news-showcase .news-side-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.decofi-news-showcase .news-side-cat {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--c-primary, #ce2027);
}

.decofi-news-showcase .news-side-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.decofi-news-showcase .news-side-date {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

/* ==========================================================================
   2. STYLE 1 (.decofi-news-block-s1): TẠP CHÍ TIÊU ĐIỂM (1 BÀI LỚN + CỘT PHẢI)
   ========================================================================== */
.decofi-news-showcase .news-editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .decofi-news-showcase .news-editorial-grid {
        grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
        gap: 32px;
    }
}

.decofi-news-showcase .news-featured-col {
    display: flex;
    flex-direction: column;
}

.decofi-news-showcase .news-featured-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1.5px solid var(--c-border, #d9d9d9);
    border-top: 3px solid var(--c-secondary, #14539a);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.decofi-news-showcase .news-featured-card::after {
    content: "";
    position: absolute;
    bottom: 19px;
    right: -2px;
    width: 30px;
    height: 1.5px;
    background-color: var(--c-border, #d9d9d9);
    transform-origin: 100% 100%;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 3;
    transition: background-color 0.35s ease;
}

.decofi-news-showcase .news-featured-card:hover {
    border-color: var(--c-secondary, #14539a);
    border-top-color: var(--c-primary, #ce2027);
    box-shadow: 0 18px 40px rgba(20, 83, 154, 0.12);
    transform: translateY(-4px);
}

.decofi-news-showcase .news-featured-card:hover::after {
    background-color: var(--c-secondary, #14539a);
}

.decofi-news-showcase .news-featured-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9.5;
    overflow: hidden;
    background-color: #f1f5f9;
}

.decofi-news-showcase .news-featured-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.decofi-news-showcase .news-featured-card:hover .news-featured-thumb img {
    transform: scale(1.05);
}

.decofi-news-showcase .news-featured-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 28px 24px;
}

.decofi-news-showcase .news-featured-title {
    margin: 0 0 12px;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

@media (min-width: 1200px) {
    .decofi-news-showcase .news-featured-title {
        font-size: 21.5px;
    }
}

.decofi-news-showcase .news-featured-title a {
    color: var(--c-secondary, #14539a);
    text-decoration: none;
    transition: color 0.3s ease;
}

.decofi-news-showcase .news-featured-card:hover .news-featured-title a,
.decofi-news-showcase .news-featured-title a:hover {
    color: var(--c-primary, #ce2027);
}

.decofi-news-showcase .news-featured-excerpt {
    margin: 0 0 20px;
    font-size: 14.5px;
    line-height: 1.68;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.decofi-news-showcase .news-featured-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.decofi-news-showcase .news-side-col {
    display: flex;
    flex-direction: column;
}

.decofi-news-showcase .news-side-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}

.decofi-news-showcase .news-side-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 14px 9px 10px;
    background-color: #ffffff;
    border: 1.5px solid var(--c-border, #d9d9d9);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.decofi-news-showcase .news-side-item::after {
    content: "";
    position: absolute;
    bottom: 11px;
    right: -2px;
    width: 19px;
    height: 1.5px;
    background-color: var(--c-border, #d9d9d9);
    transform-origin: 100% 100%;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.decofi-news-showcase .news-side-item:hover {
    border-color: var(--c-secondary, #14539a);
    background-color: #f8fafc;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transform: translateX(4px);
}

.decofi-news-showcase .news-side-item:hover::after {
    background-color: var(--c-secondary, #14539a);
}

.decofi-news-showcase .news-side-thumb {
    position: relative;
    flex-shrink: 0;
    width: 118px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f1f5f9;
    display: block;
}

.decofi-news-showcase .news-side-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.decofi-news-showcase .news-side-item:hover .news-side-thumb img {
    transform: scale(1.07);
}

.decofi-news-showcase .news-side-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.decofi-news-showcase .news-side-title {
    margin: 0;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.42;
}

.decofi-news-showcase .news-side-title a {
    color: var(--c-secondary, #14539a);
    text-decoration: none;
    transition: color 0.25s ease;
}

.decofi-news-showcase .news-side-item:hover .news-side-title a,
.decofi-news-showcase .news-side-title a:hover {
    color: var(--c-primary, #ce2027);
}

/* ==========================================================================
   3. STYLE 2 (.decofi-news-block-s2): LƯỚI 3 CỘT THẺ TIN TỨC KIẾN TRÚC
   ========================================================================== */
.decofi-news-block-s2 .news-s2-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 640px) {
    .decofi-news-block-s2 .news-s2-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .decofi-news-block-s2 .news-s2-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }
}

.decofi-news-block-s2 .news-s2-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1.5px solid var(--c-border, #d9d9d9);
    border-top: 3px solid var(--c-secondary, #14539a);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.decofi-news-block-s2 .news-s2-card::after {
    content: "";
    position: absolute;
    bottom: 17px;
    right: -2px;
    width: 27px;
    height: 1.5px;
    background-color: var(--c-border, #d9d9d9);
    transform-origin: 100% 100%;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 3;
    transition: background-color 0.35s ease;
}

.decofi-news-block-s2 .news-s2-card:hover {
    border-color: var(--c-secondary, #14539a);
    border-top-color: var(--c-primary, #ce2027);
    box-shadow: 0 18px 40px rgba(20, 83, 154, 0.12);
    transform: translateY(-4px);
}

.decofi-news-block-s2 .news-s2-card:hover::after {
    background-color: var(--c-secondary, #14539a);
}

.decofi-news-block-s2 .news-s2-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f1f5f9;
}

.decofi-news-block-s2 .news-s2-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.decofi-news-block-s2 .news-s2-card:hover .news-s2-thumb img {
    transform: scale(1.06);
}

.decofi-news-block-s2 .news-s2-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 22px;
}

.decofi-news-block-s2 .news-s2-title {
    margin: 0 0 10px;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.44;
}

.decofi-news-block-s2 .news-s2-title a {
    color: var(--c-secondary, #14539a);
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.decofi-news-block-s2 .news-s2-card:hover .news-s2-title a {
    color: var(--c-primary, #ce2027);
}

.decofi-news-block-s2 .news-s2-excerpt {
    margin: 0 0 18px;
    font-size: 13.75px;
    line-height: 1.65;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.decofi-news-block-s2 .news-s2-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

/* ==========================================================================
   4. STYLE 3 (.decofi-news-block-s3): CẶP BÀI ĐÔI NỔI BẬT 2 CỘT + LƯỚI TIN NHANH
   ========================================================================== */
.decofi-home-news-section.decofi-news-block-s3 {
    margin-bottom: 160px;
}

.decofi-news-listing .news-featured-block-slot .decofi-home-news-section.decofi-news-block-s3 {
    margin-bottom: 72px !important;
}

.decofi-news-block-s3 .news-s3-dual-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 992px) {
    .decofi-news-block-s3 .news-s3-dual-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        margin-bottom: 25px;
    }
}

.decofi-news-block-s3 .news-s3-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    background-color: #f3f2ee;
    border: 1.5px solid #cbd5e1;
    border-top: 3.5px solid var(--c-primary, #ce2027);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    transition: all 0.35s ease;
}

.decofi-news-block-s3 .news-s3-hero-card::after {
    content: "";
    position: absolute;
    bottom: 19px;
    right: -2px;
    width: 30px;
    height: 1.5px;
    background-color: #cbd5e1;
    transform-origin: 100% 100%;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 3;
    transition: background-color 0.35s ease;
}

@media (min-width: 640px) {
    .decofi-news-block-s3 .news-s3-hero-card {
        grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
    }
}

.decofi-news-block-s3 .news-s3-hero-card:hover {
    background-color: #ffffff;
    border-color: var(--c-secondary, #14539a);
    border-top-color: var(--c-primary, #ce2027);
    box-shadow: 0 18px 40px rgba(20, 83, 154, 0.12);
    transform: translateY(-3px);
}

.decofi-news-block-s3 .news-s3-hero-card:hover::after {
    background-color: var(--c-secondary, #14539a);
}

.decofi-news-block-s3 .news-s3-hero-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 210px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.decofi-news-block-s3 .news-s3-hero-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.65s ease;
}

.decofi-news-block-s3 .news-s3-hero-card:hover .news-s3-hero-thumb img {
    transform: scale(1.06);
}

.decofi-news-block-s3 .news-s3-hero-body {
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
}

.decofi-news-block-s3 .news-s3-hero-title {
    margin: 0 0 10px;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.42;
}

.decofi-news-block-s3 .news-s3-hero-title a {
    color: var(--c-secondary, #14539a);
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.decofi-news-block-s3 .news-s3-hero-card:hover .news-s3-hero-title a {
    color: var(--c-primary, #ce2027);
}

.decofi-news-block-s3 .news-s3-hero-excerpt {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.decofi-news-block-s3 .news-s3-hero-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
}

.decofi-news-block-s3 .news-s3-sub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .decofi-news-block-s3 .news-s3-sub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 24px;
    }
}

.decofi-news-block-s3 .news-s3-sub-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px 10px 14px;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-left: 3.5px solid var(--c-secondary, #14539a);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    transition: all 0.28s ease;
}

.decofi-news-block-s3 .news-s3-sub-item::after {
    content: "";
    position: absolute;
    bottom: 11px;
    right: -2px;
    width: 19px;
    height: 1.5px;
    background-color: #e2e8f0;
    transform-origin: 100% 100%;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 2;
    transition: background-color 0.28s ease;
}

.decofi-news-block-s3 .news-s3-sub-item:hover {
    border-color: var(--c-secondary, #14539a);
    border-left-color: var(--c-primary, #ce2027);
    background-color: #f8fafc;
    box-shadow: 0 10px 24px rgba(20, 83, 154, 0.08);
    transform: translateX(4px);
}

.decofi-news-block-s3 .news-s3-sub-item:hover::after {
    background-color: var(--c-secondary, #14539a);
}

.decofi-news-block-s3 .news-s3-sub-index {
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
}

.decofi-news-block-s3 .news-s3-sub-thumb {
    width: 96px;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #f1f5f9;
    display: block;
}

.decofi-news-block-s3 .news-s3-sub-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.45s ease;
}

.decofi-news-block-s3 .news-s3-sub-item:hover .news-s3-sub-thumb img {
    transform: scale(1.07);
}

.decofi-news-block-s3 .news-s3-sub-body {
    flex: 1;
    min-width: 0;
}

.decofi-news-block-s3 .news-s3-sub-title {
    margin: 0;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
}

.decofi-news-block-s3 .news-s3-sub-title a {
    color: var(--c-secondary, #14539a);
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.decofi-news-block-s3 .news-s3-sub-item:hover .news-s3-sub-title a {
    color: var(--c-primary, #ce2027);
}

/* ==========================================================================
   5. STYLE 4 (.decofi-news-block-s4): BENTO TIN NỔI BẬT PHỦ KÍNH MỜ & LƯỚI 2x2
   ========================================================================== */
.decofi-news-block-s4 .news-s4-surface {
    position: relative;
    padding: 32px 28px;
    background-color: #f3f2ee;
    border: 1.5px solid #cbd5e1;
    border-top: 4px solid var(--c-secondary, #14539a);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.decofi-news-block-s4 .news-s4-surface::after {
    content: "";
    position: absolute;
    bottom: 22.5px;
    right: -2.5px;
    width: 36px;
    height: 1.5px;
    background-color: #cbd5e1;
    transform-origin: 100% 100%;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 767px) {
    .decofi-home-news-section {
        margin: 44px 0 52px;
    }

    .decofi-home-news-section.decofi-news-block-s3 {
        margin-bottom: 56px;
    }

    .decofi-news-showcase .news-header-bar {
        margin-bottom: 20px;
        gap: 12px 16px;
    }

    .decofi-news-showcase .news-section-title {
        min-width: 0;
    }

    .decofi-news-showcase .news-featured-body,
    .decofi-news-block-s2 .news-s2-body,
    .decofi-news-block-s3 .news-s3-hero-body {
        padding: 16px 16px 18px;
    }

    .decofi-news-showcase .news-featured-title {
        font-size: 17.5px;
    }

    .decofi-news-showcase .news-side-thumb {
        width: 96px;
    }

    .decofi-news-showcase .news-side-title {
        font-size: 13.5px;
    }

    .decofi-news-block-s4 .news-s4-surface {
        padding: 20px 14px;
    }

    .decofi-news-block-s4 .news-s4-lead-card {
        min-height: 320px;
    }
}

.decofi-news-block-s4 .news-s4-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .decofi-news-block-s4 .news-s4-bento-grid {
        grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr);
        gap: 28px;
    }
}

.decofi-news-block-s4 .news-s4-lead-col {
    display: flex;
    flex-direction: column;
}

.decofi-news-block-s4 .news-s4-lead-card {
    position: relative;
    flex: 1;
    min-height: 410px;
    overflow: hidden;
    background-color: #0f172a;
    border: 1.5px solid var(--c-secondary, #14539a);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.decofi-news-block-s4 .news-s4-lead-card::after {
    content: "";
    position: absolute;
    bottom: 19px;
    right: -2px;
    width: 30px;
    height: 1.5px;
    background-color: var(--c-secondary, #14539a);
    transform-origin: 100% 100%;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 4;
}

.decofi-news-block-s4 .news-s4-lead-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.decofi-news-block-s4 .news-s4-lead-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.decofi-news-block-s4 .news-s4-lead-card:hover .news-s4-lead-media img {
    transform: scale(1.06);
}

.decofi-news-block-s4 .news-s4-lead-overlay {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 24px 24px;
    background: linear-gradient(180deg,
            rgba(8, 20, 42, 0.02) 0%,
            rgba(8, 20, 42, 0.08) 46%,
            rgba(8, 20, 42, 0.52) 72%,
            rgba(8, 20, 42, 0.84) 100%);
    pointer-events: none;
}

.decofi-news-block-s4 .news-s4-lead-badges,
.decofi-news-block-s4 .news-s4-lead-content {
    pointer-events: auto;
}

.decofi-news-block-s4 .news-s4-lead-content {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.decofi-news-block-s4 .news-s4-lead-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.decofi-news-block-s4 .news-s4-spotlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background-color: var(--c-primary, #ce2027);
    color: #ffffff;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}

.decofi-news-block-s4 .news-s4-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background-color: rgba(20, 83, 154, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.decofi-news-block-s4 .news-s4-lead-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fca5a5;
}

.decofi-news-block-s4 .news-s4-lead-num {
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
}

.decofi-news-block-s4 .news-s4-lead-title {
    margin: 0 0 12px;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.38;
}

.decofi-news-block-s4 .news-s4-lead-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.decofi-news-block-s4 .news-s4-lead-card:hover .news-s4-lead-title a {
    color: #fca5a5 !important;
}

.decofi-news-block-s4 .news-s4-lead-excerpt {
    margin: 0 0 18px;
    font-size: 13.75px;
    line-height: 1.62;
    color: rgba(241, 245, 249, 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.decofi-news-block-s4 .news-s4-lead-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px);
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.decofi-news-block-s4 .news-s4-lead-cta::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -1.5px;
    width: 12px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.35);
    transform-origin: 0 0;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 2;
    transition: background-color 0.25s ease;
}

.decofi-news-block-s4 .news-s4-lead-cta:hover {
    background-color: var(--c-primary, #ce2027);
    border-color: var(--c-primary, #ce2027);
}

.decofi-news-block-s4 .news-s4-lead-cta:hover::before {
    background-color: var(--c-primary, #ce2027);
}

/* Lưới 2x2 Thẻ Tin Nổi Bật bên phải của Style 4 */
.decofi-news-block-s4 .news-s4-tiles-col {
    display: flex;
    flex-direction: column;
}

.decofi-news-block-s4 .news-s4-tiles-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .decofi-news-block-s4 .news-s4-tiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

.decofi-news-block-s4 .news-s4-tile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-top: 3px solid var(--c-secondary, #14539a);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    transition: all 0.3s ease;
}

.decofi-news-block-s4 .news-s4-tile-card::after {
    content: "";
    position: absolute;
    bottom: 13px;
    right: -2px;
    width: 22px;
    height: 1.5px;
    background-color: #cbd5e1;
    transform-origin: 100% 100%;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 3;
    transition: background-color 0.3s ease;
}

.decofi-news-block-s4 .news-s4-tile-card:hover {
    border-color: var(--c-secondary, #14539a);
    border-top-color: var(--c-primary, #ce2027);
    box-shadow: 0 12px 28px rgba(20, 83, 154, 0.12);
    transform: translateY(-3px);
}

.decofi-news-block-s4 .news-s4-tile-card:hover::after {
    background-color: var(--c-secondary, #14539a);
}

.decofi-news-block-s4 .news-s4-tile-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9.2;
    overflow: hidden;
    background-color: #e2e8f0;
}

.decofi-news-block-s4 .news-s4-tile-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.55s ease;
}

.decofi-news-block-s4 .news-s4-tile-card:hover .news-s4-tile-thumb img {
    transform: scale(1.06);
}

.decofi-news-block-s4 .news-s4-tile-num {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 3;
    padding: 2px 8px;
    background-color: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 10.5px;
    font-weight: 700;
}

.decofi-news-block-s4 .news-s4-tile-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.decofi-news-block-s4 .news-s4-tile-title {
    margin: 0;
    font-family: var(--font-main, 'Fahkwang', sans-serif);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
}

.decofi-news-block-s4 .news-s4-tile-title a {
    color: var(--c-secondary, #14539a);
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.decofi-news-block-s4 .news-s4-tile-card:hover .news-s4-tile-title a {
    color: var(--c-primary, #ce2027);
}

/* ==========================================================================
   6. RESPONSIVE MOBILE CHUNG
   ========================================================================== */
@media (max-width: 767px) {
    .decofi-home-news-section {
        margin: 48px 0 56px;
    }

    .decofi-news-showcase .news-header-bar {
        margin-bottom: 24px;
    }

    .decofi-news-showcase .news-featured-body {
        padding: 18px 20px 20px;
    }

    .decofi-news-showcase .news-featured-title {
        font-size: 17.5px;
    }

    .decofi-news-showcase .news-side-item {
        padding: 10px 12px 10px 10px;
        gap: 12px;
    }

    .decofi-news-showcase .news-side-thumb {
        width: 108px;
    }

    .decofi-news-showcase .news-side-title {
        font-size: 13.5px;
    }
}

/* ==========================================================================
   7. NÚT PLAY OVERLAY CHO BÀI VIẾT VIDEO TRONG BLOCK TIN TỨC
   ========================================================================== */
.decofi-news-showcase .news-featured-thumb,
.decofi-news-showcase .news-side-thumb,
.decofi-news-showcase .news-s2-thumb,
.decofi-news-showcase .news-s3-hero-thumb,
.decofi-news-showcase .news-s3-sub-thumb,
.decofi-news-showcase .news-s4-lead-media,
.decofi-news-showcase .news-s4-tile-thumb {
    position: relative;
}

@keyframes decofiBlockPlayPulseRing {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.45;
    }
    100% {
        transform: scale(1.62);
        opacity: 0;
    }
}

.decofi-news-showcase .news-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(206, 32, 39, 0.92);
    color: #ffffff;
    border: 2.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.35);
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.45s ease, box-shadow 0.45s ease;
}

.decofi-news-showcase .news-video-play-btn::before,
.decofi-news-showcase .news-video-play-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.72);
    background-color: rgba(206, 32, 39, 0.18);
    z-index: -1;
    pointer-events: none;
    will-change: transform, opacity;
    animation: decofiBlockPlayPulseRing 3.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.decofi-news-showcase .news-video-play-btn::after {
    animation-delay: 1.9s;
}

.decofi-news-showcase .news-video-play-btn i {
    position: relative;
    z-index: 2;
    font-size: 20px;
    margin-left: 3px;
    line-height: 1;
    color: #ffffff;
}

.decofi-news-showcase .news-video-play-btn.is-sm {
    width: 36px;
    height: 36px;
    border-width: 2px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
}

.decofi-news-showcase .news-video-play-btn.is-sm i {
    font-size: 13px;
    margin-left: 2px;
}

.decofi-news-showcase .news-featured-card:hover .news-video-play-btn,
.decofi-news-showcase .news-side-item:hover .news-video-play-btn,
.decofi-news-showcase .news-s2-card:hover .news-video-play-btn,
.decofi-news-showcase .news-s3-hero-card:hover .news-video-play-btn,
.decofi-news-showcase .news-s3-sub-item:hover .news-video-play-btn,
.decofi-news-showcase .news-s4-lead-card:hover .news-video-play-btn,
.decofi-news-showcase .news-s4-tile-card:hover .news-video-play-btn {
    background-color: var(--c-secondary, #14539a);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 14px 32px rgba(20, 83, 154, 0.45);
}

.decofi-news-showcase .news-featured-card:hover .news-video-play-btn::before,
.decofi-news-showcase .news-featured-card:hover .news-video-play-btn::after,
.decofi-news-showcase .news-side-item:hover .news-video-play-btn::before,
.decofi-news-showcase .news-side-item:hover .news-video-play-btn::after,
.decofi-news-showcase .news-s2-card:hover .news-video-play-btn::before,
.decofi-news-showcase .news-s2-card:hover .news-video-play-btn::after,
.decofi-news-showcase .news-s3-hero-card:hover .news-video-play-btn::before,
.decofi-news-showcase .news-s3-hero-card:hover .news-video-play-btn::after,
.decofi-news-showcase .news-s3-sub-item:hover .news-video-play-btn::before,
.decofi-news-showcase .news-s3-sub-item:hover .news-video-play-btn::after,
.decofi-news-showcase .news-s4-lead-card:hover .news-video-play-btn::before,
.decofi-news-showcase .news-s4-lead-card:hover .news-video-play-btn::after,
.decofi-news-showcase .news-s4-tile-card:hover .news-video-play-btn::before,
.decofi-news-showcase .news-s4-tile-card:hover .news-video-play-btn::after {
    background-color: rgba(20, 83, 154, 0.38);
    border-color: rgba(255, 255, 255, 0.95);
}