/* ====== INFO_TYPE_1_TWO_IMG ====== */

section.info_two_img{
    padding-top: 107px;
}


.info_two_img .title{
    border-left: 3px solid var(--color-background-block);
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 20px;
}
.info_two_img .title h2{
    font-size: 40px;
    text-transform: unset;
    font-weight: 200;
    margin-bottom: 0;
}

.info_two_img .title h2 span{
    font-weight: bold;
}

.info_two_img .triggers{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    margin-bottom: 35px;
}

.info_two_img .hero__cta{
    margin: 0;
}

.info_two_img .btn{
    padding: 8px 20px;
}

/* Основной контейнер */
.info_two_img .gallery_info__images {
    margin-left: 40px;
    display: grid;
    /* ===> КЛЮЧЕВОЕ РЕШЕНИЕ <=== */
    /* Создаем одну единственную колонку. Все элементы будут автоматически падать друг под друга. */
    grid-template-columns: 1fr;
    gap: 20px; /* Отступ между рядами */
    grid-auto-rows: 290px;
}

/* Контейнер ОДНОЙ картинки */
.info_two_img .gallery-item {
    display: block;
    border-radius: 16px;
    overflow: hidden;

}

.info_two_img .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.info_two_img  .gallery_info__images .gallery-item:hover img {
    transform: scale(1.05);
}


@media (max-width: 768px) {

    section.info_two_img{
        padding-top: 60px;
    }

    .info_two_img br{
        display: none;
    }


    .info_two_img .gallery_info__images {
        margin-left: unset;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
         grid-auto-rows: unset;
        margin-bottom: 20px;
    }
    .info_two_img .triggers{
        margin-bottom: 20px;
    }

}