/* ==========================================================================
   EDITORIAL NEWS & CATEGORIES STYLESHEET
   ========================================================================== */

/* ==========================================================================
   FEATURED EDITORIAL NEWS (Ngay dưới Top Hero)
   ========================================================================== */

.featured-editorial-section {
    padding: 24px 0;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2;
    transition: background-color 0.35s ease;
}

.featured-news-card {
    display: grid;
    grid-template-columns: 66.67% 1fr;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s ease;
}

    .featured-news-card:hover {
        transform: translateY(-4px);
        border-color: var(--border-active);
        box-shadow: var(--card-shadow-hover);
    }

/* Left: Large Thumbnail */
.featured-news-thumb-wrap {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    max-height: 440px;
    background: var(--bg-secondary-alt);
}

.featured-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.featured-news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-news-card:hover .featured-news-thumb {
    transform: scale(1.04);
}

.featured-tag-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--pink);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(234, 76, 137, 0.4);
    pointer-events: none;
    z-index: 2;
}

/* Right: Content */
.featured-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.featured-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.featured-category {
    color: var(--pink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-meta-divider {
    color: var(--text-muted);
    opacity: 0.6;
    font-size: 0.8rem;
}

.featured-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

    .featured-date .meta-icon {
        width: 14px;
        height: 14px;
    }

.featured-news-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.25s ease;
}

.featured-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

    .featured-title-link:hover {
        color: var(--pink);
    }

.featured-news-desc {
    font-size: clamp(0.96rem, 1.15vw, 1.08rem);
    line-height: 1.72;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

.featured-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.featured-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--pink);
    text-decoration: none;
    transition: all 0.25s ease;
}

    .featured-readmore-btn svg {
        width: 16px;
        height: 16px;
        transition: transform 0.25s ease;
    }

    .featured-readmore-btn:hover {
        color: var(--pink-hover);
        transform: translateX(3px);
    }

        .featured-readmore-btn:hover svg {
            transform: translateX(4px);
        }

.featured-read-time {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive for Featured News */
@media (max-width: 960px) {
    .featured-news-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .featured-news-thumb-wrap {
        max-height: 380px;
    }
}

@media (max-width: 600px) {
    .featured-editorial-section {
        padding: 18px 0;
    }

    .featured-news-card {
        padding: 18px;
        border-radius: 18px;
    }

    .featured-news-thumb-wrap {
        border-radius: 14px;
        max-height: 260px;
    }
}


/* ==========================================================================
   FEATURED SUB-NEWS GRID (3 Tin nhỏ dưới Tin Tiêu Điểm)
   ========================================================================== */

.featured-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.featured-sub-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    /* padding: 16px; */
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s ease;
}

    .featured-sub-card:hover {
        transform: translateY(-4px);
        border-color: var(--border-active);
        box-shadow: var(--card-shadow-hover);
    }

.featured-sub-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 10 / 16;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-secondary-alt);
}

.featured-sub-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-sub-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-sub-thumb-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 33%);
    pointer-events: none;
    z-index: 2;
}

.featured-sub-card:hover .featured-sub-thumb {
    transform: scale(1.06);
}

.featured-sub-content {
    /* display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 4px 4px;
  gap: 10px; */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    z-index: 3;
    transition: opacity 0.35s ease, transform 0.35s ease;
}


.featured-sub-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.featured-sub-category {
    color: var(--pink);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.featured-sub-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.42;
    color: #ffffff !important;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-sub-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

    .featured-sub-title-link:hover {
        color: var(--pink);
    }

.featured-sub-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-sub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.featured-sub-read-time {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.featured-sub-arrow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

    .featured-sub-arrow-link svg {
        width: 14px;
        height: 14px;
        transition: transform 0.25s ease;
    }

.featured-sub-card:hover .featured-sub-arrow-link {
    background: var(--pink);
    color: #ffffff;
    transform: translateX(2px);
}

    .featured-sub-card:hover .featured-sub-arrow-link svg {
        transform: translateX(1px);
    }

@media (max-width: 960px) {
    .featured-sub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 24px;
    }
}

@media (max-width: 600px) {
    .featured-sub-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
    }

    .featured-sub-card {
        /* padding: 14px; */
        border-radius: 16px;
    }
}

