@media only screen and (max-width: 991px){
    .desktop-header{
        display: none;
    }
    /*Hero */
    .hero-section {
        position: relative;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
    .hero-overlay {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }
    .hero-content {
        text-align: center;
        padding: 1rem;
    }
    .main-header .container{
        margin: 0 auto 0 auto !important;
        padding-top: 10px;
    }
    .hero-content h1 {
        font-size: 64px !important;
    }
    .hero-content p {
        font-size: 40px;
    }
    .hero-button {
        display: inline-block;
        background-color: white;
        color: #197654;
        padding: 0.75rem 1.5rem;
        border-radius: 0.5rem;
        font-weight: bold;
        text-decoration: none;
    }
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    /* Container */
    .container {
        max-width: 991px;
        margin: 10px auto;
    }
    .alert-banner-content{
        color: white;
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 10px 20px;
        font-size: 15px;
        margin: auto;
    }
    /* Header */
    .header-inner {
        display: flex;
        align-items: center;
    }
    .logo{
        width: 271px;
    }
    .main-nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        margin: 0;
        padding: 0;
    }
    .breadcrumb{
        font-size: 14px !important;
    }
    .main-nav a {
        text-decoration: none;
        color: #000;
        font-weight: bold;
    }
    .main-nav a:hover {
        color: #C90C0F;
    }
    .social-icons a img {
        margin-left: 10px;
        vertical-align: bottom;
    }
    .actu-titre{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .social-icons, .custom-toggler{
        margin: 0 0 0 auto;
    }
    h1, h2, h3, h4, h5, h6{
        text-align: center;
    }
    .cta-news{
        padding: 5px;
        border-radius: 8px;
        margin: 20px auto;
    }
    .custom-card-1 .ce-card, .custom-card-2 .ce-card, .custom-card-3 .ce-card, .ce-card .card-body{
        height: auto;
    }
    .custom-card-1, .custom-card-2, .custom-card-3{
        margin: 20px 0;
    }
    .custom-card-3 h3{
        font-size: 48px !important;
        color: #C90C0F;
    }
    /* Footer */
    .footer-top {
        background-color: #C90C0F;
    }
    .footer-logo{
        width: 165px;
    }
    .footer-top-content{
        color: #fff;
        display: grid;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding: 40px 50px;
        text-align: center;
        margin: auto;
    }
    .powermail_field .btn{
        width: 100%;
        font-size: 20px;
        font-family: poppinsmedium;
    }
    .footer-info h3, .footer-social h3 {
        margin-bottom: 5px;
        font-weight: 400;
        color: #FFE433;
        font-size: 40px;
    }

    .footer-social a img {
        margin-right: 20px;
    }

    .filters{
        display:flex;
        flex-wrap:wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    .select-custom{
        width: 90%;
        text-align: center;
    }
    .footer-bottom {
        text-align: center;
        padding: 15px;

    }
    .footer-links a:hover {
        text-decoration: none;
    }
    .footer-links{
        display: grid;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    .powermail_fieldwrap_type_submit{
        text-align: center;
    }
    .powermail_fieldwrap_checkbox{
        text-align: justify;
    }
        /* Toggle active background */
    .custom-toggler.active rect {
        fill: #eee;
    }

    /* Slide-in mobile menu */
    .mobile-menu {
        position: fixed;
        top: 158px;
        right: -100%;
        width: 300px;
        height: 512px;
        overflow: auto;
        background: #fff;
        z-index: 1050;
        transition: right 0.4s ease;
        box-shadow: 0px 0px 8px #1A1D1A40;
        border-left: 4px solid #C90C0F;
    }

    .mobile-menu.open {
        right: 0;
    }

    .mobile-menu-content {
        padding: 1rem;
    }

    .mobile-menu .search-bar {
        margin-bottom: 1rem;
        padding: 0 10px;
    }
    .nav-item{
        padding: 20px 10px;
    }
    .mobile-menu-content .search-bar .form-control{
        border: 1px solid #C90C0F;
        border-radius: 20px;
        color: #1A1D1A80;

    }
    .search-wrapper {
        max-width: 300px;
    }
    .search-input {
        padding-left: 2rem; /* Pour laisser la place à l'icône */
    }
    .search-icon {
        position: absolute;
        top: 13%;
        left: 5px;
        pointer-events: none; /* Empêche les clics sur l'icône */
    }
    .partenaires {
        display: grid;
        justify-content: space-around;
        align-items: center;
    }
    .partenaires-logos img{
        height: 116px;
        width: auto;
    }

}
@media only screen and (max-width: 411px) {
    .logo{
        width: 195px;
    }
    .mobile-menu{
        top: 147px;
    }
}