
.m-6 .section-title {
    margin-bottom: 0;
}

.m-6-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 60px;
}

.m-6-left {
    width: 100px;
    flex-grow: 2;
}

.m-6-right {
    width: 280px;
}

.m-6-right .main-btn-3 {
    width: 100%;
}

.m-6-slider {
    margin-left: -12px;
    margin-right: -12px;
}

.m-6-slide {
    padding-left: 12px;
    padding-right: 12px;
}

.m-6-slide-content {
    width: 100%;
    position: relative;
}

.m-6-slide-content:after {
    content: '';
    display: block;
    padding-top: 63%;
}

.m-6-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.m-6-slide-image:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.25s;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.m-6-slide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.m-6-slide-name {
    position: absolute;
    top: 24px;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 48px);
    z-index: 20;
    padding: 36px 24px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    opacity: 0;
    transition: 0.25s;
    border: 1px solid #838383;
}

@media screen and (min-width: 992px) {
    .m-6-slide-content:hover .m-6-slide-image:after {
        opacity: 1;
    }

    .m-6-slide-content:hover .m-6-slide-name {
        opacity: 1;
    }
}


@media screen and (max-width: 1500px) {
    .m-6-slider {
        position: relative;
    }

    .m-6-slider:before {
        content: '';
        display: block;
        width: 300px;
        position: absolute;
        top: -10px;
        left: 140px;
        transform: translateX(-100%);
        height: calc(100% + 20px);
        z-index: 4;
        background: linear-gradient(90deg, #fefefef5  71.69%, rgba(254, 254, 254, 0.00) 89.64%);
    }

    .m-6-slider:after {
        content: '';
        display: block;
        width: 300px;
        position: absolute;
        top: -10px;
        right: 140px;
        transform: translateX(100%);
        height: calc(100% + 20px);
        z-index: 4;
        background: linear-gradient(270deg, #fefefef5  71.69%, rgba(254, 254, 254, 0.00) 89.64%);
    }
}

@media screen and (max-width: 992px) {
    .m-6-slide-name {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: initial;
        padding: 16px;
        opacity: 1;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.62) 100%);
    }
}

@media screen and (max-width: 767px) {
    .m-6-slider:before {
        left: 110px;
    }

    .m-6-slider:after {
        right: 110px;
    }

    .m-6-top {
        flex-direction: column;
    }

    .m-6-left {
        width: 100%;
    }

    .m-6-right {
        margin-left: auto;
        padding-bottom: 24px;
        display: flex;
        justify-content: flex-end;
    }

    .m-6-top .section-title {
        margin-bottom: 12px;
    }

    .m-6-top {
        margin-bottom: 24px;
    }

    .m-6-slider {
        margin-left: -20px;
        margin-right: -20px;
    }

}