/*
Theme Name: Histoire Engagée
Author: Quentin Castellano 
Description: Créé pour Histoire Engagée à partir de BlankSlate
Version: 2023
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0

*/
/* ================= DM SANS LOCAL ================= */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-100.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-100italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-200.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-200italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-300italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-500italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-600italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-700italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-800.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-800italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-900.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/dm-sans-v15-latin-900italic.woff2') format('woff2');
}


.wp-block-image {
	text-align:center;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: black;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* article-previous-css */

.alignleft {
    float: left;
    margin-right: 30px;
  }
  .alignright {
    float: right;
    margin-left: 30px;
  }
  .alignleft, .alignright {
    margin-bottom: 1.2em;
    max-width: 50%;
  }
  .wp-caption-text, .gallery-caption, figcaption {
    margin: 4px 0 0;
    font-size: 0.75em!important;
    line-height: 160%;
    color: #444;
    text-align: center;
  }
  .aligncenter{
    margin:auto;
  }
body{
    margin:0;
    padding-top:100px;
}

.nav-up{
    top: -100px !important;;
}
header{
    transition: top 0.3s;
}
.no-scroll {
    overflow: hidden;
}


/* Header */

#header{
    height: 100px;
    width:100%;
    top:0;
    z-index:999;
    background-color:white;
    position:fixed;
    display:flex;
    justify-content: space-between;
}
#header #branding{
    display:flex;
    align-items:center;
    height:100%;
    margin-left:32px;
    gap:32px;
}
#header h1{
    font-family: 'DM Sans', sans-serif;
    text-align: center;
    font-size:40px;
    font-weight: 800;
    line-height:0.9em;
}
#site-title{
    z-index: 99;

}
#site-description{
    font-family: 'DM Sans', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size:18px;
}
#header nav{
    display:flex;
    flex-direction: column;
    margin-right: 50px;
    justify-content: center;
    align-items: center;
    z-index: 99;
}
#header nav a{
    text-decoration: none;
    color:black;
    font-family: 'DM Sans', sans-serif;
}
#bottom-menu, #top-menu{
    display:flex;
    gap:20px;
}
#top-menu a{
    font-weight:400;
    text-transform: uppercase;
    font-size:14px;
}
#bottom-menu{
    border-top:1px solid black;
    padding-top: 0.5em;
    margin-top: 0.5em;
    font-weight:600;
    font-size:16px;
}
#bottom-menu .fa-solid{
    font-size: 14px!important;
}

/* Footer */


