@media (min-width: 1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px !important;
    }  
}
.post, .page {
    margin: 0;
}
.post, .page, .site-main, .footer-width-fixer {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.page-content, .entry-content, .entry-summary {
    margin: 0;
}
p{
    margin-bottom:  1.5em;
}

a:visited {
    color: inherit;
}
.elementor-icon-box-wrapper,
.elementor-widget-eael-feature-list {
    overflow-wrap: anywhere;
}
.elementor hr{
  background-color: #8c8b8b; 
  margin: 10px 0;
}
.thumbnail-image img{
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}
.exerpt-text-truncate p {
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* nombre de lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* custom button styles */
.custom-button .elementor-button{
    padding: 0;
    border-radius: 0;
    background: none !important;
}
.custom-button .elementor-button-content-wrapper{
    padding: 0;
}
.custom-button .elementor-button-icon,
.custom-button .elementor-button-text{
  padding: 12px;
  background-color: #c6cb00d4;
  border-radius: 5px ;
  transition: background-color .3s;
}
.custom-button .elementor-button:hover .elementor-button-icon,
.custom-button .elementor-button:hover .elementor-button-text{
  background-color: #C6CB00;
}

/* header */
.hfe-nav-menu__layout-horizontal
{
    WIDTH: 100% !important;
}
body:not(.elementor-editor-active) .terence-header{
  position: absolute;
  left: 0;
  top: 0;
  background-color: transparent !important;
  /* background-color: #22222269 !important; */
}

span.elementor-icon-list-text {
    word-break: break-all;
}

/* accueil : Nos chiffre clé section */
.txt-bgl, .txt-bgr {
    position: absolute;
    top: 0;
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0.25;
    line-height: 0.7em;
    z-index: -1;
    letter-spacing: 1.5;
    font-weight: 600;
    font-size: 7rem;
    color: transparent;
    -webkit-text-stroke: 1px #b3acac;
    text-stroke: 1px #b3acac;            
}
@media (max-width: 1024px) {
    .txt-bgl, .txt-bgr {
        font-size: 5rem;
    }
}
@media (max-width: 767px) {
    .txt-bgl, .txt-bgr {
        font-size: 3rem;
    }
}
.txt-bgl{
    left: 0;
    /* -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0); */
}
.txt-bgr {
    right: 0;
     /* -webkit-transform: translate3d(50%, 0, 0);
    transform: translate3d(50%, 0, 0); */
}

.elementor-widget-counter {
  position:relative;
}
.nos-chiffres-cles .elementor-widget-counter:not(:nth-child(4n)):not(:last-child)  .elementor-counter::after {
    content: "";
    position: absolute;
    top: 25%;
    bottom: 25%;
    right: 0;
    width: 2px;
    background-color: #e1e1d6; 
}
.elementor-widget-counter .elementor-counter-title{
    text-align: center;
}
@media (max-width: 767px) {
  .nos-chiffres-cles .elementor-widget-counter .elementor-counter{
    max-width: 320px;
  }
  .nos-chiffres-cles .elementor-widget-counter .elementor-counter::after{
    display: none;
  }
 .nos-chiffres-cles .elementor-widget-counter:not(:last-child)  .elementor-counter::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;        /* => 80% de largeur */
    bottom: 0;
    height: 2px;
    background-color: #e1e1d6; 
  }
}
/*  accueil : Nos services section */
.elementor-widget-ha-infobox.happy-addon.ha-infobox{
    height: 100%;
}
.swiper-pagination-bullet-active{
  background: #7A7A7A;
}
/* accueil : entreprises partenaires section */
.gs_logo_single--inner{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    
}
.gs_logo_single--inner,
.gs_logo_single img{
    border-radius: 10px;
}

/* accueil : terence homme section */
.terence-homme{
  overflow: hidden;
}

/* accueil : Nos dernières actualités */
.eael-grid-post .eael-entry-header-after {
    justify-content: space-between !important;
}

/* accueil : STYLE DU FORMULAIRE NEWSLETTER MINIMAL */
.tnp-subscription-minimal form {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  max-width: 500px;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto; 
}

.tnp-subscription-minimal input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background: #fff;
  color: #333;
  font-size: 14px;
  min-width: 0;
}

