@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Poppins&family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

body {
    background: #ECECEC;
    padding: 0;
}

.footer {
    position: inherit;
}

/* Page Ressources (liste) */

.page-ressources-container .ressources-content {
    padding: 80px 100px;
}

.page-ressources-container .ressources-content h1 {
    color: #2F6D97;
    font-family: 'Charter', Serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 32px;
}

.page-ressources-container .ressources-content p {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    letter-spacing: -0.01em;
    color: #525F66;
}

.ressources-list{
    margin-top: 50px;
}

.ressources-list .row{
    background: #FFF;
    box-shadow: 0px 10px 24px rgba(213, 232, 243, 0.58);
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 25px 10px !important;
}

.ressources-list .row .categorie-ressource{
    background: #114A70;
    border-radius: 10px;
    padding: 5px 10px;
    color: #fff;
    margin: 15px 0;
    display: table;
    font-size: 0.8rem;
}

.ressources-list .titre-ressource {
    margin-bottom: 10px;
    font-family: 'Charter';
    font-style: normal;
    font-size: 24px;
    line-height: 123.19%;
    color: #2F6D97 !important;
}

.ressources-list .titre-ressource a {
    color: inherit;
    text-decoration: underline;
}

.header-download {
    background: linear-gradient(105.79deg, #E46E00 4.52%, #FDA43C 71.62%);
    border-radius: 30px;
    border: 0;
    /*margin-right: 15px;*/
    /*margin-left: 40px;*/
    /*margin-top: 18px;*/
    padding: 12px 24px;
}

.ressources-list .image-ressource img {
    width: 100%;
    height: clamp(180px, 15vw, 280px); /* min, fluide, max */
    object-fit: cover;
    padding: 0;
    border-radius: 10px;
    image-rendering: optimizeQuality;
}

.ressource-form-download label{
    display: block;
    margin-bottom: 0;
}

.ressource-form-download .col-sm-12 p{
    margin-bottom: 0;
}


.single-ressource .ressource-form-download .wrapper-form{
    background: #FFF;
    box-shadow: 0px 10px 24px rgba(213, 232, 243, 0.58);
    padding: 15px;
    border-radius: 10px;
    margin-top: 115px;
}


@media (max-width: 767.98px) {
    .ressources-list .row {
        flex-wrap: wrap;
    }

    .ressources-list .image-ressource,
    .ressources-list .image-ressource img {
        width: 100%;
        max-width: 100%;
    }

    .page-ressources-container .ressources-content {
        padding: 20px 20px;
    }

    .ressources-list .row {
        padding: 15px 10px !important;
    }

    .ressources-list .titre-ressource {
        margin: 20px 0;
    }

}


/* Pages ressource */
.ressource-form-download {
    font-weight: 400 !important;
}

.ressource-form-download .ressource-form-download-title {
    font-family: 'Charter', Serif;
    color: #2F6D97;
    padding: 10px 0 15px 0;
}

.pum .ressource-form-download .ressource-form-download-title {
    padding: 0 0 15px 0;
}