.posters-section img.posters-waves-bg {
    position: absolute;
    z-index: -1;
    top: -120px;
    width: 100vw;
    max-width: initial;
    object-fit: cover;
    margin-left: calc((100% - 100vw) / 2);
}

.posters-section-header {
    background-image: url(/wp-content/uploads/2025/11/posters-header.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.posters-section-header .section-header-container {
    padding: 120px 0px 0px;
    margin: 0px;
    display: flex;
    justify-content: center;
    text-align: center;
}
.posters-line,
.posters-line-taxanomy {
    width: 100%;
    height: 1px;
    background-color:  #636A8199;
}
.poster-slider-container {
    padding-top: 50px;
    padding-bottom: 80px;
    background-color: var(--dark);
}
.poster-slider-container .swiper-wrapper{
    padding: 38px 0px 0px;
}
.poster-cat-list {
    max-width: 906px;
    width: 100%;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.btn.poster-cat-item {
    width: 100%;
    background-color: #FFFFFF4D;
}
.btn.poster-cat-item:hover,
.btn.poster-cat-item.active {
    background-color: var(--purple);
}

.posters-swiper {
    position: relative;
    padding-top: 30px;
    margin-inline: calc((100% - 100vw) / 2) !important;
    padding-inline: calc((100vw - 100%) / 2) !important;
}
.poster-slider-container .posters-swiper .posters-bg-text-icon-1,
.poster-slider-container .posters-swiper .posters-bg-text-icon-2,
.poster-slider-container .posters-swiper .posters-bg-text-icon-3,
.poster-slider-container .posters-swiper .posters-bg-text-icon-4 {
    position: absolute;
    height: 145px;
}
.poster-slider-container .posters-swiper .posters-bg-text-icon-1 {
    top: 20px;
    left: 0px;
    transform: rotate(-10deg);
}
.poster-slider-container .posters-swiper .posters-bg-text-icon-2 {
    top: 0px;
    right: 0px;
    transform: rotate(-4deg);
}
.poster-slider-container .posters-swiper .posters-bg-text-icon-3 {
    bottom: 20px;
    left: 0px;
    transform: rotate(28deg);
}
.poster-slider-container .posters-swiper .posters-bg-text-icon-4 {
    bottom: 20px;
    right: 0px;
    transform: rotate(-20deg);
}
.posters-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    gap: 52px;
}
.posters-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - (52px * 3)) / 4); /* 4 слайда, 3 промежутка */
    box-sizing: border-box;
}
.posters-swiper .swiper-slide {
    position: relative;
    height: auto;
    border-radius: 14px;
}
.posters-swiper .poster-card,
.poster-card {
    position: relative;
    padding: 16px 16px 25px;
    border-radius: 14px;
    background-color: var(--white);
}
.posters-swiper .poster-card .poster-clip-icon,
.poster-card .poster-clip-icon {
    position: absolute;
    top: -40px;
    right: 16px;
    z-index: 1;
    width: 29px;
    height: 59px;
    transform: rotate(13deg);
    object-fit: contain;
}
.posters-swiper .swiper-slide-even .poster-card .poster-clip-icon,
.poster-card:nth-child(odd) .poster-clip-icon {
    transform: rotate(-13deg);
}
.posters-swiper .poster-card .poster-card-img-container,
.poster-card .poster-card-img-container {
    height: 349px;
    display: flex;
    overflow: hidden;
}
.posters-swiper .poster-card .poster-card-img-container img,
.poster-card .poster-card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    transition: var(--transition);
}

.poster-card a.poster-card-img-container img:hover {
    transform: scale(1.05);
}
.poster-card-data {
    margin: 12px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;   
}
.poster-card-data-divider{
    height: 1px;
    width: 100%;
    background-color: var(--gray-light);
}
.poster-card-content {
    padding: 0px 26px;
}
.poster-card-title,
.poster-card-desc {
    text-align: center;
}

.poster-card-title {
    width: 100%;
    margin: 16px 0px 0px;
    display: block;
    transition: var(--transition);
}

.poster-card-desc {
    margin: 8px 0px 0px;
}
.posters-more-btn {
    margin: 30px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--white);
}
.posters-more-btn:hover,
.posters-more-btn:hover svg {
    color: var(--purple);
}

/* -------------------- taxanomy page - start -------------------- */

.posters-taxanomy-section {
    padding: 60px 0px;
}

.posters-grid {
    padding: 30px 0px 0px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
}

/* -------------------- taxanomy page - end -------------------- */

@media (max-width: 1279px) {
    .posters-swiper:not(.swiper-initialized) .swiper-wrapper {
        gap: 21px;
    }
    .posters-swiper:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 calc((100% - (21px * 2)) / 3);
    }
    .poster-card-content {
        padding: 0px;
    }
}

@media (max-width: 1024px) {
    .posters-section img.posters-waves-bg {
        top: -70px;
    }
    .posters-section-header .section-header-container {
        padding: 80px 0px 0px;
    }
    .posters-section-header .section-header-container .section-header {
        max-width: 100%;
        width: 100%;
    }
    .poster-cat-list {
        margin: 0 auto 30px;
    }
    .poster-slider-container .posters-swiper .posters-bg-text-icon-2 {
        right: -40px;
    }
    .poster-slider-container {
        padding-top: 40px;
        padding-bottom: 90px;
    }
    .posters-swiper .poster-card,
    .poster-card {
        padding: 12px 12px 32px;
    }
    .posters-swiper .poster-card .poster-card-img-container,
    .poster-card .poster-card-img-container {
        height: 254px;
    }
    .posters-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }
    .posters-line {
        width: 100vw !important;
        max-width: initial !important;
        margin-right: calc((100% - 100vw) / 2) !important;
        padding: 0 24px;
        overflow-x: auto;
    }
}

@media (max-width: 767px) {
    .posters-section img.posters-waves-bg {
        top: -50px;
    }
    .posters-section-header .section-header-container {
        padding: 60px 0px 0px;
    }
    .poster-slider-container .posters-swiper .posters-bg-text-icon-1,
    .poster-slider-container .posters-swiper .posters-bg-text-icon-2,
    .poster-slider-container .posters-swiper .posters-bg-text-icon-3,
    .poster-slider-container .posters-swiper .posters-bg-text-icon-4 {
        display: none;
    }
    .poster-slider-container {
        padding-top: 32px;
        padding-bottom: 70px;
    }
    .posters-swiper:not(.swiper-initialized) .swiper-wrapper {
        gap: 12px;
    }
    .posters-swiper:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 calc((100% - 12px) / 2);
    }
    .poster-cat-list {
        flex-direction: column;
    }
    .posters-swiper .poster-card,
    .poster-card {
        padding: 8px 8px 20px;
        display: flex;
        flex-direction: column;
    }
    .posters-swiper .poster-card .poster-card-img-container,
    .poster-card .poster-card-img-container {
        height: 100%;
    }

    .posters-grid {
        grid-template-columns: 1fr;
    }
}