/* ==========================================================================
   TRENDING & POPULAR NEWS SECTION (Dribbble Editorial Design Style)
   ========================================================================== */

.trending-section {
    padding: 32px 0;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2;
    transition: background-color 0.35s ease;
}

.trending-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 36px;
    align-items: start;
}

.trending-column {
    display: flex;
    flex-direction: column;
}

/* Dribbble Style Headers */
.trending-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
}

.trending-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 10px var(--pink);
    animation: pulseGlow 2s infinite ease-in-out;
}

.trending-col-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.35s ease;
    text-transform: uppercase;
}

.trending-count-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(234, 76, 137, 0.08);
    color: var(--pink);
    border: 1px solid rgba(234, 76, 137, 0.22);
    letter-spacing: 0.02em;
}

.trending-trend-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

    .trending-trend-icon svg {
        width: 14px;
        height: 14px;
    }

.trending-badge-live {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.22);
}

/* ==========================================================================
   CỘT TRÁI: Dribbble Shot Cards Grid (4 Tin)
   ========================================================================== */

.interested-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 1080px) {
    .interested-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.interested-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    padding: 14px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s ease;
}

    .interested-card:hover {
        transform: translateY(-6px);
        border-color: rgba(234, 76, 137, 0.35);
        box-shadow: 0 18px 40px rgba(13, 12, 34, 0.09), 0 4px 14px rgba(234, 76, 137, 0.08);
    }

.interested-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary-alt);
}

.interested-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.interested-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.interested-card:hover .interested-thumb {
    transform: scale(1.06);
}

/* Dribbble Pill Badge */
.interested-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(13, 12, 34, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pink);
    display: inline-block;
}

/* Dribbble Shot Action Button */
.dribbble-action-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #0d0c22;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.25s var(--transition-smooth);
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

    .dribbble-action-btn svg {
        width: 15px;
        height: 15px;
        transition: transform 0.2s ease;
    }

.interested-card:hover .dribbble-action-btn {
    opacity: 1;
    transform: scale(1);
}

.dribbble-action-btn:hover {
    background: var(--pink);
    color: #ffffff;
    border-color: var(--pink);
    transform: scale(1.08);
}

/* Card Body */
.interested-content {
    padding: 14px 4px 2px 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.interested-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.36;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    transition: color 0.25s ease;
}

    .interested-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.25s ease;
    }

        .interested-title a:hover {
            color: var(--pink);
        }

.interested-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
}

/* Dribbble Card Footer */
.interested-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: auto;
}

.interested-read-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .interested-read-time svg {
        width: 13px;
        height: 13px;
        opacity: 0.7;
    }

.interested-engagement {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-weight: 600;
}

    .interested-engagement svg {
        width: 13px;
        height: 13px;
        color: var(--pink);
        fill: rgba(234, 76, 137, 0.15);
    }

/* ==========================================================================
   CỘT PHẢI: Tin tức Địa phương (Giao diện ảnh ref + Dribbble Aesthetics)
   ========================================================================== */

.local-news-card-wrap {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 10px 16px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    gap: 0;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

    .local-news-card-wrap:hover {
        border-color: var(--border-active);
        box-shadow: var(--card-shadow-hover);
    }

.local-news-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: all 0.25s var(--transition-smooth);
}

    .local-news-item:last-child {
        border-bottom: none;
    }

    .local-news-item:hover {
        background: var(--bg-secondary-alt);
        transform: translateX(4px);
    }

.local-news-thumb-link {
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}

