.related-slider {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}
.related-slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.swiper-related-slider-pagination {
    position: relative !important;
}
.swiper-related-slider-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 2px;
    margin: 0 5px !important;
    border: 0;
    background: var(--gray-86);
    opacity: 1;
    position: relative;
    border-radius: 0;
}
.swiper-related-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--red);
    opacity: 1;
}
.swiper-related-slider-pagination .swiper-pagination-bullet:before {
    position: absolute;
    top: -20px;
    left: 0;
    height: 40px;
    content: '';
    width: 100%;
}

.related-featured_img a {
    display: block;
    position: relative;
    padding-bottom: 66.8%;
    width: 100%;
    height: 100%;
}
.related-featured_img a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
    transition: filter 0.3s ease-in-out;
}
.related-featured_img a:hover img {
    filter: grayscale(0);
}
.related-title {
    padding: 16px 14px;
}
.related-title a {
    font-family: var(--primary-font);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}
.related-title a:hover, .related-title a:focus {
    color: var(--red);
}

.related-slider-container h3.h4 {
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    margin: 60px 0 4px;
}

@media screen and (max-width: 1239px) {
    
}


@media screen and (max-width: 991px) {

    .swiper-related-slider-pagination {
        bottom: 10px !important;
    }
    .swiper-related-slider-pagination .swiper-pagination-bullet {
        width: 25px;
        height: 2px;
    }
}

@media screen and (min-width: 768px) {
    .related-slider-swiper.swiper {
        left: 0;
        position: static;
        box-sizing: border-box;
        width: calc((100vw + 100%) / 2);
        padding-right: 110px;

        padding-bottom: 55px;
        padding-top: 50px;
    }
}

@media screen and (max-width: 767px) {
    .related-slider-swiper.swiper {
        left: 0;
        position: static;
        box-sizing: border-box;
        width: calc((100vw + 100%) / 2);
        padding-right: 20px;

        padding-bottom: 45px;
        padding-top: 30px;
    }
    .related-slider-container h3.h4 {
        font-size: 24px;
        margin: 50px 0 0;
    }
}