/* seconde partie home */
.posts-navigation{
    margin:auto;
    margin-top: 32px;
}
.posts-navigation a{
    color:#34623F;
    font-family: 'DM Sans', sans-serif;
    font-size:20px;
}
#appels-en-cours{
    background-color:#34623F;
    padding-top:24px;
    padding-bottom:64px;

}
#appel-en-cours-title{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items: center;
    gap:8px
}
#appel-en-cours-title h2{
    color:white;
    font-family: 'DM Sans', sans-serif;
    text-transform:uppercase;
    font-weight:900;
    font-size: clamp(30px, 6.5vw, 40px);;
    white-space: nowrap;
}
#appel-en-cours-title #line-before{
    background-color:white;
    height:4px;
    width:10%;
}
#appel-en-cours-title #line-after{
    background-color:white;
    height:4px;
    width: 100%;
}
#appels-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:3%;
}
.appel-en-cours{
    flex-basis: calc(94% / 3);
    background-color:#e3e3e3;
    border-radius:20px;    
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.appel-en-cours-titre h3{
    font-family: 'DM Sans', sans-serif;
    margin:0;
	text-align:center;
}
.appel-en-cours-titre{
    aspect-ratio:2.5/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0px 0px;
	padding:12px
}
#contribution-description{
    max-width:1200px;
    margin:auto;
    font-family: 'DM Sans', sans-serif;
    color:white;
    font-size:18px;
    text-align:justify;
    margin-bottom:32px;
}
.appel-en-cours-content-inner{
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    gap:12px;
    padding-bottom: 24px;
}
.appel-en-cours-content-inner p{
    font-family: 'DM Sans', sans-serif;
    text-align:justify;
}
.appel-en-cours-content-inner a{
    background-color:#34623F;
    color:#e3e3e3;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    padding:6px 10px;
    font-weight: bold;
}
#rechercher-un-article{
    background-color:#e3e3e3;
    padding-top:24px;
    padding-bottom:64px;
}
#rechercher-title h2{
    font-family: 'DM Sans', sans-serif;
    text-transform:uppercase;
    font-weight:900;
    font-size: clamp(30px, 6.5vw, 40px);
    white-space: nowrap;
}
#rechercher-title{
    display:flex;
    max-width:1200px;
    margin:auto;
    gap:8px;
    align-items:center;
}
#rechercher-title .line{
    width:100%;
    background-color:black;
    height:4px;
}
#rechercher-container{
    display:flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin:auto;
    justify-content: space-around;
}
.methode-recherche{
    flex-basis:48%;
    text-align: center;
}
.methode-recherche h3 {
    font-family: 'DM Sans', sans-serif;
}
.method-name{
color:#C84630;
font-weight:bold;
}
.separator-methode{
    width:1px;
    background-color:black;
}
.methode-recherche select{
    box-shadow: none;
    border-radius: none;
    border: 1px solid black;
    background-color:transparent;
    font-family: 'DM Sans', sans-serif;
    font-size:16px;
    height:2em;
    padding:0xp 12px;
}
.methode-recherche p{
    font-family: 'DM Sans', sans-serif;
}
#tags-container{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    justify-content: space-around;
}
#recherche-sujet .tag{
    color:#e3e3e3;;
    text-decoration: none;
    background-color:#34623F;
    font-family: 'DM Sans', sans-serif;
    padding:4px 8px;
}
#see-all-tags{
    text-decoration: underline;
    font-weight: bold;
}
.method-inner{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: calc(100% - 61.5px);
}
#recherche-global input{
    background-color:transparent;
    border: 1px solid black;
    font-family: 'DM Sans', sans-serif;
    font-size:16px;
    height:2em;
    padding:0xp 12px;
    text-align: center;
    width:75%;
    max-width: 500px;
}
#recherche-global .method-inner{
    display:flex;
    flex-direction: row;
    gap:16px;
}
#recherche-global #search-button {
    font-size:18px;
    color:white;
    background-color:#c84630;
    padding:6px;
    border-radius:100%;
    height:1.5em;
    width:1.5em;
    display:flex;
    justify-content: center;
    align-items: center;
}
#a-propos{
    background-color:#c84630;
    color:34623F;
    padding-top:24px;
    padding-bottom:64px;
}
#a-propos h2{
    font-family: 'DM Sans', sans-serif;
    text-transform:uppercase;
    font-weight:900;
    font-size: clamp(30px, 6.5vw, 40px);
    white-space: nowrap;
}
#a-propos-title{
    display:flex;
    max-width:1200px;
    margin:auto;
    gap:8px;
    align-items:center;
}
#a-propos-title #line-before{
    width:100%;
    background-color:black;
    height:4px;
}
#a-propos-title #line-after{
    width:10%;
    background-color:black;
    height:4px;
}
#a-propos-inner{
    display:flex;
    max-width:1200px;
    margin:auto;
    gap:8px;
    align-items:flex-start;
    justify-content: space-around;
}
.a-propos-col{
    flex-basis: 40%;
    font-family: 'DM Sans', sans-serif;
    text-align: justify;
}
#a-propos-presentation{
    font-size:18px;
    line-height: 1.7em;
}
#a-propos-contact h3{
    margin-bottom:0;
}
#a-propos-contact p{
    margin-top:4px;
}
#a-propos-social-media-container {
    display:flex;
    justify-content: flex-start;
    gap:16px;
    font-size:32px;
}
#a-propos-social-media-container a{
    color:black;
}

/* Elements Caché */
#site-description {
    display: none;
}
.posts-navigation{
    display:none;
}

/* En Cours */

*{
font-family: "DM Sans"; 
}


.first-post{
    display:flex;
    padding:16px;
}

.first-post-image{
    flex-basis: 35%;
}
.first-post-content{
    flex-basis:65%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 100px;
    
}
.first-post-image-inner{
    width:60%;
    margin: auto;
    height:100%;
    position:relative;
}
.post_type{
    position:absolute;
    background-color:#1f7332;
    padding:4px 8px;
    text-decoration:none;
    color:#dcff66;
    border-radius:8px;
    font-size:16px;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    white-space: nowrap;
    z-index:9;
    text-align:center;
}
.first-post a{
    text-decoration:none;
    color: black;
}
.first-post-image-inner img{
    width: 100%;
    height:100%;
    object-fit: cover;
    border-radius:20px;
    box-shadow: rgba(0, 0, 0, 0.5) 1.95px 1.95px 2.6px;
	max-width: calc(100vw - 48px);
}
}
.first-post-content-inner-header{
    margin-bottom:16px;
}
.first-post h2 {
    font-family: "DM Sans";
    margin-top:0;
    font-size: clamp(24px, 2.5vw, 300px);
	
    margin-bottom:0;
}
.first-post-content-inner-content p{
    font-size:clamp(16px, 1.25vw, 300px)!important;
}

