/* Changes Blog Options: blog post content, CTA boxes, FAQ, highlighted sections.
   Measured from the live "Signs You Need a Medical Detox" post. */

body .cwbo-article { color: #795F58; font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.7; }

/* Text */
body .cwbo-article p { margin: 0 0 14.4px; }
body .cwbo-article h2 { font-family: "Italiana", sans-serif; font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: 2px; color: #795F58; margin: 48px 0 16px; text-transform: none; }
body .cwbo-article h3 { font-family: "Italiana", sans-serif; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: 1.5px; color: #795F58; margin: 32px 0 12px; text-transform: none; }
body .cwbo-article h4 { font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 600; line-height: 1.5; color: #795F58; margin: 24px 0 10px; }
body .cwbo-article > :first-child { margin-top: 0; }
body .cwbo-article a { color: #795F58; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
body .cwbo-article { overflow-wrap: break-word; }
body .cwbo-article a:hover { color: #3B2F2C; }
body .cwbo-article strong, body .cwbo-article b { font-weight: 600; }

/* Lists: brown chevrons, like the Elementor icon lists */
body .cwbo-article ul { list-style: none; margin: 16px 0 16px; padding: 0; }
body .cwbo-article ul li { position: relative; padding-left: 23px; margin: 0; color: #000000; }
body .cwbo-article ul li::before {
	content: ""; position: absolute; left: 0; top: 6.6px; width: 14px; height: 14px; background: #795F58;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body .cwbo-article ul ul, body .cwbo-article ol ol, body .cwbo-article ul ol, body .cwbo-article ol ul { margin: 4px 0 4px; }
body .cwbo-article ol { margin: 16px 0; padding-left: 22px; }
body .cwbo-article ol li { color: #000000; padding-left: 4px; }
body .cwbo-article ol li::marker { color: #795F58; font-weight: 600; }

/* Tables */
body .cwbo-article figure.wp-block-table { margin: 8px 0 24px; overflow-x: auto; }
body .cwbo-article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; line-height: 1.5; }
body .cwbo-article figure.wp-block-table table { margin: 0; }
body .cwbo-article table th, body .cwbo-article table td { border: 0; border-bottom: 1px solid #E3D8CE; padding: 14px 16px; text-align: left; vertical-align: top; color: #3B2F2C; }
body .cwbo-article table thead th { background: #7A5E57; color: #FFFFFF; font-weight: 600; font-size: 14px; letter-spacing: .05em; }
body .cwbo-article table tbody tr:nth-child(odd) > td { background: #FFFFFF; }
body .cwbo-article table tbody tr:nth-child(even) > td { background: #F8F4EF; }
body .cwbo-article figure.wp-block-table figcaption { font-size: 13px; color: #795F58; margin-top: 8px; }

/* Media & quotes */
body .cwbo-article img { max-width: 100%; height: auto; }
body .cwbo-article figure.wp-block-image { margin: 24px 0; }
body .cwbo-article blockquote { margin: 24px 0; padding: 16px 24px; background: #FFFAFA; border-left: 3px solid #795F58; font-style: normal; }
body .cwbo-article blockquote p:last-child { margin-bottom: 0; }
body .cwbo-article hr { border: 0; border-top: 1px solid #E3D8CE; margin: 32px 0; }

/* Highlighted section (light box on the beige article background, like the live posts) */
body .cwbo-highlight { background: #FFFAFA; padding: 24px; margin: 48px 0 0; }
/* (the Elementor TOC inserts an empty .elementor-menu-anchor span before each heading) */
body .cwbo-highlight > :first-child,
body .cwbo-article .cwbo-highlight > h2:first-child,
body .cwbo-article .cwbo-highlight > .elementor-menu-anchor:first-child + h2 { margin-top: 0; }
body .cwbo-article .cwbo-highlight > h2:first-child,
body .cwbo-article .cwbo-highlight > .elementor-menu-anchor:first-child + h2 { margin-bottom: 20px; }
body .cwbo-highlight > :last-child { margin-bottom: 0; }
body .cwbo-highlight + h2 { margin-top: 48px; }

/* CTA boxes */
body .cwbo-cta { margin: 48px 0 0; }
body .cwbo-article .cwbo-cta h2.cwbo-cta__title { margin: 0 0 16px; }
body .cwbo-article .cwbo-cta ul li { color: #795F58; margin: 0 0 16px; }
body .cwbo-article .cwbo-cta ul { margin: 16px 0 30px; }
body .cwbo-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
body .cwbo-cta--boxed { background: #FFFAFA; padding: 48px; text-align: center; }
body .cwbo-article .cwbo-cta--boxed h2.cwbo-cta__title { margin-bottom: 20px; }
body .cwbo-cta--boxed .cwbo-cta__buttons { justify-content: center; margin-top: 20px; }
body .cwbo-article .cwbo-cta--boxed ul { display: inline-block; text-align: left; }

/* Buttons: same as the site's Elementor buttons (float on hover) */
body .cwbo-article a.cwbo-btn {
	display: inline-block; font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.2;
	letter-spacing: 1px; text-transform: uppercase; text-decoration: none; text-align: center;
	padding: 20px 24px; border: 1px solid #795F58; border-radius: 12px;
	transition: transform .3s, background-color .3s, color .3s, border-color .3s;
}
body .cwbo-article a.cwbo-btn:hover, body .cwbo-article a.cwbo-btn:focus-visible { transform: translateY(-8px); }
body .cwbo-article a.cwbo-btn--primary, body .cwbo-article a.cwbo-btn--primary:hover { background: #795F58; color: #FFFFFF; }
body .cwbo-article a.cwbo-btn--secondary, body .cwbo-article a.cwbo-btn--secondary:hover { background: #FFFFFF; color: #795F58; }
body .cwbo-article a.cwbo-btn--link { background: transparent; border-color: transparent; padding: 20px 4px; color: #795F58; text-decoration: underline; text-underline-offset: 4px; }
body .cwbo-article a.cwbo-btn--link:hover { transform: none; color: #3B2F2C; }

/* FAQ (same look as the Elementor accordion on the live posts) */
body .cwbo-faq { margin: 48px 0 0; }
body .cwbo-article .cwbo-faq h2.cwbo-faq__title { font-size: 48px; line-height: 1.3; letter-spacing: 1.6px; margin: 0 0 20px; }
body .cwbo-faq__item { margin: 0 0 12px; }
body .cwbo-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 24px; border: 1px solid #D5D8DC; border-radius: 8px; background: transparent; cursor: pointer; list-style: none; }
body .cwbo-faq__q::-webkit-details-marker { display: none; }
body .cwbo-faq__q::marker { content: ""; }
body .cwbo-faq__item[open] > .cwbo-faq__q { background: #FFFAFA; }
body .cwbo-article h3.cwbo-faq__q-text { font-family: "Italiana", sans-serif; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 2px; color: #795F58; margin: 0; }
body .cwbo-faq__icon { display: flex; align-items: center; flex-shrink: 0; }
body .cwbo-faq__icon svg { width: 13px; height: 15px; fill: #1F2124; }
body .cwbo-faq__minus, body .cwbo-faq__item[open] .cwbo-faq__plus { display: none; }
body .cwbo-faq__item[open] .cwbo-faq__minus { display: block; }
body .cwbo-faq__a { background: #FFFAFA; padding: 24px; border: 1px solid #D5D8DC; border-radius: 8px; }
body .cwbo-faq__q:focus-visible { outline: 2px solid #795F58; outline-offset: 2px; }

/* "Sources" / "References" section as an open/close box (same look as the FAQ rows) */
body .cwbo-acc { margin: 48px 0 0; }
body .cwbo-acc__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 24px; border: 1px solid #D5D8DC; border-radius: 8px; background: transparent; cursor: pointer; list-style: none; }
body .cwbo-acc__head::-webkit-details-marker { display: none; }
body .cwbo-acc__head::marker { content: ""; }
body .cwbo-acc[open] > .cwbo-acc__head { background: #FFFAFA; }
body .cwbo-acc__head:focus-visible { outline: 2px solid #795F58; outline-offset: 2px; }
body .cwbo-article .cwbo-acc__head h2 { flex: 1 1 auto; text-align: left; font-family: "Italiana", sans-serif; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 2px; color: #795F58; margin: 0; }
body .cwbo-acc__head > .elementor-menu-anchor { position: absolute; } /* TOC anchor: keep it out of the row layout */
body .cwbo-acc__head { position: relative; }
body .cwbo-acc .cwbo-faq__minus, body .cwbo-acc[open] .cwbo-faq__plus { display: none; }
body .cwbo-acc[open] .cwbo-faq__minus { display: block; }
body .cwbo-acc__body { background: #FFFAFA; padding: 24px; border: 1px solid #D5D8DC; border-radius: 8px; font-size: 15px; }
body .cwbo-article .cwbo-acc__body > :first-child { margin-top: 0; }
body .cwbo-article .cwbo-acc__body > :last-child { margin-bottom: 0; }
body .cwbo-article .cwbo-acc__body ul li { margin-bottom: 12px; }

@media (max-width: 767px) {
	body .cwbo-article { line-height: 1.4; }
	body .cwbo-article h2 { font-size: 18px; line-height: 1.3; margin: 24px 0 12px; }
	body .cwbo-article h3 { font-size: 17px; margin: 20px 0 10px; }
	body .cwbo-highlight { padding: 16px; margin-top: 24px; }
	body .cwbo-highlight + h2 { margin-top: 24px; }
	body .cwbo-cta, body .cwbo-faq, body .cwbo-acc { margin-top: 24px; }
	body .cwbo-acc__head, body .cwbo-acc__body { padding: 20px 16px; }
	body .cwbo-cta--boxed { padding: 24px 16px; }
	body .cwbo-article .cwbo-faq h2.cwbo-faq__title { font-size: 30px; }
	body .cwbo-article ul li::before { top: 4.2px; }
	body .cwbo-article table th, body .cwbo-article table td { padding: 12px 10px; font-size: 14px; }
}
