.gallery__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 40px;

}
.gallery__info-title {
    color: #0A192B;
    font-size: 24px;
    font-weight: 700;
    line-height: 110%;
}
.gallery__info-date {
    color: #6C6C70;;
    font-size: 20px;
    font-weight: 500;
    line-height: 130%;
}
.gallery__card {

}
.gallery__card img {
    width: 325px;
    height: 325px;
    max-width: 100%;
    object-fit: cover;
}

.gallery__info {
    height: 140px;
    display: flex;
    padding: 16px;
    flex-direction: column;
    justify-content: space-between;
}

.gallery__pagination {
    display: inline-block;
    margin-top: 100px;
}

.gallery__pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.gallery__pagination a.active {
    background-color: #4CAF50;
    color: white;
}

.gallery__pagination a:hover:not(.active) {background-color: #ddd;}

.gallery-wrap {
    padding: 40px 0 80px;
}

@media (max-width: 1200px) {
    .gallery__wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .gallery__wrapper a img {
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 992px) {
    .gallery__wrapper {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 576px) {
    .gallery__wrapper {
        grid-template-columns: 1fr;
    }
}