.first-post-content hr{
    width:80%;
    margin-left:0;
    display:none;
}
.first-post .auteurice-container{
    margin-top: 6px;
    display:flex;
    gap:8px;
}
.auteurice{
    background-color:#dcff66;
    padding:4px 8px;
    text-decoration:none;
    color:#1f7332;
    border-radius:8px;
}
.readingtime{
    display:flex;
    gap:6px;
    align-items: center;
    justify-content: center;
    background-color:#1f7332;
    padding:4px 8px;
    text-decoration:none;
    color:#dcff66;
    border-radius:8px;
}
.readingtime p{
    margin:0;
}
.auteurice, .readingtime, .post_type{
    font-size: clamp(12px, 1.1vw, 200px);
}
.first-post-content-inner-link-arrow a {
    color:black;
    text-decoration: none;
    margin-bottom: 0;
    font-size:24px
}

#first-post-separator{
    background-color:#abffcc;
    
}
.title-separator{
    font-size: clamp(32px, 3.3vw, 300px);
    font-weight:700;
    text-align:center;
    min-height:2em;
    display:flex;
    justify-content: center;
    align-items: center;
    margin-top:20px;
	padding: 0px 16px;
}
.title-separator p{
    margin:0;

}

.first-post-content-inner-link-arrow{
    position: relative;
    width: max-content;
}
.arrwow-container{
    position: absolute;
    width: 125%;
}
.arrow-right-tail {
    width:100%
}
.first-post-content-inner-link{
    width:calc(100% - 125px);
    position:relative;
    height:64px;
}
.first-post-content-inner-container-arrow{
    width:max-content;
    position: absolute;
    right:20%;
}


/* fleche */

.arrow-right-link{
    display:flex;
    align-items: center;
}
.arrow-right-tail{
    height:2px;
    background-color:black;
}
.arrow-right-head {
  width: 0; 
  height: 0; 
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  
  border-left: 5px solid black;
}
.big-letter{
    font-size:180px;
    position:absolute;
    font-weight:900;
    color:#ff5400;
    margin:0;
    transform:translate(-50%, -50%);

}
#first-post-h{
    top:30%;
    left:3%;

}
#first-post-e{
top:95%;
left:95%;
}

/*  posts lists */
#articles-container{
    display:flex;
    flex-wrap:wrap;
}
#articles-container article{
    flex-basis:50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.article-inner{
    display:flex;
    flex-wrap:wrap;
    width:100%;
    height:100%;
}
#articles-container .post_title{
    flex-basis:50%;
    padding:25px;
    padding-bottom:0;
}
#articles-container .post_img_container{
	flex-basis: calc(50% - 50px);    
	display:flex;
    justify-content: center;
    align-items: flex-end;
}
#articles-container .post_img_container .post_img{
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center;
    border-radius:20px;
    position:relative;
}
.post_img_inner{
    position:relative;
    width:75%;
    height: calc(100% - 25px);
    overflow: hidden;
}
.post_img_couverture{
    position: absolute;
    width: 90%;
    height: 90%;
    top: 50%;
    left: 50%;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

article .post_title a{
    text-decoration: none;
    color:black;
}
article .post_title h2{
    margin-top:0;
    font-size:35px;
    margin-bottom:0
}
 .auteurice-container{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-bottom: 16px;
}
#articles-container .post_title{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}
.post-title-hr{
    height:1px;
    background-color:black;
    border:1px solid black;
    width:85%;
    margin-left:0;
    margin-bottom:32px;
}
.post_content {
    padding:0px 25px 0px 25px;
    
}
.post_content p{
    font-family: "Open Sans"
}
#end-post-separator{
    background-color: #ff5400;
    margin-top:0;
    user-select: none;
    }
.no_image .post_img_container {
    display:none!important;
}
.no_image .post_title{
    flex-basis:90%!important;
}

/* Single */
.single .auteurice-container{
    padding-left:5%;
}
.single #single-container{
    max-width: 800px;
    margin:auto;
    padding-left:16px;
    padding-right:16px;
}
.single #title-single{
 padding-left: 5%;    
}
.single #container h1{
    font-size:48px;  
    margin-bottom:0;
}
.single #title-single .separator-line{
    height:1px;
    width:100%;
    background-color:black;
    margin-bottom:24px;
}
.single #single-content{
     padding-left: 5%;
    overflow: hidden;
	line-height:1.5;
}
.single #single-content p{
    font-size:18px;
}
.wp-block-gallery  {
    display:block!important;
    height:60vh;
    width:fit-content!important;
    margin:auto;
    padding:20px;
    }
