.elementor-30103 .elementor-element.elementor-element-89b48bb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;overflow:visible;}.elementor-30103 .elementor-element.elementor-element-8388959{--display:flex;--background-transition:0.3s;overflow:visible;}@media(max-width:767px){.elementor-30103 .elementor-element.elementor-element-89b48bb{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-30103 .elementor-element.elementor-element-8388959{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-30103 .elementor-element.elementor-element-a7c1f02 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-30103 .elementor-element.elementor-element-063f851 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS for theme-post-content, class: .elementor-element-063f851 *//* ============================================
   CSS GLOBAL POUR TOUS LES ARTICLES KB
   ============================================ */

/* Smooth scroll 
html {
  scroll-behavior: smooth;
}*/

/* ============================================
   META PILLS (Métadonnées d'article)
   ============================================ */
/* ============================================
   META PILLS - VERSION ALTERNATIVE
   ============================================ */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  color: #4B5563;
  margin-bottom: 1rem;
}

.meta-pill {
  display: table;
  padding: 5px 11px;
  border-radius: 999px;
  background-color: #F3F4F6;
  border: 1px solid #E5E7EB;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.meta-pill-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

.meta-pill-text {
  display: table-cell;
  vertical-align: middle;
  padding-top: 1px;
  text-align: left; /* garantit l’alignement à gauche */
}

/* Mobile */
@media (max-width: 768px) {
  .article-meta {
    flex-direction: column;
    align-items: flex-start; /* badges collés à gauche */
    gap: 8px;
  }

  .meta-pill {
    width: auto;          /* plus 100% */
    max-width: 100%;      /* évite de dépasser en cas de texte long */
  }
}

/* ============================================
   CONTENEUR PRINCIPAL
   ============================================ */
.kb-article-page .article-main,
.kb-article,
.article-main {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

@media (max-width: 768px) {
  .kb-article-page .article-main,
  .kb-article,
  .article-main {
    padding: 14px 16px;
    border-radius: 8px;
  }
}

/* ============================================
   QUICK SETUP CHECKLIST (TOC Gradient Box)
   ============================================ */
.quick-setup {
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  color: #FFFFFF;
  margin-bottom: 24px;
}

.quick-setup h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
}

.quick-setup p {
  margin-bottom: 10px;
  font-size: 14px;
  color: #FFFFFF;
  opacity: 0.95;
}

.quick-setup ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: #FFFFFF;
  list-style-type: decimal;
}

.quick-setup ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Liens TOC dans la quick-setup */
.quick-setup ol li a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  transition: all 0.2s ease;
}

.quick-setup ol li a:hover {
  border-bottom-color: #FFFFFF;
  opacity: 1;
}

/* Code/URLs dans la quick-setup */
.quick-setup code {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #FFFFFF;
  font-family: 'Courier New', Courier, monospace;
}

/* Strong dans la quick-setup */
.quick-setup strong {
  font-weight: 700;
  color: #0F172A;
}

/* Responsive pour quick-setup */
@media (max-width: 768px) {
  .quick-setup {
    padding: 10px 22px;
  }
}
/* ============================================
   SECTIONS GÉNÉRALES
   ============================================ */
#step-by-step,
.kb-section-title {
  margin: 32px 0 16px 0;
}

#step-by-step h2,
.kb-section-title h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 16px;
}

/* Table of contents standard */
.kb-toc,
.toc {
  background: #EEF2F9;
  border: 1px solid #DDE3F0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
}

/* ============================================
   STEP CARDS (Cartes d'étapes)
   ============================================ */
.step-card {
  border-radius: 12px;
  border: 1px solid #DDE3F0;
  padding: 16px 18px;
  margin: 16px 0;
  background: #FFFFFF;
  scroll-margin-top: 20px;
}

.step-card .step-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E0ECFF;
  color: #2563EB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-right: 10px;
  flex-shrink: 0;
}

.step-card .step-title {
  font-weight: 600;
  font-size: 16px;
  color: #1E293B;
  line-height: 1.4;
}

.step-card .step-caption {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 8px;
}

/* Listes dans les step-cards */
.step-card ol {
  list-style-type: lower-alpha;
  padding-left: 24px;
  margin: 12px 0;
}

