﻿.home-qt {
    position: relative;
}

    .home-qt .grid.wide {
        z-index: 3;
        position: relative;
        max-width: 1328px;
    }

    .home-qt .swiper {
        overflow: unset;
    }

.home-qt-container {
    padding-top: 113px;
}

    .home-qt-container .p-title {
    }

    .home-qt-container .p-descript {
        font-size: 24px;
    }

.home-qt-swiper {
    margin-top: 73px;
    padding-bottom: 134px;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(5,minmax(0,1fr));
    column-gap: 12px;
    row-gap: 12px;
}

.home-qt-item:hover::before {
    transform: translate(-8px, -7px);
    opacity: 1;
}

.home-qt-item::before {
    content: '';
    position: absolute;
    width: 100%;
    border-radius: 21px;
    height: 100%;
    border: 1px solid var(--default-color-1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: -1;
    top: 0;
    left: 0;
    transition: all .3s;
}

.home-qt-item:hover .img {
    opacity: 1;
}

.home-qt-item:hover::after {
    opacity: 1;
}

.home-qt-item::after {
    content: '';
    position: absolute;
    width: 100%;
    border-radius: 21px;
    height: 100%;
    background-color: #990005ad;
    opacity: 0;
    top: 0;
    left: 0;
    transition: all .3s;
}

.home-qt-item {
    background-color: #F4F3F3;
    border-radius: 21px;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #B61116;
    padding: 30px 15px;
}

    .home-qt-item .img {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 21px;
        overflow: hidden;
        opacity: 0;
        transition: all .3s;
    }

        .home-qt-item .img img {
        }


.home-qt-decor {
    position: absolute;
    bottom: 0;
    width: 100%;
}

    .home-qt-decor img {
        width: 100%;
    }

.home-qt-img {
    height: 74px;
    position: relative;
    z-index: 2;
}

    .home-qt-img img {
    }

.home-qt-content {
    position: relative;
    z-index: 2;
}

.home-qt-item:hover .home-qt-content h3 {
    color: var(--default-color-4);
}

.home-qt-content h3 {
    margin: 0;
    font-family: robotoM;
    font-weight: 100;
    font-size: 19px;
    color: var(--default-color-1);
    margin-top: 14px;
    line-height: 159.5%;
    margin-bottom: 10px;
}

.home-qt-content span {
    line-height: 165%;
    font-size: 16px;
    color: #828282;
}

.home-qt-item:hover .home-qt-content span {
    color: #D3D3D3;
}
/*RS*/
@media(max-width:1023px) {
    .home-qt-container {
        padding-top: 45px;
    }

    .home-slogan-item .bottom section {
        font-size: 14px;
    }

    .home-qt-swiper {
        margin-top: 35px;
        padding-bottom: 35px;
        column-gap: 12px;
        row-gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-qt-item:first-child {
        grid-column: 1 / span 2;
        grid-row: 1 / span 2;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width: 739px) {

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

        .home-qt-container .p-title {
            font-size: 31px;
        }

    .home-qt-swiper {
        margin-top: 25px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding-bottom: 20px;
    }

    .home-qt-item:first-child {
        grid-column: unset;
        grid-row: unset;
    }

    .home-qt-content span {
        font-size: 14px;
    }

    .home-qt-content h3 {
        margin-top: 0;
        font-size: 17px;
        margin-bottom: 5px;
    }

    .home-qt-img {
        display: none;
    }

    .home-qt-item {
        padding: 15px;
    }
}
