/* ============================================================
   HOME BLOG
   ============================================================ */

.home-blog {
    padding: 60px 0;
    background: var(--color-bg);
}

.home-blog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 0 var(--gutter);
    margin-bottom: 30px;
}

.home-blog__title {
    font-size: var(--text-3xl);
    margin-bottom: 4px;
}

.home-blog__subtitle {
    font-size: var(--text-sm);
    color: var(--color-white);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

.home-blog__grid {
    display: flex;
    gap: 20px;
    padding: 0 var(--gutter);
}

.home-blog__card {
    flex: 1 1 0%;
    min-width: 0;
}

.home-blog__card-link {
    display: block;
    position: relative;
    min-height: 350px;
    overflow: hidden;
    text-decoration: none;
    background: var(--color-bg-card);
}

.home-blog__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-blog__card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.home-blog__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 25px;
}

.home-blog__card-content h3 {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    line-height: 1.4;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: var(--color-white);
}

.home-blog__card-more {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    color: var(--color-primary);
    text-transform: uppercase;
}

.home-blog__card-link:hover .home-blog__card-more {
    color: var(--color-primary-alt);
}

@media (max-width: 767px) {
    .home-blog {
        padding: 40px 0;
    }

    .home-blog__header {
        flex-direction: column;
    }

    .home-blog__grid {
        flex-direction: column;
    }

    .home-blog__card-link {
        min-height: 250px;
    }
}
