/* Encadrés, FAQ et métadonnées des articles SEOMADA */
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) h2{scroll-margin-top:120px}

/* Base commune des encadrés */
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box{margin:2em 0;padding:24px 28px;border-radius:16px;font-size:17px;line-height:1.6}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box>*:last-child{margin-bottom:0}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box .seomada-box__title{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:13px;font-weight:800;line-height:1.2;letter-spacing:.1em;text-transform:uppercase}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box ul,:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box ol{margin:0 0 0 1.1em;padding:0}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box li{margin-bottom:.5em}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box li:last-child{margin-bottom:0}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box p{margin:0 0 .8em}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box p:last-child{margin-bottom:0}

/* En résumé : fond marine, 3 points clés */
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-summary{margin-top:0;background:#142742;color:#fff}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-summary .seomada-box__title{color:#a6c53a}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-summary li{color:#fff}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-summary li::marker{color:#a6c53a}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-summary strong{color:#fff}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-summary a{color:#b9db42}

/* Bon à savoir : fond vert pâle, filet vert, icône info */
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-tip{background:#f1f6de;border-left:4px solid #a6c53a;border-radius:0 16px 16px 0;color:#1d1f20}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-tip .seomada-box__title{color:#56701a}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-tip .seomada-box__title::before{content:"";flex:0 0 22px;width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356701A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center/contain no-repeat}

/* À retenir : fond vert anis, icône de validation */
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-takeaway{background:#a6c53a;color:#142742}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-takeaway .seomada-box__title{color:#142742}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-takeaway .seomada-box__title::before{content:"";flex:0 0 22px;width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142742' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center/contain no-repeat}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-takeaway li,:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-takeaway strong{color:#142742}
:is(.elementor-widget-theme-post-content,.editor-styles-wrapper) .seomada-box.seomada-takeaway a{color:#142742}

/* FAQ (bloc FAQ Yoast) : questions dépliables */
.schema-faq{margin:1.5em 0;border-top:1px solid #cbd3de}
.schema-faq-section{border-bottom:1px solid #cbd3de}
.schema-faq-section .schema-faq-question{display:block;position:relative;padding:20px 48px 20px 0;font-size:18px;font-weight:800;line-height:1.35;color:#142742}
.schema-faq-section .schema-faq-answer{margin:0 0 20px;padding-right:48px}
.seomada-faq-js .schema-faq-section .schema-faq-question{cursor:pointer}
.seomada-faq-js .schema-faq-section .schema-faq-question::after{content:"";position:absolute;right:4px;top:50%;width:22px;height:22px;transform:translateY(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356701A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat}
.seomada-faq-js .schema-faq-section.is-open .schema-faq-question::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356701A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E")}
.seomada-faq-js .schema-faq-section .schema-faq-answer{display:none}
.seomada-faq-js .schema-faq-section.is-open .schema-faq-answer{display:block}
.schema-faq-section .schema-faq-question:focus-visible{outline:2px solid #56701a;outline-offset:2px;border-radius:4px}
@media (max-width:767px){.schema-faq-section .schema-faq-question{font-size:17px}.schema-faq-section .schema-faq-answer{padding-right:0}}

/* Ligne auteur, dates, temps de lecture */
.seomada-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;font-size:14px;line-height:1.4;color:#4e5a70}
.seomada-meta__item{display:inline-flex;align-items:center}
.seomada-meta__item+.seomada-meta__item::before{content:"";display:inline-block;width:4px;height:4px;margin:0 12px;border-radius:50%;background:#8a94a8}
.seomada-meta strong{font-weight:700;color:#142742}