figure.is-layout-flex  {
	display:flex!important;
	flex-wrap: nowrap!important;
	height:unset!important;
}
@media(max-width:600px){
	figure.is-layout-flex  {
	flex-wrap: wrap!important;
}
}
    .wp-block-gallery .wp-block-image{
    display: inline-block!important;
    width: fit-content!important;
    height: 100%!important;
    }
    .wp-block-gallery .wp-block-image img{
    height:100%!important;
    display: unset!important;
    width: auto!important;
    }
    
    #single-content img:not(.wp-block-gallery img) {
        max-height: 60vh;
        width: auto;
    }
    
    blockquote{
        position: relative;
        margin-left:15%;
        margin-right:10%;
        margin-top:48px;
        margin-bottom: 48px;   
    }
    blockquote p{
        font-size:24px!important;
    }
    blockquote cite{
        font-size:20px;
    }
    blockquote:after{
        content:'\f10d';
        font: var(--fa-font-solid);
        position: absolute;
        top:0;
        left:-56px;
        color:#1f7332;
        font-size:48px;
    }
    #single-content a[href^="#"] {
    color:#1f7332;
    font-weight: bold;
    text-decoration: none;
    }
    


#more-articles .articles-container{
    display:flex;
    flex-wrap:wrap;
}
#more-articles article{
    flex-basis:50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#more-articles .post_title{
    flex-basis:50%;
    padding:25px;
    padding-bottom:0;
}
#more-articles .post_img_container{
    display:flex;
    justify-content: center;
    align-items: flex-end;
}
#more-articles .post_img_container .post_img{
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center;
    border-radius:20px;
    position:relative;
}
#more-articles .auteurice-container{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}
#more-articles .post_title{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}
.title-separator {
 background-color:#ff5400;    
}

/*WIP MENU*/
#fullpageMenu{
    background-color:white;
    position:fixed;
    width:100vw;
    height:calc(100vh);
    z-index:98;
    top:-100%;
}
#fullpageMenu ul{
    list-style-type: none; 
    padding:0;
}
#fullpageMenu #menu-container{
    margin-top:175px;
    padding-top :32px;
    padding-left: 5%;
    padding-right: 5%;
}
#fullpageMenu #topMenu{
    display:flex;
}
#fullpageMenu #topMenu #menuChoice{
    flex-basis: 50%;
}
#fullpageMenu #topMenu #menuOutputContainer{
    flex-basis: 50%;
}
#fullpageMenu #topMenu #menuChoice #menuChoiceInner{
    width:max-content;
    margin:auto;
    text-align:right;
    font-size: clamp(20px, 2.2vw, 300px);
}
#fullpageMenu #topMenu #menuChoice h2{
    text-transform: uppercase;
    color:#1f7332;
    font-family:'DM Sans', sans-serif;
    cursor:pointer;
    margin:0;
    font-weight:900;
}
#fullpageMenu #topMenu #menuOutputContainer a{
    color:inherit;
    text-decoration:none;
    line-height:1.5em;
    font-size: clamp(16px, 1.66vw, 300px);
}
#fullpageMenu #topMenu .menuOutputItem{
    padding: 4px 8px;;
    background-color: #dcff66;
    color:#1f7332;
    font-weight:bold;
    transition:0.3s;
}
#fullpageMenu #topMenu .is-visible{
    opacity:1;
}
#fullpageMenu #topMenu .menuOutputItem:hover{
transform:scale(1.03);
}
#fullpageMenu #topMenu #menuOutputContainer{
    position:relative;
}
#fullpageMenu #topMenu #menuChoice #menuChoiceInner h2{
    overflow:hidden;
}
#fullpageMenu #topMenu #menuChoice #menuChoiceInner h2 span{
    display: inline-block;
    transform:translateY(100%);
}
#fullpageMenu #menu-separator{
    height:2px;
    background-color:black;
    width:0%;
    margin:auto;
    margin-top: 56px;  
}
#fullpageMenu #secondMenu{
    display:flex;
    width:75%;
    margin:auto;
    justify-content: space-around; 
}
#fullpageMenu #secondMenu h3{
    text-transform: uppercase;
    font-weight: 300;
    cursor:pointer;
    overflow:hidden;
}
#fullpageMenu #secondMenu h3 span{
    display:inline-block;
    transform:translateY(100%);
}
.single-post .progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 0;
    height: 7px;
    background-color: #1f7332;
    transition: width 0.25s ease-out; /* transition douce pour la largeur */
}

