/* 
Paragraphe
*/
.paragraph--type--calendrier{
    overflow-x: hidden;
    padding: 0;
    padding-bottom: 128px;
    width: 100%;
    margin: 0;

    h2 {
        width: calc(100% - 3rem);
        margin: 32px auto;
        max-width: 1400px;
    }
}

.swiper {
    width: calc(100% - 3rem);
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible !important;
    position: relative;

    /* .swiper-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    } */
} 

/*
buttons
*/

.swiper-button-prev.left,
.swiper-button-next.right {
    /* reset values */
    top:auto;
    left: auto;
    right: auto;
    bottom: auto;
    /* new values */
    position: absolute;
    width: 48px;
    height: 48px;
    background-color: var(--color-brand);
    cursor: pointer;
    border: none;
    z-index: 10;
    bottom: -80px;
    color: var(--color-dark);
}
.swiper-button-prev.left:after,
.swiper-button-next.right:after {
    font-size: 16px;   
}
.swiper-button-prev.left{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-right: 1px solid black;
    right:48px;
}
.swiper-button-next.right{
    right:0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 1px solid black;
}

/*
card - Evenement
*/
.event-card.swiper-slide {
    flex: 1 0 300px;
    background-color: white;
    border-radius: 20px;
    /* height: 500px; */
    height: unset;
    display: flex;
    align-items: center;
    flex-direction: column;

    h3 {
        padding: 8px 16px;
        background-color: var(--color-brand);
        border-radius: 20px;
        font-size: 20px;
    }

    p {
        font-size: 24px;
        font-weight: 700;
        line-height: 62px; /* 221.429% */
        margin:0;
        padding: 0 10px;
    }
}

@media all and (min-width: 1000px){
    .paragraph--type--calendrier h2 {
            margin: 64px auto;
    }
    .swiper-button-prev.left,
    .swiper-button-next.right {
        bottom: -122px;
    }
    .event-card.swiper-slide {
        flex: 1 0 460px;

        h3 {
            font-size: 24px;
        }
    
        p {
            font-size: 28px;
        }
    }
}