.local-news-thumb-wrap {
    width: 136px;
    height: 94px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary-alt);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.local-news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.local-news-item:hover .local-news-thumb {
    transform: scale(1.06);
}

.local-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.local-news-title {
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

    .local-news-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .local-news-item:hover .local-news-title a,
        .local-news-title a:hover {
            color: var(--pink);
        }

.local-news-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.local-news-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--pink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

[data-theme="dark"] .local-news-location {
    color: #f87171;
}

.location-pin-icon {
    width: 14px;
    height: 14px;
    color: var(--pink);
    flex-shrink: 0;
}

[data-theme="dark"] .location-pin-icon {
    color: #f87171;
}

.local-news-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 1080px) {
    .trending-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .local-news-card-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .local-news-item {
        border-bottom: none;
        border: 1px solid var(--border-subtle);
        border-radius: 14px;
        padding: 12px;
    }
}

@media (max-width: 640px) {
    .local-news-card-wrap {
        grid-template-columns: 1fr;
        padding: 12px;
        border-radius: 16px;
    }

    .local-news-thumb-wrap {
        width: 110px;
        height: 80px;
    }

    .local-news-title {
        font-size: 0.88rem;
    }
}

/* ==========================================================================
   CỘT PHẢI: Compact Ranked Feed & Trending Tags Widget
   ========================================================================== */

.most-read-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

.most-read-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 10px 10px;
    border-radius: 12px;
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

    .most-read-item:last-child {
        border-bottom: none;
    }

    .most-read-item:hover {
        background: var(--bg-secondary-alt);
        border-color: transparent;
        transform: translateX(3px);
    }

/* Square rank box as in reference screenshot */
.rank-badge {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #1c1b2c;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1px;
}

[data-theme="light"] .rank-badge {
    background: #141324;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(13, 12, 34, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.rank-top-1 .rank-badge {
    border-color: rgba(234, 76, 137, 0.45);
}

.most-read-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.most-read-title {
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-body);
    transition: color 0.2s ease;
}

    .most-read-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .most-read-title a:hover {
            color: var(--pink);
        }

/* Meta: author/cat in green, date in muted text (theo style ref ảnh) */
.most-read-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.most-read-author-cat {
    color: #10b981;
    letter-spacing: 0.05em;
}

[data-theme="dark"] .most-read-author-cat {
    color: #34d399;
}

.most-read-date {
    color: var(--text-muted);
    font-weight: 500;
}

/* Dribbble Trending Tags Widget */
.trending-tags-widget {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-subtle);
}

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

.tags-widget-title {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.tags-explore-link {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--pink);
    text-decoration: none;
    transition: color 0.2s ease;
}

    .tags-explore-link:hover {
        color: var(--pink-hover);
        text-decoration: underline;
    }

.trending-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.trending-pill-tag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--bg-secondary-alt);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: all 0.2s ease;
}

    .trending-pill-tag:hover {
        background: var(--pink);
        color: #ffffff;
        border-color: var(--pink);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(234, 76, 137, 0.25);
    }

    .trending-pill-tag.active {
        background: rgba(234, 76, 137, 0.1);
        color: var(--pink);
        border-color: rgba(234, 76, 137, 0.25);
    }

/* Responsive for Trending Section */
@media (max-width: 1024px) {
    .trending-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .most-read-card {
        padding: 20px 20px;
    }
}

@media (max-width: 680px) {
    .interested-news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .interested-card {
        padding: 12px;
    }

    .rank-badge {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   CATEGORIES SECTIONS (NYT EDITORIAL LAYOUTS + DRIBBLE AESTHETICS)
   ========================================================================== */

/* Outer Sections Wrapper */
.categories-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

/* Individual Full-Width Category Section */
.category-section {
    width: 100%;
    padding: 24px 0;
    position: relative;
    background: var(--bg-primary);
    transition: background var(--transition-normal);
}

    /* Alternating subtle background tint for rhythmic visual flow */
    .category-section.alt-bg {
        background: var(--bg-secondary);
    }

/* Section Header (Dribbble + Editorial Title Bar) */
.category-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.trending-right-col .category-header {
    padding-top: 25px;
}

.category-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    padding-bottom: 15px;
}

    .category-title-wrap::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--pink);
        border-radius: 2px;
    }

