/*
Theme Name: Warta Kini – SMP Terpadu Muhammadiyah Gayo Lues
Theme URI: https://example.com/warta-kini
Author: Warta Kini
Description: Tema portal berita sekolah bernuansa hijau lembut: header kolase foto + nama sekolah, slider postingan terbaru, running text "Berita Terkini", mode terang & gelap, peta lokasi, dan animasi interaktif. Semua fitur dapat diatur lewat Tampilan → Sesuaikan.
Version: 1.3.0
Requires at least: 5.8
Tested up to: 6.6
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: warta
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, dark-mode
*/

/* ============ VARIABEL WARNA ============ */
:root {
	--accent: #3f9d6e;
	--accent-dark: #2e7a54;
	--accent-soft: #e3f3ea;
	--gold: #e9b949;
	--bg: #f3f8f5;
	--surface: #ffffff;
	--surface-2: #e8f3ed;
	--text: #1d2b24;
	--muted: #5f7268;
	--border: #d9e8df;
	--shadow: 0 6px 24px rgba(46, 122, 84, .08);
	--shadow-hover: 0 14px 34px rgba(46, 122, 84, .18);
	--radius: 16px;
	--container: 1200px;
	--font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
	color-scheme: light;
}

html[data-theme="dark"] {
	--accent: #5cc08d;
	--accent-dark: #3f9d6e;
	--accent-soft: #1b3127;
	--bg: #0e1713;
	--surface: #15211b;
	--surface-2: #1c2b23;
	--text: #e4efe8;
	--muted: #93a99c;
	--border: #263a2f;
	--shadow: 0 6px 24px rgba(0, 0, 0, .35);
	--shadow-hover: 0 14px 34px rgba(0, 0, 0, .5);
	color-scheme: dark;
}

/* ============ DASAR ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	background: var(--bg);
	color: var(--text);
	transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 .5em; }
button { font-family: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto;
	background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px;
}

/* ============ TOP BAR ============ */
.topbar { background: var(--accent-dark); font-size: 13px; color: #d7efe1; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar a { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-social { display: flex; gap: 14px; }
.theme-toggle {
	position: relative; display: inline-flex; align-items: center; width: 58px; height: 28px;
	border-radius: 30px; border: 0; cursor: pointer; padding: 0;
	background: rgba(255, 255, 255, .22); transition: background .3s;
}
.theme-toggle .knob {
	position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%;
	background: #fff; display: grid; place-items: center; font-size: 13px;
	transition: transform .35s cubic-bezier(.5, 1.6, .4, 1); box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
html[data-theme="dark"] .theme-toggle { background: rgba(0, 0, 0, .35); }
html[data-theme="dark"] .theme-toggle .knob { transform: translateX(30px); background: #1c2b23; }
.theme-toggle .icon-sun { display: inline; } .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: inline; }

/* ============ HEADER HERO (KOLASE FOTO + NAMA SEKOLAH) ============ */
.site-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; background: #1f5a3d; }
.hero-bg { position: absolute; inset: -20px; z-index: -2; }
.hero-bg span {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.08); filter: blur(2px) saturate(1.05);
	transition: opacity 1.6s ease, transform 7s ease-out;
}
.hero-bg span.is-active { opacity: 1; transform: scale(1); }
.site-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(circle at 15% 20%, rgba(233, 185, 73, .18), transparent 40%),
		linear-gradient(100deg, rgba(25, 78, 52, .94) 0%, rgba(46, 122, 84, .82) 45%, rgba(63, 157, 110, .35) 100%);
}
.site-hero::after { /* gelombang bawah */
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 1;
	background: var(--bg);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 240 0 480 0 720 26 S 1200 60 1440 20 V60 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 240 0 480 0 720 26 S 1200 60 1440 20 V60 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	transition: background .25s;
}
.hero-inner {
	display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
	min-height: var(--hero-h, 520px); padding: 46px 16px 80px;
}
.site-hero.is-compact .hero-inner { grid-template-columns: 1fr auto; min-height: 0; padding: 30px 16px 64px; }
.hero-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.hero-logo img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); animation: logoIn .9s cubic-bezier(.3, 1.4, .5, 1) both; }
.hero-logo:hover img { transform: rotate(-8deg) scale(1.06); }
@keyframes logoIn { from { opacity: 0; transform: scale(.6) rotate(-20deg); } }
.site-hero.is-compact .hero-logo img { width: 62px; height: 62px; }
.footer-logo img { width: 60px; height: 60px; object-fit: contain; }
.main-nav .nav-mini-brand { display: inline-flex; align-items: center; gap: 8px; padding-left: 0; }
.nav-mini-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.hero-badge {
	width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center;
	background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .35);
	backdrop-filter: blur(6px); font-weight: 800; font-size: 15px; letter-spacing: 1px;
}
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 2px;
	text-transform: uppercase; color: var(--gold); background: rgba(0, 0, 0, .18);
	padding: 6px 14px; border-radius: 30px; border: 1px solid rgba(233, 185, 73, .35);
}
.hero-title {
	font-size: clamp(30px, 4.6vw, 58px); font-weight: 800; line-height: 1.08; margin: 16px 0 14px;
	letter-spacing: -.5px; text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}
