/**
 * CRO-Optimized Post Content Styles
 * Only applies to: body.single-post .entry-content
 * Pages remain completely untouched.
 *
 * Elements styled:
 *  - H2, H3, H4 headings (with accent bars, icons, numbering)
 *  - Paragraphs (optimized readability)
 *  - Ordered & Unordered lists (card-style with icons)
 *  - FAQ / <details> accordions
 *  - Blockquotes (testimonial style)
 *  - Tables (zebra-striped, responsive)
 *  - Images & figures (rounded, shadow, caption)
 *  - Inline CTA boxes (.cro-cta-box class)
 *  - Separator / HR styling
 *  - Strong / Bold highlights
 *
 * @package kadence-child-cro
 */

/* ═══════════════════════════════════════════════
   SCOPED VARIABLES (Posts only)
   ═══════════════════════════════════════════════ */
body.single-post .entry-content {
	/* These are CSS fallback defaults — overridden by dynamic inline CSS from Global Settings */
	--cc-heading-h2: #1e3a5f;
	--cc-heading-h3: #1e3a5f;
	--cc-heading-h4: #1a202c;
	--cc-accent: #f97316;
	--cc-heading-border: #e2e8f0;
	--cc-body: #4a5568;
	--cc-body-dark: #1a202c;
	--cc-link: #3b82f6;
	--cc-link-hover: #1e3a5f;
	--cc-check: #22c55e;
	--cc-check-bg: #f0fdf4;
	--cc-check-border: #bbf7d0;
	--cc-num-bg: #1e3a5f;
	--cc-num-text: #ffffff;
	--cc-hover-border: #fed7aa;
	--cc-faq-icon: #3b82f6;
	--cc-faq-icon-bg: #eff6ff;
	--cc-faq-open-bg: #eff6ff;
	--cc-faq-border: #bfdbfe;
	--cc-quote-border: #1e3a5f;
	--cc-quote-bg-start: #f4f7fb;
	--cc-quote-bg-end: #e8eef5;
	--cc-quote-text: #1a202c;
	--cc-table-header-bg: #1e3a5f;
	--cc-table-header-text: #ffffff;
	--cc-table-stripe: #f8fafc;
	--cc-table-hover: #f4f7fb;
	--cc-cta-bg: #fff7ed;
	--cc-cta-border: #fed7aa;
	--cc-cta-btn-bg: #f97316;
	--cc-cta-btn-text: #ffffff;
	--cc-info-bg: #eff6ff;
	--cc-info-border: #bfdbfe;
	--cc-tip-bg: #f0fdf4;
	--cc-tip-border: #bbf7d0;
	--cc-warn-bg: #fefce8;
	--cc-warn-border: #fde68a;
	--cc-highlight-bg: #1e3a5f;
	--cc-highlight-text: #ffffff;
	--cc-hr-start: #f97316;
	--cc-hr-end: #1e3a5f;
	--cc-card-bg: #f8fafc;
	--cc-card-border: #e2e8f0;
	--cc-btn-bg: #f97316;
	--cc-btn-text: #ffffff;

	/* Utility variables (not user-configurable) */
	--cc-radius: 12px;
	--cc-radius-sm: 8px;
	--cc-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
	--cc-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
	--cc-shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
	--cc-transition: 0.25s ease;
}


/* ═══════════════════════════════════════════════
   BASE TYPOGRAPHY (Posts only)
   ═══════════════════════════════════════════════ */
body.single-post .entry-content {
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--cc-body);
	letter-spacing: -0.005em;
}

body.single-post .entry-content > p {
	margin-bottom: 1.5rem;
}

body.single-post .entry-content > p:first-of-type {
	font-size: 1.15rem;
	color: var(--cc-body-dark);
	line-height: 1.8;
}

/* Bold text gets accent highlight */
body.single-post .entry-content strong,
body.single-post .entry-content b {
	color: var(--cc-body-dark);
	font-weight: 700;
}

