/* Bloc slider de contenus */
.block-slider-contenus {
    background-color: #ffffff;
    padding: 80px 0;
}

.bsc-border {
    border: 8px solid #dcdc01;
    max-width: 90%;
    margin: 0 auto;
    padding: 80px 40px;
}

.bsc-inner {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 20px;
}

.bsc-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 39px;
    margin-bottom: 80px;
}

.bsc-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 50px;
    color: rgba(54, 69, 0, 0.85);
    text-align: center;
    letter-spacing: 5px;
    margin: 0;
    line-height: 1.2;
}

.bsc-underline {
    width: 124px;
    height: 5px;
    background-color: #dcdc01;
}

.bsc-content-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.bsc-main-slider {
    width: 100%;
    margin-bottom: 30px;
}

.bsc-main-slider .splide__track {
    overflow: visible;
    width: 100%;
}

.bsc-main-slider .splide__list {
    display: flex;
    width: 100%;
}

.bsc-main-slider .splide__slide {
    flex-shrink: 0;
    width: 100%;
    min-width: 100%;
}

.bsc-slide-wrapper {
    margin: 0 -15px;
    color: inherit;
    text-decoration: none;
    display: flex;
    transition: opacity 0.3s ease;
}

.bsc-slide-wrapper:hover {
    opacity: 0.8;
}

.bsc-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;

    @media (min-width: 767px) {
        padding-left: 40px;
    }
}

.bsc-slider-column {
    position: relative;
}

.bsc-slide-image {
    width: 100%;
    position: relative;

    &::after,
    &::before {
        content: '';
        position: absolute;
        left: 0;
        width: 150px;
        height: 150px;
        background-repeat: no-repeat;
        background-size: contain;

        background-image: url('../../images/elements/coin.svg');
    }

    &::after {
        bottom: 0;
        background-position: bottom left;

    }

    &::before {
        top: 0;
        transform: rotate(90deg);
        background-position: top left;
    }
}

.bsc-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bsc-post-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: rgba(54, 69, 0, 0.85);
    letter-spacing: 6px;
    margin: 0;
    line-height: 1.3;
    padding-bottom: 10px;
}

.bsc-post-excerpt {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    color: #364500;
    letter-spacing: 3.2px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bsc-post-excerpt p {
    margin: 0 0 1em 0;
}

.bsc-post-excerpt p:last-child {
    margin-bottom: 0;
}

.bsc-main-button {


    margin-bottom: 80px;
}






.bsc-navigation {
    display: flex;
    gap: 1px;
    align-items: center;

    @media (max-width: 992px) {
        justify-content: center;
    }
}

.bsc-nav-prev,
.bsc-nav-next {
    width: 40px;
    height: 40px;
    border: none;
    background: #485904;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    color: #ffffff;
}

.bsc-nav-prev:hover,
.bsc-nav-next:hover {
    opacity: 0.8;
}

.bsc-nav-prev svg,
.bsc-nav-next svg {
    display: block;
    width: 100%;
    height: 100%;
}

.bsc-slider-column {
    position: relative;
}

.bsc-slide-image {
    width: 100%;
    aspect-ratio: 16/9;
    ;
}

.bsc-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.bsc-decoration-top {
    top: 0;
}

.bsc-decoration-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.bsc-decoration-cell {
    background-color: rgba(255, 255, 255, 0.2);
}

.bsc-decoration-cell.active {
    background-color: transparent;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><g transform="rotate(90 40 40)"><path fill="white" d="M40,0 L80,40 L40,80 L0,40 Z"/></g></svg>');
    background-size: cover;
    background-position: center;
}

.bsc-decoration-cell:nth-child(2),
.bsc-decoration-cell:nth-child(4) {
    background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1600px) {
    .bsc-border {
        max-width: 95%;
        padding: 60px 0;
    }

    .bsc-content-wrapper {
        gap: 60px;
    }

    .bsc-slider-column {
        width: 600px;
        margin: 0 auto;
    }

    .bsc-text-column {
        max-width: 550px;
    }
}

@media (max-width: 1200px) {
    .block-slider-contenus {
        padding: 60px 0;
    }

    .bsc-border {
        border-width: 6px;
        padding: 40px 0;
    }

    .bsc-header {
        gap: 30px;
        margin-bottom: 60px;
    }

    .bsc-title {
        font-size: 4vw;
        letter-spacing: 3px;
    }

    .bsc-underline {
        width: 100px;
        height: 4px;
    }

    .bsc-text-column {
        gap: 0;
    }

    .bsc-slider-column {
        margin-top: 50px;
    }

    .bsc-slide-image {

        &::after,
        &::before {
            display: none;
        }
    }

    .bsc-inner {
        padding: 0 15px;
    }

    .bsc-header {
        gap: 25px;
        margin-bottom: 40px;
    }

    .bsc-title {
        font-size: 6vw;
        letter-spacing: 2px;
    }

    .bsc-underline {
        width: 80px;
        height: 3px;
    }

    .bsc-slide-content {
        gap: 40px;
    }

    .bsc-post-title {
        font-size: 5vw;
        letter-spacing: 3px;
    }

    .bsc-post-excerpt {
        /* font-size: 14px; */
        letter-spacing: 2px;
    }

    .bsc-button span {
        font-size: 14px;
        letter-spacing: 2.5px;
    }




}

@media (max-width: 480px) {
    .bsc-title {
        font-size: 7vw;
    }

    .bsc-slide-content {
        gap: 30px;
    }

    .bsc-post-title {
        font-size: 6vw;
    }




}