.hero-title a { color: #fff; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; color: #c9f2d9; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.site-hero.is-compact .hero-title { font-size: clamp(22px, 3vw, 34px); margin: 0; }
.hero-tagline { font-size: 17px; color: #e3f5ea; max-width: 520px; margin: 0 0 24px; opacity: 0; animation: fade .8s .5s forwards; }
@keyframes fade { to { opacity: 1; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade .8s .7s forwards; }
.btn-hero {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 40px;
	font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-hero.primary { background: var(--gold); color: #1d2b24; box-shadow: 0 8px 22px rgba(233, 185, 73, .35); }
.btn-hero.ghost { border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-hero:hover { transform: translateY(-2px); color: #1d2b24; background: #fff; }
.hero-search { margin-top: 0; }
.hero-search .search-form { background: rgba(255, 255, 255, .16); border-radius: 40px; padding: 4px; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); }
.hero-search .search-form input[type="search"] { background: transparent; border: 0; color: #fff; width: 230px; }
.hero-search .search-form input::placeholder { color: #d7efe1; }
.hero-search .search-form button { border-radius: 30px; background: #fff; color: var(--accent-dark); padding: 0 14px; }

/* kolase foto */
.hero-collage {
	display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr);
	gap: 12px; height: calc(var(--hero-h, 520px) - 110px); min-height: 340px; perspective: 1000px;
}
.hero-collage figure {
	margin: 0; border-radius: 18px; overflow: hidden; position: relative; cursor: pointer;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .3); border: 3px solid rgba(255, 255, 255, .85);
	opacity: 0; transform: translateY(30px) scale(.96);
	animation: pop .8s cubic-bezier(.2, .8, .2, 1) forwards;
	transition: transform .4s, box-shadow .4s, border-color .3s;
}
.hero-collage figure:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 4; animation-delay: .2s; }
.hero-collage figure:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 3; animation-delay: .35s; }
.hero-collage figure:nth-child(3) { grid-column: 5 / 7; grid-row: 3 / 5; animation-delay: .5s; }
.hero-collage figure:nth-child(4) { grid-column: 1 / 3; grid-row: 4 / 7; animation-delay: .65s; }
.hero-collage figure:nth-child(5) { grid-column: 3 / 5; grid-row: 4 / 7; animation-delay: .8s; }
.hero-collage figure:nth-child(6) { grid-column: 5 / 7; grid-row: 5 / 7; animation-delay: .95s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.hero-collage figure:hover { border-color: var(--gold); box-shadow: 0 20px 44px rgba(0, 0, 0, .4); z-index: 2; }
.hero-collage figure:hover img { transform: scale(1.08); }
.hero-collage figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-size: 12.5px; font-weight: 600;
	background: linear-gradient(transparent, rgba(0, 0, 0, .7)); transform: translateY(100%); transition: transform .3s;
}
.hero-collage figure:hover figcaption { transform: none; }
.hero-collage .stat-card {
	grid-column: 5 / 7; grid-row: 5 / 7; border-radius: 18px; display: flex; flex-direction: column; justify-content: center;
	padding: 14px 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px);
	opacity: 0; animation: pop .8s .95s forwards;
}
.stat-card b { font-size: 30px; line-height: 1; color: var(--gold); }
.stat-card span { font-size: 13px; color: #e3f5ea; }

/* lightbox foto */
.lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(8, 20, 14, .92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fade .25s forwards; opacity: 0; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox button:hover { background: var(--accent); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; } .lightbox .lb-next { right: 20px; top: 50%; }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }

/* ============ NAVIGASI ============ */
.main-nav {
	position: sticky; top: 0; z-index: 50; margin-top: -1px;
	background: color-mix(in srgb, var(--surface) 82%, transparent);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--border); transition: box-shadow .3s;
}
.main-nav.is-stuck { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.admin-bar .main-nav { top: 32px; }
.main-nav .container { display: flex; align-items: center; gap: 10px; }
.nav-mini-brand {
	font-weight: 800; color: var(--accent-dark); font-size: 15px; white-space: nowrap;
	max-width: 0; opacity: 0; overflow: hidden; transition: max-width .4s, opacity .3s, margin .3s;
}
.main-nav.is-stuck .nav-mini-brand { max-width: 340px; opacity: 1; margin-right: 8px; }
html[data-theme="dark"] .nav-mini-brand { color: var(--accent); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav a {
	display: block; color: var(--text); padding: 15px 15px; font-weight: 600; font-size: 14px; position: relative;
}
.main-nav .menu-wrap > ul > li > a::after {
	content: ""; position: absolute; left: 15px; right: 15px; bottom: 9px; height: 3px; border-radius: 3px;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.main-nav a:hover { color: var(--accent); }
.main-nav .menu-wrap > ul > li > a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current-cat > a::after { transform: scaleX(1); }
.main-nav .current-menu-item > a, .main-nav .current-cat > a { color: var(--accent); }
.main-nav ul ul {
	display: flex; visibility: hidden; opacity: 0; transform: translateY(8px); transition: .25s;
	position: absolute; top: 100%; left: 0; min-width: 220px; flex-direction: column; padding: 8px;
	background: var(--surface); box-shadow: var(--shadow-hover); border-radius: 12px; border: 1px solid var(--border);
}
.main-nav ul ul a { border-radius: 8px; padding: 9px 12px; font-weight: 500; }
.main-nav ul ul a:hover { background: var(--accent-soft); }
.main-nav li:hover > ul, .main-nav li:focus-within > ul { visibility: visible; opacity: 1; transform: none; }
.menu-toggle { display: none; background: var(--accent-soft); border: 0; color: var(--accent-dark); font-size: 20px; width: 42px; height: 42px; border-radius: 10px; margin: 6px 0; cursor: pointer; }

.topbar .mode-label { font-size: 12px; opacity: .85; }

/* bar progres baca */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--accent), var(--gold)); }

/* animasi muncul saat digulir */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; }
	.hero-bg span { transition: opacity .5s; transform: none !important; }
}


/* ============ RUNNING TEXT ============ */
.ticker { padding: 14px 0 0; }
.ticker .container { display: flex; align-items: stretch; }
.ticker .ticker-box { display: flex; width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 50px; overflow: hidden; box-shadow: var(--shadow); }
.ticker-label {
	flex-shrink: 0; background: var(--accent); color: #fff; border-radius: 50px;
	font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
	padding: 10px 18px; display: flex; align-items: center; gap: 8px;
}
.ticker-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(233, 185, 73, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(233, 185, 73, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 185, 73, 0); } }
.ticker-track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-items { display: flex; white-space: nowrap; animation: ticker var(--ticker-speed, 40s) linear infinite; padding-left: 100%; }
.ticker-track:hover .ticker-items { animation-play-state: paused; }
.ticker-items a { padding: 0 22px; font-size: 14px; font-weight: 500; position: relative; }
.ticker-items a::before { content: "◆"; color: var(--accent); font-size: 8px; position: absolute; left: 4px; top: 5px; }
.ticker-items .ticker-time { color: var(--accent); background: var(--accent-soft); font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 10px; margin-right: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-items { animation-duration: 120s; } }

/* ============ LAYOUT ============ */
.site-content { padding: 28px 0 50px; }
.content-area { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; }
.content-area.no-sidebar { grid-template-columns: 1fr; }
.section-title {
	font-size: 22px; font-weight: 700; margin: 0 0 20px; display: flex; align-items: center; gap: 12px;
}
.section-title::before { content: ""; width: 8px; height: 26px; border-radius: 8px; background: linear-gradient(var(--accent), var(--gold)); }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ============ SLIDER ============ */
.hero-slider { position: relative; border-radius: 22px; overflow: hidden; margin-bottom: 34px; background: #1f5a3d; box-shadow: var(--shadow-hover); }
.slides { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); touch-action: pan-y; }
.slide { min-width: 100%; position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.slide img, .slide .slide-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease-out; transform: scale(1.06); }
.slide.is-active img { transform: scale(1); }
.slide .slide-noimg { background: linear-gradient(135deg, var(--accent), #1f5a3d); }
.slide-caption {
	position: absolute; inset: auto 0 0 0; padding: 80px 34px 38px;
	background: linear-gradient(transparent, rgba(10, 35, 22, .9)); color: #fff;
}
.slide-caption > * { opacity: 0; transform: translateY(16px); transition: .6s .25s; }
.slide.is-active .slide-caption > * { opacity: 1; transform: none; }
.slide.is-active .slide-caption h2 { transition-delay: .35s; }
.slide.is-active .slide-caption .meta { transition-delay: .45s; }
.slide-caption .cat-badge { margin-bottom: 12px; }
.slide-caption h2 { font-size: clamp(20px, 3vw, 34px); margin: 0 0 8px; max-width: 850px; font-weight: 700; }
.slide-caption h2 a:hover { color: #c9f2d9; }
.slide-caption .meta { color: #dcebe2; font-size: 13px; }
.slider-btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); cursor: pointer;
	background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); color: #fff; font-size: 24px; line-height: 1;
	opacity: 0; transition: opacity .2s, background .2s;
}
.slider-btn:hover { background: var(--accent); }
.hero-slider:hover .slider-btn, .slider-btn:focus { opacity: 1; }
.slider-btn.prev { left: 16px; } .slider-btn.next { right: 16px; }
.slider-dots { position: absolute; right: 26px; bottom: 18px; display: flex; gap: 6px; z-index: 3; }
.slider-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s; }
.slider-dots button.active { background: var(--gold); width: 28px; }
.slider-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--gold); z-index: 3; width: 0; }