.category-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pink);
}

    .category-tag-pill::before {
        content: "";
        display: inline-block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--pink);
        box-shadow: 0 0 8px var(--pink);
    }

.category-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
    /* text-transform: uppercase; */
}

.category-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition: all 0.25s var(--transition-smooth);
}

    .category-explore-btn svg {
        width: 14px;
        height: 14px;
        transition: transform 0.25s ease;
    }

    .category-explore-btn:hover {
        color: #ffffff;
        background: var(--pink);
        border-color: var(--pink);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(234, 76, 137, 0.35);
    }

        .category-explore-btn:hover svg {
            transform: translateX(3px);
        }

/* ==========================================================================
   COMMON EDITORIAL CARD COMPONENTS
   ========================================================================== */
.nyt-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), border-color 0.3s ease;
    position: relative;
}

    .nyt-card:hover {
        transform: translateY(-5px);
        border-color: var(--border-active);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    }

[data-theme="dark"] .nyt-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(234, 76, 137, 0.12);
}

.nyt-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background: #121120;
}

.nyt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Keeps subject faces intact without awkward cutting */
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nyt-card:hover .nyt-thumb {
    transform: scale(1.05);
}

/* Helpers for specific photo focal points */
.focus-top {
    object-position: center 15% !important;
}

.focus-center {
    object-position: center center !important;
}

.focus-portrait {
    object-position: center 20% !important;
}

.nyt-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nyt-pill-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.nyt-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(234, 76, 137, 0.12);
    color: var(--pink);
}

.nyt-headline {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0 0 10px;
    transition: color 0.25s ease;
}

.nyt-card:hover .nyt-headline {
    color: var(--pink);
}

.nyt-excerpt {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 5; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
}

/* Ensure no trailing margin on card contents */
.nyt-card-body > :last-child,
.opinion-lead-body > :last-child,
.opinion-row-body > :last-child,
.policy-dossier-body > :last-child,
.spotlight-banner-body > :last-child,
.panorama-content > :last-child {
    margin-bottom: 0 !important;
}

.nyt-byline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nyt-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   1. LAYOUT: BÌNH LUẬN (.layout-opinion-col) - NYT Op-Ed 2 Balanced Columns
   ========================================================================== */
.layout-opinion-col {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.opinion-lead-card {
    height: 100%;
}

.opinion-lead-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.opinion-lead-thumb-wrap {
    aspect-ratio: 16 / 10;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #121120;
}

.opinion-lead-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.opinion-lead-headline {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.32;
    margin-bottom: 12px;
}

.opinion-lead-excerpt {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 4; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
}

.opinion-lead-byline {
    margin-top: auto;
    font-size: 0.84rem;
}

/* Right Column: Balanced Analytical Cards (Matching Total Height) */
.opinion-stack-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.opinion-row-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all 0.25s var(--transition-smooth);
}

    .opinion-row-card:hover {
        transform: translateY(-3px);
        border-color: var(--border-active);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

.opinion-row-link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 16px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.opinion-row-thumb-wrap {
    width: 33.33%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #121120;
}

.opinion-row-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.opinion-row-card:hover .opinion-row-thumb {
    transform: scale(1.06);
}

.opinion-row-body {
    /* padding: 0 4px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.opinion-row-headline {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.36;
    color: var(--text-primary);
    margin: 0 0 8px;
    transition: color 0.2s ease;
}

.opinion-row-card:hover .opinion-row-headline {
    color: var(--pink);
}

.opinion-row-excerpt {
    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 12px;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
}

.opinion-row-byline {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* ==========================================================================
   2. LAYOUT: NỀN TẢNG TƯ TƯỞNG CỦA ĐẢNG (.layout-policy-dossier)
   Prestigious 2x2 Horizontal Policy Dossier Grid (100% Unique & Balanced)
   ========================================================================== */
.layout-policy-dossier {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.policy-dossier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--transition-smooth);
}

    .policy-dossier-card:hover {
        transform: translateY(-4px);
        border-color: var(--border-active);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
    }

    .policy-dossier-card.is-featured {
        border-color: rgba(234, 76, 137, 0.35);
        background: linear-gradient(135deg, var(--bg-card) 0%, rgba(234, 76, 137, 0.04) 100%);
    }

.policy-dossier-link {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 16px;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.policy-dossier-thumb-wrap {
    width: 33.33%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #121120;
    flex-shrink: 0;
}

.policy-dossier-thumb {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.policy-dossier-card:hover .policy-dossier-thumb {
    transform: scale(1.06);
}

.policy-dossier-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
}

.policy-dossier-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.policy-dossier-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pink);
    background: rgba(234, 76, 137, 0.1);
    padding: 3px 10px;
    border-radius: 999px;
}

