.page-gallery {
    padding: 60px 0;
}

.gallery__items {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 32px;
    grid-row-gap: 32px;
}

.gallery__item {
    max-width: 405px;
}

.gallery__img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    object-fit: cover;
}

.gallery__pagination {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery__nums {
    display: flex;
}

.gallery__page_item {
    display: block;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gallery__page_active {
    background: white;
    color: var(--Primary100, #93764c);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 22.4px */
}

.gallery__page_link {
    color: var(--Grey80, #313131);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 22.4px */
}

.gallery__prev,
.gallery__next {
    display: flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    color: var(--Primary100, #93764c);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    /* 14.4px */
}

.gallery__not {
    display: flex;
    gap: 6px;
    align-items: center;
    color: #C5C5C5;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
}

@media(width < 1200px) {
    .gallery__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(width < 1200px) {
    .gallery__items {
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 18px;
        grid-row-gap: 18px;
    }

    .gallery__item {
        width: 100%;
        max-width: 100%;
    }
}