/*
Theme Name: Demamin
Theme URI: https://www.demamin.id
Author: Demamin
Description: Tema WordPress untuk Demamin — madu herbal yang membantu meredakan demam. Landing page produk di beranda, dan /artikel bergaya portal berita dengan gambar 16:9.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: demamin
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, blog, news
*/

/* ---------- Tokens (from the Demamin packaging) ---------- */
:root {
	--lemon: #ffd526;
	--lemon-soft: #fff4b8;
	--paper: #fffbea;
	--leaf: #1e5e2c;
	--leaf-deep: #123d1c;
	--grass: #6baa2e;
	--honey: #e7931a;
	--bark: #3a2414;
	--ink: #2d2219;
	--muted: #6e5f50;
	--line: #eadfbd;
	--white: #fff;

	--i-green: #2f8a3a;
	--i-blue: #2a78bd;
	--i-orange: #ea7f12;
	--i-red: #d2344d;
	--i-purple: #6d3b8f;
	--i-honey: #d6950f;

	--f-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
	--f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 28px;
	--r-pill: 999px;

	--wrap: 1240px;
	--gap: clamp(16px, 2.4vw, 28px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: .18em; }
a:hover { color: var(--leaf-deep); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--bark); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--bark); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 780px; }
.wrap--article { max-width: 780px; }
.wrap--wide { max-width: 1080px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Wordmark (echoes the logo: lemon fill, bark outline) ---------- */
.wordmark {
	font-family: var(--f-display);
	font-weight: 800;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: -.01em;
	color: var(--lemon);
	text-shadow:
		2px 0 0 var(--bark), -2px 0 0 var(--bark), 0 2px 0 var(--bark), 0 -2px 0 var(--bark),
		2px 2px 0 var(--bark), -2px -2px 0 var(--bark), 2px -2px 0 var(--bark), -2px 2px 0 var(--bark),
		0 4px 0 var(--bark);
}
.wordmark--sm { font-size: 1.7rem; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font: 700 1rem/1 var(--f-body);
	padding: .95em 1.4em;
	border-radius: var(--r-pill);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--leaf { background: var(--leaf); color: var(--white); box-shadow: 0 3px 0 var(--leaf-deep); }
.btn--leaf:hover { background: var(--leaf-deep); color: var(--white); }
.btn--ghost { border-color: var(--bark); color: var(--bark); background: transparent; }
.btn--ghost:hover { background: var(--bark); color: var(--lemon); }
.btn--sm { padding: .7em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--shop { background: var(--white); color: var(--bark); border-color: var(--line); flex: 1 1 140px; }
.btn--shop:hover { border-color: var(--bark); color: var(--bark); }
.btn--shopee .icon { color: #ee4d2d; }
.btn--tokopedia .icon { color: #03ac0e; }
.btn--tiktok .icon { color: #111; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--lemon);
	border-bottom: 1px solid rgba(58, 36, 20, .14);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { text-decoration: none; display: inline-flex; padding: 6px 0; }
.brand__img { max-height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav__list a {
	display: block; padding: .5em .85em; border-radius: var(--r-pill);
	color: var(--bark); font-weight: 600; text-decoration: none; font-size: .96rem;
}
.main-nav__list a:hover { background: rgba(58, 36, 20, .08); color: var(--bark); }
.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_parent > a { background: var(--bark); color: var(--lemon); }
.main-nav__list .sub-menu { display: none; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
		background: var(--bark); border: 0; border-radius: 50%; cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		content: ""; display: block; width: 18px; height: 2px; background: var(--lemon); border-radius: 2px;
		position: relative; transition: transform .2s;
	}
	.nav-toggle__bars::before { position: absolute; top: -6px; }
	.nav-toggle__bars::after { position: absolute; top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.main-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px;
		background: var(--lemon); padding: 12px var(--gap) 22px;
		border-bottom: 2px solid var(--bark);
	}
	.main-nav.is-open { display: flex; }
	.main-nav__list { flex-direction: column; }
	.main-nav__list a { padding: .8em 1em; font-size: 1.05rem; }
}

/* ---------- Hero: lemon field + mountains + hills, like the box ---------- */
.hero {
	position: relative;
	background: var(--lemon);
	overflow: hidden;
	padding-top: clamp(28px, 5vw, 64px);
}
.hero__inner {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: var(--gap);
}
.hero__copy { padding-bottom: clamp(40px, 5vw, 72px); }
.hero__badge {
	display: inline-flex; align-items: center; gap: .45em;
	background: var(--leaf); color: var(--white);
	padding: .45em 1em; border-radius: var(--r-pill);
	font-weight: 600; font-size: .9rem; margin-bottom: 1.2em;
}
.hero__title {
	font-size: clamp(2.25rem, 4.05vw, 3.625rem);
	line-height: 1.03;
	letter-spacing: -.02em;
	max-width: 560px;
	margin-bottom: .35em;
}
.hero__text { font-size: 1.12rem; max-width: 52ch; color: #4a3826; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1.4em; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--bark); font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: .5em; }
.hero__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.hero__facts strong { font-family: var(--f-display); font-size: 1.25rem; }

.hero__product { position: relative; display: flex; justify-content: center; padding-bottom: clamp(36px, 5vw, 64px); }
.hero__product::before { /* honey glow behind the bottle */
	content: ""; position: absolute; width: 78%; aspect-ratio: 1; bottom: 14%;
	border-radius: 50%; background: radial-gradient(circle, #ffe982 0%, rgba(255, 233, 130, 0) 70%);
}
.hero__img { position: relative; width: min(320px, 70%); max-height: 520px; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(58, 36, 20, .28)); }

.hero__land { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(120px, 16vw, 220px); z-index: 1; }
.hero__mountains { fill: #f3f1e8; }
.hero__hill-back { fill: var(--grass); }
.hero__hill-front { fill: var(--leaf); }

@media (prefers-reduced-motion: no-preference) {
	.hero__img { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both .1s; }
	@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__copy { padding-bottom: 0; }
	.hero__title { max-width: none; }
	.hero__img { width: min(220px, 58%); }
	.hero__product { padding-bottom: 70px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7.3vw, 105px); }
.section--paper { background: var(--paper); }
.section--leaf { background: var(--leaf); color: #e9f2e2; }
.section--leaf .section__title, .section--leaf h3 { color: var(--white); }
.section__head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 640px; }
.section__head--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__title { font-size: clamp(2rem, 4.4vw, 4rem); letter-spacing: -.02em; max-width: 680px; line-height: 1.05; }
.section__lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.link-more { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lemon); color: var(--bark); }
.link-more:hover { border-color: var(--bark); color: var(--bark); }

/* Before / after */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--gap); margin-top: 28px; }
.duo__card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); }
.duo__card h3 { font-size: 1.5rem; margin-bottom: .3em; }
.duo__card p { margin: 0; font-size: 1.05rem; }
.duo__card--warm { background: #fde3c4; }
.duo__card--fresh { background: #dcefc6; }
.duo__icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	margin-bottom: 14px; font-size: 1.4rem;
}
.duo__card--warm .duo__icon { background: var(--honey); color: var(--white); }
.duo__card--fresh .duo__icon { background: var(--leaf); color: var(--white); }
.duo__arrow { width: 60px; color: var(--bark); }
@media (max-width: 760px) {
	.duo { grid-template-columns: 1fr; }
	.duo__arrow { transform: rotate(90deg); justify-self: center; width: 44px; }
}

/* Ingredients: colour pills like the badges on the box */
.ingredients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px var(--gap); }
.ingredient { --c: var(--i-green); }
.ingredient--blue { --c: var(--i-blue); }
.ingredient--orange { --c: var(--i-orange); }
.ingredient--red { --c: var(--i-red); }
.ingredient--purple { --c: var(--i-purple); }
.ingredient--honey { --c: var(--i-honey); }
.ingredient__pill {
	display: flex; align-items: center; gap: 12px;
	background: var(--c); color: var(--white);
	padding: 8px 22px 8px 8px; border-radius: var(--r-pill);
	box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .14);
	margin-bottom: 14px;
}
.ingredient__icon {
	display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
	background: var(--white); color: var(--c); font-size: 1.35rem; flex: none;
}
.ingredient__pill strong { display: block; font-family: var(--f-display); font-size: 1.25rem; line-height: 1.1; }
.ingredient__pill em { display: block; font-size: .8rem; opacity: .85; }
.ingredient p { margin: 0 6px; color: var(--muted); }
@media (max-width: 900px) { .ingredients { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ingredients { grid-template-columns: 1fr; gap: 24px; } }

/* Benefits */
.benefits { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: var(--gap); margin-top: 28px; }
.benefit { padding: 26px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .22); }
.benefit .icon { width: 34px; height: 34px; color: var(--lemon); margin-bottom: 16px; }
.benefit h3 { font-size: 1.3rem; }
.benefit p { margin: 0; font-size: .98rem; }
.benefit--main { grid-row: span 2; background: var(--lemon); border: 0; color: var(--bark); display: flex; flex-direction: column; justify-content: flex-end; }
.benefit--main .icon { color: var(--leaf); width: 56px; height: 56px; margin-bottom: auto; }
.section--leaf .benefit--main h3 { color: var(--bark); font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-top: 40px; }
.benefits > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 860px) {
	.benefits { grid-template-columns: 1fr 1fr; }
	.benefit--main { grid-row: auto; grid-column: 1 / -1; }
	.benefits > :nth-child(4) { grid-column: auto; }
}
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* Product + price */
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.product__stage {
	position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg);
	background: var(--lemon); overflow: hidden;
	display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12%;
}
.product__stage::after { /* hills */
	content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 50%;
	background: var(--grass); border-radius: 50% 50% 0 0;
	box-shadow: 0 30px 0 0 var(--leaf) inset;
}
.product__img { position: relative; z-index: 1; width: 62%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(58, 36, 20, .3)); }
.perks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.perks li { display: flex; gap: 12px; }
.perks .icon { width: 28px; height: 28px; color: var(--leaf); margin-top: 2px; }
.perks strong { display: block; color: var(--bark); }
.perks span { font-size: .92rem; color: var(--muted); }