.policy-dossier-card.is-featured .policy-dossier-tag {
    background: linear-gradient(135deg, #e53935, #ff9800);
    color: #ffffff;
}

.policy-dossier-readtime {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.policy-dossier-headline {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.36;
    color: var(--text-primary);
    margin: 0 0 8px;
    transition: color 0.2s ease;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
}

.policy-dossier-card:hover .policy-dossier-headline {
    color: var(--pink);
}

.policy-dossier-excerpt {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 12px;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
}

.policy-dossier-byline {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   3. LAYOUT: VIỆT NAM TRONG MẮT BẠN BÈ (.layout-bento-mosaic) - 4 Cards 16/10
   ========================================================================== */
.layout-bento-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .bento-card .nyt-thumb-wrap {
        aspect-ratio: 16 / 10;
    }

    .bento-card .nyt-headline {
        font-size: 1.15rem;
    }

/* ==========================================================================
   4. LAYOUT: NGƯỜI VIỆT TRẺ (.layout-spotlight-deck) - Spotlight Banner + 3 Cards
   ========================================================================== */
.layout-spotlight-deck {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.spotlight-banner-card {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition-smooth);
}

    .spotlight-banner-card:hover {
        transform: translateY(-4px);
        border-color: var(--border-active);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    }

.spotlight-banner-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background: #121120;
}

.spotlight-banner-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-banner-card:hover .spotlight-banner-thumb {
    transform: scale(1.05);
}

.spotlight-banner-body {
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .spotlight-banner-body .nyt-headline {
        font-size: 1.55rem;
        margin-bottom: 12px;
    }

.spotlight-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.spotlight-sub-card .nyt-thumb-wrap {
    aspect-ratio: 16 / 10;
}

.spotlight-sub-card .nyt-headline {
    font-size: 1.05rem;
}

/* ==========================================================================
   5. LAYOUT: NGƯỜI VIỆT TRUYỀN CẢM HỨNG (.layout-profile-deck) - 3 Profiles 16/10
   ========================================================================== */
.layout-profile-deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .profile-card .nyt-thumb-wrap {
        aspect-ratio: 16 / 10;
    }

.profile-quote-badge {
    display: inline-block;
    font-style: italic;
    font-size: 0.88rem;
    color: #ff9800;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.45;
}

/* ==========================================================================
   6. LAYOUT: NGHỊ QUYẾT VÀ CUỘC SỐNG (.layout-lead-grid) - Lead + 2x2 Grid 16/10
   ========================================================================== */
.layout-lead-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.35fr;
    gap: 28px;
}

.lead-grid-left {
    height: 100%;
}

    .lead-grid-left .nyt-thumb-wrap {
        aspect-ratio: 16 / 10;
    }

    .lead-grid-left .nyt-headline {
        font-size: 1.45rem;
    }

.lead-grid-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.lead-grid-card .nyt-thumb-wrap {
    aspect-ratio: 16 / 10;
}

.lead-grid-card .nyt-headline {
    font-size: 0.95rem;
}

.lead-grid-card .nyt-card-body {
    padding: 14px 16px 16px;
}

/* ==========================================================================
   7. LAYOUT: VIỆT NAM KỶ NGUYÊN MỚI (.layout-panorama-deck) - Split Feature + 4 Cards 16/10
   ========================================================================== */
.layout-panorama-deck {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.panorama-hero-card {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.35s var(--transition-smooth);
}

    .panorama-hero-card:hover {
        transform: translateY(-4px);
        border-color: var(--pink);
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2), 0 0 24px rgba(234, 76, 137, 0.2);
    }

.panorama-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background: #0d0c18;
}

.panorama-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.panorama-hero-card:hover .panorama-thumb {
    transform: scale(1.05);
}

.panorama-content {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panorama-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: var(--pink);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(234, 76, 137, 0.45);
}

.panorama-headline {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.32;
    margin: 0 0 10px;
    transition: color 0.2s ease;
}

.panorama-hero-card:hover .panorama-headline {
    color: var(--pink);
}

.panorama-excerpt {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.panorama-stats-row {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.panorama-stat-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-secondary-alt);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 4px 10px;
}

    .panorama-stat-pill strong {
        color: var(--pink);
    }

.panorama-quad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.panorama-sub-card .nyt-thumb-wrap {
    aspect-ratio: 16 / 10;
}

.panorama-sub-card .nyt-headline {
    font-size: 0.94rem;
}

.panorama-sub-card .nyt-card-body {
    padding: 16px;
}

/* ==========================================================================
   8. LAYOUT: VIỆT NAM HỘI NHẬP (.layout-global-briefing) - 3 Equal Columns
   ========================================================================== */
.layout-global-briefing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.global-col-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .global-col-card .nyt-thumb-wrap {
        aspect-ratio: 16 / 10;
    }

    .global-col-card .nyt-headline {
        font-size: 1.15rem;
    }

    .global-col-card .nyt-card-body {
        padding: 22px 20px;
    }

/* ==========================================================================
   RESPONSIVE DESIGN FOR CATEGORIES
   ========================================================================== */
@media (max-width: 1024px) {
    .category-section {
        padding: 48px 0 54px;
    }

    .category-title {
        font-size: 1.55rem;
    }

    /* 1. Opinion */
    .layout-opinion-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .opinion-row-thumb-wrap {
        width: 50%;
        aspect-ratio: 16 / 10;
    }

    /* 2. Policy Dossier */
    .layout-policy-dossier {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .policy-dossier-thumb-wrap {
        width: 220px;
        aspect-ratio: 16 / 10;
    }

    /* 3. Bento */
    .layout-bento-mosaic {
        grid-template-columns: 1fr;
    }

    /* 4. Spotlight */
    .spotlight-banner-card {
        grid-template-columns: 1fr;
    }

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

    /* 5. Profile */
    .layout-profile-deck {
        grid-template-columns: 1fr;
    }

    /* 6. Lead Grid */
    .layout-lead-grid {
        grid-template-columns: 1fr;
    }

    /* 7. Panorama */
    .panorama-hero-card {
        grid-template-columns: 1fr;
    }

    .panorama-headline {
        font-size: 1.45rem;
    }

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

    /* 8. Global */
    .layout-global-briefing {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .category-section {
        padding: 16px 0;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 22px;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-explore-btn {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    /* Collapse all grids to single column on mobile */
    .layout-opinion-col,
    .layout-policy-dossier,
    .layout-bento-mosaic,
    .bento-two-pack,
    .spotlight-sub-grid,
    .layout-profile-deck,
    .layout-lead-grid,
    .lead-grid-right,
    .panorama-quad-grid,
    .layout-global-briefing {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .opinion-row-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .opinion-row-thumb-wrap {
        width: 100%;
        aspect-ratio: 16 / 10;
        height: auto;
    }

    .policy-dossier-link {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .policy-dossier-thumb-wrap {
        width: 100%;
        aspect-ratio: 16 / 10;
        height: auto;
    }

    .panorama-hero-card {
        grid-template-columns: 1fr;
    }

    .panorama-content {
        padding: 20px 18px;
    }

    .panorama-headline {
        font-size: 1.25rem;
    }

    .spotlight-banner-body {
        padding: 20px 18px;
    }
}

/* ==========================================================================
   TRIPLE CATEGORY SHOWCASE (BẢN SẮC VIỆT | NĂNG LƯỢNG TÍCH CỰC | KỶ NGUYÊN MỚI)
   Layout 3 cột chuẩn Editorial & Dribbble Card, đồng bộ hệ màu Light & Dark Theme
   ========================================================================== */

.triple-category-section {
    padding: 32px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    transition: background var(--transition-normal);
}

/* 3-Column Responsive Grid */
.triple-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Editorial Category Column Card */
.triple-category-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

    .triple-category-col:hover {
        transform: translateY(-5px);
        border-color: var(--border-active);
        box-shadow: var(--card-shadow-hover);
    }

/* Column Header (Reusing category-header template & tuned for 3-column) */
.triple-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

    .triple-col-header .category-title-wrap {
        padding-bottom: 12px;
        gap: 4px;
    }

    .triple-col-header .category-title {
        font-family: var(--font-display);
        /* font-size: clamp(1.22rem, 1.4vw, 1.42rem); */
        font-weight: 700;
        letter-spacing: -0.01em;
        color: var(--text-primary);
        line-height: 1.25;
        margin: 0;
    }

    .triple-col-header .category-explore-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

        .triple-col-header .category-explore-btn svg {
            width: 13px;
            height: 13px;
        }

/* Lead Article */
.triple-lead-card {
    margin-bottom: 16px;
    flex-shrink: 0;
}

.triple-lead-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.triple-lead-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--bg-secondary-alt);
    box-shadow: 0 4px 14px rgba(13, 12, 34, 0.08);
    border: 1px solid var(--border-subtle);
}

.triple-lead-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.triple-category-col[data-cat="ban-sac-viet"] .triple-lead-thumb {
    object-position: center 25%;
}

.triple-category-col[data-cat="nang-luong-tich-cuc"] .triple-lead-thumb {
    object-position: center 20%;
}

.triple-category-col:hover .triple-lead-thumb {
    transform: scale(1.04);
}

.triple-lead-headline {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--text-primary);
    margin: 0 0 10px;
    transition: color 0.25s ease;
}

.triple-lead-link:hover .triple-lead-headline,
.triple-category-col:hover .triple-lead-headline {
    color: var(--pink);
}

.triple-lead-excerpt {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sub-articles List (Divided rows) */
.triple-sub-list {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.triple-sub-item {
    border-top: 1px solid var(--border-subtle);
    padding: 14px 0 2px;
    margin-top: 12px;
}

.triple-sub-link {
    display: block;
    text-decoration: none;
    font-family: var(--font-display);
    /* font-size: 0.94rem; */
    font-weight: 600;
    line-height: 1.48;
    color: var(--text-primary);
    transition: color 0.25s ease, transform 0.25s ease;
}

    .triple-sub-link:hover {
        color: var(--pink);
        transform: translateX(4px);
    }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .triple-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .triple-category-col {
        padding: 24px 20px 20px;
    }
}

@media (max-width: 768px) {
    .triple-category-section {
        padding: 24px 0 24px;
    }

    .triple-lead-headline {
        font-size: 1.12rem;
    }

    .triple-lead-excerpt {
        font-size: 0.85rem;
    }

    .triple-sub-link {
        font-size: 0.92rem;
    }
}
