body{
    color:#102036;
    font-family: 'poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.25; 
}
h1,h2{
    color:var(--wp--preset--color--color-3);;
    font-size: 1.5rem; /* 40px */
    font-weight: 700;
}
.sur-titre{
    color:#102036;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family:'Barlow',sans-serif;
    font-weight: 500;
}
@media (min-width: 768px) {
    h1,h2{
        font-size: 2rem; /* 48px */
    }
    .sur-titre{
        font-size: 1.25rem;
    }
}
@media (min-width: 1200px) {
    body{
        line-height: 1.5;
    }
    h1,h2{
        font-size: 2.5rem; /* 48px */
    }
}
.row{
    margin-left: 0;
    margin-right: 0;
}
.row > *{
    padding-left: 0;
    padding-right: 0;
}
.sticky-cta > * > i{
    color: white;
    background-color: #79B829;
}
.sticky-cta > :not(.search-cta):hover > i {
    color: #79B829;
}
.sticky-cta > :not(.search-cta):hover > i svg {
    color: #fff;
}

.global-banner {
    background-color: #F5F1ED;
    padding-bottom: 3vh;
    position: relative;
}
.global-banner .image {
    height: 250px;
    overflow: hidden;
    position: relative;
}
.global-banner .image:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 65px;
    left: 0;
    bottom: 0;
    background-image: url('../edme25/assets/images/vague-banner.svg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.global-banner .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.global-banner .rank-math-breadcrumb {
    margin-top: 1vh;
    font-size: 0.875rem;
    font-family: "Barlow";
}
.global-banner .rank-math-breadcrumb p {
    margin-bottom: 5px;
}
@media screen and (min-width: 991px){
    .global-banner .image {
        height: 450px;
    }
}

