/* Hero Section v2 - Elegant Vertical Layout */

.hero-v2 {
    width: 100%;
    padding: 40px 20px;
    background: #f8f9fa;
    margin: 0 200px !important;
    padding: 0;
    width: unset;
    max-width: 100%;
}

.hero-v2-container {


    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    min-height: 650px;
}

/* === FEATURED POST (LEFT) === */
.hero-v2-featured {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-v2-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.hero-v2-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.4) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
}

.hero-v2-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 90%;
}

.hero-v2-content .post-category {
    margin-bottom: 16px;
}

.hero-v2-content .post-category a {
    display: inline-block;
    padding: 8px 18px;
    background: var(--bch-logo-color, #007bff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.hero-v2-content .post-category a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-v2-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #ffffff;
    transition: color 0.3s ease;
}

.hero-v2-title:hover {
    color: rgba(255, 255, 255, 0.85);
}

.hero-v2-featured a {
    text-decoration: none;
    color: inherit;
}

.hero-v2-excerpt {
    margin-bottom: 24px;
}

.hero-v2-excerpt p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.hero-v2-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 2px;
    transition: opacity 0.3s ease;
}

.author-name:hover {
    opacity: 0.8;
}

.post-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* === SIDEBAR CARDS (RIGHT) === */
.hero-v2-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-v2-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.hero-v2-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateX(4px);
}

.card-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.post-category-small {
    margin-bottom: 4px;
}

.post-category-small a {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bch-logo-color, #007bff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.post-category-small a:hover {
    opacity: 0.85;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-v2-card a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-v2-card a:hover .card-title {
    color: var(--bch-logo-color, #007bff);
}

.card-date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    .hero-v2-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-v2-featured {
        min-height: 500px;
    }

    .hero-v2-title {
        font-size: 36px;
    }

    .hero-v2-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-v2-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card-image {
        width: 100%;
        height: 180px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-v2 {
        
        margin: 0 1rem !important;
    }

    .hero-v2-featured {
        min-height: 450px;
        padding: 30px 24px;
    }

    .hero-v2-title {
        font-size: 28px;
    }

    .hero-v2-excerpt p {
        font-size: 15px;
    }

    .hero-v2-sidebar {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-v2-card {
        grid-template-columns: 110px 1fr;
        padding: 12px;
    }

    .card-image {
        width: 110px;
        height: 110px;
    }

    .card-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-v2-featured {
        min-height: 400px;
        padding: 24px 20px;
    }

    .hero-v2-title {
        font-size: 24px;
    }

    .hero-v2-excerpt {
        display: none;
    }

    .hero-v2-card {
        grid-template-columns: 1fr;
    }

    .card-image {
        width: 100%;
        height: 160px;
    }

    .card-title {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }
}