.price-card { border: 2px solid var(--bark); border-radius: var(--r-lg); padding: 26px; background: var(--paper); box-shadow: 6px 6px 0 var(--lemon); }
.price-card__label { display: block; font-weight: 600; color: var(--muted); font-size: .92rem; }
.price-card__strike { color: var(--muted); margin-right: 8px; }
.price-card__price { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1.05; color: var(--leaf); }
.price-card__dose { font-size: .95rem; padding: 12px 0; margin: 12px 0 18px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.price-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
	.product { grid-template-columns: 1fr; }
	.product__stage { max-width: 420px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* When to see a doctor */
.doctor { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--gap); background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); border-left: 8px solid var(--honey); }
.doctor__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fde3c4; color: #b5590b; font-size: 1.3rem; margin-bottom: 14px; }
.doctor h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.doctor__head p { color: var(--muted); margin: 0; }
.doctor__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: center; }
.doctor__list li { padding: 12px 16px 12px 44px; background: var(--paper); border-radius: var(--r-sm); position: relative; font-weight: 500; }
.doctor__list li::before { content: "!"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--honey); color: var(--white); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
@media (max-width: 760px) { .doctor { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 2px solid var(--bark); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
	font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--bark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
	background:
		linear-gradient(var(--bark), var(--bark)) center / 14px 2.5px no-repeat,
		linear-gradient(var(--bark), var(--bark)) center / 2.5px 14px no-repeat;
	transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; color: var(--muted); max-width: 64ch; }

/* ---------- Article cards (16:9) ---------- */
.ratio-169 { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-md); background: var(--lemon-soft); }
.ratio-169 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ratio-169__ph {
	position: absolute; inset: 0;
	background-color: var(--lemon-soft);
	background-image:
		radial-gradient(circle at 50% 50%, rgba(231, 147, 26, .22) 0 36%, transparent 37%);
	background-size: 34px 30px;
}
.card__media { display: block; }
.card:hover .ratio-169 img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card:hover .ratio-169 img { transform: none; } }

