/* Shared reading chrome for AI articles */
body.single-post .entry-content,
body.single-post .tekton-single-post-shell .entry-content,
.wpai-article-layout-editorial .entry-content,
.wpai-article-layout-research .entry-content,
.wpai-article-layout-magazine .entry-content,
.wpai-article-layout-authority .entry-content {
	line-height: 1.75;
	font-size: 1.0625rem;
}

body.single-post .entry-content > p,
.wpai-article-layout-editorial .entry-content > p,
.wpai-article-layout-research .entry-content > p,
.wpai-article-layout-magazine .entry-content > p,
.wpai-article-layout-authority .entry-content > p {
	margin: 0 0 1.15em;
}

body.single-post .entry-content > h2,
.wpai-article-layout-editorial .entry-content > h2,
.wpai-article-layout-research .entry-content > h2,
.wpai-article-layout-magazine .entry-content > h2,
.wpai-article-layout-authority .entry-content > h2 {
	margin: 2rem 0 0.85rem;
	line-height: 1.25;
	scroll-margin-top: 5rem;
}

body.single-post .entry-content img,
.wpai-article-layout-editorial .entry-content img,
.wpai-article-layout-research .entry-content img,
.wpai-article-layout-magazine .entry-content img,
.wpai-article-layout-authority .entry-content img {
	border-radius: 8px;
	max-width: 100%;
	height: auto;
}

/* FAQ / HowTo (previously unstyled) */
.wp-ai-faq-item {
	margin: 0 0 0.85rem;
	padding: 1rem 1.15rem;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
}

.wp-ai-faq-item h4,
.wp-ai-faq-item strong {
	display: block;
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	color: #0f172a;
}

.wp-ai-faq-item p {
	margin: 0;
	color: #334155;
}

.wp-ai-howto,
section.wp-ai-howto {
	margin: 1.75rem 0;
	padding: 1.25rem;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
}

.wp-ai-howto-step {
	margin: 0 0 1rem;
	padding: 0.85rem 0 0.85rem 0;
	border-bottom: 1px solid #f1f5f9;
}

.wp-ai-howto-step:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}

.wpai-layout-toc-sticky {
	position: sticky;
	top: 5.5rem;
	align-self: start;
	max-height: calc(100vh - 7rem);
	overflow: auto;
}

.wpai-toc-list a.wpai-toc-active {
	color: #2563eb;
	font-weight: 700;
}
