.post-gallery {
   overflow-x: hidden;
}

.post-gallery .container {
    max-width: 1762px;
}

.post-gallery .gallery-header {
    max-width: 940px;
    margin: 0 auto;
}

.post-gallery .gallery-header .title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-black);
    line-height: normal;
    padding: 0;
    margin-bottom: 24px;
}

.post-gallery .swiper {
    overflow: visible;
}

.post-gallery .swiper-wrapper {
    align-items: flex-start;
}

.post-gallery .swiper-slide {
    width: 100%;
    max-width: 880px;
    transition: all 250ms ease-out 0s;
    cursor: pointer;
}
.post-gallery .swiper-slide-prev {
    opacity: 0;
}

.post-gallery .swiper-wrapper .swiper-slide-next + .swiper-slide {
    opacity: 0.5;
}

.post-gallery .swiper-wrapper .swiper-slide-active ,
.post-gallery .swiper-wrapper .swiper-slide-active + .swiper-slide-next {
    opacity: 1;
}

.post-gallery .swiper-slide {
    transition: opacity 0.3s ease-in-out;
}

.post-gallery .swiper-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-gallery .swiper-panel .caption {
    color: var(--primary-green-light);
    font-size: 12px;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

@media (max-width: 576px) {
    .post-gallery .swiper-wrapper {
        overflow: visible;
        margin-left: -24px;
    }
    .post-gallery .swiper-wrapper .swiper-slide:not(.swiper-slide-active),
    .post-gallery .swiper-wrapper .swiper-slide.swiper-slide-active + .swiper-slide-next {
        opacity: 0.5;
    }

    .post-gallery .swiper-wrapper .swiper-slide-next:last-of-type {
        opacity: 1;
    }

    .post-gallery .swiper-slide {
        width: 350px;
    }
}