/* ========================= */
/* GLOBAL */
/* ========================= */

.exa-container{
    width:100%;
    margin:auto;
    position:relative;
    background:#A1CDF2FF;
        min-height: 700px;
        padding: 1% 0% 2% 0%;
}

/* ========================= */
/* TITLE */
/* ========================= */

.exa-title{
text-align: center;
    font-size: 32px;
    color: #3F3F3FFF;
}

/* ========================= */
/* SLIDER */
/* ========================= */

.exa-slider-wrapper{
    width:100%;
    position:relative;
}

.exa-slider-track{
    display:flex;
    gap:20px;

    transition:transform .55s cubic-bezier(.22,.61,.36,1);
    will-change:transform;
    width: 400px;
}

.exa-slider-item{
    flex:0 0 calc((100% - 80px) / 5);
}

.exa-slider-viewport {
  overflow: hidden;
  position: relative;
}

/* ========================= */
/* CARD */
/* ========================= */

.exa-news-box{
    background:#193259FF;

    border-radius:16px;
    overflow:hidden;

    height:100%;

    display:flex;
    flex-direction:column;

    border:1px solid rgba(255,255,255,0.05);

    box-shadow:5px 4px 8px rgba(0,0,0,0.35);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.exa-news-box:hover{
    transform: translateY(-5px);
    box-shadow: 4px 4px 17px rgba(0, 0, 0, 0.45);
}

.titlesteam{    height: 70px;}

/* ========================= */
/* IMAGE */
/* ========================= */

.exa-news-box img{
    width:400px;
    height:225px;
    display:block;
}

/* ========================= */
/* CONTENT */
/* ========================= */

.exa-news-content{
    padding:20px;

    display:flex;
    flex-direction:column;
    flex:1;
}

.exa-news-content h2{
    font-size:21px;
    line-height:1.35;
    font-weight:700;

    color:#fff;

    margin-bottom:14px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;

    overflow:hidden;
}

.exa-news-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:10px;

    margin-bottom:15px;

    font-size:13px;

    color:#8f98a0;
}

.exa-news-content p{
font-size: 20px;
    color: #FFF;
    letter-spacing: 1px;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}





/* SEUL le viewport coupe */
.exa-slider-viewport{
    overflow: hidden;
    position: relative;

    /* IMPORTANT */
    padding: 20px 0; /* permet à l’ombre de respirer */
}





/* ========================= */
/* BUTTON LINK */
/* ========================= */

.exa-news-content a{
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, transform .25s ease;
}

.exa-news-content a:hover{

    transform:translateY(-2px);
}

/* ========================= */
/* BOTTOM NAV */
/* ========================= */

.exa-bottom-nav{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    margin-top:1%;
}

/* ========================= */
/* NAV BUTTONS */
/* ========================= */

.exa-nav-btn{
    width:48px;
    height:48px;

    border:none;
    border-radius:50%;

    background:#FFF;
    color:#1b2838;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
    font-weight:700;

    cursor:pointer;

    flex-shrink:0;

    box-shadow:0 5px 16px rgba(0,0,0,0.3);

    transition:
        transform .2s ease,
        background .2s ease;
}

.exa-nav-btn:hover{
    transform:scale(1.08);

    background:#fff04d;
}

/* ========================= */
/* PAGINATION */
/* ========================= */

.exa-pagination{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:10px;
}

.exa-page-dot{
    width:8px;
    height:8px;

    border-radius:999px;

    background:rgba(255,255,255,0.28);

    cursor:pointer;

    transition:
        width .25s ease,
        background .25s ease,
        opacity .25s ease;

    opacity:.7;
}

.exa-page-dot:hover{
    opacity:1;
}

.exa-page-dot.active{
    width:36px;

    background:#ffffff;

    opacity:1;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:1200px){

    .exa-slider-item{
        flex:0 0 calc((100% - 40px) / 3);
    }

}

@media(max-width:900px){

    .exa-slider-item{
        flex:0 0 calc((100% - 20px) / 2);
    }

}

@media(max-width:600px){

    .exa-title{
        font-size:30px;
        margin-bottom:25px;
    }

    .exa-slider-item{
        flex:0 0 100%;
    }

    .exa-news-box img{
        height:210px;
    }

    .exa-news-content{
        padding:18px;
    }

    .exa-news-content h2{
        font-size:20px;
    }

    .exa-news-content p{
        font-size:14px;
    }

    .exa-bottom-nav{
        gap:14px;
        margin-top:24px;
    }

    .exa-nav-btn{
        width:42px;
        height:42px;

        font-size:18px;
    }

    .exa-page-dot.active{
        width:30px;
    }

}