.tnp-subscription-minimal input[type="email"]::placeholder {
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tnp-subscription-minimal input[type="submit"] {
  background: #4a4a4a;
  color: #fff;
  border: none;
  padding: 0 20px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap; /* garde le texte sur une seule ligne */
  width: auto !important;
  max-width: none !important;
}
.tnp-subscription-minimal input.tnp-email, 
.tnp-subscription-minimal input.tnp-name {
    margin-right: 0 !important;
    width: auto !important;
    max-width: none !important;
}
.tnp-subscription-minimal input[type="submit"]:hover {
  background: #333;
}

@media (max-width: 767px) {
  .tnp-subscription-minimal form {
    flex-direction: column;
    max-width: 100%;
  }
  .tnp-subscription-minimal input[type="email"],
  .tnp-subscription-minimal input[type="submit"] {
    width: 100% !important;
    margin-bottom: 20px;
    border-radius: 6px !important;
  }
  .tnp-subscription-minimal input[type="submit"] {
    padding: 12px 15px;
    border-radius: 6px !important;
  }
}


/* footer */
@media (max-width: 767px) {
    .terence-footer .hfe-nav-menu a.hfe-menu-item, 
    .terence-footer .hfe-nav-menu a.hfe-sub-menu-item{
        justify-content: center !important;
    }
}

/* banniere page and articles and blog archive */
.banniere-wrapper {
    position: relative;
    background: url(../img/banniere.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.banniere-wrapper  .b-overly {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(2, 2, 2, 0.5);
    z-index: 2;
}
.banniere-wrapper-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 430px;
    padding-top: 130px;
    padding-bottom: 10px;
    color: #fff;
}
.banniere-wrapper-content .banniere-title{
    color: #fff;
    font-size: 48px;
    font-weight: 600;
    text-align: center;
}
/*  breadcrumbs */
.breadcrumbs {
    position: relative;
    z-index: 3;
    color: #fff;
    display: inline-block;
    padding: 20px 0;
    font-size: 22px;
    text-transform: uppercase;
}
.breadcrumbs a,
.breadcrumbs span{
    color: #fff;
}
@media (max-width: 1024px){
    .banniere-wrapper-content .banniere-title{
        font-size: 40px;
    }
    .breadcrumbs {
        font-size: 16px;
    }
}
@media (max-width: 767px){
    .banniere-wrapper-content {
        padding-top: 90px;
        min-height: 300px;
    }
    .banniere-wrapper-content .banniere-title{
        font-size: 36px;
    }
    .breadcrumbs {
        text-align: center !important;
        display: block;
        font-size: 14px;
    }
    
}

/* title section + single-post-title en code */
.section-title,
.single-post-title{
    font-size: 32px;
    font-weight: 645;
    line-height: 1.5em;
    color: #000000;
}
.section-description{
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1024px){
   .section-title,
    .single-post-title{
        font-size: 26px;
    }
}
@media (max-width: 767px){
     .section-title,
    .single-post-title{
        font-size: 22px;
    }
}

/* single post Service */
.single-pt-service,
.archive-pt-service,
.single-pt{
    background-color: #F2F2F2;
    padding: 50px 20px;
}
.contenu-service,
.contenu-post{
    padding-bottom: 40px;
    color: #000000;
}
.section-sous-titre{
    color: #C7CC00;
    text-decoration: underline;
    margin-bottom: 5px;
}
.contenu-service .entry-content img,
.contenu-post .entry-content img{
    border-radius: 10px;
}
.card.post_item{
    border-radius: 15px;
    height: 100%;
}
.card.post_item .banniere_wrapper {
    height: 240px;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .card.post_item .banniere_wrapper {
        height: 180px;
    }
}
@media (max-width: 767px) {
    .card.post_item .banniere_wrapper {
        height: 240px;
    }
}
.card.post_item .card-img, 
.card.post_item .card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.card.post_item .card-body{
    padding-bottom: 25px;
}
.card.post_item .card-title,
.card.post_item .card-title a{
    font-weight: 600;
    text-align: justify;
    margin-bottom: 20px;
    color: #000000;
    transition: all .3s;
}
.card.post_item .card-title:hover,
.card.post_item .card-title a:hover{
    color: #C7CC00;
}
.card.post_item .card-text{
    margin-bottom: 10px;
    text-align: justify;
}
.card.post_item .card-btn,
.cstmbtn{
    background-color:transparent;
    color: #fff;
    font-size: 14px;
    padding: 0;
    
}
.card.post_item .card-btn .card-button-text,
.card.post_item .card-btn .card-button-icon,
.cstmbtn .card-button-text,
.cstmbtn .card-button-icon{
    background-color:#c6cb00d4;
    border-radius: 5px;
    transition: background-color .3s;
    padding: 10px;
    color: #fff;
}
.card.post_item .card-btn:hover .card-button-text,
.card.post_item .card-btn:hover.card-button-icon,
.cstmbtn:hover .card-button-text,
.cstmbtn:hover .card-button-icon
{
    background-color:#C7CC00;
}
.card.post_item .card-btn .card-button-text,
.cstmbtn .card-button-text{
    margin-right: -3px;
}
.card.post_item .cardfooter{
    margin-top: 30px;
}
@media (max-width: 767px) {
   .contenu-service,
   .contenu-post,
   .others-single-post-section {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* paginate */
.paginate > .page-numbers {
    display: flex;
    padding-left: 0;
    list-style: none;
    margin: 0;
}
.paginate li a, .paginate li span, .paginate li .next {
    padding: 0.375rem 0.75rem;
    position: relative;
    display: block;
    color: #C7CC00;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -moz-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -ms-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -o-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.paginate li .current {
    z-index: 3;
    color: #fff;
    background-color: #C7CC00;
    border-color: #C7CC00;
}

/*  no centent section */
.tr-no-content{
    text-align: center;
    background-color: #ffffff;
    max-width: 680px;
    margin: auto;
    padding: 40px 20px;
    border-radius: 10px;
}

/* 404 page */
.not-found-page {
    text-align: center;
    padding: 100px 20px;
    background-color: #F2F2F2;
}

.not-found-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.not-found-description {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* sidebar post + service */
#terence-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#terence-sidebar section.widget {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 20px;
  font-family: "Poppins", sans-serif;
}
#terence-sidebar  .wp-block-heading{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 5px;
  color: #222;
}
#terence-sidebar .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#terence-sidebar .widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
#terence-sidebar .widget ul li a, 
#terence-sidebar .widget ul li a:visited {
    color: #222;
}
#terence-sidebar .widget ul li a:hover {
    color: #C7CC00;
}

#terence-sidebar .widget ul li:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  #terence-sidebar{
    gap: 15px;
    margin-top: 40px;
  }

  #terence-sidebar section.widget {
    padding: 15px;
  }

  .sidebar  .wp-block-heading {
    font-size: 16px;
  }
}

