.gallery-block__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.gallery-block__descr {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
    line-height: 140%;
    color: var(--main-text-primary);
    max-width: 620px;
    height: 100%;
}
.gallery-block__descr p:not(:last-child) {
    margin-bottom: 15px;
}
.gallery-block__items {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
    height: fit-content;
    width: 100%;
}
.gallery-block__item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.gallery-block__item img {
    width: 100%;
    height: 100%;
}
.gallery-block__item.item-btn-more {
    background: var(--background-secondary);
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    color: var(--primary);
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 1200px) {
    .gallery-block__items {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 991px) {
    .gallery-block__wrapper {
        flex-direction: column;
    }
    .gallery-block__descr {
        max-width: 100%;
    }
    .gallery-block__items {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (min-width: 768px) {
    .gallery-block__item.item-btn-more:hover {
        background: var(--primary-hover);
        color: var(--head-secondary);
    }
}
@media screen and (max-width: 576px) {
    .gallery-block__items {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
