﻿.home-ct {
    background-image: url(../../../Design/img/home-ct-bg.svg);
    background-size: cover;
}

    .home-ct .grid.wide {
        max-width: 1292px;
    }

.home-ct-wrap {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    margin-top: 60px;
}

.home-ct-left {
    flex: 1;
    position: relative;
    height: 100%;
    /* padding-right: 55px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .home-ct-left .wrap-item {
        padding-right: 15px;
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

        .home-ct-left .wrap-item.show {
            opacity: 1;
            pointer-events: all;
        }

            .home-ct-left .wrap-item.show .wrap-item-title {
                opacity: 1;
                transform: translateY(0);
                transition-delay: .2s;
            }

    .home-ct-left .wrap-item-title {
        margin: 0;
        font-weight: 100;
        color: #F4F4F4;
        line-height: 121.1%;
        font-family: 'monM';
        font-size: 22px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        transform: translateY(20px);
        opacity: 0;
        transition: 0.6s cubic-bezier(.3,2.2,.3,1);
    }

    .home-ct-left .wrap-item.show .wrap-item-descript {
        opacity: 1;
        transform: translateY(0);
        transition-delay: .4s;
    }

    .home-ct-left .wrap-item-descript {
        font-size: 18px;
        color: #EFEFEF;
        font-weight: 100;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        font-family: insR;
        line-height: 150%;
        transform: translateY(20px);
        opacity: 0;
        margin-top: 17px;
        transition: 0.6s cubic-bezier(.3,2.2,.3,1);
    }

    .home-ct-left .wrap-item.show .p-btn-more {
        transform: translateY(0);
        opacity: 1;
        /* transition-delay: .6s; */
    }

    .home-ct-left .p-btn-more {
        opacity: 0;
        transform: translateY(20px);
        transition: 0.6s cubic-bezier(.3,2.5,.3,1);
    }

        .home-ct-left .p-btn-more span {
            color: #F4F4F4;
        }

.p-btn-more:hover {
    background: #fff;
    transition-delay: unset;
}

    .p-btn-more:hover span {
        color: #333;
    }

.home-ct-left .p-btn-more::before,
.home-ct-left .p-btn-more::after {
    border-color: #F4F4F4;
}

.home-ct-container {
    padding: 70px 0;
}

    .home-ct-container .p-title {
        color: #fff;
    }

    .home-ct-container .p-descript {
        color: #fff;
        max-width: 850px;
    }

.home-ct-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(4,minmax(0,1fr));
    column-gap: 8px;
    row-gap: 12px;
    margin-top: 56px;
}

.home-ct-item:hover .home-ct-content h3 {
}

.home-ct-item:hover .home-ct-content span {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .1s;
}

.home-ct-item:hover .home-ct-img,
.swiper-slide-active .home-ct-item .home-ct-img {
}

.swiper-slide-active .home-ct-item {
    z-index: 5;
    width: 624px;
    height: 434px;
    pointer-events: all;
}

    .swiper-slide-active .home-ct-item::before {
        opacity: 0;
    }

.home-ct-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: .4;
    z-index: 1;
    transition: all .3s;
}

.swiper-slide-prev .home-ct-item {
    transform: translateX(400px);
}

.swiper-slide-next .home-ct-item {
}

.home-ct-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .5s;
    z-index: 1;
    width: 351px;
    height: 282px;
    pointer-events: none;
}

    .home-ct-item::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        transition: 0.8s cubic-bezier(.3,2.2,.3,1);
        opacity: 0;
        background: rgba(209, 153, 68, 0.49);
    }

    .home-ct-item:nth-child(5) {
        /* here you make it 3 */
        grid-column: 3 / span 2;
        grid-row: 1 / span 2;
        height: 498px;
    }

.home-ct-img {
    width: 100%;
    height: 100%;
    position: relative;
    transition: all .3s;
}

    .home-ct-img img {
        transition: all .3s;
        transition-delay: .2s;
    }

.home-ct-content {
    position: absolute;
    bottom: 0;
    z-index: 2;
    background-color: rgb(255 244 217 / 90%);
    width: 100%;
    left: 0;
    OPACITY: 0;
}

.home-ct-item:nth-child(5) .home-ct-content h3 {
    font-size: 32px;
}

.home-ct-item:nth-child(5) .home-ct-content span {
    font-size: 20px;
}

.home-ct-item:nth-child(5) .home-ct-content {
    padding-bottom: 20px;
}