.texte-post,
.texte-post p{
    text-align: justify;
}

/* custom liste style */
.elementor-widget-text-editor ul,
.single-pt .texte-post ul,
.single-pt-service .texte-post ul{
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.elementor-widget-text-editor ol,
.single-pt .texte-post ol,
.single-pt-service .texte-post ol {
  margin-left: 0;
}

.elementor-widget-text-editor ul li,
.single-pt .texte-post ul li,
.single-pt-service .texte-post ul li {
  list-style: none;
  position: relative;
  padding-left: 1.2em;
}
.elementor-widget-text-editor ul li::before,
.single-pt .texte-post ul li::before,
.single-pt-service .texte-post ul li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5em;
  height: 0.5em;
  background-color: #C7CC08;
}
.elementor-widget-text-editor ul li ul li::before,
.single-pt .texte-post ul li ul li::before,
.single-pt-service .texte-post ul li ul li::before{
  border-radius: 50%;
  background-color: #56564e;
}
.elementor-widget-text-editor ul li ul li ul li::before,
.single-pt .texte-post ul li ul li ul li::before,
.single-pt-service .texte-post ul li ul li ul li::before {
  content: "-";         /* tiret moyen (alt + 0150 ou \2013) */
  color: #222;
  position: static;
  font-weight: bold;
  margin-right: 0.4em;
  background-color: transparent;
}

/* page reference */
@media (min-width: 768px) {
	.nos-refs .icon-ref{
		min-width: 60px;
	}
}
.nos-refs .elementor-icon-wrapper .elementor-icon{
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* HOME IMAGE SLIDER */
.ha-slick-slide .ha-slick-item .ha-slick-img{
    width:100%;
    height:300px;
    object-fit:cover;
}
@media (max-width: 767px) {
	.ha-slick-slide .ha-slick-item{
		display: flex;
		justify-content: center;
		align-items: center;
	}
}