/* Section v6 - Alternative Grid 10 Articles */

.section-v6 {
    padding: 40px 0;
    background: #ffffff;
    position: relative;
    margin: 40px 200px !important;
    width: unset;
    max-width: 100%;
}

.section-v6-container {
    
    padding: 0 20px;
}

/* === SECTION HEADER === */
.section-v6-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.header-content-v6 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--section-accent, #0066FF) 0%, #0052cc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.header-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--section-accent, #0066FF);
}

.section-title-v6 {
    font-size: 40px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f9fa;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.explore-link:hover {
    background: var(--section-accent, #0066FF);
    color: white;
    border-color: var(--section-accent, #0066FF);
    transform: translateY(-2px) translateX(2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

/* === GRID LAYOUT === */
.section-v6-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* === DUO LARGE (Top 2 Posts) === */
.duo-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    height: 450px;
}

.item-split-left,
.item-split-right {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.item-split-left:hover,
.item-split-right:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

.split-content {
    position: relative;
    z-index: 2;
    padding: 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    color: white;
}

.split-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--section-accent, #0066FF);
    color: white;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: fit-content;
}

.split-link {
    text-decoration: none;
    color: inherit;
}

.split-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    color: white;
    transition: opacity 0.3s ease;
}

.item-split-left:hover .split-title,
.item-split-right:hover .split-title {
    opacity: 0.9;
}

.split-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.split-author {
    font-weight: 600;
}

.meta-dot {
    color: rgba(255, 255, 255, 0.5);
}

.split-date {
    color: rgba(255, 255, 255, 0.8);
}

/* === QUAD GRID (4 Posts) === */
.quad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.item-quad {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.item-quad:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--section-accent, #0066FF);
}

.quad-image {
    width: 100%;
    height: 180px;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.item-quad:hover .quad-image {
    transform: scale(1.1);
}

.quad-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quad-link {
    text-decoration: none;
    color: inherit;
}

.quad-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.item-quad:hover .quad-title {
    color: var(--section-accent, #0066FF);
}

.quad-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    flex: 1;
}

.quad-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.quad-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.quad-date svg {
    color: #ccc;
}

/* === SHOWCASE (Featured Post) === */
.item-showcase {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 0;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.item-showcase:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--section-accent, #0066FF);
}

.showcase-image {
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.item-showcase:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-content {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.showcase-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.showcase-label svg {
    color: #f59e0b;
}

.showcase-link {
    text-decoration: none;
    color: inherit;
}

.showcase-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.item-showcase:hover .showcase-title {
    color: var(--section-accent, #0066FF);
}

.showcase-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.showcase-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    margin-top: 8px;
}

.showcase-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #f0f0f0;
}

.showcase-author span {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.showcase-date {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

/* === TRIPLE BOTTOM (Last 3 Posts) === */
.triple-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.item-triple {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    height: 280px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.item-triple:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.triple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

.triple-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    color: white;
}

.triple-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 56px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
}

.triple-link {
    text-decoration: none;
    color: inherit;
}

.triple-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    color: white;
    transition: opacity 0.3s ease;
}

.item-triple:hover .triple-title {
    opacity: 0.9;
}

.triple-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* === RESPONSIVE === */

/* Large Tablet */
@media (max-width: 1200px) {
    .duo-large {
        height: 400px;
    }

    .quad-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .item-showcase {
        grid-template-columns: 400px 1fr;
    }

    .showcase-content {
        padding: 36px 40px;
    }

    .showcase-title {
        font-size: 28px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .section-v6 {
        padding: 60px 0;
        margin: 0 1rem !important;
    }
    

    .section-v6-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 48px;
    }

    .section-v6-container {
        padding: 0;
    }

    .header-icon {
        width: 56px;
        height: 56px;
    }

    .section-title-v6 {
        font-size: 32px;
    }

    /* Grid devine flex column stack */
    .section-v6-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Duo large devine stack */
    .duo-large {
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .item-split-left,
    .item-split-right {
        height: 350px;
    }

    .split-title {
        font-size: 26px;
    }

    /* Quad grid devine stack */
    .quad-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Showcase devine stack */
    .item-showcase {
        grid-template-columns: 1fr;
    }

    .showcase-image {
        height: 300px;
    }

    .showcase-content {
        padding: 32px;
    }

    /* Triple bottom devine stack */
    .triple-bottom {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .section-v6-container {
        padding: 0;
    }

    .section-title-v6 {
        font-size: 26px;
    }

    .header-icon {
        width: 48px;
        height: 48px;
    }

    .item-split-left,
    .item-split-right {
        height: 320px;
    }

    .split-content {
        padding: 28px;
    }

    .split-title {
        font-size: 22px;
    }

    .quad-image {
        height: 160px;
    }

    .quad-content {
        padding: 16px;
    }

    .showcase-image {
        height: 250px;
    }

    .showcase-content {
        padding: 24px;
    }

    .showcase-title {
        font-size: 24px;
    }

    .showcase-excerpt {
        font-size: 15px;
    }

    .item-triple {
        height: 260px;
    }

    .triple-title {
        font-size: 20px;
    }

    .triple-number {
        font-size: 48px;
    }
}