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

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






#journal{
    display: block;
    width: 100% !important;
    /* border: 1px solid rgb(215, 234, 13); */
    background-color: var(--blanc);
    padding: 15px;
}

#journal .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);
}
#journal .titre h2{
    font-size: 16px;
    font-weight: 600;
}

#journal .items{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    margin-bottom: 15px;
}
#journal .items .item{
    cursor: pointer;
    position: relative;
}
#journal .items a{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    max-height: 330px;
    /* overflow: hidden; */
    border-radius: 5px !important;
    text-decoration: none;
    overflow: hidden;
}
#journal .items a .inner{
    position: relative;
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
    z-index: 2;
}
#journal .items a .inner img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
    transition: all 0.3s ease;
    transform: scale(1);
}
#journal .items a:hover .inner img{
    transform: scale(1.01);
}
#journal .items a .inner::after{
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    opacity: 1;
    transition: ease-out 0.3s;
    z-index: 5;
}
#journal .items a:hover .inner::after{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}
#journal .items a:hover .inner h2{
    background-color: var(--orange);
    color: var(--blanc);
}
#journal .items a .caption{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    z-index: 30;

    padding: 10px 20px !important;
    background-color: var(--gris-clair);
}
#journal .items a .caption h2{
    position: relative;
    text-align: center;
    font-size: 14px;color: rgb(63, 63, 63);
}

#journal .items a .caption .btns{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}


#journal .items a .caption button {
    background-color: rgb(158, 158, 158, 0);
    border-radius: 25px;
    border: 1px solid rgb(202, 202, 202);
    color: gray;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    padding: 6px 15px;
    transition: ease-in 0.3s all;
}
#journal .items a .caption button:hover {
    background-color: rgba(19, 77, 27, 0.99);
    border: 1px solid rgba(19, 77, 27, 0.99);
    color: rgb(226, 226, 226);
}















.menu_navigation {
    position: relative;
    background-color: rgba(219, 219, 219, 0.1);
    padding: 10px;
}




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

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

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

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

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

}


@media (max-width: 992px) {
    #journal .items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    #journal .items a .inner {
        height: 250px;
    }

    #journal .items a .caption h2 {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    #journal .items {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    #journal .items a .inner {
        height: 220px;
    }

    #journal .items a .caption {
        padding: 8px 15px !important;
    }

    #journal .items a .caption h2 {
        font-size: 12px;
    }

    #journal .items a .caption button {
        font-size: 12px;
        padding: 5px 12px;
    }
}

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

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


}



/**************       dark mode   ***********/
.dark-mode #journal h1,
.dark-mode #journal .items .item a .caption h2,
.dark-mode #journal .items .item a .caption h3,
.dark-mode #journal .items .item a .caption .foot .left,
.dark-mode .menu_navigation ul a,
.dark-mode #journal .items .inner h2{
    color: yellow !important;
}
.dark-mode #journal .items .item{
    box-shadow: 0 4px 8px 0 rgba(41, 41, 41, 0.08), 0 6px 20px 0 rgba(223, 223, 223, 0.04);
}
.dark-mode #journal .items .item a .caption h2,
.dark-mode .menu_navigation ul a{
    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 #journal{
   background-color: rgb(32, 32, 32) !important;
}
.dark-mode #journal .items .item a .caption,
.dark-mode #journal .items .item a .caption h2,
.dark-mode .menu_navigation {
   background-color: rgb(19, 19, 19) !important;
}
.dark-mode #journal .items 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;
}
