/* Section v9 - Numbered Grid (Clean Layout) */

.section-v9 {
    padding: 100px 0 50px;
    background: #fafafa;
    position: relative;
    margin: 0 200px!important;
    width: unset;
    max-width: 100%;
}

.section-v9-container {
    
    margin: 0 auto;
    
}

/* === HEADER IDENTICAL TO V7 === */
.section-v9-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 60px;
}

.header-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
}

.section-v9-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    position: relative;
}

.section-v9-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--section-accent, #0066FF);
}

/* === TOP GRID: 5 NUMBERED CARDS === */
.v9-top-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.v9-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.v9-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Border Accent Left */
.v9-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--section-accent, #0066FF);
    transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v9-card:hover::before {
    height: 100%;
}

/* Numbered Card */
.v9-card-numbered {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 320px;
}

.card-number-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.number {
    font-size: 48px;
    font-weight: 900;
    color: var(--section-accent, #0066FF);
    opacity: 0.15;
    line-height: 1;
}

.number-category {
    padding: 6px 14px;
    background: #f8f9fa;
    color: var(--section-accent, #0066FF);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.v9-card:hover .number-category {
    background: var(--section-accent, #0066FF);
    color: white;
}

.v9-link {
    text-decoration: none;
    color: inherit;
}

.v9-card-numbered .v9-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
    transition: color 0.3s ease;
}

.v9-card:hover .v9-title {
    color: var(--section-accent, #0066FF);
}

.v9-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    flex: 1;
}

.v9-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
}

.meta-author {
    font-weight: 600;
    color: #1a1a1a;
}

.meta-separator {
    color: #ddd;
}

.meta-date {
    color: #999;
}

/* === BOTTOM STACK: 6 HORIZONTAL CARDS === */
.v9-bottom-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v9-card-horizontal {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 24px;
    min-height: auto;
    align-items: center;
}

.v9-card-horizontal:hover {
    transform: translateX(8px);
}

.horizontal-image {
    width: 200px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v9-card-horizontal:hover .horizontal-image {
    transform: scale(1.08) rotate(2deg);
}

.horizontal-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.horizontal-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.horizontal-category {
    padding: 4px 12px;
    background: #f8f9fa;
    color: var(--section-accent, #0066FF);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.v9-card-horizontal:hover .horizontal-category {
    background: var(--section-accent, #0066FF);
    color: white;
}

.horizontal-date {
    font-size: 13px;
    color: #999;
}

.v9-card-horizontal .v9-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
}

.horizontal-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* === RESPONSIVE === */

/* Large Tablet */
@media (max-width: 1200px) {
    .section-v9-container {
        padding: 0 32px;
    }

    .v9-top-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .v9-card-horizontal {
        grid-template-columns: 180px 1fr;
        gap: 20px;
    }

    .horizontal-image {
        width: 180px;
        height: 120px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .section-v9 {
        padding-top: 60px;
        padding-bottom: 0;
        padding-right: 0;
        padding-left: 0;
        margin: 0!important;
    }

    .section-v9-container {
        padding: 0 20px;
    }

    .section-v9-header {
        margin-bottom: 48px;
    }

    .section-v9-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .v9-top-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }

    .v9-card-numbered {
        padding: 24px;
        min-height: 280px;
    }

    .v9-card-numbered .v9-title {
        font-size: 18px;
    }

    .v9-card-horizontal {
        grid-template-columns: 150px 1fr;
        padding: 20px;
        gap: 16px;
    }

    .horizontal-image {
        width: 150px;
        height: 110px;
    }

    .v9-card-horizontal .v9-title {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .section-v9-container {
        padding: 0 16px;
    }

    .section-v9-header {
        gap: 16px;
    }

    .section-v9-title {
        font-size: 20px;
        letter-spacing: 1.5px;
    }

    .v9-top-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .v9-card-numbered {
        padding: 20px;
        min-height: auto;
    }

    .number {
        font-size: 36px;
    }

    .v9-card-numbered .v9-title {
        font-size: 17px;
    }

    .v9-excerpt {
        font-size: 14px;
    }

    .v9-card-horizontal {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
    }

    .horizontal-image {
        width: 100%;
        height: 180px;
    }

    .v9-card-horizontal .v9-title {
        font-size: 17px;
    }

    .horizontal-excerpt {
        font-size: 14px;
    }
}