/* AUTEURICE */
#auteurice-separator{
    height:24px!important;
}

#auteurice-head{
    max-width:1000px;
    margin:auto;
}
#auteurice-head h1{
    font-family: 'DM Sans', sans-serif!important;
    margin-top:0;
    margin-bottom:0;
    font-weight: 800;
    font-size:40px;
    width:max-content;
    position:relative;
}

 .he-title-underline{
    position:absolute;
    height:4px;
    width: 100%;
    display:flex;
    border-radius: 1000px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
 .he-title-underline div{
    height:100%;
    flex-basis: 25%;
}
#auteurice-head img{
    max-width:100%;
    width:100%;
    aspect-ratio:1;
    object-fit:cover;
    border-radius: 20px;
}
.has-photo-and-bio{
    display:flex;
    gap:12px;
}
.has-photo-and-bio #auteurice-photo{
    flex-basis: 30%;
}
.has-photo-and-bio #auteurice-info{
    flex-basis: 70%;
}
.has-no-photo-and-bio{
    display:flex;
    justify-content: center;
    padding-bottom: 32px;
}
.has-bio #auteurice-info{
    display:flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}

/*Load More HE*/
.load-more-he{
    cursor:pointer;
} 

/* tag */
#tag-separator{
    min-height:12px!important;
}
.tag-h1{
    width:max-content;
    position:relative;
    margin:auto;
    margin-bottom: 64px;
    margin-top: 16px;
    max-width: 100%;
  text-align: center;

}
.tag-h1 a {
    color:black;
    text-decoration: none;
}

/* tax-type-article */
.tax-type-article  #contribution-description {
    color:black;
    max-width: 800px;
}
.tax-type-article  #type-childs{
    max-width: 800px;
    display:flex;
    margin:auto;
    flex-wrap:wrap;
    justify-content: center;
    gap:12px;
}
.tax-type-article  .type-child{
    background-color:#dcff66;
    color:#1f7332;
    text-decoration: none!important;
    font-size:20px;
    font-weight: bold;
    padding: 4px 8px;
    transition: transform 0.3s;
    margin-bottom:8px;
}
.tax-type-article  .type-child:hover{
    transform: scale(1.05);
}
.tax-type-article  #type-childs a {
    text-decoration: none;
}

/* Page template */
.page-template-default #content{
    max-width: 800px;
    margin: auto;
    padding-left: 16px;
    padding-right: 16px;
    font-size:18px;
    padding-bottom: 50px;

  }
  .page-template-default a{
      color:#1f7332;
  }

  /* WIP MENU */
  #menuOutputContainer{
    display:flex;
    align-items: center;
    justify-content: center;
}
#menuOutputInner{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    justify-content: center;
    gap:12px;
}
.subMenuItem{
    white-space: nowrap;
    transition: transform 0.3s;
}

.subMenuItem{
    background-color:#dcff66;
    color: #1f7332;
    font-weight:bold;
    padding:2px 6px;
    transition: transform 0.3s;
}
.subMenuItem:hover{
    transform:scale(1.05);
    
}
.parent-is-dossier a{
font-size: clamp(14px, 1.1vw, 300px)!important;
}
.menu-is-selected span{
    position:relative;
}

.topMenu span:after{
    content:"";
    width:100%;
    height:3px;
    bottom:5px;
    left:0;
    z-index:999;
    background-color:#1f7332;
    position: absolute;
    transform-origin: left;
    transition: transform 0.15s;
    transform: scalex(0);
}
.menu-is-selected span:after{
    transform: scalex(1);
}