.card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.card__title { font-family: var(--f-display); font-weight: 700; line-height: 1.18; margin: 0 0 .4em; }
.card__title a { color: var(--bark); text-decoration: none; }
.card__title a:hover { color: var(--leaf); text-decoration: underline; text-decoration-thickness: 2px; }
.card__excerpt { color: var(--muted); margin: 0 0 .6em; }
.card__read { font-size: .84rem; color: var(--muted); font-weight: 600; }

.chip { display: inline-block; font-size: .78rem; font-weight: 700; padding: .32em .8em; border-radius: var(--r-pill); text-decoration: none; line-height: 1.3; }
.chip--produk { background: var(--honey); color: var(--white); }
.chip--edukasi { background: var(--leaf); color: var(--white); }
.chip--lain { background: var(--lemon); color: var(--bark); }
a.chip:hover { filter: brightness(.92); color: inherit; }
a.chip--produk:hover, a.chip--edukasi:hover { color: var(--white); }

/* lead */
.card--lead .card__media { margin-bottom: 18px; }
.card--lead .ratio-169 { border-radius: var(--r-lg); }
.card--lead .card__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
.card--lead .card__excerpt { font-size: 1.06rem; max-width: 62ch; }

/* side */
.card--side { display: grid; grid-template-columns: 148px 1fr; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.card--side:first-child { padding-top: 0; }
.card--side:last-child { border-bottom: 0; }
.card--side .ratio-169 { border-radius: var(--r-sm); }
.card--side .card__title { font-size: 1.08rem; }
.card--side .card__meta { margin-bottom: 4px; }

/* list */
.card--list { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 22px; padding-block: 22px; border-bottom: 1px solid var(--line); align-items: start; }
.card--list .card__title { font-size: 1.35rem; }
@media (max-width: 640px) {
	.card--list { grid-template-columns: 116px 1fr; gap: 14px; padding-block: 16px; }
	.card--list .ratio-169 { border-radius: var(--r-sm); }
	.card--list .card__title { font-size: 1.05rem; }
	.card--list .card__excerpt, .card--list .card__read { display: none; }
}

/* grid */
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px var(--gap); }
.card-row--4 { grid-template-columns: repeat(4, 1fr); }
.card--grid .card__media { margin-bottom: 14px; }
.card--grid .card__title { font-size: 1.2rem; }
@media (max-width: 960px) { .card-row, .card-row--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-row, .card-row--4 { grid-template-columns: 1fr; } }

