.gallery {
    width: 100%;
    position: relative;
    min-height: 825px;
    height: 100vh;
}
.gallery > .wp-block-group {
    position: absolute;
    z-index: 50;
    top: 0;
    width: 100%;
}
.gallery .content {
    position: absolute;
    z-index: 50;
    left: 1rem;
    top: 200px;
    text-transform: uppercase;
    color: #fff;
}

.gallery-slider {
    width: 100%;
    height: 100%;
}
.gallery-slider .swiper-slide {
    width: auto;
    height: 100%;
}
.gallery-slider .swiper-slide::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0) 0%, #0000001c 100%);
}
.gallery-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.gallery .swiper-pagination {
    position: relative;
    bottom: -0.313rem;
    text-align: left;
}
.gallery .swiper-pagination-bullet {
    border-radius: 4px;
    width: 42px;
    height: 8px;
    background: #fff;
    opacity: .5;
}
.gallery .swiper-pagination-bullet-active {
    background: var(--wp--preset--color--theme-primary);
}

.gallery-thumbs {
    width: 94%;
    padding: 0;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
}
.gallery-thumbs .swiper-slide {
    width: 17.5rem;
    height: 25.313rem;
    text-align: center;
    overflow: hidden;
    opacity: 0.8;
}
.gallery-thumbs .swiper-slide-active {
    opacity: 1;
}
.gallery-thumbs .swiper-slide img {
    width: auto;
    height: 85%;
    padding-top: 50px;
}
.gallery-thumbs .swiper-slide p {
    color: #fff;
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 45px;
    font-size: 18px;
    font-weight: 700;
}
.gallery-thumbs .swiper-slide p span {
    font-size: var(--wp--preset--spacing--large);
    font-weight: 700;
    display: block;
}

@media screen and (min-width: 480px) {
    .gallery .content {
        padding: 2rem;
    }
}

@media screen and (min-width: 782px) {
    .gallery .content {
        top: 150px;
    }
    .gallery-thumbs .swiper-slide img {
        width: auto;
        height: 100%;
        padding-top: 0;
    }
}
@media screen and (min-width: 960px) {
    .gallery .content {
        width: calc(50% - 4rem);
        top: 50%;
        transform: translateY(-50%);
    }
    .gallery-thumbs {
        width: 50%;
        bottom: 0;
        transform: translatey(-35%);
    }
}
@media screen and (min-width: 1600px) {
    .gallery .content {
        left: calc((100% - 1600px) / 2)
    }
}
