/*
Theme Name: Tigabata
Author: Siswanto
Description: Tema WordPress untuk personal branding web developer: bersih, hangat, dan profesional dengan palet hijau-putih. Halaman depan siap pakai (hero, layanan, portofolio, proses kerja, blog, kontak), portofolio sebagai custom post type, dan pengaturan teks serta kontak lewat Customizer.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
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: tigabata
Tags: blog, portfolio, one-column, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* ==========================================================================
   0. Font lokal (tanpa Google Fonts, lisensi OFL di assets/fonts)
   ========================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }

/* ==========================================================================
   1. Token desain
   ========================================================================== */
:root {
	--g50: #f0fdf4;
	--g100: #dcfce7;
	--g200: #bbf7d0;
	--g500: #22c55e;
	--g600: #16a34a;
	--g700: #15803d;
	--g900: #14532d;
	--ink: #1f2937;
	--ink-soft: #374151;
	--muted: #5b6472;
	--line: #e5e7eb;
	--bg: #ffffff;
	--amber: #f59e0b;
	--r: 16px;
	--r-sm: 10px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
	--shadow-lg: 0 2px 4px rgba(16, 24, 40, .06), 0 18px 40px rgba(16, 24, 40, .12);
	--font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--wrap: 1120px;
}

/* ==========================================================================
   2. Reset dan dasar
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; }

a { color: var(--g700); text-underline-offset: 3px; }
a:hover { color: var(--g900); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	line-height: 1.2;
	color: #111827;
	margin: 0 0 .5em;
	letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

code, kbd, pre, samp { font-family: var(--font-mono); font-size: .9em; }

:focus-visible { outline: 3px solid var(--g500); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	background: #fff;
	color: var(--ink);
	display: block;
	height: auto;
	width: auto;
	left: 8px;
	top: 8px;
	padding: .8rem 1.2rem;
	z-index: 100000;
	border-radius: 8px;
	box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   3. Layout dan utilitas
   ========================================================================== */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 760px); }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--g50); }

.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .35rem .85rem;
	border-radius: 999px;
	background: var(--g100);
	color: var(--g900);
	font-weight: 600;
	font-size: .85rem;
	line-height: 1.4;
	margin-bottom: 1.1rem;
}
.eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--g600);
}

.grid { display: grid; gap: 1.25rem; }
.grid--services { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-block;
	padding: .2rem .7rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--g200);
	color: var(--g900);
	font-family: var(--font-mono);
	font-size: .82rem;
	line-height: 1.6;
}

