/* ============================================================
   HOME BLOCKS GRID
   ============================================================ */

.home-blocks__group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.home-blocks__col--stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-blocks__col--full {
    display: flex;
}

.home-blocks__col--full .home-blocks__item {
    flex: 1;
}

.home-blocks__col--stack .home-blocks__item {
    flex: 1;
}

.home-blocks__item {
    position: relative;
    background-color: var(--color-bg-card);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.home-blocks__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
}

.home-blocks__content {
    position: relative;
    z-index: 1;
    padding: 30px;
    width: 100%;
    margin-top: 50%;
}

.home-blocks__title {
    font-size: var(--text-2xl);
    margin-bottom: 10px;
}

.home-blocks__text {
    font-size: 1rem;
    color: var(--color-white);
    font-weight: var(--fw-medium);
    line-height: 1.6;
    margin-bottom: 15px;
}

a.home-blocks__link,
button.home-blocks__link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.03em;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

a.home-blocks__link:hover,
button.home-blocks__link:hover {
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
    .home-blocks__group {
        flex-direction: column;
    }

    .home-blocks__col--full .home-blocks__item {
        min-height: 250px;
    }

    .home-blocks__col--stack .home-blocks__item {
        min-height: 200px;
    }
}