.en-savoir-plus-container a{
    font-family: 'barlow', sans-serif;
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    margin-top: 30px;
    text-decoration: none;
    background-image: linear-gradient(#102036 100%, #102036 100%);
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background .5s, opacity 1s var(--reveal-delay, 0s) cubic-bezier(.5, 0, 0, 1), transform 1s var(--reveal-delay, 0s) cubic-bezier(.5, 0, 0, 1);
}
.en-savoir-plus-container a:hover{
    background-size: 100% 2px;
}
/* Ajout d'un trait rouge dans le prolongement du en-savoir-plus */
.en-savoir-plus-container::after{
    content: '';
    display: inline-block;
    width: 100px;
    height: 3px;
    background-color: #CE000C;
    margin-left: 50px;
    margin-bottom: 3px;
}

/* ENTETE */
header {
    background-color: #F5F1ED;
    transition: 0.25s all;
}
header.sticky {
    position: fixed;
    width: 100%;
    background-color:#F5F1ED;
    top: 0;
    left: 0;
    z-index: 9;
    transition: 0.25s all;
}
header.sticky .header-socialmenu-container {
    display: none;
    padding: 0;
}
header.sticky .header-container {
    padding: 15px 0;
    transition: 0.25s all;
}
header .header-logo-link {
    padding-left: 15px;
}

.header-socialmenu-container {
    background-color: var(--wp--preset--color--color-2);
}

.header-socialmenu-container ul li:first-child a {
    border:none;
}
.header-container {
    padding: 15px 0;
}
.header-menu-container .navbar {
    margin-right: 15px;
}
.menu-menu-principal-container{
    width: 100%;
}
#menu-menu-principal a {
    color:#070707;
    font-family: 'poppins', sans-serif;
    font-size: 1.125rem; /* 18px */
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 15px;
}
#menu-menu-principal li.menu-contact {
    width: fit-content;
}
#menu-menu-principal li.menu-contact a{
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    background-color: #79B829;
    border: 1px solid #79B829;
    padding: 5px 25px 5px 25px;
    border-radius: 20px;
}
#menu-menu-principal li.menu-contact a:hover{
    background-color: transparent;
    color: #79B829;
    border: 1px solid #79B829;
}
@media (min-width: 991px) {
    .header-container {
        padding: 30px 0;
    }
    header .header-logo-link {
        padding-left: 0;
    }
    #menu-menu-principal li.menu-contact{
        margin-left: auto;
        margin-right: 40px;
    }
    #menu-menu-principal a{
        font-size: 1rem;
        padding-right: 10px;
        padding-left: 10px;
        padding-bottom: 10px;
    }
}
@media (min-width: 1200px) {
    .header-menu-container .navbar #primary-nav > div > div > ul > li > .nav-link {
        background-image: linear-gradient(#CE000C 100%, #CE000C 100%);
        background-size: 0 5px;
        background-position: 0 100%;
        background-repeat: no-repeat;
        transition: background .5s, opacity 1s var(--reveal-delay, 0s) cubic-bezier(.5, 0, 0, 1), transform 1s var(--reveal-delay, 0s) cubic-bezier(.5, 0, 0, 1);
    }
     .header-menu-container .navbar #primary-nav > div > div > ul > li:not(.menu-contact):is(:hover, .current-menu-item) > .nav-link {
        background-size: 100% 5px;
    }
}
@media (min-width: 1400px) {
    #menu-menu-principal a{
        font-size: 1.125rem;
        padding-right: 15px;
        padding-left: 15px;
    }
}
/* Section Fabricant Français */
.section-our-experience-h1-container-fluid{
    padding-left: 0;
    padding-right: 0;
}
.section-our-experience-h1-container-fluid .content-block-container{
    background-image: 
        linear-gradient(
        to right,
        rgba(255,255,255,0) 50%,    /* transparent jusqu'à 40% */
        rgba(255,255,255,0.8) 70%,    /* totalement opaque à partir de 50% */
        rgba(255,255,255,1) 100%    /* reste opaque jusqu'à droite */
        ),
        url('/wp-content/uploads/2025/07/fond-section-fabricant-du-bois.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top:40px;
    padding-bottom:40px;
}
.section-our-experience-h1-container-fluid .content-block-container h1 {
    margin-bottom: 3vh;
}
.section-our-experience-h1-container-fluid .content-block-container .en-savoir-plus-container {
    margin-top: 3vh;
}
.section-our-experience-h1-container-fluid .visual-block{
    height: 100%;
    position:relative
}   
.section-our-experience-h1-container-fluid .visual-block img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* en before, ajout d'une image en 0 0 */
.section-our-experience-h1-container-fluid .visual-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75px;
    width: 130px;
    height: 100%;
    background-image: url('/wp-content/themes/edme25/assets/images/trace-1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: none;
}
@media (min-width: 768px) {
    .section-our-experience-h1-container-fluid .content-block-container{
        padding-left: 40px;
        padding-right: 40px;
    }    
    .section-our-experience-h1-container-fluid .visual-block::before {
        display: block;
    }
}
@media (min-width: 1200px) {
    .section-our-experience-h1-container-fluid .content-block-container{
        padding-left: 90px;
        padding-right: 90px;
    }    
}
@media (min-width: 1400px) {
    .section-our-experience-h1-container-fluid .content-block-container{
        padding-left: 150px;
        padding-right: 150px;
    }    
}
/* Section réassurances */
.section-our-reinsurances-container-fluid{
    background-color: #F5F1ED;
    padding-top:50px;
    padding-bottom:50px;
    position:relative;
}
.section-our-reinsurances-container-fluid::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 66px;
    background-image: url('/wp-content/themes/edme25/assets/images/trace-2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.section-our-reinsurances-container-fluid .reinsurance-container{
    margin-top:20px;
    margin-bottom:20px;
}
.section-our-reinsurances-container-fluid .reinsurance-container .title {
    text-transform: uppercase;
    font-family: "Barlow";
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 15px;
    display: block;
}
@media (min-width: 1200px) {
    .section-our-reinsurances-container-fluid .reinsurances-block{
        padding-left: 150px;
        padding-right: 150px;
        margin-top:0;
        margin-bottom:0;
    }
}
/* Section Véritable maitrise */
.section-our-experience-container-fluid{
    padding-top: 20px;
    padding-bottom: 20px;
}
.section-our-experience-container-fluid .content-block-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    padding-top:40px;
    padding-bottom:40px;
}
.section-our-experience-container-fluid .visual-block{
    height: 100%;
}   
.section-our-experience-container-fluid .visual-block img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 768px) {
    .section-our-experience-container-fluid{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .section-our-experience-container-fluid .content-block-container{
        padding-left: 40px;
        padding-right: 40px;
    }
    .section-our-experience-container-fluid{
        padding-top: 150px;
        padding-bottom: 150px;
    } 
}
@media (min-width: 1200px) {
    .section-our-experience-container-fluid .content-block-container{
        padding-left: 50px;
        padding-right: 90px;
    }    
}
@media (min-width: 1400px) {
    .section-our-experience-container-fluid .content-block-container{
        padding-left: 100px;
        padding-right: 150px;
    }    
}
/* Nos activités */
.section-our-activities-container-fluid {
    background-color: #F5F1ED;
    background-image: linear-gradient(
        to right,
        rgba(255,255,255,0) 50%,    /* transparent jusqu'à 40% */
        rgba(255,255,255,0.8) 70%,    /* totalement opaque à partir de 50% */
        rgba(255,255,255,1) 100%    /* reste opaque jusqu'à droite */
        ), url('/wp-content/uploads/2025/07/fond-section-fabricant-du-bois.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 70px;
}
.section-our-activities-container-fluid h2{
    margin-bottom: 30px;
}
.section-our-activities-container-fluid h3{
    text-transform: uppercase;
    font-weight: bold;
}
.section-our-activities-gallery-container-fluid .secteurs {
    grid-template-rows: repeat(3,1fr);
    grid-template-columns: repeat(3,1fr);
}
.section-our-activities-container-fluid .secteurs .secteur > div {
    align-items: end;
}
.section-our-activities-container-fluid .content-block .secteurs .secteur > div::before {
    content: '';
    width: 100%;
    height: 30%;
    background: linear-gradient(to top,#000,#0000);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}
.section-our-activities-container-fluid .content-block .secteurs .secteur > div > div {
    z-index: 1;
}
.section-our-activities-container-fluid .content-block .secteurs .secteur .content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
@media (min-width: 1200px) {
    .section-our-activities-container-fluid .secteurs {
        grid-template-rows: 250px 500px;
        grid-template-columns: repeat(6, 1fr);
    }
    .section-our-activities-container-fluid.section-our-activities-gallery-container-fluid .secteurs .secteur:first-child {
        grid-column: 1 / span 2; /* colonnes 1–2 */
        grid-row: 1;
    }
    .section-our-activities-container-fluid.section-our-activities-gallery-container-fluid .secteurs .secteur:nth-child(2) {
        grid-column: 3 / span 2; /* colonnes 3–4 */
        grid-row: 1;
    }
    .section-our-activities-container-fluid.section-our-activities-gallery-container-fluid .secteurs .secteur:nth-child(3) {
        grid-column: 5 / span 2;  /* colonnes 5 et 6 */
        grid-row: 1;
    }
    .section-our-activities-container-fluid.section-our-activities-gallery-container-fluid .secteurs .secteur:nth-child(4) {
         grid-column: 1 / span 3;  /* sous Bloc 1 + moitié de Bloc 2 */
         grid-row: 2;
         margin-top: 30px;
    }
    .section-our-activities-container-fluid.section-our-activities-gallery-container-fluid .secteurs .secteur:nth-child(5) {
        grid-column: 4 / span 3;  /* sous moitié Bloc 2 + Bloc 3 */
        grid-row: 2;
        margin-top: 30px;
    }
    .section-our-activities-container-fluid.section-our-activities-gallery-container-fluid .secteurs .secteur:first-child > div {
        min-height: auto;
    }
}
/* Bloc Démarche éco */
.section-our-experience-eco-container-fluid {
    padding-top: 20px;
    padding-bottom: 20px;
}
.section-our-experience-eco-container {
    padding-top: 25px;
    padding-bottom: 25px;
}
.section-our-experience-eco-container-fluid .en-savoir-plus-container {
    margin-top:50px;
}
.section-our-experience-eco-container-fluid .content-block-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bois-tirebouchon img{
    display: none;
}
@media(min-width: 768px) {
    .section-our-experience-eco-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .section-our-experience-eco-container-fluid .content-block-container {
        padding-left: 20px;
        padding-right: 50px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .section-our-experience-eco-container {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}
@media(min-width: 1200px) {
    .bois-tirebouchon img{
        display: block;
        max-width: 300px;
    }
    .section-our-experience-eco-container {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}
@media(min-width: 1400px) {
    .bois-tirebouchon img{
        max-width: 100%;
    }
}

/* Bloc Actus */
.section-our-articles-container-fluid{
    background-color: #F5F1ED;
    padding-top: 25px;
    padding-bottom: 25px;
}
.section-our-articles-container-fluid .link-block-container a:before {
    display: none;
}
.posts-block .achievement-container:nth-child(2) {
    margin-left: 0;
    margin-right: 0;
}
.achievement .achievement-content,
.achievement .excerpt {
  text-align: left;
  background-color: #fff;
}
.achievement .title {
    color: #000;
}
.section-our-articles-container-fluid .date{
    font-family: 'barlow', sans-serif;
    font-size: 1rem;
}
.achievement a {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    font-size: 0.875rem; /* 14px */
    border: none;
    color: initial !important;
    background-color: transparent !important;
    border-radius: 0;
}
.achievement a:is(:hover, :active) {
  color: #102036;
}
.achievement .en-savoir-plus-container::after {
  margin-left: 10px;
}
.section-our-articles-container-fluid .link-block-container{
    background-color: var(--wp--preset--color--color-2);
    color:white;
    margin-left: 0;
}
.section-our-articles-container-fluid .link-block-container:hover {
    background-color: var(--wp--preset--color--color-1);
}
.section-our-articles-container-fluid .link-block-container a{
    text-decoration: none;
}
.section-our-articles-container-fluid .link-block-container svg {
  position: relative;
  border: 1px solid white;
  border-radius: 50%;
  padding: 5px 7px;
  margin-top: 5px;
  z-index: 2;
}
.section-our-articles-container-fluid .link-block-container svg:hover {
  background-color: white;
  color: var(--wp--preset--color--color-2);
}
.section-our-articles-container-fluid .link-block {
  text-transform: uppercase;
  justify-content: end;
  display: flex;
  flex-direction: column;
  margin-bottom: 100px;
  font-size: 1.125rem; /* 18px */
  padding-left: 20px;
  height: 100%;
}
.section-our-articles-container-fluid .link-block span{
  text-transform: none;
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  line-height: 1;
}
@media (min-width: 991px) {
    .section-our-articles-container-fluid{
        padding-top: 80px;
        padding-bottom: 80px;
    }
    /* .section-our-articles-container-fluid .link-block {
        padding-left: 0;
    } */
}
@media (min-width: 1200px) {
    .posts-block .achievement-container:nth-child(2) {
        margin-left: 20px;
        margin-right: 20px;
    }
}
@media (min-width: 1400px) {
    .section-our-articles-container-fluid .link-block-container{
        margin-left: 10px;
    }
}
/* Section contact */
.section-contact-us-container-fluid{
    /* background-image avec filtre noir */
    background-image: url('/wp-content/uploads/2025/08/edme_manches_produits_standards.png');
    background-color: #6C5656;
    background-blend-mode: darken;
    background-color: rgba(108, 86, 86, 0.8);
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 50px;
    color:white;
}
.section-contact-us-container-fluid h2{
    text-transform: uppercase;
    color:white;
}
.section-contact-us-container-fluid div.trait{
    border-top: 3px solid #CE0007;
    width: 200px;
}
.section-contact-us-container-fluid .btn{
    background-color: #79B829;
    color:white;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    border-color: #79B829;
    margin-top: 30px;
}
.section-contact-us-container-fluid .btn:hover{
    background-color: white;
    color: #79B829;
    border-color: #79B829;
}
/* Footer */
footer {
    background-color: #fff;
    padding-bottom: 20px;
    text-align: center;
}
footer a {
    color: #070707 !important;
}
footer a:hover {
    color: var(--wp--preset--color--color-3) !important;
}

footer .copyright {
    font-size: 0.875rem;
}
@media screen and (min-width: 991px) {
    footer {
        text-align: left;
    }
}


/**** Pages catégories produits ****/
.category-block h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 2.25rem;
    margin-bottom: 5vh;
    position: relative;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}
.category-block h2:after {
    position: absolute;
    content: "";
    width: 20%;
    height: 3px;
    background-color: var(--wp--preset--color--color-3);
    left: 0;
    right: 0;
    margin: auto;
    bottom: -10px;
}
.category-block .subcategory-block h3 {
    text-align: right;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.375rem;
}

/**** Product card *****/
.product-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background-color: #F5F1ED;
    border-radius: 10px;
    padding: 15px 15px 75px 15px;
    position: relative;
    margin: 0 5px;
    height: 100%;
}
.product-card .image {
    background-color: #fff;
    border-radius: 5px;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 15px;
}
.product-card .image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.product-card .title {
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.product-card .documents {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.product-card a.demand {
    width: 100%;
    background-color: var(--wp--preset--color--red);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    font-size: 0.875rem;
    padding: 10px;
    text-decoration: none;
}
.product-card a.demand:hover{
    background-color: var(--wp--preset--color--color-2);
}
.product-card a.file {
    width: 100%;
    background-color: var(--wp--preset--color--color-3);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    font-size: 0.875rem;
    padding: 10px;
    text-decoration: none;
}
.product-card a.file:hover{
    background-color: var(--wp--preset--color--color-2);
}


/**** Page CMS *****/
.content-cms {
    padding-top: 5vh;
    padding-bottom: 5vh;
}
.content-cms h2 {
    font-weight: 700;
    color: var(--wp--preset--color--color-3);
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
}
.content-cms h3 {
    font-weight: 600;
    color: var(--wp--preset--color--color-3);
    font-size: 1.25rem;
    margin-top: 20px;
    margin-bottom: 10px;
}
.content-cms h4 {
    font-weight: 700;
    font-size: 1.125rem;
}
.content-cms a {
    color: var(--wp--preset--color--color-3);
}
@media screen and (min-width: 991px){
    .content-cms h2 {
        font-size: 1.75rem;
    }
    .content-cms h3 {
        font-size: 1.5rem;
    }
    .content-cms h4 {
        font-size: 1.25rem;
    }
}


/*** Page des actualités ****/
body.page-template-actualites main,
body.archive.category main {
    background-color: #F5F1ED;
}