.home-ct-content h3 {
    margin: 0;
    text-align: center;
    color: var(--default-color-2);
    font-weight: 100;
    font-family: 'baiSB';
    font-size: 18px;
    line-height: 150%;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
    padding: 0 8px;
    padding-top: 15px;
    padding-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .home-ct-content h3::before {
        content: '';
        position: absolute;
        width: 101.19px;
        height: 2.14px;
        background-color: var(--default-color-3);
        bottom: 14px;
    }

.home-ct-content span {
    display: flex;
    align-items: center;
    color: #EFEFEF;
    justify-content: center;
    font-size: 16px;
    line-height: 159.5%;
    margin-top: -1px;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

    .home-ct-content span img {
        margin-right: 10px;
    }

.home-ct-swiper {
    overflow: hidden;
    position: relative;
    width: 844px;
}

    .home-ct-swiper .swiper-slide {
        height: 450px !important;
        display: flex;
        align-items: center;
    }

    .home-ct-swiper .swiper-slide-active {
        z-index: 2;
    }

    .home-ct-swiper .swiper {
        overflow: unset;
        width: 624px !important;
        overflow: unset;
        margin: 0 auto;
    }

.home-ct-btn:hover {
}

.home-ct-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    top: 209px;
    padding: 0 32px;
}

    .home-ct-btn .btn-item {
        width: 48.88px;
        height: 48.88px;
        border: 1px solid #F9F9F9;
        border-radius: 50%;
        cursor: pointer;
        pointer-events: all;
        transition: all .3s;
    }

        .home-ct-btn .btn-item:hover {
            background-color: var(--default-color-1);
        }

        .home-ct-btn .btn-item.prev {
        }

        .home-ct-btn .btn-item.next {
        }
/*RS*/
@media(max-width:1023px) {
    .home-ct-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .home-ct-item:nth-child(5) {
        display: none;
    }

    .home-ct-btn .btn-item {
        width: 36.88px;
        height: 36.88px;
    }

        .home-ct-btn .btn-item img {
            width: 43%;
        }

    .home-ct-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 8px;
        margin-top: 30px;
    }

    .home-ct-btn {
        margin-top: 50px;
        top: 33%;
    }

    .home-ct-swiper {
        margin-top: 30px;
        width: 100%;
    }

    .swiper-slide-active .home-ct-item {
        transform: translateY(-31px) !important;
    }

    .home-qt-top .top-left {
        width: 100%;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .home-ct-wrap {
        margin-top: 30px;
        flex-direction: column-reverse;
    }

    .home-ct-left {
        height: 250px;
        flex: unset;
        width: 100%;
        padding-right: 0;
    }

        .home-ct-left .wrap-item {
            padding: 0;
        }
}

@media(max-width: 739px) {
    .home-ct-item {
        height: 295px !important;
        position: relative;
        width: 100% !important;
        transform: translateX(0) !important;
    }

    .home-ct-btn {
        font-size: 15px;
        padding: 8px 20px;
        margin-top: 20px;
    }

    .home-ct-container .p-descript {
        font-size: 15px;
        margin-top: 8px;
        max-width: 100%;
    }

    .home-ct-list {
        margin-top: 20px;
    }

    .home-ct-container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .home-ct-content h3 {
        font-size: 15px;
    }

    .home-ct-content span {
        font-size: 11px;
    }

    .swiper-slide-active .home-ct-item {
        transform: translateY(0) !important;
    }

    .home-ct-swiper {
        margin-top: 25px;
    }

    .home-ct-wrap {
        margin-top: 20px;
        flex-direction: column-reverse;
    }

    .home-ct-swiper .swiper {
        width: 100% !important;
    }

    .swiper-slide-active .home-ct-item {
        width: 100%;
        height: 300px;
    }

    .swiper-slide-active .home-ct-item {
        width: 100%;
    }

    .home-ct-swiper .swiper-slide {
        height: auto !important;
    }

    .home-ct-left .wrap-item {
        width: 100%;
    }

    .home-ct-left {
        height: 240px;
        position: relative;
        flex: unset;
        padding: 6px 0;
    }

    .home-ct-left {
        width: 100%;
    }

        .home-ct-left .wrap-item-descript {
            margin-top: 10px;
            font-size: 13px;
        }

        .home-ct-left .wrap-item-title {
            font-size: 16px;
            line-height: 151%;
            margin-top: 0px;
        }

    .p-btn-more {
        padding: 9px 16px;
    }

        .p-btn-more span {
            font-size: 15px;
        }
}