/* ============ KARTU POSTINGAN ============ */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
	background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
	display: flex; flex-direction: column; border: 1px solid var(--border);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-thumb img { transform: scale(1.07); }
.card-thumb .cat-badge { position: absolute; left: 14px; top: 14px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.card-title a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .35s; }
.card:hover .card-title a { background-size: 100% 2px; }
.card-excerpt { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.card .meta { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border); }
.cat-badge {
	display: inline-block; background: var(--accent); color: #fff !important; font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .5px; padding: 4px 11px; border-radius: 30px;
	box-shadow: 0 4px 12px rgba(46, 122, 84, .3);
}
.no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 40px; background: linear-gradient(135deg, var(--accent-soft), var(--surface-2)); }

/* ============ PAGINATION ============ */
.pagination { margin-top: 34px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	padding: 9px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 30px; font-size: 14px; font-weight: 600; transition: .2s;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============ SINGLE ============ */
.entry { background: var(--surface); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.entry-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 12px 0 14px; }
.entry .meta { padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.entry-thumb { margin: 0 0 24px; }
.entry-thumb img { border-radius: 14px; width: 100%; }
.entry-thumb figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry-content { font-size: 17px; line-height: 1.8; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content blockquote { border-left: 4px solid var(--accent); margin: 1.4em 0; padding: 12px 22px; background: var(--accent-soft); border-radius: 0 12px 12px 0; font-style: italic; }
.entry-content img { border-radius: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 8px; }
.alignleft { float: left; margin: 0 20px 10px 0; } .alignright { float: right; margin: 0 0 10px 20px; } .aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--muted); }
.entry-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { background: var(--accent-soft); color: var(--accent-dark); padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }
html[data-theme="dark"] .entry-tags a { color: var(--accent); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.share span { font-weight: 700; font-size: 14px; margin-right: 4px; }
.share a { color: #fff; padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; transition: transform .2s; }
.share a:hover { color: #fff; transform: translateY(-2px); }
.share .wa { background: #25d366; } .share .fb { background: #1877f2; } .share .x { background: #111; } .share .tg { background: #229ed9; }
.related { margin-top: 34px; }
.related .post-grid { grid-template-columns: repeat(3, 1fr); }
.related .card-title { font-size: 15.5px; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--accent); font-weight: 600; }
.post-navigation { margin-top: 24px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; width: 100%; gap: 14px; }
.post-navigation a { display: block; background: var(--surface); padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--border); font-weight: 600; transition: .25s; }
.post-navigation a:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ============ ARSIP / HEADER HALAMAN ============ */
.page-header { background: linear-gradient(120deg, var(--accent-soft), var(--surface)); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 26px; border: 1px solid var(--border); }
.page-header h1 { margin: 0; font-size: 26px; }
.page-header .archive-description { color: var(--muted); margin-top: 6px; }

/* ============ SIDEBAR & WIDGET ============ */
.sidebar .widget { background: var(--surface); padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 24px; }
.sidebar { position: relative; }
.widget-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.widget-title::before { content: ""; width: 6px; height: 20px; border-radius: 6px; background: linear-gradient(var(--accent), var(--gold)); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.widget li:last-child { border-bottom: 0; }
.widget select, .widget input { max-width: 100%; }
.mini-post { display: flex; gap: 12px; align-items: flex-start; }
.mini-post .num {
	font-size: 15px; font-weight: 800; color: #fff; background: var(--accent); width: 30px; height: 30px; border-radius: 10px;
	display: grid; place-items: center; flex-shrink: 0;
}
.mini-post img { width: 80px; height: 62px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.mini-post h4 { font-size: 14.5px; font-weight: 600; margin: 0 0 4px; line-height: 1.4; }
.mini-post .meta { font-size: 12px; }
.search-form { display: flex; }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 1px solid var(--border); background: var(--bg); color: var(--text); padding: 10px 16px; border-radius: 30px 0 0 30px; font-family: inherit; }
.search-form input[type="search"]:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.search-form button { border: 0; background: var(--accent); color: #fff; padding: 0 18px; border-radius: 0 30px 30px 0; cursor: pointer; }

/* ============ PETA LOKASI ============ */
.map-section { padding: 10px 0 50px; }
.map-section .map-wrap { background: var(--surface); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 26px; align-items: stretch; }
.map-info { display: flex; flex-direction: column; justify-content: center; }
.map-info h3 { font-size: 24px; font-weight: 800; }
.map-info p { margin: 6px 0 0; color: var(--muted); }
.map-info .map-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); }
.map-frame { border-radius: 16px; overflow: hidden; min-height: 260px; background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: inherit; border: 0; display: block; }
html[data-theme="dark"] .map-frame iframe { filter: invert(.9) hue-rotate(180deg) brightness(.95); }
.btn { display: inline-block; background: var(--accent); color: #fff !important; padding: 11px 22px; border-radius: 30px; font-weight: 600; font-size: 14px; text-decoration: none !important; transition: .2s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ============ FOOTER ============ */
.site-footer { background: #10281c; color: #b6cfc0; font-size: 14.5px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent)); }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 46px 0 22px; }
.site-footer .widget-title { color: #fff; }
.site-footer .widget li { border-color: #24402f; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { padding: 34px 0 6px; display: flex; align-items: center; gap: 14px; }
.footer-brand b { color: #fff; font-size: 18px; }
.footer-bottom { border-top: 1px solid #24402f; padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.back-to-top {
	position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 16px;
	background: var(--accent); color: #fff; border: 0; font-size: 20px; cursor: pointer;
	box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; z-index: 60;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent-dark); }

/* ============ KOMENTAR ============ */
.comments-area { background: var(--surface); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); margin-top: 26px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 26px; }
.comment-body { border-bottom: 1px solid var(--border); padding: 14px 0; }
.comment-author img { border-radius: 50%; float: left; margin-right: 10px; }
.comment-metadata { font-size: 12px; color: var(--muted); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; border: 1px solid var(--border); background: var(--bg); color: var(--text); padding: 11px 14px; border-radius: 12px; font-family: inherit;
}
.comment-form .submit { background: var(--accent); color: #fff; border: 0; padding: 11px 26px; border-radius: 30px; cursor: pointer; font-weight: 600; font-family: inherit; }

/* ============ 404 ============ */
.not-found { text-align: center; padding: 60px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.not-found .big { font-size: 110px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ RESPONSIF ============ */
@media (max-width: 1000px) {
	.content-area { grid-template-columns: 1fr; }
	.footer-widgets { grid-template-columns: 1fr 1fr; }
	.map-wrap { grid-template-columns: 1fr; }
	.hero-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 70px; }
	.hero-collage { height: 380px; }
}
@media (max-width: 782px) {
	.admin-bar .main-nav { top: 0; }
	.menu-toggle { display: block; margin-left: auto; }
	.main-nav .menu-wrap { display: none; width: 100%; padding-bottom: 10px; }
	.main-nav.open .menu-wrap { display: block; animation: fade .25s forwards; opacity: 0; }
	.main-nav .container { flex-wrap: wrap; }
	.nav-mini-brand { max-width: 300px; opacity: 1; font-size: 13.5px; }
	.main-nav ul { flex-direction: column; width: 100%; }
	.main-nav a { padding: 12px 10px; border-radius: 10px; }
	.main-nav .menu-wrap > ul > li > a::after { display: none; }
	.main-nav ul ul { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; background: var(--surface-2); }
	.hero-search, .hero-actions .ghost { display: none; }
	.hero-inner { padding-top: 30px; }
	.hero-tagline { font-size: 15px; }
	.hero-collage { height: 300px; gap: 8px; min-height: 0; }
	.hero-collage figure { border-width: 2px; border-radius: 12px; }
	.site-hero.is-compact .hero-collage { display: none; }
	.post-grid, .related .post-grid { grid-template-columns: 1fr; }
	.slide { aspect-ratio: 4 / 3; }
	.slide-caption { padding: 40px 18px 44px; }
	.slider-btn { opacity: 1; width: 38px; height: 38px; font-size: 18px; }
	.entry { padding: 22px; }
	.footer-widgets { grid-template-columns: 1fr; }
	.topbar .date { display: none; }
	.topbar .container { justify-content: flex-end; }
	.ticker-label .txt { display: none; }
	.hero-brand { gap: 12px; margin-bottom: 8px; }
	.hero-logo img { width: 62px; height: 62px; }
	.hero-eyebrow { font-size: 10.5px; letter-spacing: 1px; padding: 5px 11px; }
	.stat-card { padding: 10px; }
	.stat-card b { font-size: 20px; }
	.stat-card span { font-size: 11px; line-height: 1.3; }
}