/* ==========================================================================
   4. Tombol
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .85rem 1.4rem;
	border-radius: 999px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn--cta { background: var(--amber); color: #1f1300; }
.btn--cta:hover { background: #fbbf24; color: #1f1300; box-shadow: 0 8px 20px rgba(245, 158, 11, .35); }

.btn--green { background: var(--g700); color: #fff; }
.btn--green:hover { background: var(--g900); color: #fff; box-shadow: 0 8px 20px rgba(21, 128, 61, .3); }

.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--g600); color: var(--g700); }

.btn--sm { padding: .6rem 1.1rem; font-size: .92rem; }

/* ==========================================================================
   5. Header dan navigasi
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(16, 24, 40, .05); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.brand {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -.02em;
	color: var(--ink);
	text-decoration: none;
	margin-right: auto;
}
.brand:hover { color: var(--g700); }
.brand__icon { width: 38px; height: 38px; flex: none; }
.custom-logo { max-height: 40px; width: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a {
	display: block;
	padding: .5rem .9rem;
	border-radius: 999px;
	color: var(--ink-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: .95rem;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { background: var(--g50); color: var(--g700); }

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	padding: 0;
	place-items: center;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
	.menu-toggle { display: inline-grid; }
	.header-cta { display: none; }
	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 12px 24px rgba(16, 24, 40, .08);
		padding: .75rem 1rem 1.1rem;
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; }
	.site-nav a { padding: .8rem 1rem; border-radius: 12px; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
	padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
	background:
		radial-gradient(60% 55% at 88% 0%, var(--g100) 0, transparent 70%),
		linear-gradient(#fff, var(--g50));
	overflow: hidden;
}
.hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }

.hero__title { margin-bottom: .45em; }
.hero__text { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.75rem 0 2rem; }
.hero__stack-label { font-size: .85rem; color: var(--muted); margin: 0 0 .6rem; }

/* Mockup aplikasi */
.mock {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	transform: rotate(1.2deg);
}
.mock__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: var(--g50); border-bottom: 1px solid var(--line); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.mock__bar span:nth-child(1) { background: #fca5a5; }
.mock__bar span:nth-child(2) { background: #fcd34d; }
.mock__bar span:nth-child(3) { background: #86efac; }
.mock__bar em { margin-left: .6rem; font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.mock__body { display: grid; grid-template-columns: 64px 1fr; min-height: 280px; }
.mock__side { background: var(--g900); padding: 1rem .7rem; display: flex; flex-direction: column; gap: .7rem; }
.mock__side i { display: block; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .25); }
.mock__side i:first-child { background: var(--g500); }
.mock__main { padding: 1.1rem; display: grid; gap: .9rem; align-content: start; }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock__row b { display: block; height: 52px; border-radius: 10px; background: var(--g50); border: 1px solid var(--g100); }
.mock__row b:first-child { background: var(--g100); }
.mock__chart { display: flex; align-items: flex-end; gap: .45rem; height: 96px; padding: .6rem; border: 1px solid var(--line); border-radius: 10px; }
.mock__chart s { flex: 1; display: block; text-decoration: none; background: var(--g500); border-radius: 5px 5px 0 0; opacity: .85; }
.mock__code { background: #0f172a; border-radius: 10px; padding: .8rem 1rem; color: #bbf7d0; font-family: var(--font-mono); font-size: .72rem; line-height: 1.6; overflow: hidden; white-space: nowrap; }
.mock__code span { color: #fcd34d; }

/* ==========================================================================
   7. Kartu: layanan, proyek, tulisan, proses
   ========================================================================== */
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 1.6rem;
	box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--g200); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

.icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--g100);
	color: var(--g700);
	display: grid;
	place-items: center;
	margin-bottom: 1rem;
}
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.project { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project__thumb {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--g100), var(--g50));
	overflow: hidden;
	text-decoration: none;
}
.project__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project:hover .project__thumb img { transform: scale(1.04); }
.project__ph { font-family: var(--font-head); font-weight: 800; font-size: 3.5rem; color: var(--g600); opacity: .55; }
.project__body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.project__body h3 { margin: 0; }
.project__body h3 a { color: inherit; text-decoration: none; }
.project__body h3 a:hover { color: var(--g700); }
.project__body p { margin: 0; }
.project__more { margin-top: auto; padding-top: .4rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.project__more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.project__more:hover svg { transform: translateX(3px); }

.meta { font-size: .85rem; color: var(--muted); margin: 0; }

.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; padding: 0; list-style: none; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; }
.step::before {
	counter-increment: step;
	content: counter(step);
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--g700);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 800;
	margin-bottom: 1rem;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; }

.section-more { text-align: center; margin-top: 2.25rem; }