.lastPostMenuItem{
    width:90%;
    position:absolute;
    height:90%;
    border-radius:12px;
    overflow:hidden;
    background-size:cover!important;
    background-position: center!important;   
    padding:0;
}
.lastPostMenuItem:hover{
    transform:scale(1.025);
}
.lastPostMenuInner{
    background-color:#1f7332;
    width:100%;
    height:100%;
    position:relative;
    
}
.lastPostMenuItemDernierArticle{
    position:absolute;
    top:12px;
    z-index:99;
    left:12px;
    background-color:#1f7332;
    color:white;
    text-transform: uppercase;
    font-weight:900;
    padding:0px 4px!important;
    font-size: clamp(14px, 1.4vw, 300px);
    line-height: 1.5;
}
.lastPostMenuItemTitle {
  position: absolute;
  bottom: 12px;
  z-index: 99;
  left: 12px;
  color: white;
  text-transform: uppercase;
  font-weight: 900;
  padding: 4px;
  font-size: clamp(12px, 1.1vw, 200px);
  line-height:1.5;
  max-width: 90%;
  white-space: normal; /* Forcer le retour à la ligne */
  overflow-wrap: break-word; /* Utiliser overflow-wrap pour forcer le retour à la ligne */
}
.lastPostMenuItemTitle span{
 background-color: #1f7332;
 padding: 4px;

}
.lastPostMenuItem img{
    position: absolute;
    width:100%;
    height:100%;
    top:0;
    object-fit:cover!important;
    z-index:2;
;}
.lastPostMenuItem p{
    margin:0;
}
#secondMenu a{
    color:black;
}

#container{
}

.is_couverture .post_img{
  filter: none !important;
  height: auto !important;
  width: auto !important;
  max-height: 100% !important;
  max-width: 100%;
  left:50%;
  transform:translatex(-50%);
}
.first_is_couverture img{
    filter:none;
    height:auto;
}
.first_is_couverture{
    height:max-content;
}
.is_couverture{
    height: max-content;
    padding-top:32px;
}
#articles-container article h2{
    font-size: clamp(18px, 2vw, 300px);
}

@media(max-width:1024px){
    #articles-container{
        display:block!important;
    }
    #articles-container article h2{
    font-size: clamp(14px, 4vw, 300px);
}
}

@media (max-width:1024px){
    .first-post-content{
        padding-right:0;
    }
}

@media (max-width:768px){
    .first-post{
        flex-direction: column;
        margin-top:16px;
    }
    .first-post-content-inner-link{
        width:100%;
    }
    .first-post-image-inner{
        width:max-content;
    }
    .first-post-image-inner img {
    max-height: 40vh;
    }
}

@media (max-width:500px){
    .post_type{
        white-space:unset;
    }
}
#recherche-global{
    flex-basis: 100%;
    margin-bottom:32px;
}
#recherche-global h3{
    text-align: center;
}
.cat-item{
    color: #34623F;
    text-decoration: none;
    background-color: #dcff66;
    font-family: 'DM Sans', sans-serif;
    padding: 4px 8px;
}

#contribution-description a{
        color:white;
    }
@media(max-width:1250px){
    #contribution-description, #appels-container{
        width:90%;
    }
}
@media(max-width:1024px){
    #appel-en-cours-title #line-before {
        flex-basis: 100%;
    }
    #a-propos-title .line{
        width:50%!important;
    }
}
@media(max-width:768px){
    #appels-container{
        flex-wrap: wrap;
    }
    .appel-en-cours{
        flex-basis: 100%;
        margin-bottom: 12px
    }
    .appel-en-cours-titre{
        aspect-ratio:unset;
        height: 4em;
    }
    #rechercher-un-article .separator-methode{
        display: none;
    }
    .methode-recherche{
        flex-basis:100%;
    }
    #rechercher-container{
        width:95%;
    }
}
@media(max-width:600px){
    #appel-en-cours-title h2 {
    white-space: unset;
        text-align: center;
    }
    #a-propos-inner{
        flex-direction: column;
        width:90%;
    }
    #a-propos-follow, #a-propos-contact h3{
        text-align: center;
    }
    #a-propos-social-media-container {
        justify-content: center;
    }
}

#secondMenu .menuType{
    font-size:clamp(12px, 1.3vw, 300px);
}
@media (max-width:1000px){
    #menu-separator{
        margin-top:12px!important;
        margin-bottom: 12px!important;
    }
    #menuChoiceInner a h2{
        margin-bottom:12px!important
    }
    #menuOutputContainer{
        display: none;
    }
    #fullpageMenu #topMenu #menuChoice {
    flex-basis: 100%;
    }
    #fullpageMenu #topMenu #menuChoice #menuChoiceInner {
    text-align: center;
    font-size: clamp(12px, 4vw, 300px);
    }
    #secondMenu{
        flex-direction: column;
        width:100%;
        align-items:center;
    }
    #secondMenu h3{
        margin:2px;
    }
    #secondMenu .menuType{
    font-size: clamp(12px, 4vw, 300px);
    }
}

#articles-container .post_content{
    min-height: 2em;
}
.article-inner {
    min-height: 250px;
}
.archive #auteurice-separator{
    min-height: unset;
}
#single-container .auteurice, #single-container .readingtime, #single-container .post_type{
    font-size:16px!important
}
.date-post{
    text-align: left;
    font-family: "DM Sans";
    font-weight:700;
    font-size:16px;
    padding-left: 5%;
    margin-bottom:8px;
}