/* Links */
body.single-post .entry-content a:not(.cro-hero-cta-btn):not(.cro-cta-inline-btn) {
	color: var(--cc-link);
	text-decoration: underline;
	text-decoration-color: rgba(59, 130, 246, 0.3);
	text-underline-offset: 3px;
	transition: color var(--cc-transition), text-decoration-color var(--cc-transition);
}

body.single-post .entry-content a:not(.cro-hero-cta-btn):not(.cro-cta-inline-btn):hover {
	color: var(--cc-link-hover);
	text-decoration-color: var(--cc-link-hover);
}


/* ═══════════════════════════════════════════════
   H2 HEADINGS — Service Section Headers
   Ultra-high specificity to override Kadence inline styles
   ═══════════════════════════════════════════════ */
body.single-post .entry-content-wrap .single-content h2,
body.single-post .entry-content-wrap .entry-content h2,
body.single-post .entry-content.single-content h2,
body.single-post .single-entry .entry-content h2,
body.single-post .entry-content h2 {
	position: relative;
	font-size: 1.65rem !important;
	font-weight: 800 !important;
	color: #1e3a5f !important;
	color: var(--cc-heading-h2, #1e3a5f) !important;
	line-height: 1.3 !important;
	margin: 3rem 0 1.25rem 0 !important;
	padding: 0 0 0.75rem 0 !important;
	letter-spacing: -0.02em;
	border-bottom: 3px solid #e2e8f0;
	border-bottom-color: var(--cc-heading-border, #e2e8f0);
	visibility: visible !important;
	opacity: 1 !important;
}

body.single-post .entry-content-wrap .single-content h2::after,
body.single-post .entry-content-wrap .entry-content h2::after,
body.single-post .entry-content.single-content h2::after,
body.single-post .entry-content h2::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 60px;
	height: 3px;
	background: #f97316;
	background: var(--cc-accent, #f97316);
	border-radius: 3px;
}

/* First H2 after hero doesn't need top margin */
body.single-post .entry-content > h2:first-child,
body.single-post .entry-content > .cro-hero-section + h2 {
	margin-top: 0.5rem !important;
}


/* ═══════════════════════════════════════════════
   H3 HEADINGS — Sub-section Headers
   ═══════════════════════════════════════════════ */
body.single-post .entry-content-wrap .single-content h3,
body.single-post .entry-content-wrap .entry-content h3,
body.single-post .entry-content.single-content h3,
body.single-post .single-entry .entry-content h3,
body.single-post .entry-content h3 {
	position: relative;
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	color: #1e3a5f !important;
	color: var(--cc-heading-h3, #1e3a5f) !important;
	line-height: 1.35 !important;
	margin: 2.25rem 0 1rem 0 !important;
	padding-left: 16px !important;
	border-left: 4px solid #f97316;
	border-left-color: var(--cc-accent, #f97316);
	visibility: visible !important;
	opacity: 1 !important;
}


/* ═══════════════════════════════════════════════
   H4 HEADINGS — Minor Headers
   ═══════════════════════════════════════════════ */
body.single-post .entry-content-wrap .single-content h4,
body.single-post .entry-content-wrap .entry-content h4,
body.single-post .entry-content.single-content h4,
body.single-post .single-entry .entry-content h4,
body.single-post .entry-content h4 {
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	color: #1a202c !important;
	color: var(--cc-heading-h4, #1a202c) !important;
	line-height: 1.4 !important;
	margin: 1.75rem 0 0.75rem 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
	gap: 8px;
	visibility: visible !important;
	opacity: 1 !important;
}

body.single-post .entry-content h4::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #f97316;
	background: var(--cc-accent, #f97316);
	border-radius: 50%;
	flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   H5, H6 — Ensure visibility
   ═══════════════════════════════════════════════ */
body.single-post .entry-content-wrap .single-content h5,
body.single-post .entry-content-wrap .single-content h6,
body.single-post .entry-content h5,
body.single-post .entry-content h6 {
	color: #1a202c !important;
	color: var(--cc-heading-h4, #1a202c) !important;
	visibility: visible !important;
	opacity: 1 !important;
}


/* ═══════════════════════════════════════════════
   UNORDERED LISTS — Card-Style with Checkmarks
   ═══════════════════════════════════════════════ */
body.single-post .entry-content > ul,
body.single-post .entry-content > .wp-block-list:not(.cro-hero-usp-list) {
	list-style: none !important;
	padding: 0 !important;
	margin: 1.5rem 0 2rem 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

body.single-post .entry-content > ul > li,
body.single-post .entry-content > .wp-block-list:not(.cro-hero-usp-list) > li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px !important;
	margin: 0 !important;
	background: var(--cc-check-bg);
	border: 1px solid var(--cc-check-border);
	border-radius: var(--cc-radius-sm);
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--cc-body);
	transition: border-color var(--cc-transition), box-shadow var(--cc-transition), background var(--cc-transition);
}

body.single-post .entry-content > ul > li:hover,
body.single-post .entry-content > .wp-block-list:not(.cro-hero-usp-list) > li:hover {
	border-color: var(--cc-hover-border);
	background: var(--cc-check-bg);
	box-shadow: var(--cc-shadow-sm);
}

body.single-post .entry-content > ul > li::before,
body.single-post .entry-content > .wp-block-list:not(.cro-hero-usp-list) > li::before {
	content: '';
	display: inline-block;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	background: var(--cc-check);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5L9.5 15L16 8' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
	background-size: 22px 22px;
	background-repeat: no-repeat;
	background-position: center;
}

/* Nested ul inside li */
body.single-post .entry-content > ul > li ul {
	list-style: disc !important;
	padding-left: 1.25rem !important;
	margin: 0.5rem 0 0 0 !important;
}
body.single-post .entry-content > ul > li ul li {
	padding: 2px 0 !important;
	background: none !important;
	border: none !important;
}
body.single-post .entry-content > ul > li ul li::before {
	content: none !important;
}


/* ═══════════════════════════════════════════════
   ORDERED LISTS — Numbered Steps / Process
   ═══════════════════════════════════════════════ */
body.single-post .entry-content > ol {
	list-style: none !important;
	padding: 0 !important;
	margin: 1.5rem 0 2rem 0 !important;
	counter-reset: cro-step;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

body.single-post .entry-content > ol > li {
	position: relative;
	counter-increment: cro-step;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px !important;
	margin: 0 !important;
	background: var(--cc-card-bg);
	border: 1px solid var(--cc-card-border);
	border-radius: var(--cc-radius-sm);
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--cc-body);
	transition: border-color var(--cc-transition), box-shadow var(--cc-transition);
}

body.single-post .entry-content > ol > li:hover {
	border-color: var(--cc-hover-border);
	box-shadow: var(--cc-shadow-sm);
}

body.single-post .entry-content > ol > li::before {
	content: counter(cro-step);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	margin-top: 0;
	background: var(--cc-num-bg);
	color: var(--cc-num-text);
	font-size: 0.85rem;
	font-weight: 800;
	border-radius: 50%;
	line-height: 1;
}

/* Nested ol inside li */
body.single-post .entry-content > ol > li ol {
	list-style: lower-alpha !important;
	padding-left: 1.25rem !important;
	margin: 0.5rem 0 0 0 !important;
	counter-reset: none;
}
body.single-post .entry-content > ol > li ol li {
	padding: 2px 0 !important;
	background: none !important;
	border: none !important;
}
body.single-post .entry-content > ol > li ol li::before {
	content: none !important;
}


/* ═══════════════════════════════════════════════
   FAQ — <details>/<summary> Accordion
   (Works with core WP Details block)
   ═══════════════════════════════════════════════ */
body.single-post .entry-content details,
body.single-post .entry-content .wp-block-details {
	margin: 0.5rem 0 !important;
	padding: 0 !important;
	background: #fff;
	border: 1px solid var(--cc-faq-border);
	border-radius: var(--cc-radius-sm);
	overflow: hidden;
	transition: border-color var(--cc-transition), box-shadow var(--cc-transition);
}

body.single-post .entry-content details + details,
body.single-post .entry-content .wp-block-details + .wp-block-details {
	margin-top: -1px !important;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

body.single-post .entry-content details:first-of-type {
	border-top-left-radius: var(--cc-radius-sm);
	border-top-right-radius: var(--cc-radius-sm);
}

body.single-post .entry-content details:last-of-type {
	border-bottom-left-radius: var(--cc-radius-sm);
	border-bottom-right-radius: var(--cc-radius-sm);
}

body.single-post .entry-content details:hover {
	border-color: var(--cc-faq-border);
}

body.single-post .entry-content details[open] {
	border-color: var(--cc-faq-border);
	box-shadow: var(--cc-shadow-sm);
}

body.single-post .entry-content details summary,
body.single-post .entry-content .wp-block-details summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cc-body-dark);
	cursor: pointer;
	list-style: none;
	transition: background var(--cc-transition), color var(--cc-transition);
	user-select: none;
}

body.single-post .entry-content details summary::-webkit-details-marker {
	display: none;
}

body.single-post .entry-content details summary::before {
	content: '';
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: var(--cc-faq-icon-bg);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px;
	transition: transform var(--cc-transition), background var(--cc-transition);
}

body.single-post .entry-content details[open] summary::before {
	transform: rotate(90deg);
	background-color: var(--cc-faq-icon);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

body.single-post .entry-content details summary:hover {
	background: var(--cc-faq-open-bg);
}

body.single-post .entry-content details[open] summary {
	background: var(--cc-faq-open-bg);
	border-bottom: 1px solid var(--cc-faq-border);
}

body.single-post .entry-content details > *:not(summary) {
	padding: 0 20px;
}

body.single-post .entry-content details > p:last-child {
	padding-bottom: 16px;
}


/* ═══════════════════════════════════════════════
   FAQ SCHEMA HEADING (Optional: h2 before FAQs)
   ═══════════════════════════════════════════════ */
body.single-post .entry-content h2:has(+ details),
body.single-post .entry-content h2:has(+ .wp-block-details) {
	margin-bottom: 0.75rem !important;
}


/* ═══════════════════════════════════════════════
   BLOCKQUOTES — Testimonial / Highlight Style
   ═══════════════════════════════════════════════ */
body.single-post .entry-content blockquote,
body.single-post .entry-content .wp-block-quote {
	position: relative;
	margin: 2rem 0 !important;
	padding: 24px 24px 24px 28px !important;
	background: linear-gradient(135deg, var(--cc-quote-bg-start) 0%, var(--cc-quote-bg-end) 100%);
	border: 1px solid var(--cc-heading-border);
	border-left: 5px solid var(--cc-quote-border) !important;
	border-radius: 0 var(--cc-radius-sm) var(--cc-radius-sm) 0;
	font-style: normal !important;
	box-shadow: var(--cc-shadow-sm);
}

body.single-post .entry-content blockquote::before {
	content: '\201C';
	position: absolute;
	top: -8px;
	left: 16px;
	font-size: 4rem;
	font-family: Georgia, serif;
	color: var(--cc-quote-border);
	opacity: 0.15;
	line-height: 1;
}

body.single-post .entry-content blockquote p {
	font-size: 1.08rem !important;
	line-height: 1.75;
	color: var(--cc-quote-text);
	font-weight: 500;
	margin-bottom: 0.5rem;
}

body.single-post .entry-content blockquote cite,
body.single-post .entry-content blockquote .wp-block-quote__citation {
	display: block;
	font-size: 0.85rem;
	color: var(--cc-body);
	font-style: normal;
	font-weight: 600;
	margin-top: 8px;
}

body.single-post .entry-content blockquote cite::before,
body.single-post .entry-content blockquote .wp-block-quote__citation::before {
	content: '— ';
}


/* ═══════════════════════════════════════════════
   TABLES — Clean Zebra-Striped, Responsive
   ═══════════════════════════════════════════════ */
body.single-post .entry-content table,
body.single-post .entry-content .wp-block-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.5rem 0 2rem 0;
	border: 1px solid var(--cc-card-border);
	border-radius: var(--cc-radius-sm);
	overflow: hidden;
	font-size: 0.92rem;
	box-shadow: var(--cc-shadow-sm);
}

body.single-post .entry-content table thead th {
	background: var(--cc-table-header-bg);
	color: var(--cc-table-header-text);
	font-weight: 700;
	padding: 12px 16px;
	text-align: left;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border: none;
}

body.single-post .entry-content table tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--cc-card-border);
	color: var(--cc-body);
	vertical-align: top;
}

body.single-post .entry-content table tbody tr:last-child td {
	border-bottom: none;
}

body.single-post .entry-content table tbody tr:nth-child(even) {
	background: var(--cc-table-stripe);
}

body.single-post .entry-content table tbody tr:hover {
	background: var(--cc-table-hover);
}

/* Responsive table wrapper */
body.single-post .entry-content .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.5rem 0 2rem 0;
}


/* ═══════════════════════════════════════════════
   IMAGES & FIGURES — Rounded, Shadow, Captions
   ═══════════════════════════════════════════════ */
body.single-post .entry-content img:not(.cro-hero-featured-img) {
	border-radius: var(--cc-radius);
	box-shadow: var(--cc-shadow-md);
	transition: box-shadow var(--cc-transition), transform var(--cc-transition);
}

body.single-post .entry-content img:not(.cro-hero-featured-img):hover {
	box-shadow: var(--cc-shadow-lg);
	transform: translateY(-2px);
}

body.single-post .entry-content figure {
	margin: 2rem 0 !important;
}

body.single-post .entry-content figcaption,
body.single-post .entry-content .wp-element-caption {
	text-align: center;
	font-size: 0.82rem;
	color: var(--cc-body);
	font-style: italic;
	margin-top: 10px;
	padding: 0 1rem;
}


/* ═══════════════════════════════════════════════
   HORIZONTAL RULE / SEPARATOR
   ═══════════════════════════════════════════════ */
body.single-post .entry-content hr,
body.single-post .entry-content .wp-block-separator {
	border: none !important;
	height: 3px !important;
	background: linear-gradient(90deg, var(--cc-hr-start) 0%, var(--cc-hr-end) 50%, transparent 100%) !important;
	margin: 2.5rem 0 !important;
	border-radius: 3px;
	opacity: 0.6;
	max-width: 200px;
}

body.single-post .entry-content .wp-block-separator.is-style-wide {
	max-width: 100%;
	opacity: 0.3;
	background: var(--cc-heading-border) !important;
}


/* ═══════════════════════════════════════════════
   INLINE CTA BOX (use class .cro-cta-box)
   WordPress: Add a Group block with class "cro-cta-box"
   ═══════════════════════════════════════════════ */
body.single-post .entry-content .cro-cta-box,
body.single-post .entry-content .wp-block-group.cro-cta-box {
	position: relative;
	margin: 2.5rem 0 !important;
	padding: 28px 24px !important;
	background: linear-gradient(135deg, var(--cc-cta-bg) 0%, #fff5eb 100%);
	border: 2px solid var(--cc-cta-border);
	border-radius: var(--cc-radius);
	box-shadow: var(--cc-shadow-sm);
	overflow: hidden;
}

body.single-post .entry-content .cro-cta-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--cc-accent) 0%, #fb923c 100%);
}

body.single-post .entry-content .cro-cta-box h3,
body.single-post .entry-content .cro-cta-box h4 {
	color: var(--cc-heading-h2) !important;
	border: none !important;
	padding-left: 0 !important;
	margin-top: 0 !important;
}

body.single-post .entry-content .cro-cta-box h3::before,
body.single-post .entry-content .cro-cta-box h4::before {
	content: none !important;
}

/* CTA inline button inside the box */
body.single-post .entry-content .cro-cta-inline-btn,
body.single-post .entry-content .cro-cta-box .wp-block-button a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	background: var(--cc-cta-btn-bg);
	color: var(--cc-cta-btn-text) !important;
	font-weight: 700;
	font-size: 1rem;
	border-radius: var(--cc-radius-sm);
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
	transition: all var(--cc-transition);
}

