/* ==============================
   GLOBAL TYPOGRAPHY FRONT
   ============================== */
/* Globalement sur le site */
html, body {
    overflow-x: hidden;
}
.title-section {
  margin-top: 0 !important;
}
a {
  text-decoration: none;
}
#post-grid-block img{
  margin: 0 !important;
}
#blogs-elevated img{
  margin: 0 !important;
  border-radius: 0;
}
#cards-grid img{
  margin: 0 !important;
  border-radius: 0;
}
#blogs-elevated h3{
  margin: 0 !important;
}
#post-grid-block p {
  margin: 0;
}
#post-grid-block h3 {
  margin-top: 0;
}
#post-grid-block .read-more-b4 {
  margin-top: 1em;
  padding-bottom: 0.5em;
}

/* Conteneur Blog grid */
#latest-blogs-grid img {
    margin: 0 !important;
    border-radius: 0;
}
#latest-blogs-grid h3 {
  margin-top: 0; margin-bottom: 0.75rem;
}
/* Conteneur général pour le contenu */
.prose-content {
  max-width: 100%;
  padding:0 16px 0 16px;
  line-height: 1.75;
  font-size: 1rem;
  color: #1e293b; /* slate-900 */
  transition: background 0.3s ease, color 0.3s ease;
}

/* Mode sombre */
.dark .prose-content {
  color: #f3f4f6; /* slate-100 */
}
html.dark .dark-contrainer {
    background-color: #1e293b !important;
  }

html.dark .dark-header {
    background-color: #0f172a !important;
  }

html.dark footer {
    background-color: #0f172a !important;
  }
  html.dark .footer-bottom {
    background-color: #0f172a !important;
    border-top:solid 1px #1e293b;
    color: #cbd5e1 !important;
  }
/* Paragraphes */
.prose-content p {
  margin-bottom: 0.50em;
}

#n8-faq h3 {     margin-top: 0.60em;
    font-weight: 400;
    font-size: 21px;}

/* Titres */
.prose-content h1,
.prose-content h2,
.prose-content h3,
.prose-content h4,
.prose-content h5,
.prose-content h6{
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: 0.75em;

}

.prose-content h1 {
  font-size: 2.25rem;
}
.prose-content h2 {
  font-size: 1.875rem;
}
.prose-content h3 {
  font-size: 1.5rem;
}
.prose-content h4 {
  font-size: 1.25rem;
}
.prose-content h5 {
  font-size: 1.05rem;
}
.prose-content h4 {
  font-size: 1rem;
}



/* Listes */
.prose-content ul,
.prose-content ol {
  margin: 1.5em 0 1.5em 1.5em;
  padding-left: 1rem;
}

/* ❌ NE PAS faire ça sur le container (ça casse les listes) */
/* .prose-content { list-style:none; padding-left:0; } */

/* ✅ Check uniquement sur les UL */
.prose-content ul {
  list-style: none;
  padding-left: 0;
}

.prose-content ul li {
  position: relative;
  padding-left: 28px;
}

.prose-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: #59168b;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath fill-rule='evenodd' d='M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm3.844-8.791a.75.75 0 0 0-1.188-.918l-3.7 4.79-1.649-1.833a.75.75 0 1 0-1.114 1.004l2.25 2.5a.75.75 0 0 0 1.15-.043l4.25-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath fill-rule='evenodd' d='M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm3.844-8.791a.75.75 0 0 0-1.188-.918l-3.7 4.79-1.649-1.833a.75.75 0 1 0-1.114 1.004l2.25 2.5a.75.75 0 0 0 1.15-.043l4.25-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
}

/* ✅ OL = numéros normaux (pas d'icône) */
.prose-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.prose-content ol li {
  position: static;
  padding-left: 0;
  margin-bottom: 0.5em;
}

.prose-content ol li::before {
  content: none;
}


/* Liens */
.prose-content a {
  color: var(--accent);
  transition: color 0.2s ease;
}
.text-blue-600 {
  color: #59168b;
}
.prose-content a:hover {
  color: var(--accent-soft);
}

.dark .prose-content a {
  color: #fff;
}
.dark .prose-content a:hover {
  color: #93c5fd;
}

/* Images */
.prose-content img {
  max-width: 100%;
  border-radius: 0.75rem;
  margin: 2em auto;
  display: block;
}
.prose-content .wp-block-gallery img {
    margin: 0;
}
.prose-content figcaption {
border-radius: 10px;
}
.prose-content figure:before{
border-radius: 10px;
}
/* Citations */
.prose-content blockquote {
  border-left: 4px solid #59168b;
  padding-left: 1.25rem;
  font-style: italic;
  color: #475569;
  margin: 1.5em 0;
}
.dark .prose-content blockquote {
  border-left-color: #59168b;
  color: #cbd5e1;
}

/* Séparateurs */
.prose-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2em 0;
}
.dark .prose-content hr {
  border-top-color: #334155;
}

/* Tableaux */
.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
  border-radius: 0;
}
.prose-content th,
.prose-content td {
  border: none;
  padding: 0.75rem;
  text-align: left;
}
.dark .prose-content th,
.dark .prose-content td {
  border-color: #475569;
}
.dark table {}
/* Citations, code */
.prose-content code {
  background-color: #e2e8f0;
  color: #1e293b;
  border-radius: 4px;
  padding: 0.15em 0.4em;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.dark .prose-content code {
  background-color: #1e293b;
  color: #f9fafb;
}

/*tables */
.wp-block-table thead {
    border-bottom: 1px solid;
}


/* CTA Hero – Styles Front-End */
.cta-hero-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw); /* casse le container */
  margin-right: calc(50% - 50vw);
}
/*contact*/
.contact-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw); /* casse le container */
  margin-right: calc(50% - 50vw);
}
/*team block*/
.team-members-block img {
  margin: 0;
}
.team-full {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
}
.team-boxed {
  width: 100%;
}

.team-full .inner-wrapper {
  max-width: 100%; /* indispensable */
  overflow-x: hidden;
}


/*HERO*/
.full-hero-width {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}
/*CTA*/

.cta-boxed {
  max-width: 1280px; /* comme ton thème */
  margin-left: auto;
  margin-right: auto;
}


/* Contact Bloc */
#contact-block svg { color: #000;}

/* Logo */
.carousel-full-width {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}
@keyframes infinite-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.animate-infinite-scroll {
    animation: infinite-scroll 17s linear infinite;
}

.logos-track li {
    margin-left: 2rem;
    margin-right: 2rem;
    list-style: none !important;
}

.logos-track img {
    max-width: none;
}

.logos-track {
  margin: 0 !important;
  padding: 0 !important;
}

.breadcrumb-white,
.breadcrumb-white a,
.breadcrumb-white span,
.breadcrumb-white li {
  color: rgba(255,255,255,.9) !important;
}

.breadcrumb-white a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* séparateurs si tu utilises des SVG / icônes */
.breadcrumb-white svg,
.breadcrumb-white path {
  fill: rgba(255,255,255,.75) !important;
  stroke: rgba(255,255,255,.75) !important;
}