@media (max-width:1024px){
    .category #auteurice-head{
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        padding-left:12px;
        padding-right:12px;
    }
    #auteurice-head h1 {
    margin: auto;
    font-size: 30px;
    }
    #auteurice-head #auteurice-photo{
        width: 50%;
    }
}
@media (max-width:1000px){
    .single #title-single,.single .auteurice-container, .single #single-content, .single .date-post{
        padding-left: 0px;
    }
    .single #content h1{
        font-size:clamp(20px, 7vw, 200px);
        margin-top:50px;    
    }
    
    
}
.splide .splide__slide{
    padding:5%;
}
.splide__arrow{
    transition: opacity 0.3s;
}
.splide__arrow:disabled {
    opacity: 0;
}
.arrwow-container{
    transition: width 0.3s;
}
    .first-post-content-inner-link-arrow:hover .arrwow-container {
      width: 150%;
    }

.search .title-separator{
    min-height:12px;
}
.no-results {
    text-align: center;
    padding-bottom:48px;
}
.no-results p{
    margin:0;
}
#search-button{
	cursor:pointer;
}

#liste-collaborateurices, #liste-sujets{
    max-width:1000px;
    margin:auto;
}
#liste-collaborateurices a, #liste-sujets a{
    background-color:#1f7332;
    color:white;
    text-decoration: none;
    padding: 4px;
}
#liste-collaborateurices li,#liste-sujets li{
    list-style: none;
}
#liste-collaborateurices ul, #liste-sujets ul{
    display:flex;
    flex-wrap:wrap;
    gap:1em;
    justify-content: space-around; 
}
a {
    color:inherit;
}
#articles-container .post_content p{
    margin-bottom:3em;
}
#descriptions-dossiers{
    margin:auto;
    max-width:1000px;
    padding:0px 16px;
}
.post-type-archive-dossiers-thematiques .title-separator{
    min-height: unset;
}
#ancienMembres{
  max-width: 900px;
  margin: auto;
    margin-bottom: auto;
  font-size: 18px;
  padding: 0px 16px;
  margin-bottom: 64px;
}
#comite-container{
    max-width:900px;
    margin:auto;
    font-size:18px;
    padding:0px 16px;
    margin-bottom:64px;
}
.wp-block-image img {
  object-fit: cover!important;
}
#comite-container img{
    max-width: 100%;
}
#comite-container .membre{
    display:flex;
    gap:32px;
    
}
#comite-container .membre-col-1{
    width:30%;
}
#comite-container .membre-col-2{
    width:70%;
}
#comite-container .membre-img-container{
    position: relative;
    width:100%;
    aspect-ratio:1;
    overflow: hidden;
    border-radius:20px;
}
#comite-container .membre-img-container img{
    position: absolute;
    max-width: 100%;
    width:100%;
    min-height:100%;
    object-fit: cover;
}
#comite-container p{
    margin-top:0;
}
#comite-container .Even{
    flex-direction: row-reverse
}
#comite-container .comite-separator{
    height:3px;
    width:100%;
    background-color:#1f7332;
    margin-bottom:24px;
    margin-top:12px;
}
#comite-container strong{
    color:#1f7332;
}
@media(max-width:700px){
    #comite-container .Even, #comite-container .Odd{
    flex-direction: column;
    align-items: center;
}
    #comite-container .membre-col-1{
        width: 60%;
    }
     #comite-container .membre-col-2{
        width: 100%;
    }
}