body.single-post .entry-content .cro-cta-inline-btn:hover,
body.single-post .entry-content .cro-cta-box .wp-block-button a:hover {
	background: var(--cc-cta-btn-bg);
	filter: brightness(0.92);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}


/* ═══════════════════════════════════════════════
   INFO / TIP / WARNING BOXES
   Use WP Group block with class:
   .cro-info-box, .cro-tip-box, .cro-warning-box
   ═══════════════════════════════════════════════ */
body.single-post .entry-content .cro-info-box,
body.single-post .entry-content .cro-tip-box,
body.single-post .entry-content .cro-warning-box {
	margin: 2rem 0 !important;
	padding: 20px 20px 20px 56px !important;
	border-radius: var(--cc-radius-sm);
	border: 1px solid;
	position: relative;
}

body.single-post .entry-content .cro-info-box::before,
body.single-post .entry-content .cro-tip-box::before,
body.single-post .entry-content .cro-warning-box::before {
	position: absolute;
	left: 18px;
	top: 20px;
	font-size: 22px;
	line-height: 1;
}

/* Info box (blue) */
body.single-post .entry-content .cro-info-box {
	background: var(--cc-info-bg);
	border-color: var(--cc-info-border);
}
body.single-post .entry-content .cro-info-box::before {
	content: '\2139\FE0F'; /* ℹ️ - will render as text fallback */
}