.step-card ul {
  list-style-type: disc;
  padding-left: 24px;
  margin: 8px 0;
}

.step-card ol li,
.step-card ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Images dans les step-cards */
.step-card img {
  margin: 12px 0;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Code dans les step-cards */
.step-card code {
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #334155;
  font-family: 'Courier New', Courier, monospace;
}

/* Paragraphes dans les step-cards */
.step-card p {
  margin: 10px 0;
  line-height: 1.6;
  color: #475569;
}

/* Liens dans les step-cards - EXCEPTION pour les liens TOC */
.step-card a:not(.related-pill) {
  color: #2563EB;
  text-decoration: underline;
}

.step-card a:not(.related-pill):hover {
  color: #1E40AF;
}

/* ============================================
   CALLOUTS (Alertes et conseils)
   ============================================ */
.callout {
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.callout-icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 1px;
  margin-right: 8px;
  flex-shrink: 0;
}

.callout strong {
  font-weight: 600;
}

.callout-tip {
  background: #ECFDF3;
  border: 1px solid #BBF7D0;
  color: #065F46;
}

.callout-warning {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
}

.callout-tech {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

/* ============================================
   FAQ SECTION (Accordéons)
   ============================================ */
.kb-faq,
.faq-section {
  margin-top: 32px;
}

.kb-faq h2,
.faq-section h2 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #1E293B;
}

.kb-faq details,
.faq-section details {
  border-radius: 10px;
  border: 1px solid #DDE3F0;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #F9FAFB;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.kb-faq details:hover,
.faq-section details:hover {
  background: #F1F5F9;
}

.kb-faq summary,
.faq-section summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: #1E293B;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kb-faq summary::-webkit-details-marker,
.faq-section summary::-webkit-details-marker {
  display: none;
}

.kb-faq summary::before,
.faq-section summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #6B7280;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.kb-faq details[open] summary::before,
.faq-section details[open] summary::before {
  content: "−";
}

.kb-faq details p,
.faq-section details p {
  margin-top: 8px;
  margin-bottom: 0;
  margin-left: 32px;
  color: #475569;
  line-height: 1.6;
}

.kb-faq details strong,
.faq-section details strong {
  color: #1E293B;
}

/* Liens dans la FAQ */
.kb-faq a,
.faq-section a {
  color: #2563EB;
  text-decoration: underline;
}

.kb-faq a:hover,
.faq-section a:hover {
  color: #1E40AF;
}

/* ============================================
   RELATED RESOURCES (Ressources liées)
   ============================================ */
.related {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #DDE3F0;
}

.related-title {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 12px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
}

.related-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #EEF2F9;
  border: 1px solid #DDE3F0;
  font-size: 13px;
  text-decoration: none;
  color: #1E293B;
  transition: all 0.2s ease;
  line-height: 1.4;
    margin: 0.5rem;

}

.related-pill:hover {
  background: #DDE3F0;
  border-color: #CBD5E1;
  text-decoration: none;

}

/* ============================================
   STYLES TYPOGRAPHIQUES GÉNÉRAUX
   ============================================ */
#intro h2,
.kb-intro h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 12px;
}

#intro p,
.kb-intro p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #475569;
}

#intro ul,
.kb-intro ul {
  padding-left: 24px;
  margin: 12px 0;
}

#intro ul li,
.kb-intro ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE GENERAL
   ============================================ */
@media (max-width: 768px) {
  .kb-article-page .article-main,
  .kb-article,
  .article-main {
    padding: 8px 10px;
  }
  
  .quick-setup {
    padding: 10px 12px;
  }
  
  .step-card {
    padding: 6px 8px;
  }
  
  .related-links {
    flex-direction: column;
  }
  
  .related-pill {
    display: block;
    text-align: center;
  }
}

/* ============================================
   UTILITAIRES
   ============================================ */
/* Espacement après les captures d'écran */
.step-card em {
  display: block;
  font-style: italic;
  color: #64748B;
  font-size: 13px;
  margin: 8px 0;
}

/* Code inline général */
code {
  font-family: 'Courier New', Courier, monospace;
}/* End custom CSS */