/* IRFA SEO Autopilot — Frontend Article Styling
   Applies only inside .isa-article wrapper, so it never leaks into
   the rest of the theme. */

.isa-article {
	--isa-ink: #1a1d29;
	--isa-body: #3d4152;
	--isa-muted: #6b7280;
	--isa-accent: #0f766e;
	--isa-accent-soft: #ecfdf5;
	--isa-border: #e5e7eb;
	--isa-surface: #f8fafc;

	max-width: 780px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.75;
	color: var(--isa-body);
}

.isa-article .isa-lead {
	font-size: 20px;
	line-height: 1.6;
	color: var(--isa-ink);
	font-weight: 450;
	margin-bottom: 28px;
}

.isa-article h2 {
	font-size: 28px;
	font-weight: 700;
	color: var(--isa-ink);
	margin-top: 48px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--isa-border);
	scroll-margin-top: 90px;
}

.isa-article h3 {
	font-size: 21px;
	font-weight: 650;
	color: var(--isa-ink);
	margin-top: 30px;
	margin-bottom: 12px;
}

.isa-article p {
	margin-bottom: 18px;
}

.isa-article ul,
.isa-article ol {
	margin: 0 0 20px 0;
	padding-left: 24px;
}

.isa-article li {
	margin-bottom: 8px;
}

.isa-article strong {
	color: var(--isa-ink);
	font-weight: 650;
}

.isa-article a {
	color: var(--isa-accent);
	text-decoration: underline;
	text-decoration-color: rgba(15, 118, 110, 0.35);
	text-underline-offset: 3px;
}
.isa-article a:hover {
	text-decoration-color: var(--isa-accent);
}

/* --- Table of Contents --- */
.isa-toc {
	background: var(--isa-surface);
	border: 1px solid var(--isa-border);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 28px 0 40px 0;
}
.isa-toc-title {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: var(--isa-muted);
	margin: 0 0 12px 0;
}
.isa-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.isa-toc a {
	text-decoration: none;
	font-weight: 550;
	font-size: 15px;
}
.isa-toc a::before {
	content: "→ ";
	color: var(--isa-accent);
}

/* --- Services / CTA box --- */
.isa-cta-box {
	background: var(--isa-accent-soft);
	border: 1px solid rgba(15, 118, 110, 0.25);
	border-left: 4px solid var(--isa-accent);
	border-radius: 10px;
	padding: 24px 26px;
	margin: 40px 0;
}
.isa-cta-box h3 {
	margin-top: 0;
	margin-bottom: 10px;
	color: var(--isa-accent);
}
.isa-cta-box p {
	margin-bottom: 0;
	color: var(--isa-ink);
}

/* --- FAQ section --- */
.isa-faq {
	margin-top: 20px;
}
.isa-faq h3 {
	font-size: 18px;
	background: var(--isa-surface);
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 0;
}
.isa-faq h3 + p {
	padding: 14px 18px 4px 18px;
	margin-bottom: 24px;
}

/* --- Responsive --- */
@media (max-width: 640px) {
	.isa-article { font-size: 16px; }
	.isa-article h2 { font-size: 23px; }
	.isa-article .isa-lead { font-size: 18px; }
}