/* Tip box (green) */
body.single-post .entry-content .cro-tip-box {
	background: var(--cc-tip-bg);
	border-color: var(--cc-tip-border);
}
body.single-post .entry-content .cro-tip-box::before {
	content: '\2705'; /* ✅ */
}

/* Warning box (yellow) */
body.single-post .entry-content .cro-warning-box {
	background: var(--cc-warn-bg);
	border-color: var(--cc-warn-border);
}
body.single-post .entry-content .cro-warning-box::before {
	content: '\26A0\FE0F'; /* ⚠️ */
}


/* ═══════════════════════════════════════════════
   HIGHLIGHTED TEXT BOX (use .cro-highlight)
   ═══════════════════════════════════════════════ */
body.single-post .entry-content .cro-highlight {
	background: linear-gradient(135deg, var(--cc-highlight-bg) 0%, #2a4f7a 100%);
	color: var(--cc-highlight-text) !important;
	padding: 24px !important;
	margin: 2rem 0 !important;
	border-radius: var(--cc-radius);
	box-shadow: var(--cc-shadow-md);
}

body.single-post .entry-content .cro-highlight h2,
body.single-post .entry-content .cro-highlight h3,
body.single-post .entry-content .cro-highlight h4 {
	color: #fff !important;
	border: none !important;
	padding-left: 0 !important;
}

body.single-post .entry-content .cro-highlight h2::after {
	background: var(--cc-accent);
}

body.single-post .entry-content .cro-highlight p {
	color: rgba(255,255,255,0.9) !important;
}

body.single-post .entry-content .cro-highlight strong {
	color: var(--cc-accent);
}


/* ═══════════════════════════════════════════════
   MARK / HIGHLIGHTED INLINE TEXT
   ═══════════════════════════════════════════════ */
body.single-post .entry-content mark,
body.single-post .entry-content .has-inline-color {
	background: linear-gradient(180deg, transparent 55%, rgba(249, 115, 22, 0.2) 55%);
	padding: 0 4px;
	border-radius: 2px;
}


/* ═══════════════════════════════════════════════
   CODE BLOCKS
   ═══════════════════════════════════════════════ */
body.single-post .entry-content code {
	background: var(--cc-card-bg);
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.88em;
	color: var(--cc-accent);
	border: 1px solid var(--cc-card-border);
}

body.single-post .entry-content pre {
	background: #1a202c !important;
	color: #e2e8f0 !important;
	padding: 20px 24px !important;
	border-radius: var(--cc-radius-sm);
	overflow-x: auto;
	font-size: 0.88rem;
	line-height: 1.7;
	box-shadow: var(--cc-shadow-md);
	margin: 1.5rem 0 2rem 0 !important;
}

body.single-post .entry-content pre code {
	background: transparent;
	border: none;
	padding: 0;
	color: inherit;
	font-size: inherit;
}


/* ═══════════════════════════════════════════════
   WP COLUMNS / GRID — Better spacing
   ═══════════════════════════════════════════════ */
body.single-post .entry-content .wp-block-columns {
	gap: 24px;
	margin: 2rem 0;
}

body.single-post .entry-content .wp-block-column {
	padding: 20px;
	background: var(--cc-card-bg);
	border: 1px solid var(--cc-card-border);
	border-radius: var(--cc-radius-sm);
	box-shadow: var(--cc-shadow-sm);
}


/* ═══════════════════════════════════════════════
   WP BUTTONS — Override to match CRO style
   ═══════════════════════════════════════════════ */
body.single-post .entry-content .wp-block-button .wp-block-button__link {
	background: var(--cc-btn-bg) !important;
	color: var(--cc-btn-text) !important;
	border-radius: var(--cc-radius-sm) !important;
	font-weight: 700;
	padding: 12px 28px;
	font-size: 1rem;
	box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
	transition: all var(--cc-transition);
	text-decoration: none;
}

body.single-post .entry-content .wp-block-button .wp-block-button__link:hover {
	filter: brightness(0.92);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

body.single-post .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--cc-heading-h2) !important;
	border: 2px solid var(--cc-heading-h2) !important;
	box-shadow: none;
}

