/************
    Webstories
************/

.home__grid>.section_webstories_default {
    max-width: 100%;
    margin: 0 0 72px;
}

.section_webstories_default .splide__track {
    overflow: hidden;
}

.section_webstories_default .splide__list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.section_webstories_default .splide__slide {
    cursor: pointer;
    min-width: calc(100% / 4 - (120px / 4));
    margin-right: 40px;
    position: relative;
    background-color: #000;
    overflow: hidden;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.section_webstories_default .splide__slide::before {
    content: '';
    display: block;
    width: 100%;
    height: 15%;
    position: absolute;
    z-index: 999;
    background: linear-gradient(180deg, #000000 -126.56%, rgba(151, 157, 171, 0) 95.15%);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.section_webstories_default .webstories_content {
    position: absolute;
    width: 100%;
    height: 62%;
    bottom: 0;
    padding: 32% 19px 0 24px;
    background: linear-gradient(0deg, #000000 -6.51%, rgba(151, 157, 171, 0) 81.99%);
}

.section_webstories_default .webstories_title {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #fff;
}

@media (max-width:1152px) {
    .section_webstories_default .splide__slide {
        min-width: calc(100% / 3 - (80px / 3));
    }

    .section_webstories_default .webstories_title {
        position: absolute;
        bottom: 24px;
        text-shadow: 0px 0px 4px rgba(0,0,0,0.7);
    }

    .single-homepage_events .section_webstories_default .splide__track {
        margin: initial;
    }
}

@media (max-width:700px) {
    .home__grid>.section_webstories_default {
        padding-bottom: 40px;
        border-bottom: 1px solid #E6E6E6;
        margin-bottom: 40px;
    }
    
    .section_webstories_default .splide__track {
        margin: 0 -16px;
    }
    
    .section_webstories_default .splide__slide {
        min-width: 278px;
        margin-right: 24px;
        flex-shrink: initial;
        height:415px;
    }
    
    .single-homepage_events .section_webstories_default .splide__slide {
        flex-shrink: 0;
    }
}

.webstories_item img {
    transition: all .5s;
    height: 100%;
    width:100%;
    object-fit: cover;
    min-height:415px;
}

.webstories_item:hover img {
    transform: scale(1.05);
}
