/* Here you can manage your theme settings */
h6 {
    display: block;
    font-size: 16px;
    margin-block-start: 0.2em;
    margin-block-end: 1.1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

h5 {
    display: block;
    font-size: 0.83em;
    margin-block-start: 0.2em;
    margin-block-end: 1.1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.gancreative--testi-clientrating img {
    width: 200px !important;
}

.single-logo {
    padding: 15px 30px 0 !important;
}

.slider-banner .slider-container .item .content-wrapper {
    padding: 10px !important;
    margin-top: -10px !important;
}

.multi-step-form .ms-form-section .next-btn svg {
    display: none !important;
}

.multi-step-form .ms-form-section .next-btn {
      padding-right: 18px !important;
}

form.hs-form .hs-form-field input:not([type=checkbox]):not([type=radio]):not([type=file]), 
form.hs-form .hs-form-field select, 
form.hs-form .hs-form-field textarea {
  background-color: #ffffff !important;
  border-radius: 50px !important;
  border-bottom: 1px solid rgb(235 235 235) !important;
  border: 1px solid rgb(235 235 235) !important;
  padding: 12px 18px 12px !important;
  margin-top: 4px !important;
  color: #263a67  !important;
}

form.hs-form .hs-form-field textarea {
    height: 60px;
}

form.hs-form label {
    font-size: 16px !important;
    font-weight: 400 !important;
    margin: 0px 18px !important;
}

form.hs-form .hs-error-msgs label {
    color: #e55843;
}

form.hs-form .legal-consent-container .hs-richtext p {
    font-size: 12px;
    color: #263a67;
}

form.hs-form .hs-submit, form.hs-form .hs_recaptcha {
    margin-top: 35px;
    text-align: center;
}

form.hs-form input.primary {
    font-size: 18px;
  }


form.hs-form .hs-form-field select {
  font-size: 16px !important;
}


/* S’applique uniquement au formulaire multi-step */
.ms-survey-from form.hs-form .hs-richtext {
    margin-top: -25px;
    margin-bottom: 10px;
}

.ms-survey-from .legal-consent-container {
    margin-top: 60px !important;
    margin-bottom: 0px;
}

/* Par défaut : marge top de 25px */
form.hs-form .hs-richtext {
  margin-top: 25px;
}

/* Si un parent a la classe .ms-form-steps : marge top de 5px */
.ms-form-steps form.hs-form .hs-richtext {
  margin-top: 5px;
}

  
@media (max-width: 768px) {
  .new-form-one-col .form-wrapper {
    padding: 10px 10px 20px;
  }

@media (max-width: 768px) {
  .hs-richtext.hs-main-font-element p {
    font-size: 20px !important;
  }
}

  
  
/* ===========================================
   STYLES SPÉCIFIQUES POUR LES ARTICLES DE BLOG
   Ciblés via .blog-post-2023 .body-wrapper
=========================================== */

/* ===========================
   1. Supprimer les styles inline
=========================== */

/* ===========================
   2. Réappliquer tes styles standard
=========================== */
.blog-post-2023 .body-wrapper p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  color: #263a67 !important;
  margin-bottom: 1em !important;
}

@media screen and (max-width: 767px) {
.blog-post h1 {
  font-size: 24px;
}
}

.blog-post-2023 .body-wrapper h2 {
  color: #263a67 !important;
  font-size: 28px !important;
  line-height: 1.25 !important;
  margin-top: 2em !important;
  margin-bottom: -1em !important;
  font-weight: 600 !important;
}
/* Sur mobile : taille réduite à 24px */
@media screen and (max-width: 767px) {
  .blog-post-2023 .body-wrapper h2 {
    font-size: 24px !important;
  }
}

.blog-post-2023 .body-wrapper #key_takeaways h2.takeaways-title {
  all: unset;
  display: block;
  font-size: 24px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #1b2849 !important;
  margin: 0 !important;
}


.blog-post-2023 .body-wrapper h3 {
  color: #263a67 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  margin-top: 2.5em !important;
  margin-bottom: -0.5em !important;
  font-weight: 600 !important;
  padding-left: 2em;
}

@media screen and (max-width: 767px) {
  .blog-post-2023 .body-wrapper h3 {
    padding-left: 1em !important;
  }
}

.blog-post-2023 .body-wrapper ul {
  line-height: 2 !important;
  color: #263a67 !important;
  margin-bottom: 1.5em !important;
  margin-top: 1.5em !important;
  padding-left: 1.5em !important;
}

.blog-post-2023 .body-wrapper ul li {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #263a67 !important;
  margin-bottom: 0.5em !important;
}

.blog-post-2023 .body-wrapper p strong,
.blog-post-2023 .body-wrapper p b {
  color: #263a67 !important;
  font-weight: 600 !important;
}

.blog-post-2023 .body-wrapper p + p {
 margin-top: 20px !important;
}

.blog-post-2023 .body-wrapper .hs-cta-embed {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

/* ===========================
   3. Images centrées avec max-width
=========================== */
.blog-post-2023 .body-wrapper img {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
  width: 100%;
  max-width: 700px;
  min-width:600px;
  height: auto;
}

@media screen and (max-width: 767px) {
  .blog-post-2023 .body-wrapper img {
    min-width: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ===========================
   4. Styliser la barre avant "Conclusion"
=========================== */
.hr-before-conclusion {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, .1);
  margin-top: 4rem;
  margin-bottom: 1rem;
}

/* ===========================
   4. Styliser la table des matières blog
=========================== */
.table-des-matieres {
    background-color: #fbf9f7;
    border-radius: 20px;
    margin: 2rem auto 2rem !important;
    max-width: 600px !important;
    padding: 5px 30px;
}

@media only screen and (max-width: 767px) {
  .table-des-matieres {
    width: 98%;
    padding: 10px;
    margin: 1rem auto 1rem !important;
  }
}

/* Forcer les styles du titre "Table of contents" dans le sommaire */
.blog-post-2023 .body-wrapper .table-des-matieres .content-text h2 {
  color: #263a67 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: normal !important;
  margin-bottom: 1rem !important;
}


.table-des-matieres .content-text ul {
  list-style-type: none;
  padding-left: 10px;
  margin: 0;
}

.table-des-matieres .content-text li {
  margin-bottom: 0.5em;
}

.table-des-matieres .content-text li a {
  color: #263a67;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

.blog-post-2023 .body-wrapper .table-des-matieres .content-text li a:hover {
  text-decoration: underline !important;
}


/* Indentation H3 simulée via classe personnalisée */
.table-des-matieres .toc-lvl2 {
  padding-left: 2em;
}

/* ================================================
   TABLEAUX DANS LES ARTICLES DE BLOG – STYLE Fittingbox
=================================================== */
.blog-post-2023 .body-wrapper table {
  width: 90% !important;
  margin: 3em auto !important;
  border: 1px solid #263a67 !important;
  font-family: 'Montserrat', sans-serif;
  color: #263a67 !important;
  text-align: left;
  table-layout: fixed;
}

/* En-têtes (TH) */
.blog-post-2023 .body-wrapper table th {
  font-weight: 600 !important;
  color: #263a67 !important;
  padding: 15px !important;
  background-color: #fbf9f7;
  border-top: 1px solid #263a67;
  border-bottom: 1px solid #263a67;
  border-left: 1px solid #263a67;
  border-right: 1px solid #263a67;
}

/* Cellules (TD) */
.blog-post-2023 .body-wrapper table td {
  font-weight: 400 !important;
  color: #263a67 !important;
  padding: 15px !important;
  background-color: #fff;
  border-top: 1px solid #263a67;
  border-bottom: 1px solid #263a67;
  border-left: 1px solid #263a67;
  border-right: 1px solid #263a67;
}

/* Supprimer les bordures extérieures du tableau */
.blog-post-2023 .body-wrapper table tr:first-child th {
  border-top: none !important;
}

.blog-post-2023 .body-wrapper table tr:last-child td {
  border-bottom: none !important;
}

.blog-post-2023 .body-wrapper table tr td:first-child,
.blog-post-2023 .body-wrapper table tr th:first-child {
  border-left: none !important;
}

.blog-post-2023 .body-wrapper table tr td:last-child,
.blog-post-2023 .body-wrapper table tr th:last-child {
  border-right: none !important;
}

.blog-post-2023 .body-wrapper .multi-columns-text .content-wrapper img {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  max-height: 350px; /* facultatif : pour équilibrer */
  display: block;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
}


/* ================================================
   Module Listing – STYLE Fittingbox
=================================================== */

/* CSS override pour supprimer la limite de hauteur sur les titres */
.offers-listing-inline .single-post h3 {
  height: auto !important;
}


/* ================================================
   LANGUAGE SWITCHER – STYLE Fittingbox
=================================================== */