body.single-post .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--cc-heading-h2) !important;
	color: var(--cc-btn-text) !important;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE: MOBILE ADJUSTMENTS
   ═══════════════════════════════════════════════ */
@media (max-width: 767px) {
	body.single-post .entry-content {
		font-size: 1rem;
		line-height: 1.75;
	}

	body.single-post .entry-content h2 {
		font-size: 1.35rem !important;
		margin: 2.25rem 0 1rem 0 !important;
	}

	body.single-post .entry-content h3 {
		font-size: 1.15rem !important;
	}

	body.single-post .entry-content > ul > li,
	body.single-post .entry-content > .wp-block-list > li,
	body.single-post .entry-content > ol > li {
		padding: 12px 14px !important;
		font-size: 0.93rem;
	}

	body.single-post .entry-content > ol > li::before {
		width: 28px;
		height: 28px;
		font-size: 0.8rem;
	}

	body.single-post .entry-content details summary {
		padding: 14px 16px;
		font-size: 0.98rem;
	}

	body.single-post .entry-content blockquote {
		padding: 20px 16px 20px 22px !important;
	}

	body.single-post .entry-content .cro-cta-box {
		padding: 24px 18px !important;
	}

	body.single-post .entry-content .wp-block-column {
		padding: 16px;
	}

	body.single-post .entry-content table {
		font-size: 0.84rem;
	}

	body.single-post .entry-content table thead th,
	body.single-post .entry-content table tbody td {
		padding: 10px 12px;
	}
}


/* ═══════════════════════════════════════════════
   ANIMATIONS: Subtle reveal on scroll
   (Uses intersection observer via JS)
   ═══════════════════════════════════════════════ */
body.single-post .entry-content .cro-animate-in {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

body.single-post .entry-content .cro-animate-in.cro-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	body.single-post .entry-content .cro-animate-in {
		opacity: 1;
		transform: none;
		transition: none;
	}

	body.single-post .entry-content img:not(.cro-hero-featured-img):hover {
		transform: none;
	}

	body.single-post .entry-content .cro-cta-inline-btn:hover,
	body.single-post .entry-content .wp-block-button .wp-block-button__link:hover {
		transform: none;
	}
}


/* ═══════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════ */
@media print {
	body.single-post .entry-content > ul > li,
	body.single-post .entry-content > ol > li {
		border: 1px solid #ccc !important;
		box-shadow: none !important;
	}

	body.single-post .entry-content details {
		border: 1px solid #ccc !important;
	}

	body.single-post .entry-content details[open] summary {
		background: #f5f5f5 !important;
	}

	body.single-post .entry-content img {
		box-shadow: none !important;
	}
}
