.page-header{
    background-image: url("../images/1-header.jpg");
}

.items-list{

}

.item{
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    padding-top: 3.657262277951933vw;
    padding-bottom: 4.9414824447334205vw;
}

.item.flipped{
    flex-direction: row-reverse;
    background-color: rgba(246, 244, 245, 1);
}

.item .left{
    text-align: right;
}

.flipped.item .left{
    text-align: left;
}

.item:not(.flipped) .left>*{
    width: 90%;
    margin-left: 10%;
}

.flipped.item .left>*{
    width: 90%;
    margin-right: 10%;
}


.item .left .item-title{
    font-size: 30px;
    color: rgb(142, 36, 170);
}

.item .left,
.item .right{
    width: 50%;
    flex: 0 0 auto;
}

.item .right .swiper-photos{
    width: 78.35497835497836%;
    height: 100%;
    margin: 0 auto;
}

.item .right .swiper-photos img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-title{
    position: relative;
    margin-bottom: 50px;
}

.item-title::after{
    content: "";
    width: 80px;
    height: 2px;
    position: absolute;
    background-color: rgb(207, 147, 217);
    bottom: -25px;
    right: 0;
}

.flipped .item-title::after{
    right: auto;
    left: 0;
}

.item-desc{
    font-size: 16px;
    color: #666;
    line-height: 18px;
}

.item-desc .subtitle{
    font-size: 20px;
    margin-bottom: 6px;
    margin-top: 12px;
}

.photo-desc{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;

    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: 15px;
    line-height: 44px;
    transition: all .3s;
    padding-bottom: 20px;
    text-align: center;
}

.swiper-photos .pagination{
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 240;
}

.swiper-photos .swiper-pagination-bullet{
    opacity: 1;
    background-color: rgb(176,181,183);
}
.swiper-photos .swiper-pagination-bullet-active{
    background-color: #fff;
}

.swiper4{
    box-shadow: 0px 0px 6px rgb(0 0 0 / 20%);
}

.swiper4 .swiper-slide{
    padding: 6px;
    background-color: #fff;
}

@media (max-width: 1024px) {

    .item .right .swiper-photos{
        height: 220px;
    }
}

@media (max-width: 768px) {
    .item, .item.flipped{
        display: flex;
        flex-direction: column-reverse;
    }

    .item .right .swiper-photos{
        width: 100%;
        height: 56.25vw;
    }
    .item .left, .item .right{
        width: 100%;
    }
    .item .left{
        padding: 20px 30px;
        text-align: left;
        overflow: hidden;
    }

    .item-title::after{
        left: 0;
        right: auto;
    }
    .item:not(.flipped) .left>*{
        width: 100%;
        margin-left: 0;
    }

    .item .left .item-title{
        margin-right: 0;
        width: 100%;
        font-size: 22px;
    }

    .item-desc .subtitle{
        font-size: 16px;
        margin-bottom: 20px;
    }

    .item-desc p{
        font-size: 16px;
        line-height: 20px;
    }

    .flipped.item .left>*{
        margin-right: 0;
        width: 100%;
    }
}