/* ---------- /artikel layout ---------- */
.feed-head { background: var(--lemon-soft); padding: clamp(28px, 5vw, 52px) 0 0; border-bottom: 1px solid var(--line); }
.feed-head--plain { padding-bottom: clamp(24px, 4vw, 40px); margin-bottom: clamp(28px, 4vw, 44px); }
.feed-head__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .2em; }
.feed-head__desc { color: var(--muted); max-width: 60ch; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 0; scrollbar-width: none; margin-top: 10px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__item {
	flex: none; padding: .7em 1.2em; font-weight: 700; font-size: .95rem;
	color: var(--bark); text-decoration: none; border-radius: 14px 14px 0 0;
}
.tabs__item:hover { background: rgba(58, 36, 20, .07); color: var(--bark); }
.tabs__item.is-active { background: var(--white); color: var(--leaf); box-shadow: 0 -3px 0 var(--leaf) inset; }

.news { padding-block: clamp(28px, 4vw, 44px) clamp(48px, 6vw, 72px); }
.headline {
	display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(24px, 3.5vw, 44px);
	padding-bottom: clamp(28px, 4vw, 40px); margin-bottom: 8px; border-bottom: 3px solid var(--bark);
}
.headline__side { display: flex; flex-direction: column; }
@media (max-width: 900px) { .headline { grid-template-columns: 1fr; } }

.news__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.feed__title { font-size: 1.5rem; margin: 26px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.feed > .card--lead { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .news__grid { grid-template-columns: 1fr; } }

/* sidebar */
.news-side { display: grid; gap: 28px; position: sticky; top: 96px; }
@media (max-width: 960px) { .news-side { position: static; } }
.side-block__title { font-size: 1.15rem; padding-bottom: 8px; border-bottom: 2px solid var(--bark); }
.ranked { list-style: none; counter-reset: rank; margin: 0; padding: 0; }
.ranked li { counter-increment: rank; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ranked li::before { content: counter(rank); font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--honey); }
.ranked a { color: var(--bark); font-weight: 600; text-decoration: none; line-height: 1.35; }
.ranked a:hover { color: var(--leaf); text-decoration: underline; }
.side-cats { list-style: none; margin: 0; padding: 0; }
.side-cats li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.side-cats a { color: var(--bark); font-weight: 600; text-decoration: none; }

.promo { background: var(--lemon); border-radius: var(--r-lg); padding: 22px; text-align: center; overflow: hidden; }
.promo__visual { display: flex; justify-content: center; margin: -4px 0 8px; }
.promo__img { width: 96px; max-height: 170px; object-fit: contain; }
.promo__title { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--bark); margin: 0; }
.promo__text { font-size: .9rem; margin: 2px 0 6px; }
.promo__price { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; color: var(--leaf); margin: 0 0 12px; }

.search-form { display: flex; border: 2px solid var(--bark); border-radius: var(--r-pill); overflow: hidden; background: var(--white); }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; padding: .8em 1.1em; font: inherit; background: transparent; }
.search-form input[type="search"]:focus { outline: none; }
.search-form:focus-within { outline: 3px solid var(--leaf); outline-offset: 2px; }
.search-form button { border: 0; background: var(--bark); color: var(--lemon); font: 700 .92rem var(--f-body); padding: 0 1.2em; cursor: pointer; }

/* pagination */
.pager { margin-top: 32px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pager .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center;
	border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--bark); font-weight: 700; text-decoration: none;
}
.pager .page-numbers.current { background: var(--bark); border-color: var(--bark); color: var(--lemon); }
.pager a.page-numbers:hover { border-color: var(--bark); }