.notice-admin { margin: 1.25rem 0 0; padding: .8rem 1rem; border-radius: var(--r-sm); background: #fffbeb; border: 1px solid #fde68a; color: #78350f; font-size: .9rem; }

.price-note { margin: 1.75rem auto 0; max-width: 640px; text-align: center; padding: .9rem 1.2rem; border-radius: var(--r-sm); background: var(--g50); border: 1px dashed var(--g200); color: var(--g900); font-weight: 600; }

/* Tentang saya */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 340px 1fr; gap: 3.5rem; } }
.about__photo { position: relative; width: min(100%, 340px); margin-inline: auto; }
.about__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; background: var(--g100); z-index: -1; }
.about__photo img, .about__ph { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about__ph { display: grid; place-items: center; background: linear-gradient(160deg, var(--g600), var(--g900)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 6rem; }
.about__role { color: var(--g700); font-weight: 600; margin: -.2rem 0 1rem; }
.about__text { color: var(--ink-soft); font-size: 1.05rem; }
.checks { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--g100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 62% no-repeat; }

/* Testimoni */
.quote { display: flex; flex-direction: column; gap: 1.1rem; margin: 0; }
.quote__text { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.quote__text::before { content: "\201C"; display: block; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: .8; color: var(--g500); margin-bottom: .3rem; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.quote__who img, .quote__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.quote__avatar { display: grid; place-items: center; background: var(--g700); color: #fff; font-family: var(--font-head); font-weight: 800; }
.quote__who strong { display: block; font-family: var(--font-head); line-height: 1.3; }
.quote__role { display: block; font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--g200); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--g700); border-bottom: 2px solid var(--g700); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* ==========================================================================
   8. Kontak
   ========================================================================== */
.contact {
	display: grid;
	gap: 2rem;
	background: var(--g900);
	color: #ecfdf5;
	border-radius: 28px;
	padding: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 900px) { .contact--split { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.contact h2 { color: #fff; }
.contact p { color: #d1fae5; }
.contact a:not(.btn) { color: #fff; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.contact__list a { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .08); text-decoration: none; width: 100%; }
.contact__list a:hover { background: rgba(255, 255, 255, .16); }
.contact__list svg, .contact .btn svg { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__form { background: #fff; color: var(--ink); border-radius: var(--r); padding: 1.5rem; }
.contact__form input, .contact__form textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; }

/* ==========================================================================
   9. Footer dan tombol WhatsApp
   ========================================================================== */
.site-footer { background: var(--g50); border-top: 1px solid var(--g100); padding: 3rem 0 2rem; margin-top: 0; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; margin-bottom: .8em; }
.site-footer p { color: var(--muted); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-list a { color: var(--ink-soft); text-decoration: none; }
.footer-list a:hover { color: var(--g700); text-decoration: underline; }
.site-footer__bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--g100); font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

.wa-float {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .8rem 1.15rem;
	border-radius: 999px;
	background: var(--g700);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
	box-shadow: var(--shadow-lg);
	transition: transform .15s ease, background-color .15s ease;
}
.wa-float:hover { background: var(--g900); color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

/* ==========================================================================
   10. Halaman dalam: tulisan, halaman, arsip, 404
   ========================================================================== */
.page-hero { background: linear-gradient(#fff, var(--g50)); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--g100); }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: .3em; }
.page-hero p { color: var(--muted); margin: 0; }
.page-hero .meta { margin-top: .5rem; }

.entry-thumb { margin: 2rem auto 0; width: min(100% - 2rem, 900px); }
.entry-thumb img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); }

.entry-content { padding-block: 2.5rem; font-size: 1.075rem; }
.entry-content > * + * { margin-top: 1.1em; margin-bottom: 0; }
.entry-content h2 { margin-top: 2em; font-size: 1.7rem; }
.entry-content h3 { margin-top: 1.6em; font-size: 1.3rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .35em; }
.entry-content blockquote { margin-inline: 0; padding: .4rem 0 .4rem 1.2rem; border-left: 4px solid var(--g500); color: var(--ink-soft); font-style: italic; }
.entry-content pre { background: #0f172a; color: #e2e8f0; padding: 1.1rem 1.25rem; border-radius: var(--r-sm); overflow-x: auto; line-height: 1.6; }
.entry-content :not(pre) > code { background: var(--g50); border: 1px solid var(--g100); padding: .1em .4em; border-radius: 6px; }
.entry-content img { border-radius: var(--r-sm); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.entry-content th { background: var(--g50); }

.entry-footer { padding-bottom: 2rem; }
.entry-footer .chips { margin-bottom: 1.5rem; }

.cta-box { background: var(--g50); border: 1px solid var(--g100); border-radius: var(--r); padding: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0 2rem; }
.cta-box h2 { font-size: 1.3rem; margin: 0 0 .2em; }
.cta-box p { margin: 0; color: var(--muted); }

.post-nav { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.post-nav a:hover { border-color: var(--g600); }
.post-nav small { display: block; color: var(--muted); }
.post-nav .nav-next { text-align: right; }

.archive-wrap { padding-block: 2.5rem 4rem; }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 .8rem; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--g700); border-color: var(--g700); color: #fff; }

.error-404 { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.error-404__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--g600); margin: 0; }

.search-form { display: flex; gap: .5rem; max-width: 420px; margin: 1.5rem auto; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.search-form .search-submit { padding: .75rem 1.2rem; border: 0; border-radius: 999px; background: var(--g700); color: #fff; font-weight: 700; cursor: pointer; }

/* Komentar */
.comments-area { padding-bottom: 3rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.comment-respond .submit { padding: .8rem 1.4rem; border: 0; border-radius: 999px; background: var(--g700); color: #fff; font-weight: 700; cursor: pointer; }

/* Kelas bawaan WordPress */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { width: min(100vw - 2rem, 1000px); margin-inline: auto; }
.wp-caption, .gallery-caption, .wp-element-caption { font-size: .88rem; color: var(--muted); }
.wp-caption-text { text-align: center; }
.sticky, .bypostauthor { display: block; }

/* ==========================================================================
   11. Animasi
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	html.js .reveal { opacity: 1; transform: none; }
	.mock { transform: none; }
}

@media print {
	.site-header, .site-footer, .wa-float, .menu-toggle { display: none !important; }
}
