/*!
 * ER Chauffage - Compléments des articles (blocs erh-post-toc / erh-post-faq / erh-post-cta).
 */
.erh-post-toc,
.erh-post-faq,
.erh-post-cta { --erh-p: #1E7770; --erh-line: #E4EEEC; box-sizing: border-box; }

/* Sommaire */
.erh-post-toc { margin: 32px 0; padding: 22px 26px; border: 1px solid var(--erh-line); border-left: 4px solid #45B8AE; border-radius: 12px; background: #F6FBFA; }
.erh-post-toc > p { margin: 0 0 10px; font-size: 15px; letter-spacing: .02em; color: #162536; }
.erh-post-toc ul { margin: 0; padding-left: 20px; }
.erh-post-toc li { margin: 4px 0; font-size: 15px; line-height: 1.5; }
.erh-post-toc a { color: var(--erh-p); text-decoration: none; }
.erh-post-toc a:hover { text-decoration: underline; }

/* Ancres : laisser de la place sous le header fixe */
.entry-content h2[id], .entry-content h3[id] { scroll-margin-top: 110px; }

/* Questions fréquentes */
.erh-post-faq { margin: 48px 0 32px; padding: 28px; border: 1px solid var(--erh-line); border-radius: 14px; background: #fff; }
.erh-post-faq > h2 { margin-top: 0; }
.erh-post-faq h3 { margin: 22px 0 6px; font-size: 18px; line-height: 1.4; color: #162536; }
.erh-post-faq h3 + p { margin: 0; color: #475467; }

/* Appel à l'action final */
.erh-post-cta { margin: 40px 0 8px; padding: 32px; border-radius: 16px; background: #14232D; color: rgba(255, 255, 255, .82); }
.erh-post-cta p { color: inherit; }
.erh-post-cta .erh-post-cta__title { margin: 0 0 8px; font-size: 22px; line-height: 1.3; color: #fff; }
.erh-post-cta .wp-block-buttons { margin-top: 18px; }
.erh-post-cta .wp-block-button__link { padding: 13px 24px !important; border-radius: 10px !important; background: #45B8AE !important; color: #14232D !important; font-weight: 700; text-decoration: none; }
.erh-post-cta .wp-block-button__link:hover { background: #65C8BE !important; color: #14232D !important; }

@media (max-width: 600px) {
	.erh-post-toc, .erh-post-faq, .erh-post-cta { padding: 20px; }
}
