
:root {
    --noir: #000;
    --rouge: #FF0000;
    --blanc: #FFF;
    --gris-clair : #f2f4f7;

    --noir: #262626;
    --orange: #EF7D00;
    --vert-drapeau: #3FA535;
    --vert: #0f7705;
    --vert-fonce:#023A05;
    --blanc: #FFF;
}



#page_anciens_ministres {
    position: relative;
    width: 100%;

    /* border: 1px solid red; */
}



#page_anciens_ministres .titre{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 25px;
    background-color: rgba(176, 202, 179, 0.167);
}
#page_anciens_ministres .titre h2{
    font-size: 18px;
    font-weight: 600;
    color: var(--noir);
}
#page_anciens_ministres .titre p{
    font-size: 13px;
}

 #page_anciens_ministres .liste{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 35px;
    margin-bottom: 35px;
}

#page_anciens_ministres .liste .one_gouv{
    position: relative;
    width: 100%;
    height: 155px;
    padding: 0px;
    box-shadow: 0 4px 8px 0 rgba(189, 189, 189, 0.2), 0 6px 20px 0 rgba(223, 223, 223, 0.11);
    border: 1px solid rgba(189, 189, 189, 0.2);

    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0px;
    overflow: hidden;
    transition: all 0.3s ease-out;

}
#page_anciens_ministres .liste .one_gouv .inner{
    position: relative;
    width: 100%;
    height: 155px; /* ou ce que tu veux */
    background-color: rgb(209, 209, 209);
    display: flex;
    justify-content: center;
    align-items: center;
}
#page_anciens_ministres .liste .one_gouv .inner img{
    position: relative;
    width: 100%;
    height: auto;
    margin: auto;
    padding: 0;
}
#page_anciens_ministres .liste .one_gouv .caption{
    position: relative;
    width: 100%;
    height: 155px; /* ou ce que tu veux */
    padding: 20px;
}
#page_anciens_ministres .liste .one_gouv .caption .libelle{
    position: relative;
    width: 100%;
    padding: 0;
}
#page_anciens_ministres .liste .one_gouv .caption .libelle h1{
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: var(--noir);
    transition: all 0.3s ease;
    margin: 0 !important;
    background-color: rgba(189, 189, 189, 0.001) !important;
}
#page_anciens_ministres .liste .one_gouv .caption .foot {
    position: absolute;
    bottom: 15px;
    left: 0px;
    right: 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    max-height: 20px;
    padding: 0 20px;
}
#page_anciens_ministres .liste .one_gouv .foot p{
    position: relative;
    font-size: 12px;
    color: gray;
}
#page_anciens_ministres .liste .one_gouv .foot a{
    position: relative;
    font-size: 14px;
}

/******************************************* Responsive********************/

@media screen and (max-width: 1520px) {

}
@media screen and (max-width: 1400px) {
    
}
@media screen and (max-width: 1200px) {
    #page_anciens_ministres .liste{
        position: relative;
        grid-template-columns: repeat(1, 1fr);
    }
    #page_anciens_ministres .liste .one_gouv .foot {
        position: relative;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        padding-bottom: 10px;
        max-height: 20px;
    }
    #page_anciens_ministres .liste .one_gouv .caption .libelle h1{
        position: relative;
        font-size: 14px;
        font-weight: 600;
    }
}
@media screen and (max-width: 1024px) {
    #page_anciens_ministres .liste .one_gouv .caption .libelle h1{
        position: relative;
        font-size: 14px;
        font-weight: 600;
    }
    #page_anciens_ministres .liste{
        position: relative;
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width: 992px) {
    
    #page_anciens_ministres .liste .one_gouv .caption h2{
        position: relative;
        font-size: 14px;
        font-weight: 600;
    }
    #page_anciens_ministres .liste{
        position: relative;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    #page_anciens_ministres .titre h2{
        font-size: 14px;
        font-weight: 500;
        color: var(--noir);
    }
    #page_anciens_ministres .liste{
        position: relative;
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width: 640px) {
    
}
@media screen and (max-width: 480px) {
  
}



/**************       dark mode   ***********/
.dark-mode #page_anciens_ministres .titre h2,
.dark-mode #page_anciens_ministres .liste a h2,
.dark-mode #page_anciens_ministres .liste a p{
    color: yellow !important;
}
.dark-mode #page_anciens_ministres .liste .one_gouv{
    box-shadow: 0 4px 8px 0 rgba(189, 189, 189, 0.01), 0 6px 20px 0 rgba(223, 223, 223, 0.01);
}
.dark-mode #colonne_droite .content .gouv_videos .item a .caption p{
    border: 1px solid yellow !important;
}
.dark-mode .section_e_services::after{
    border-top: 1px solid yellow !important;
}
.dark-mode #header .items{
    border-bottom: 1px solid yellow !important;
}
.dark-mode #colonne_droite .content .section_grands_dossiers .items .titre{
    border-top: 2px solid yellow;
}
.dark-mode #colonne_droite .content .section_grands_dossiers .items .titre h1::after{
   background-color: yellow !important;
}
.dark-mode #page_anciens_ministres .titre{
   background-color: rgb(36, 36, 36) !important;
}
.dark-mode #colonne_droite .content .section_grands_dossiers .items #owl_grands_dossiers.owl-carousel.owl-theme a .caption{
   background-color: rgb(36, 36, 36) !important;
}
.dark-mode #colonne_droite .content .section_grands_dossiers .items #owl_grands_dossiers.owl-carousel.owl-theme a .inner h2{
   background-color: rgb(37, 37, 37) !important;
   background: rgb(36, 36, 36) !important;
}
.dark-mode #colonne_droite .content .gouv_videos .item .inner .icon span{
    background-color: #000 !important;
    background: #000 !important;
}
