.columns-2-image-block {
    /* margin: 2rem 0; */
}

.columns-2-image-block__container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 1rem; */
}

.columns-2-image-block__header {
    text-align: center;
    /* margin-bottom: 3rem; */
}

.columns-2-image-block__title {
    /* font-size: 2.5rem; */
    /* font-weight: 700; */
    /* color: #333; */
    /* margin: 0; */
}

/* 3-колоночная верстка */
.columns-2-image-block__layout {
    display: flex;
    gap: 10px;
    align-items: stretch;
    /* Равная высота колонок */
}

.columns-2-image-block__column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Стили карточек */
.columns-2-image-block__card {
    /* background: #fff; */
    /* border-radius: 12px; */
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    /* Равномерное распределение высоты внутри колонки */
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #E8E6D4;
    padding: 20px;
    position: relative;
}

/* Контент текстовых карточек */
.columns-2-image-block__card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.columns-2-image-block__card-title {
    /* font-size: 1.5rem; */
    /* font-weight: 600; */
    /* color: #333; */
    margin: 0 0 1rem 0;
    /* line-height: 1.3; */
    color: #18383C;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 10px 0;
}

.columns-2-image-block__card-text {
    /* font-size: 1rem; */
    /* color: #666; */
    /* line-height: 1.6; */
    flex: 1;
    color: var(--color-text-green);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Изображение в последней карточке */
.columns-2-image-block__card-icon {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.columns-2-image-block__card-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    position: absolute;
}

/* Сноска */
.columns-2-image-block__footnote {
    margin-top: 20px;
    background: rgba(29, 68, 72, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    /* max-height: 30px; */
    border-radius: 8px;
    border: 1px solid rgba(232, 230, 212, 0.20);
    background: rgba(118, 130, 74, 0.20);
}

.columns-2-image-block__footnote-icon {
    width: 40px;
    height: 40px;
    /* border-radius: 50%; */
    /* background: #A3A96B; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    border-radius: 100px;
    border: 1px solid #E8E6D4;
    background: var(--color-text-green);
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
}

.columns-2-image-block__footnote-text {
    color: #E6E6D4;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* Стили для разного количества карточек во второй колонке */
.columns-2-image-block--second-column-2 .columns-2-image-block__column:nth-child(2) {
    /* 2 карточки во второй колонке - стандартное поведение */
}

.columns-2-image-block--second-column-3 .columns-2-image-block__column:nth-child(2) {
    /* 3 карточки во второй колонке - карточки располагаются в 2 ряда */
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.columns-2-image-block--second-column-3 .columns-2-image-block__column:nth-child(2) .columns-2-image-block__card:nth-child(3) {
    /* Третья карточка занимает всю ширину */
    grid-column: 1 / -1;
}

/* Стили для позиционирования изображения слева */
.columns-2-image-block--image-left .columns-2-image-block__layout {
    flex-direction: row;
}

/* Адаптивность */
@media (max-width: 768px) {

    .columns-2-image-block--image-left .columns-2-image-block__layout {
        flex-direction: column;
    }

    .columns-2-image-block__layout {
        flex-direction: column;
        gap: 10px;
    }

    .columns-2-image-block__column {
        gap: 10px;
        background: none;
    }

    .columns-2-image-block__card {
        padding: 20px;
    }

    .columns-2-image-block__title {
        font-size: 2rem;
    }

    .columns-2-image-block__card-icon-img {
        position: relative;
    }

    .columns-2-image-block__footnote {
        padding: 14px;
    }

    .columns-2-image-block__footnote-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .columns-2-image-block__column.col-3 .columns-2-image-block__card {
        padding: 0;
        background: none;
    }

    /* На мобильных устройствах все карточки в одну колонку */
    .columns-2-image-block--second-column-3 .columns-2-image-block__column:nth-child(2) {
        display: flex;
        flex-direction: column;
    }

    .columns-2-image-block--second-column-3 .columns-2-image-block__column:nth-child(2) .columns-2-image-block__card:nth-child(3) {
        grid-column: unset;
    }
}

@media (max-width: 480px) {}