/* Edukasi band */
.band { background: var(--leaf-deep); color: #d9e8cf; padding-block: clamp(48px, 6vw, 72px); }
.band__title { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.band .link-more { color: var(--lemon); border-color: var(--lemon); }
.band .card__title a { color: var(--white); }
.band .card__title a:hover { color: var(--lemon); }
.band .card__meta { color: #b9cfae; }
.band .chip--edukasi { background: var(--lemon); color: var(--bark); }
.band--light { background: var(--paper); color: var(--ink); }
.band--light .band__title { color: var(--bark); }
.band--light .card__title a { color: var(--bark); }
.band--light .card__title a:hover { color: var(--leaf); }
.band--light .card__meta { color: var(--muted); }
.band--light .chip--edukasi { background: var(--leaf); color: var(--white); }

.empty { padding: 48px 28px; text-align: center; border: 2px dashed var(--line); border-radius: var(--r-lg); }

/* ---------- Single article ---------- */
.article__head { padding-top: clamp(24px, 4vw, 44px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.article__title { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.012em; line-height: 1.08; }
.article__dek { font-size: 1.2rem; color: var(--muted); line-height: 1.5; }
.article__byline { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .9rem; color: var(--muted); padding-bottom: 22px; }
.article__byline span:first-child { color: var(--bark); font-weight: 700; }
.article__hero { margin: 8px auto clamp(28px, 4vw, 44px); }
.article__hero .ratio-169 { border-radius: var(--r-lg); }
.article__hero figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.news__grid--article { padding-bottom: clamp(48px, 6vw, 72px); }

.prose { font-size: 1.08rem; line-height: 1.78; max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.75rem; margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.35rem; margin: 1.5em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--honey); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--lemon); font-size: 1.15rem; color: var(--bark); }
.prose img, .prose figure { border-radius: var(--r-md); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .86rem; color: var(--muted); margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--lemon-soft); }
.prose a { font-weight: 600; }
.prose .alignwide { max-width: none; }

.note { display: flex; gap: 14px; margin-top: 32px; padding: 18px 20px; background: #fdecd6; border-radius: var(--r-md); font-size: .94rem; }
.note .icon { color: #b5590b; width: 24px; height: 24px; margin-top: 2px; }
.note p { margin: 0; }

.tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: .35em .9em; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); color: var(--bark); font-size: .86rem; text-decoration: none; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.share__label { font-weight: 700; color: var(--bark); margin-right: 6px; }
.share__btn { font: 600 .88rem var(--f-body); padding: .55em 1em; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); color: var(--bark); text-decoration: none; cursor: pointer; }
.share__btn:hover { border-color: var(--bark); color: var(--bark); }

.inline-cta { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; margin-top: 36px; padding: 22px; background: var(--lemon); border-radius: var(--r-lg); }
.inline-cta__visual { display: flex; justify-content: center; }
.inline-cta__img { width: 88px; max-height: 160px; object-fit: contain; }
.inline-cta__title { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: var(--bark); margin: 0 0 4px; }
.inline-cta p { font-size: .95rem; }
@media (max-width: 520px) { .inline-cta { grid-template-columns: 1fr; text-align: center; } }

.comments { margin-top: 40px; }
.comments__list { padding-left: 1.2em; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: .75em 1em; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; }
.comment-form .submit { background: var(--leaf); color: var(--white); border: 0; padding: .9em 1.4em; border-radius: var(--r-pill); font: 700 1rem var(--f-body); cursor: pointer; }

/* 404 */
.notfound { padding-block: clamp(64px, 10vw, 120px); text-align: center; }
.notfound__code { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--lemon); text-shadow: 0 5px 0 var(--bark); margin: 0; }
.notfound .search-form { max-width: 460px; margin: 24px auto; }
.notfound__links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { color: var(--leaf); margin-top: 0; }
.site-footer__hills { width: 100%; height: 60px; display: block; color: var(--leaf); margin-bottom: -1px; }
.site-footer__body { background: var(--leaf); color: #d7e6cc; padding: 28px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--gap); padding-bottom: 32px; }
.footer-about p { max-width: 42ch; margin-top: 14px; }
.footer-reg { font-size: .88rem; color: var(--lemon); }
.footer-title { color: var(--white); font-size: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 6px; }
.footer-links a { color: #d7e6cc; text-decoration: none; }
.footer-links a:hover { color: var(--lemon); text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 18px; font-size: .84rem; color: #b9cfae; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-note p { margin: 0; max-width: 80ch; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center;
	background: #25d366; color: var(--white);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: var(--white); transform: translateY(-2px); }

/* WordPress core classes */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .86rem; color: var(--muted); }
.sticky .card__title::before { content: "Pilihan redaksi"; color: var(--honey); font-size: .7em; font-family: var(--f-body); font-weight: 700; display: block; }
