/* ==========================================================================
   ARC — Artikel (single post) specific styles
   ========================================================================== */
.article-hero {
	position: relative;
	padding: calc(var(--nav-h) + 48px) 24px 48px;
	background: var(--green-900);
	color: #fff;
	overflow: hidden;
}
.article-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 30% 20%, rgba(20, 90, 50, 0.45), transparent 55%),
		radial-gradient(ellipse at 80% 80%, rgba(212, 168, 67, 0.12), transparent 50%),
		linear-gradient(160deg, var(--green-900), var(--green-800) 50%, var(--navy));
}
.article-hero .container { position: relative; z-index: 2; }
.article-hero .breadcrumb { margin-bottom: 0; }

.article-body {
	background: var(--bg-light);
	padding: 0 0 80px;
}
.article-card {
	max-width: 800px;
	margin: -32px auto 0;
	padding: 48px 56px;
	position: relative;
	z-index: 5;
}
.article-category {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 100px;
	background: linear-gradient(135deg, var(--gold), var(--gold-light));
	color: var(--green-900);
	margin-bottom: 20px;
}
.article-card h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-bottom: 20px;
	color: var(--text-dark);
}
.article-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-bottom: 32px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(12, 26, 46, 0.08);
}
.article-meta .meta-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(12, 26, 46, 0.2); }
.article-meta .meta-author { font-weight: 600; color: var(--text-dark); }

.article-featured-img {
	width: 100%;
	max-height: 400px;
	object-fit: cover;
	border-radius: var(--radius-md);
	margin-bottom: 40px;
	display: block;
}
.article-featured-placeholder {
	width: 100%;
	max-height: 400px;
	min-height: 280px;
	border-radius: var(--radius-md);
	margin-bottom: 40px;
	background: linear-gradient(135deg, var(--green-800), var(--navy));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
}

/* WordPress content typography */
.article-content {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--text-dark);
}
.article-content > *:first-child { margin-top: 0; }
.article-content p { margin-bottom: 1.4em; }
.article-content h2 { font-size: 1.625rem; margin: 2em 0 0.8em; letter-spacing: -0.02em; }
.article-content h3 { font-size: 1.3125rem; margin: 1.8em 0 0.6em; letter-spacing: -0.02em; }
.article-content h4 { font-size: 1.125rem; margin: 1.6em 0 0.5em; }
.article-content ul, .article-content ol { list-style: revert; margin: 0 0 1.4em 1.5em; padding-left: 1em; }
.article-content ul li, .article-content ol li { margin-bottom: 0.5em; }
.article-content ul li::marker { color: var(--green-700); }
.article-content ol li::marker { color: var(--green-700); font-weight: 600; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 1.5em 0; }
.article-content a { color: var(--green-700); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--green-600); }
.article-content blockquote {
	margin: 1.8em 0;
	padding: 16px 24px;
	border-left: 4px solid var(--gold);
	background: rgba(212, 168, 67, 0.06);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
	color: var(--text-muted);
}
.article-content blockquote p { margin-bottom: 0; }
.article-content pre {
	background: rgba(10, 46, 26, 0.05);
	border: 1px solid rgba(12, 26, 46, 0.08);
	border-radius: var(--radius-sm);
	padding: 18px 20px;
	overflow-x: auto;
	font-family: var(--font-mono);
	font-size: 0.9375rem;
	margin: 1.5em 0;
}
.article-content figure { margin: 1.8em 0; }
.article-content figcaption { font-size: 0.875rem; color: var(--text-muted); text-align: center; margin-top: 8px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9375rem; }
.article-content th, .article-content td { padding: 10px 14px; border: 1px solid rgba(12, 26, 46, 0.12); text-align: left; }
.article-content th { background: rgba(20, 90, 50, 0.06); font-weight: 600; }
.article-content hr { border: none; border-top: 1px solid rgba(12, 26, 46, 0.1); margin: 2em 0; }
.article-content iframe { width: 100%; border-radius: var(--radius-sm); margin: 1.5em 0; }

/* Share buttons */
.article-share {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid rgba(12, 26, 46, 0.08);
}
.article-share-label {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	margin-right: 4px;
}
.share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	font-size: 0.8125rem;
	font-weight: 600;
	border-radius: 100px;
	transition: all 0.3s var(--ease);
	cursor: pointer;
	border: 1.5px solid rgba(12, 26, 46, 0.12);
	background: rgba(255, 255, 255, 0.5);
	color: var(--text-dark);
}
.share-btn:hover { transform: translateY(-2px); }
.share-btn svg { width: 16px; height: 16px; }
.share-btn.whatsapp:hover { border-color: #25d366; color: #1a9c4d; }
.share-btn.facebook:hover { border-color: #1877f2; color: #1877f2; }
.share-btn.twitter:hover { border-color: #000; color: #000; }
.share-btn.copy:hover { border-color: var(--green-700); color: var(--green-700); }
.share-btn.copied { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.3); color: #15803d; }

.article-back { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 768px) {
	.article-card { padding: 36px 28px; margin-top: -24px; }
	.article-content { font-size: 1.0625rem; }
	.article-hero { padding: calc(var(--nav-h) + 32px) 16px 32px; }
}
@media (max-width: 480px) {
	.article-card { padding: 28px 20px; }
	.article-content { font-size: 1rem; }
	.article-share { gap: 8px; }
	.share-btn { padding: 8px 14px; font-size: 0.75rem; }
	.share-btn span { display: none; }
}