@media(max-width:600px){
.alignleft, .alignright{
    display:block;
    float:unset;
    margin:auto;
}
}
#citation-container{
    padding-left:5%;
    overflow: hidden;
}
#citation-inner{
    border-top: 2px solid #1f7332;
    border-bottom: 2px solid #1f7332;
    padding: 12px;
    position: relative;
}
#citation-inner h3{
    margin-top: 0;
    margin-bottom: 6px;
}
#citation-links{
    display: flex;
    justify-content: space-around;
    margin-top:16px;
    margin-bottom: 16px;
}
#citation-links div{
    cursor: pointer;
    color: #1f7332;
    font-weight: bold;
    text-decoration: underline;
}
#citation-inner .fa-x{
    position: absolute;
    right:12px;
    top:12px;
    width:12px;
    transition: opacity 0.3s;
    cursor: pointer;
}
#citation-inner .fa-x:hover{
    opacity: 0.5;
}
@media (max-width: 1000px) {
    #citation-container{
    padding-left: 0
    }
}
.openQuote {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  background-color: #ffdcf8;
  padding: 4px 8px;
  text-decoration: none;
  color: black;
  border-radius: 8px;
    cursor: pointer;
}
.openQuote p{
    margin: 0;
}
#citation-container h4{
    margin-top:12px;
    margin-bottom: 12px;
}
.pdfButton{
display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  background-color: #ffdcf8;
  padding: 4px 8px;
  text-decoration: none;
  color: black;
  border-radius: 8px;
  cursor: pointer;
}
.pdfButton p{
 margin: 0;
}
.lightbox-img-he-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-img-he-container .lightbox-he-legende {
    text-align: center;
    line-height: 1.5;
}
.lightbox-img-he-container .lightbox-he-legende p{
    margin-bottom: 0;
    margin-top: 0;
    font-size: 0.8em!important;
}


#recensions-asked-container{
    max-width:1000px;
    margin:auto;
    font-size:18px;
    padding:0px 16px;
    margin-bottom:64px;
}
.recension-asked{
    display: flex;
    gap:16px;
    padding: 16px 0px;
    
}
.recension-asked:not(:last-child) {
    border-bottom: 3px solid #1f7332;
}
.recension-img{
    flex-basis: 25%;
}
.recension-img img{
    width: 100%;
}
.recension-content{
    flex:1;
}
.recension-reference p{
    font-size: clamp(20px, 2vw, 300px);
    font-weight: bold;
    margin:0;
}
@media(max-width:650px){
    .recension-asked{
        flex-direction: column;
        align-items: center;
    }
    .recension-img img{
    width: 40%;
        margin: auto;
    }
    .recension-img{
        flex-basis:100%;
        width: 100%;
        display: flex;
    }
}
.recension-asked.exposition .recension-img{
    background-size:cover!important;
    background-position: center!important;
    min-height:250px;
}
.auteurice-container .post_type{
    position: relative;
    left:unset;
    bottom: unset;
    transform: unset;
}
#first-post-container.edito{
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    text-decoration: none!important;
}

#first-post-container.edito #first-post-separator{
    margin-top: auto;
}
#first-post-container.edito .edito-content{
    padding:32px clamp(16px, 5vw, 200px);
    text-decoration: none!important;
	flex: 1;
    display: flex;
    flex-direction: column;
}
#first-post-container.edito .edito-titre{
    font-weight: 700;
    font-size:clamp(40px, 5.5vw, 200px);
    width: max-content;
    max-width: 100%;
    position: relative;
}
#first-post-container.edito:hover .edito-titre-accent{
    color:#ff5400;
    transition:0.3s;
}
.edito-titre-accent{
    color:black;
    transition:0.3s;
}
#first-post-container.edito .edito-titre:after{
    content:'';
    position: absolute;
    bottom: -16px;
    width:50%;
    height:2px;
    background-color: black;
    left: 0;
}
#first-post-container.edito .edito-soustitre{
    margin-top: 32px;
    font-weight:100;
    font-size:clamp(40px, 5.5vw, 200px);
}
@media(max-width:550px){
    .edito-titre-accent{
        display: block;
    }
    
    #first-post-container.edito .edito-titre br{
        display: none;
    }
}

@media(max-width:768px){
    .edito-titre-accent{
        color:#ff5400;
    }

    #first-post-container.edito{
        min-height: calc(50svh);
    }
}

#first-post-container.edito .first-post-content-inner-link{
    font-size:clamp(24px, 3vw, 200px);
    width: max-content;
    margin-left: auto;
    margin-right:10vw;
    font-weight: 200;
	 margin-bottom: 32px;
    margin-top: auto;
    justify-self: flex-end;
    
}
#first-post-container.edito  .first-post-content-inner-container-arrow{
    right:unset!important;
    position: unset!important
		
}
.lightbox-img-he-gallery-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.lightbox-img-he-gallery-container .lightbox-img-he-container{
    max-width: 49%;
}
.lightbox-he-legende-gallery p{
    margin:auto;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 0.8em !important;
    text-align: center;
    max-width: 75%;
}
@media(max-width:768px){
    .lightbox-img-he-gallery-container{
        flex-direction:column;
        align-items:center;
    }
}
.lightbox-he::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00e "; /* Unicode de l'icône search */
  color:#1f7332;
    position: absolute;
    z-index: 2;
    bottom: 6px;
    right: 6px;
}
.lightbox-he{
    position: relative;
    
}