/* ===================================================================
   Article Pages — Stylesheet
   Loaded only on article pages, alongside the main styles.css
   =================================================================== */

/* ------------------------------------------------------------------ */
/* Article Layout                                                     */
/* ------------------------------------------------------------------ */
.article-page {
	padding: 48px 0 72px;
}

.article-page .breadcrumb {
	font-size: 0.82rem;
	color: var(--color-text-muted);
	margin-bottom: 28px;
}

.article-page .breadcrumb a {
	color: var(--color-text-muted);
	transition: color 0.2s;
}

.article-page .breadcrumb a:hover {
	color: var(--color-primary);
}

.article-page .breadcrumb .sep {
	margin: 0 6px;
}

/* ------------------------------------------------------------------ */
/* Article Header                                                     */
/* ------------------------------------------------------------------ */
.article-page h1 {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.3;
	margin-bottom: 8px;
	color: var(--color-text);
}

.article-meta {
	font-size: 0.84rem;
	color: var(--color-text-muted);
	margin-bottom: 36px;
}

/* ------------------------------------------------------------------ */
/* Article Body Typography                                            */
/* ------------------------------------------------------------------ */
.article-body h2 {
	font-size: 1.35rem;
	font-weight: 700;
	margin-top: 40px;
	margin-bottom: 12px;
	color: var(--color-text);
}

.article-body h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-top: 28px;
	margin-bottom: 8px;
	color: var(--color-text);
}

.article-body p {
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--color-text-secondary);
	margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
	margin: 0 0 20px 24px;
	color: var(--color-text-secondary);
	font-size: 0.95rem;
	line-height: 1.75;
}

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

.article-body strong {
	color: var(--color-text);
	font-weight: 600;
}

.article-body code {
	font-family: var(--font-mono);
	font-size: 0.88em;
	background: var(--color-surface-alt);
	border: 1px solid var(--color-border-light);
	border-radius: 4px;
	padding: 1px 6px;
}

.article-body img {
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border-light);
	margin: 24px 0;
}

.article-body blockquote {
	border-left: 3px solid var(--color-primary);
	margin: 20px 0;
	padding: 12px 20px;
	background: var(--color-primary-subtle);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 0.93rem;
	color: var(--color-text-secondary);
}

/* ------------------------------------------------------------------ */
/* Numbered Steps                                                     */
/* ------------------------------------------------------------------ */
.article-body .steps {
	list-style: none;
	counter-reset: step-counter;
	padding: 0;
	margin: 0 0 24px;
}

.article-body .steps li {
	counter-increment: step-counter;
	position: relative;
	padding-left: 36px;
	margin-bottom: 16px;
}

.article-body .steps li::before {
	content: counter(step-counter);
	position: absolute;
	left: 0;
	top: 1px;
	width: 24px;
	height: 24px;
	background: var(--color-primary);
	color: var(--color-text-inverse);
	border-radius: 50%;
	font-size: 0.78rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ------------------------------------------------------------------ */
/* Article CTA Box                                                    */
/* ------------------------------------------------------------------ */
.article-cta {
	margin-top: 44px;
	padding: 24px 28px;
	background: var(--color-primary-light);
	border: 1px solid rgba(0, 144, 225, 0.15);
	border-radius: var(--radius-md);
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--color-text-secondary);
}

.article-cta a {
	font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* Related Articles                                                   */
/* ------------------------------------------------------------------ */
.related-articles {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--color-border-light);
}

.related-articles h3 {
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-text-muted);
	margin-bottom: 16px;
}

.related-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.related-list li {
	margin-bottom: 10px;
}

.related-list a {
	font-size: 0.93rem;
	font-weight: 500;
	color: var(--color-primary);
}

.related-list a:hover {
	color: var(--color-primary-dark);
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
	.article-page {
		padding: 32px 0 48px;
	}

	.article-page h1 {
		font-size: 1.6rem;
	}

	.article-body h2 {
		font-size: 1.2rem;
		margin-top: 32px;
	}

	.article-cta {
		padding: 20px 22px;
	}
}

@media (max-width: 480px) {
	.article-page h1 {
		font-size: 1.4rem;
	}

	.article-body h2 {
		font-size: 1.1rem;
	}

	.article-cta {
		padding: 16px 18px;
	}
}
