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

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



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

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



#anciens_gouvernement .titre{
    display: flex;
    flex-direction: column;
    padding: 15px;
    width: 100% !important;
    color: var(--blanc);
    margin-top: 15px;
    margin-bottom: 20px;
    background-color: var(--orange);
    border-radius: 4px;
    border-bottom: 3px solid var(--vert-fonce);
}
#anciens_gouvernement .titre h2{
    font-size: 16px;
    font-weight: 600;
}

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

#anciens_gouvernement .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;

}
#anciens_gouvernement .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;
}
#anciens_gouvernement .liste .one_gouv .inner img{
    position: relative;
    width: 100%;
    padding: 0;
    
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: center;
}
#anciens_gouvernement .liste .one_gouv .caption{
    position: relative;
    width: 100%;
    height: 155px; /* ou ce que tu veux */
    padding: 20px;
}
#anciens_gouvernement .liste .one_gouv .caption .libelle{
    position: relative;
    width: 100%;
    padding: 0;
}
#anciens_gouvernement .liste .one_gouv .caption .libelle h1{
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: var(--noir);
    transition: all 0.3s ease;
    margin: 0 !important;
    background-color: rgba(189, 189, 189, 0.001) !important;
    text-transform: uppercase;
}
#anciens_gouvernement .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;
}
#anciens_gouvernement .liste .one_gouv .foot p{
    position: relative;
    font-size: 12px;
    color: gray;
}
#anciens_gouvernement .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) {
    #anciens_gouvernement .liste{
        position: relative;
        grid-template-columns: repeat(1, 1fr);
    }
    #anciens_gouvernement .liste .one_gouv .foot {
        position: relative;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        padding-bottom: 10px;
        max-height: 20px;
    }
    #anciens_gouvernement .liste .one_gouv .caption .libelle h1{
        position: relative;
        font-size: 14px;
        font-weight: 600;
    }
}
@media screen and (max-width: 1024px) {
    #anciens_gouvernement .liste .one_gouv .caption .libelle h1{
        position: relative;
        font-size: 14px;
        font-weight: 600;
    }
    #anciens_gouvernement .liste{
        position: relative;
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width: 992px) {
    
    #anciens_gouvernement .liste .one_gouv .caption h2{
        position: relative;
        font-size: 14px;
        font-weight: 600;
    }
    #anciens_gouvernement .liste{
        position: relative;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    #anciens_gouvernement .titre h2{
        font-size: 14px;
        font-weight: 500;
        color: var(--noir);
    }
    #anciens_gouvernement .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 #anciens_gouvernement .titre h2,
.dark-mode #anciens_gouvernement .liste a h2,
.dark-mode #anciens_gouvernement .liste a p{
    color: yellow !important;
}
.dark-mode #anciens_gouvernement .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 #anciens_gouvernement .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;
}
