.dark-blue-slide {
    color: white;
    background: #0f096c !important;
}
.dark-blue-slide  #hq-carousel-content {
    background: none !important;
    border: none !important;
}
.wrapper-slide-db-slide {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    width: 100%;
}
.wrapper-slide-db-slide a {
    color: white;
    text-decoration: none;
    padding: 20px 0;
    max-width: 100%;
}
.wrapper-slide-db-slide a:hover .call-to-action {
    border-bottom: 1px solid #0f096c;
}
.wrapper-slide-db-slide a:hover .h2 {
    line-height: 130%;
}
.wrapper-slide-db-slide p { 
    font-size: 20px;
    margin-bottom: 0;
}
.wrapper-slide-db-slide .h2 { 
    font-size: 36px;
    line-height: 130%;
    color: white;
    margin: 0 0 20px;
}
.wrapper-slide-db-slide .call-to-action {
    display: inline-block;
    font-size: 20px;
    color: #FF9B00 !important;
    border-bottom: 1px solid #FF9B00;
    text-decoration: none !important;
}

.banniere-dark-blue .row {
    color:#fff;
    padding: 20px;
    height: 100%;
    font-family: "Open Sans",sans-serif;
    font-size: 20px;
    text-align: center;;
}
.banniere-dark-blue .mon-container {
    background-color:#0f096c;
    overflow: hidden;
    margin: 0!important;
    padding: 20px 0;
}
.banniere-dark-blue .h2 {
    font-size: 36px;
    line-height: 130%;
    color: white;
    margin: 0 0 20px;
}
.banniere-dark-blue  p {
    color:#fff !important;
    font-size: 20px;
    margin-bottom: 0;
}
.banniere-dark-blue a {
    border-bottom:1px solid #FF9B00;
    color:#FF9B00 !important;
    font-size: 20px;
    text-decoration: none !important;
}
.banniere-dark-blue a:hover {
    color:#FF9B00 !important;
    border-bottom:1px solid transparent;
}

/* BANNIÈRE PHASE 4 */

/* Étape pour transformer une banniere-eec-2022 (phase 3) en phase 4 */
/* 
    Ajouter les class au composant : 
        banniere-phase4, banner-text, banner-subtitle, banner-title, banner-cta, banner-img 
        Voir exemple : /themes/banniere-eec-phase4/banniere-eec-energie-en-commun-fr.html
        Changer les colonnes du text (9) et de image (3)
        Voir exemple : /themes/banniere-eec-phase4/banniere-eec-energie-en-commun-fr.html
    Ajouter la class : banner-eec à au contenant/section de la page. 
        Voir exemple : /enseignants
*/

.banner-eec .columns {
    padding: 0;
} 

.banner-phase4 .mon-container {
    padding: 20px;
}

.banner-phase4 .banner-text {
    display: flex;
    flex-direction: column;
    text-align: center;
} 

.banner-phase4 .banner-title {
    font-size: 2.4rem !important; 
}

.banner-phase4 .banner-subtitle {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.banner-phase4 .banner-cta {
    font-size: 1.6rem;
    color: #fff !important;
    border: 4px solid #fff;
    padding: 1.5rem 3rem;
    border-radius: 3rem;
    font-weight: 700;
    display: inline-block;
    text-align: center;
}

.banner-phase4 .banner-cta:hover {
    background-color: #fff;
    color: #0F096C !important;
    box-shadow: 0px 4px 8px 3px rgba(255, 255, 255, 0.25), 0px 1px 3px rgba(255, 255, 255, 0.5);
    border-bottom: 4px solid transparent;
}

.banner-phase4 .banner-cta:active {
    background-color: rgba(255, 255, 255, 0.8);
    border: 4px solid rgba(255, 255, 255, 0.8);
    color: #0F096C !important;
}

.banner-phase4 .banner-cta:focus-visible {
    border-color: #0E75E5;
    filter: drop-shadow(0px 0px 8px #0E75E5);
    outline: none !important;
}

.banner-phase4 .banner-figure {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.banner-phase4 .medium-3 {
    padding: 0;
    display: none;
}

.banner-phase4 .banner-img {
    max-width: 230px;
    width: 100%;
}

/* MÉDIA QUERY */

@media screen and (min-width: 768px) {
    .wrapper-slide-db-slide {
        flex-direction: row;
        height: 385px;
    }
    .wrapper-slide-db-slide a {
        max-width: 60%;
        margin-right: 20px;
    }
    
    .banniere-dark-blue .row {
        text-align: left;
    }
    .banniere-dark-blue .db-link {
        margin-top:10px;
        margin-bottom: 20px;
    }

    /* PHASE 4 */
    .banner-phase4 .mon-container {
        display: flex;
        align-items: center;
    }

    .banner-phase4 .banner-text {
        text-align: start;
    }

    .banner-phase4 .medium-3 {
        display: block;
    }

    .banner-phase4 .db-link {
        margin-top: 0;
        margin-bottom: 0;
    }

    .banner-phase4 .banner-subtitle {
        margin-top: 0;
    }
}