.header-webstories {
    width: 100%;
    height: 80px;
    background: transparent linear-gradient(87deg, #104B97 0%, #2B2C8F 100%) 0% 0% no-repeat padding-box;
    margin-bottom: 20px;
}

.header-webstories-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    gap: 25px;
}

#splideWebstories-list li {
    width: 290px !important;
}

.disabled {
  opacity: 0.1;
  cursor: none;
}

.header-webstories-wrapper h2 {
    font-size: 34px;
    line-height: 29px;
    font-family: "NunitoSans-Regular";
    color: #fff;
    transition: 0.2s;
}

.filter-option {
    background: #F9F9F9 0% 0% no-repeat padding-box;
    border: 1px solid #2B2C8F;
    border-radius: 16px;
    padding: 10px;
    color: #2B2C8F;
    font-size: 12px;
    font-family: "NunitoSans-ExtraBold";
    cursor: pointer;
}

.filter-container {
    display: flex;
    gap: 10px;
    width: 1200px;
    margin: 0 auto;
}

.stories-card {
    border-radius: 20px;
    width: 280px;
    height: 440px;
}

.stories-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 20px;
    gap: 10px;
    margin-top: 65px;
    max-height: 230px;
}

.stories-content h3{
    width: fit-content;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    letter-spacing: -0.06px;
}

.stories-content h1{
    font-family: "Prompt-ExtraBold";
    font-size: 35px;
    line-height: 35px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #fff;
}

.stories-content span{
    font-family: "NunitoSans-SemiBold";
    font-size: 15px;
    line-height: 38px;
    color: #fff;
    opacity: 0.8;
}

.webstories-main {
    max-width: 1200px;
    margin: 20px auto;
}

.stories-logo {
    padding: 20px;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1em;
    background: rgba(0,0,0,.8);
    align-items: center;
}

.lightbox span {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.lightbox span iframe {
    border-radius: 20px;
    width: 600px;
    height: 630px;
}

.active {
    background-color: #2B2C8F;
    color: white;
}

#webstories-section {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

#nextStories {
    background-color: #2B2C8F;
    display: flex;
    flex-direction: row;
    gap: 5px;
    font-size: 12px;
    color: #fff;
    padding: 8px 13px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    height: 35px;
    width: 160px;
    margin-right: 50px;
    font-family: "NunitoSans-SemiBold";
}

#prevStories {
    background-color: #2B2C8F;
    display: flex;
    flex-direction: row;
    gap: 5px;
    font-size: 12px;
    color: #fff;
    padding: 8px 13px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    height: 35px;
    width: 160px;
    margin-left: 50px;
    font-family: "NunitoSans-SemiBold";
}

.close-stories {
    top: 20px;
    right: 65px;
    display: flex;
    position: absolute;
    color: white;
    padding: 10px;
    border-radius: 20px;
    align-items: center;
    gap: 5px;
    background-color: #2e30b1;
}

.close-stories img {
    width: 17px;
}

.webstories-widget {
    grid-column: span 8;
    grid-row: span 3;
    background-color: #0E0E0E;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    gap: 20px;
    max-width: 1200px;
}

.webstories-header {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin: 40px 20px 10px;
    align-items: center;
}

.webstories-header h3{
    color: #fff;
    font-family: nunitosans-regular;
    font-size: 34px;
    line-height: 22px;
    text-transform: uppercase;
}

.splide__pagination__page {
    width: 36px !important;
    height: 5px !important;
    background-color: #ffffff42 !important;
    border-radius: 5px !important;
    transform: unset !important;
    opacity: unset !important;
}

.indicadorLoteria .splide__pagination__page,
.widgetIndicadoresBoi .splide__pagination__page,
.widgetIndicadoresCafe .splide__pagination__page {
    width: 8px!important;
    height: 8px!important;
    background-color: #8c8c8c42 !important;
}

.splide__pagination__page.is-active {
    background: #1D3D93 0% 0% no-repeat padding-box !important;
    transform: unset !important;
}



.splide__pagination {
    bottom: -2em !important;
}

@media (max-width:800px) {
    .top-hidden {
        height: unset;
    }

    .filter-container {
        overflow-y: scroll;
        padding: 0 20px;
        width: unset;
    }

    .filter-container::-webkit-scrollbar {
        display: none;
    }

    .filter-option {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px 20px;
    }

    .webstories-main {
        display: flex;
        justify-content: center;
    }

    #webstories-section {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .close-stories {
        top: 5px;
        right: 5px;
    }

    .close-stories img {
        width: 10px;
    }

    .lightbox span iframe {
        height: 550px;
    }

    #nextStories {
        bottom: 5px;
        right: 0;
        position: absolute;
        width: 120px;
        margin-right: 15px;
    }

    #prevStories {
        width: 120px;
        position: absolute;
        left: 0;
        bottom: 5px;
        margin-left: 15px;
    }

    .webstories-widget {
        grid-column: span 3;
        grid-row: span 3;
        height: 590px;
    }

    .splide__pagination {
        justify-content: flex-start !important;
    }

    #splideWebstories {
        margin: 0 !important;
    }
  }