/*
Theme Name: Cek Weton
Theme URI: https://cekweton.com
Author: Cek Weton
Author URI: https://cekweton.com
Description: Theme WordPress untuk website primbon Jawa. Sudah berisi alat cek weton, weton jodoh, kalender Jawa, dan hari baik. Tampilan bergaya aplikasi mobile: app bar, kartu mengambang, navigasi bawah, dan transisi halaman halus. Font Plus Jakarta Sans, warna utama biru dengan aksen emas sogan.
Version: 1.9.0
Requires at least: 6.0
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: cekweton
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, two-columns, accessibility-ready
*/

/* ==========================================================================
   Token
   ========================================================================== */
:root {
	--cw-primary: #2563eb;
	--cw-primary-dark: #1d4ed8;
	--cw-primary-light: #dbeafe;
	--cw-primary-soft: #f3f7ff;
	--cw-deep: #0b1533;
	--cw-gold: #e9b949;
	--cw-gold-ink: #8a5a00;
	--cw-ink: #0f172a;
	--cw-text: #334155;
	--cw-muted: #64748b;
	--cw-line: #e4e9f3;
	--cw-canvas: #f2f5fb;
	--cw-field: #f1f4fa;
	--cw-bg: #ffffff;
	--cw-great: #15803d;
	--cw-great-bg: #e8f7ee;
	--cw-good: #1d4ed8;
	--cw-good-bg: #e6efff;
	--cw-fair: #b45309;
	--cw-fair-bg: #fef3e2;
	--cw-bad: #b91c1c;
	--cw-bad-bg: #fdecec;
	--cw-radius: 22px;
	--cw-radius-sm: 16px;
	--cw-shadow: 0 1px 2px rgba(11, 21, 51, .04), 0 10px 28px rgba(11, 21, 51, .07);
	--cw-shadow-lg: 0 18px 44px rgba(11, 21, 51, .22);
	--cw-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--cw-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--cw-header-h: 58px;
	--cw-bottom-h: 92px;
	--cw-pad: 16px;
}

@supports (color: color-mix(in srgb, red, blue)) {
	:root {
		--cw-primary-dark: color-mix(in srgb, var(--cw-primary) 82%, #000);
		--cw-primary-light: color-mix(in srgb, var(--cw-primary) 12%, #fff);
		--cw-primary-soft: color-mix(in srgb, var(--cw-primary) 5%, #fff);
	}
}

/* ==========================================================================
   Dasar
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cw-header-h) + 12px); }
body {
	margin: 0; font-family: var(--cw-body); font-size: 15px; line-height: 1.65; color: var(--cw-text); background: var(--cw-canvas);
	-webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
	padding-bottom: calc(var(--cw-bottom-h) + env(safe-area-inset-bottom, 0px));
}
body.menu-open { overflow: hidden; }
body.menu-open::before { content: ''; position: fixed; inset: 0; background: rgba(11, 21, 51, .5); z-index: 40; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--cw-primary); text-decoration: none; }
a:hover { color: var(--cw-primary-dark); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--cw-primary) 50%, #fff); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, h4, h5 { font-family: var(--cw-head); color: var(--cw-ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.9rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.18rem, 1rem + 1vw, 1.75rem); }
h3 { font-size: 1.05rem; }
h4 { font-size: .98rem; }
p { margin: 0 0 .9em; }
button { font-family: inherit; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; background: #fff; color: var(--cw-primary);
	padding: 12px 18px; z-index: 1000; left: 8px; top: 8px; border-radius: 12px; box-shadow: var(--cw-shadow);
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--cw-pad); }
.narrow { max-width: 820px; }
.section { padding-top: 22px; padding-bottom: 6px; }
.section-soft { background: transparent; }
.section-head { max-width: 640px; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 3px; }
.section-head p { color: var(--cw-muted); margin: 0; font-size: .88rem; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: none; }
.section-head-row h2 { margin: 0; }

/* ==========================================================================
   App bar
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(242, 245, 251, .88); padding-top: env(safe-area-inset-top, 0px);
	-webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
	transition: transform .25s ease, box-shadow .2s, background .2s; view-transition-name: appbar;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 6px 22px rgba(11, 21, 51, .07); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; height: var(--cw-header-h); gap: 10px; }
.site-brand { min-width: 0; flex: 1; }
.site-title {
	display: inline-flex; align-items: center; gap: 10px; font-family: var(--cw-head); font-weight: 800;
	font-size: 1.08rem; color: var(--cw-ink); letter-spacing: -.02em; white-space: nowrap;
}
.site-title:hover { color: var(--cw-ink); }
.brand-mark {
	width: 32px; height: 32px; border-radius: 11px; flex: none;
	background:
		radial-gradient(circle at 50% 50%, var(--cw-gold) 0 3.2px, transparent 3.7px),
		radial-gradient(circle at 50% 0, transparent 0 7.5px, rgba(255,255,255,.6) 8px 9.5px, transparent 10px),
		radial-gradient(circle at 50% 100%, transparent 0 7.5px, rgba(255,255,255,.6) 8px 9.5px, transparent 10px),
		radial-gradient(circle at 0 50%, transparent 0 7.5px, rgba(255,255,255,.6) 8px 9.5px, transparent 10px),
		radial-gradient(circle at 100% 50%, transparent 0 7.5px, rgba(255,255,255,.6) 8px 9.5px, transparent 10px),
		linear-gradient(135deg, var(--cw-primary), var(--cw-deep));
	box-shadow: 0 6px 14px color-mix(in srgb, var(--cw-primary) 32%, transparent);
}
.custom-logo { max-height: 36px; width: auto; }

.back-btn, .menu-toggle {
	display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: #fff; color: var(--cw-ink);
	border-radius: 14px; cursor: pointer; padding: 0; position: relative; flex: none;
	box-shadow: 0 1px 2px rgba(11, 21, 51, .06), 0 0 0 1px var(--cw-line) inset; transition: transform .12s, background .15s;
}
.back-btn:active, .menu-toggle:active { transform: scale(.92); }
.back-btn:hover { color: var(--cw-primary); }
.back-btn svg { width: 22px; height: 22px; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
	content: ''; position: absolute; height: 2px; background: var(--cw-ink); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.menu-toggle .bars { left: 12px; right: 12px; top: 20px; }
.menu-toggle .bars::before { left: 0; right: 0; top: -6px; }
.menu-toggle .bars::after { left: 0; top: 6px; width: 55%; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); width: 100%; }

/* Menu: lembar turun dari app bar */
.main-navigation {
	position: absolute; left: 10px; right: 10px; top: calc(100% + 4px); background: #fff; padding: 8px 10px 14px;
	max-height: calc(100vh - var(--cw-header-h) - 24px); max-height: calc(100dvh - var(--cw-header-h) - 24px); overflow-y: auto;
	border-radius: 26px; box-shadow: var(--cw-shadow-lg);
	visibility: hidden; opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top right; transition: opacity .18s, transform .22s, visibility .18s;
}
.main-navigation.is-open { visibility: visible; opacity: 1; transform: none; }
.main-navigation .menu, .footer-links .menu { list-style: none; margin: 0; padding: 0; }
.main-navigation .menu a {
	display: flex; align-items: center; justify-content: space-between; padding: 14px 14px; font-weight: 700; font-size: .98rem;
	color: var(--cw-ink); border-radius: 16px;
}
.main-navigation .menu a:active, .main-navigation .menu a:hover { background: var(--cw-primary-soft); }
.main-navigation .menu a::after { content: '\203A'; font-size: 1.5rem; line-height: 1; color: var(--cw-muted); }
.main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { color: var(--cw-primary-dark); background: var(--cw-primary-light); }
.main-navigation .sub-menu { display: none; }
.nav-cta { width: 100%; margin-top: 10px; }

/* ==========================================================================
   Tombol & form
   ========================================================================== */
.cw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
	font-family: var(--cw-head); font-weight: 700; font-size: .95rem; color: #fff; background: var(--cw-primary);
	border: 0; border-radius: 16px; cursor: pointer; transition: transform .12s, box-shadow .15s, filter .15s; text-align: center; line-height: 1.2;
	box-shadow: 0 10px 20px color-mix(in srgb, var(--cw-primary) 30%, transparent), 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.cw-btn:hover { filter: brightness(1.07); color: #fff; }
.cw-btn:active { transform: scale(.97); }
.cw-btn-sm { min-height: 40px; padding: 0 16px; font-size: .85rem; border-radius: 13px; }
.cw-btn-ghost { background: #fff; color: var(--cw-primary-dark); box-shadow: 0 0 0 1.5px var(--cw-primary-light) inset; }
.cw-btn-ghost:hover { background: var(--cw-primary-soft); color: var(--cw-primary-dark); filter: none; }
.cw-link { font-weight: 700; font-family: var(--cw-head); font-size: .86rem; }
.cw-more {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px 16px 14px 18px; min-height: 56px;
	border-radius: 18px; color: #fff; font-family: var(--cw-head); font-weight: 800; font-size: 1rem; line-height: 1.25; text-decoration: none;
	background: linear-gradient(135deg, var(--cw-primary), var(--cw-primary-dark));
	box-shadow: 0 10px 22px color-mix(in srgb, var(--cw-primary) 38%, transparent); transition: transform .15s, box-shadow .15s;
}
.cw-more small { display: block; margin-top: 2px; font-size: .74rem; font-weight: 500; color: rgba(255, 255, 255, .82); }
.cw-more svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--cw-gold); color: var(--cw-deep); transition: transform .2s; }
.cw-more:hover, .cw-more:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px color-mix(in srgb, var(--cw-primary) 45%, transparent); }
.cw-more:hover svg, .cw-more:focus-visible svg { transform: translateX(3px); }
.cw-more:active { transform: scale(.98); }
@media (prefers-reduced-motion: no-preference) {
	.cw-more svg { animation: cw-nudge 2.4s ease-in-out infinite; }
}
@keyframes cw-nudge { 0%, 70%, 100% { transform: translateX(0); } 80% { transform: translateX(4px); } 90% { transform: translateX(0); } }

.cw-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cw-field label, .cw-fieldset legend { font-size: .8rem; font-weight: 700; color: var(--cw-ink); }
input[type="date"], input[type="text"], input[type="search"], input[type="email"], input[type="url"], select, textarea {
	width: 100%; min-height: 50px; padding: 10px 14px; font-family: var(--cw-body); font-size: 16px; color: var(--cw-ink);
	background: var(--cw-field); border: 2px solid transparent; border-radius: 16px; transition: border-color .15s, box-shadow .15s, background .15s;
	appearance: none; -webkit-appearance: none;
}
input[type="date"] { display: block; text-align: left; }
select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
input:focus, select:focus, textarea:focus { outline: none; background-color: #fff; border-color: var(--cw-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cw-primary) 15%, transparent); }
textarea { min-height: 120px; }

.cw-card { background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-radius); padding: 18px; box-shadow: var(--cw-shadow); }
.cw-form { display: flex; flex-direction: column; gap: 14px; }
.cw-form-grid, .cw-form-couple { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cw-form-grid .cw-btn, .cw-form-couple .cw-btn { grid-column: 1 / -1; }
.cw-fieldset { border: 0; border-radius: 18px; padding: 12px 14px 16px; margin: 0; display: flex; flex-direction: column; gap: 10px; background: var(--cw-primary-soft); min-width: 0; box-shadow: 0 0 0 1px var(--cw-primary-light) inset; }
.cw-fieldset legend { padding: 0 8px; font-family: var(--cw-head); font-size: .9rem; }
.cw-fieldset input { background: #fff; }
.is-compact .cw-form { flex-direction: row; align-items: flex-end; gap: 8px; }
.is-compact .cw-field { flex: 1; }
.is-compact .cw-btn { padding: 0 20px; flex: none; }
.is-compact.cw-card { padding: 0; border: 0; box-shadow: none; background: transparent; }

/* Pemilih tanggal lahir: Tanggal / Bulan / Tahun */
input[type="date"].cw-date-native { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; border: 0; opacity: 0; pointer-events: none; overflow: hidden; }
.cw-field { position: relative; }
.cw-datepick { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.7fr) minmax(0, 1.05fr); gap: 6px; }
.cw-datepick select { padding: 10px 20px 10px 9px; background-position: right 8px center; background-size: 10px; text-overflow: ellipsis; }
.cw-datepick select:invalid, .cw-datepick select:has(option[value=""]:checked) { color: var(--cw-muted); }
.cw-date-preview { margin: 2px 0 0; padding: 7px 12px; border-radius: 12px; background: var(--cw-primary-light); color: var(--cw-primary-dark); font-size: .84rem; font-weight: 700; }
.cw-date-preview[hidden] { display: none; }
.is-compact .cw-form.has-datepick { flex-direction: column; align-items: stretch; gap: 12px; }
.is-compact .has-datepick .cw-btn { width: 100%; }
.cw-fieldset .cw-date-preview { background: #fff; }

/* ==========================================================================
   Hasil alat
   ========================================================================== */
.cw-result:not(:empty) { margin-top: 18px; padding-top: 18px; border-top: 1.5px dashed var(--cw-line); display: flex; flex-direction: column; gap: 12px; }
.is-compact .cw-result:not(:empty) { margin-top: 12px; padding-top: 12px; }
.cw-result-head { text-align: left; }
.cw-result-sub { margin: 0 0 2px; font-size: .82rem; color: var(--cw-muted); font-weight: 500; }
.cw-result-title { font-size: clamp(1.7rem, 6.5vw, 2.5rem); font-weight: 800; margin: 0 0 10px; color: var(--cw-primary-dark); letter-spacing: -.03em; }
.cw-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cw-stat { background: var(--cw-primary-soft); border-radius: 16px; padding: 11px 12px; display: flex; flex-direction: column; gap: 1px; box-shadow: 0 0 0 1px var(--cw-primary-light) inset; }
.cw-stat-label { font-size: .72rem; color: var(--cw-muted); line-height: 1.3; font-weight: 600; }
.cw-stat-value { font-family: var(--cw-head); font-size: 1.35rem; font-weight: 800; color: var(--cw-ink); line-height: 1.2; }
.cw-stat:last-child { background: linear-gradient(150deg, var(--cw-primary-dark), var(--cw-deep)); box-shadow: none; }
.cw-stat:last-child .cw-stat-label { color: rgba(255, 255, 255, .78); }
.cw-stat:last-child .cw-stat-value { color: var(--cw-gold); }

.cw-panel { background: #fff; border-radius: 18px; padding: 15px 16px; box-shadow: 0 0 0 1px var(--cw-line) inset; }
.cw-panel h4 { margin-bottom: .35em; }
.cw-panel p:last-child { margin-bottom: 0; }
.cw-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cw-note { font-size: .82rem; color: var(--cw-muted); margin: 0; }
.cw-alert { background: var(--cw-fair-bg); color: var(--cw-fair); border-radius: 16px; padding: 11px 15px; font-weight: 600; font-size: .9rem; }

.cw-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.cw-dl div { min-width: 0; }
.cw-dl dt { font-size: .74rem; color: var(--cw-muted); font-weight: 600; }
.cw-dl dd { margin: 0; font-weight: 700; color: var(--cw-ink); overflow-wrap: anywhere; font-size: .93rem; }
/* Arti istilah (hasil hitung weton, tab Kalender) */
.cw-glos { margin: 0; display: grid; gap: 8px; }
.cw-glos > div { background: var(--cw-field); border-radius: 14px; padding: 10px 13px; }
.cw-glos dt { font-family: var(--cw-head); font-weight: 800; font-size: .9rem; color: var(--cw-ink); }
.cw-glos dd { margin: 2px 0 0; font-size: .88rem; line-height: 1.65; color: var(--cw-text); }
.cw-terms { margin-top: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--cw-line) inset; }
.cw-terms summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 12px 14px; font-family: var(--cw-head); font-weight: 700; font-size: .9rem; color: var(--cw-primary-dark); }
.cw-terms summary::-webkit-details-marker { display: none; }
.cw-terms summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--cw-primary-light); font-size: 1.15rem; line-height: 1; transition: transform .2s; }
.cw-terms[open] summary::after { transform: rotate(45deg); }
.cw-terms > h5 { margin: 14px 14px 8px; font-size: .82rem; color: var(--cw-muted); }
.cw-terms > .cw-glos { padding: 0 12px 14px; }
@media (min-width: 640px) { .cw-terms > .cw-glos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cw-list { list-style: none; margin: 0; padding: 0; }
.cw-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--cw-line); font-size: .92rem; }
.cw-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cw-list span { color: var(--cw-primary-dark); font-weight: 700; text-align: right; }

.cw-badge, .cw-chip {
	display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.cw-chip { background: var(--cw-primary-light); color: var(--cw-primary-dark); }
.cw-badge.is-great { background: var(--cw-great-bg); color: var(--cw-great); }
.cw-badge.is-good { background: var(--cw-good-bg); color: var(--cw-good); }
.cw-badge.is-fair { background: var(--cw-fair-bg); color: var(--cw-fair); }
.cw-badge.is-bad { background: var(--cw-bad-bg); color: var(--cw-bad); }

/* Jodoh */
.cw-couple { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.cw-person { background: var(--cw-primary-soft); border-radius: 18px; padding: 13px; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; min-width: 0; box-shadow: 0 0 0 1px var(--cw-primary-light) inset; }
.cw-person strong { font-family: var(--cw-head); font-size: 1.05rem; color: var(--cw-ink); }
.cw-person span { font-size: .8rem; color: var(--cw-muted); overflow-wrap: anywhere; }
.cw-person .cw-person-label { color: var(--cw-primary-dark); font-weight: 700; }
.cw-person .cw-chip { color: var(--cw-primary-dark); margin-top: 3px; }
.cw-couple-plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e0457b; color: #fff; font-family: var(--cw-head); font-size: 1.1rem; font-weight: 700; }
.cw-verdict { display: flex; flex-direction: column; text-align: center; align-items: center; gap: 12px; padding: 18px; border-radius: 22px; border: 1px solid var(--cw-line); }
.cw-verdict .cw-result-title { margin-bottom: 6px; }
.cw-verdict p:last-child { margin: 0; }
.cw-verdict.is-great { background: var(--cw-great-bg); border-color: #bfe6cd; }
.cw-verdict.is-good { background: var(--cw-good-bg); border-color: #c5d8ff; }
.cw-verdict.is-fair { background: var(--cw-fair-bg); border-color: #f6dcb3; }
.cw-verdict.is-bad { background: var(--cw-bad-bg); border-color: #f4c3c3; }
.cw-verdict.is-great .cw-result-title { color: var(--cw-great); }
.cw-verdict.is-good .cw-result-title { color: var(--cw-good); }
.cw-verdict.is-fair .cw-result-title { color: var(--cw-fair); }
.cw-verdict.is-bad .cw-result-title { color: var(--cw-bad); }
.cw-ring {
	--c: var(--cw-primary);
	flex: none; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
	background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255, 255, 255, .85) 0);
}
.is-great .cw-ring { --c: var(--cw-great); }
.is-good .cw-ring { --c: var(--cw-good); }
.is-fair .cw-ring { --c: #d97706; }
.is-bad .cw-ring { --c: var(--cw-bad); }
.cw-ring span { width: 68px; height: 68px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--cw-head); font-weight: 800; font-size: 1.1rem; color: var(--cw-ink); }

/* Kalender */
.cw-cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cw-cal-nav { display: flex; gap: 8px; order: 2; flex: none; }
.cw-cal-heading { order: 1; flex: 1; min-width: 0; }
.cw-cal-title { margin: 0; font-size: 1.3rem; font-weight: 800; }
.cw-cal-jawa { font-size: .8rem; color: var(--cw-muted); font-weight: 500; }
.cw-cal-pick { display: flex; gap: 6px; order: 3; align-items: center; flex: 1 0 100%; }
.cw-cal-pick select { flex: 1; min-width: 0; min-height: 42px; width: 100%; padding-top: 5px; padding-bottom: 5px; font-size: 15px; }
.cw-cal-pick select:first-of-type { flex: 1.6; }
.cw-cal-pick .cw-btn { min-height: 42px; padding: 0 14px; white-space: nowrap; flex: none; border-radius: 14px; box-shadow: none; background: var(--cw-primary-light); color: var(--cw-primary-dark); }
.cw-icon-btn { width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--cw-field); font-size: 1.5rem; line-height: 1; color: var(--cw-ink); cursor: pointer; transition: transform .12s, background .15s; }
.cw-icon-btn:hover { background: var(--cw-primary-light); color: var(--cw-primary-dark); }
.cw-icon-btn:active { transform: scale(.9); }
.cw-cal-week, .cw-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cw-cal-week span { text-align: center; font-size: .72rem; font-weight: 700; color: var(--cw-muted); padding: 4px 0; }
.cw-cal-week .is-sunday, .cw-cell.is-sunday .cw-cell-g { color: #dc2626; }
.cw-cell {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
	aspect-ratio: 1 / 1.08; min-height: 46px; padding: 3px 1px; font-family: var(--cw-body); background: var(--cw-field);
	border: 0; border-radius: 14px; cursor: pointer; color: var(--cw-ink); transition: background .12s, transform .1s;
}
.cw-cell.is-empty { background: transparent; cursor: default; }
button.cw-cell:hover { background: var(--cw-primary-light); }
button.cw-cell:active { transform: scale(.92); }
.cw-cell-g { font-family: var(--cw-head); font-weight: 700; font-size: .98rem; line-height: 1.1; }
.cw-cell-p { font-size: .6rem; color: var(--cw-primary-dark); font-weight: 600; line-height: 1.2; }
.cw-cell-j { display: none; font-size: .58rem; color: var(--cw-muted); line-height: 1.2; }
.cw-cell.is-today { background: #fff; box-shadow: 0 0 0 2px var(--cw-primary) inset; }
.cw-cell.is-selected { background: linear-gradient(150deg, var(--cw-primary), var(--cw-primary-dark)); box-shadow: 0 8px 16px color-mix(in srgb, var(--cw-primary) 32%, transparent); }
.cw-cell.is-selected .cw-cell-g, .cw-cell.is-selected .cw-cell-p, .cw-cell.is-selected .cw-cell-j { color: #fff; }
.cw-cell.has-event::after, .cw-cell.is-keramat::before { content: ''; position: absolute; top: 5px; width: 6px; height: 6px; border-radius: 50%; }
.cw-cell.has-event::after { right: 5px; background: #f59e0b; }
.cw-cell.is-keramat::before { left: 5px; background: #7c3aed; }
.cw-cal-detail { margin-top: 14px; background: var(--cw-primary-soft); box-shadow: 0 0 0 1px var(--cw-primary-light) inset; }
.cw-detail-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 10px; }
.cw-detail-head h3 { margin: 0; color: var(--cw-primary-dark); font-size: 1.25rem; font-weight: 800; }
.cw-detail-head span { color: var(--cw-muted); font-size: .85rem; }
.cw-detail-ev { margin: 10px 0 0; font-weight: 700; color: #b45309; }
.cw-detail-k { margin: 6px 0 0; font-size: .85rem; color: #6d28d9; }
.cw-cal-events { margin-top: 14px; }
.cw-cal-events h4 { margin-bottom: 6px; }
.cw-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 14px 0 0; font-size: .78rem; color: var(--cw-muted); }
.cw-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.dot-today { background: var(--cw-primary); }
.dot-event { background: #f59e0b; }
.dot-keramat { background: #7c3aed; }

/* Hari baik */
.cw-top h4 { margin-bottom: 6px; }
.cw-day-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cw-day { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--cw-line) inset; position: relative; overflow: hidden; }
.cw-day::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cw-line); }
.cw-day.is-great::before { background: var(--cw-great); }
.cw-day.is-good::before { background: var(--cw-good); }
.cw-day.is-fair::before { background: #f59e0b; }
.cw-day.is-bad::before { background: var(--cw-bad); }
.cw-day-date { flex: none; width: 46px; text-align: center; display: flex; flex-direction: column; line-height: 1.1; margin-left: 4px; }
.cw-day-date strong { font-family: var(--cw-head); font-size: 1.35rem; font-weight: 800; color: var(--cw-ink); }
.cw-day-date span { font-size: .72rem; color: var(--cw-muted); font-weight: 600; }
.cw-day-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cw-day-main strong { color: var(--cw-ink); font-size: .95rem; }
.cw-day-main span { font-size: .82rem; color: var(--cw-muted); }
.cw-day-main em { font-size: .78rem; font-style: normal; color: var(--cw-fair); margin-top: 2px; }
.cw-day .cw-badge { font-size: .72rem; padding: 4px 10px; }
.cw-filter { display: inline-flex; background: #e8edf7; border-radius: 999px; padding: 4px; gap: 3px; align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.cw-filter button { border: 0; background: transparent; padding: 8px 15px; border-radius: 999px; font-weight: 700; font-size: .82rem; color: var(--cw-muted); cursor: pointer; white-space: nowrap; }
.cw-filter button.is-active { background: #fff; color: var(--cw-primary-dark); box-shadow: 0 2px 6px rgba(11, 21, 51, .12); }

.cw-tool-plain.cw-card { padding: 18px; }
.cw-tool-plain .cw-result:not(:empty) { margin: 0; padding: 0; border: 0; }
.cw-alert-info { background: var(--cw-primary-light); color: var(--cw-primary-dark); }
.cw-detail-w { margin: 10px 0 0; }

/* Tab hasil cek weton */
.cw-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #e8edf7; border-radius: 18px; }
.cw-tab { flex: none; border: 0; background: transparent; padding: 10px 15px; border-radius: 14px; font-weight: 700; font-size: .84rem; color: var(--cw-muted); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.cw-tab:hover { color: var(--cw-primary-dark); }
.cw-tab.is-active { background: #fff; color: var(--cw-primary-dark); box-shadow: 0 2px 8px rgba(11, 21, 51, .12); }
/* Mobile: tab tampil semua sebagai grid 2 kolom (tanpa geser) */
@media (max-width: 639px) {
	.cw-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; background: transparent; border-radius: 0; }
	.cw-tab { display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal; min-height: 48px; padding: 8px 10px; line-height: 1.25; font-size: .88rem; background: #fff; color: var(--cw-text); border-radius: 16px; box-shadow: 0 0 0 1px var(--cw-line) inset; }
	.cw-tab.is-active { color: #fff; background: linear-gradient(135deg, var(--cw-primary), var(--cw-primary-dark)); box-shadow: 0 8px 18px color-mix(in srgb, var(--cw-primary) 35%, transparent); }
	.cw-tab:active { transform: scale(.97); }
}
.cw-tabpanel { display: flex; flex-direction: column; gap: 12px; }
.cw-tabpanel[hidden] { display: none; }
.cw-lead { background: var(--cw-primary-soft); box-shadow: 0 0 0 1px var(--cw-primary-light) inset; }
.cw-lead h4 { font-size: 1.05rem; color: var(--cw-primary-dark); }

.cw-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cw-bullets li { position: relative; padding-left: 24px; font-size: .94rem; }
.cw-bullets li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--cw-primary); box-shadow: 0 0 0 4px var(--cw-primary-light); }
.cw-bullets.is-do li::before { background: var(--cw-great); box-shadow: 0 0 0 4px var(--cw-great-bg); }
.cw-bullets.is-dont li::before { background: var(--cw-bad); box-shadow: 0 0 0 4px var(--cw-bad-bg); }
.cw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cw-chips .cw-chip { padding: 6px 13px; font-size: .82rem; }
.cw-chip.is-soft { background: var(--cw-primary-soft); box-shadow: 0 0 0 1px var(--cw-primary-light) inset; }
.cw-chip.is-great { background: var(--cw-great-bg); color: var(--cw-great); }
.cw-chip.is-good { background: var(--cw-good-bg); color: var(--cw-good); }
.cw-chip.is-fair { background: var(--cw-fair-bg); color: var(--cw-fair); }
.cw-chip.is-bad { background: var(--cw-bad-bg); color: var(--cw-bad); }
.cw-group + .cw-group { margin-top: 12px; }
.cw-group h5 { margin: 0 0 6px; font-family: var(--cw-body); font-size: .82rem; font-weight: 700; color: var(--cw-muted); }
.cw-panel .cw-chips + .cw-note, .cw-panel p + .cw-chips, .cw-panel .cw-note { margin-top: 10px; }

/* Hari ini (widget) */
.cw-today {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1px 12px;
	background: #fff; border-radius: 20px; padding: 13px 16px; margin-bottom: 14px; box-shadow: var(--cw-shadow);
}
.cw-today:empty { display: none; }
.cw-today > * { grid-column: 1; }
.cw-today-label { font-size: .7rem; color: var(--cw-muted); letter-spacing: .04em; font-weight: 700; }
.cw-today-weton { font-family: var(--cw-head); font-size: 1.3rem; font-weight: 800; line-height: 1.3; color: var(--cw-primary-dark); }
.cw-today-date, .cw-today-jawa { font-size: .82rem; color: var(--cw-text); line-height: 1.4; }
.cw-today .cw-link {
	grid-column: 2; grid-row: 1 / span 4; align-self: center; font-size: .8rem; padding: 10px 14px; border-radius: 14px;
	background: var(--cw-primary-light); color: var(--cw-primary-dark); white-space: nowrap;
}

/* ==========================================================================
   Beranda
   ========================================================================== */
.hero {
	position: relative; overflow: hidden; padding: 14px 0 22px; color: #fff; border-radius: 0 0 34px 34px;
	background:
		radial-gradient(420px 220px at 100% 0, color-mix(in srgb, var(--cw-primary) 55%, transparent), transparent 70%),
		linear-gradient(165deg, var(--cw-primary-dark) 0%, var(--cw-deep) 100%);
}
.hero::before, .page-hero::before {
	content: ''; position: absolute; inset: 0; opacity: .75; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88' fill='none' stroke='%23e9b949' stroke-opacity='.2' stroke-width='1.2'%3E%3Cellipse cx='44' cy='22' rx='11' ry='22'/%3E%3Cellipse cx='44' cy='66' rx='11' ry='22'/%3E%3Cellipse cx='22' cy='44' rx='22' ry='11'/%3E%3Cellipse cx='66' cy='44' rx='22' ry='11'/%3E%3Ccircle cx='44' cy='44' r='2.4' fill='%23e9b949' fill-opacity='.35' stroke='none'/%3E%3C/svg%3E");
	-webkit-mask-image: linear-gradient(160deg, transparent 25%, #000 100%); mask-image: linear-gradient(160deg, transparent 25%, #000 100%);
}
.hero-grid { position: relative; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "card" "actions"; }
.hero-copy { grid-area: copy; padding-top: 4px; }
.hero-card { grid-area: card; }
.hero-actions { grid-area: actions; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; margin-bottom: 12px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset; font-size: .74rem; font-weight: 700; color: #fff;
}
.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #86efac; box-shadow: 0 0 0 3px rgba(134, 239, 172, .25); }
.hero h1 { color: #fff; margin-bottom: 8px; font-size: clamp(1.55rem, 1.1rem + 2.4vw, 2.9rem); }
.hero-lead { font-size: .94rem; line-height: 1.6; color: rgba(255, 255, 255, .84); max-width: 540px; margin: 0 0 14px; }
.hero .cw-today { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset; margin-bottom: 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero .cw-today-label { color: rgba(255, 255, 255, .72); }
.hero .cw-today-weton { color: var(--cw-gold); font-size: 1.5rem; }
.hero .cw-today-date, .hero .cw-today-jawa { color: rgba(255, 255, 255, .9); }
.hero .cw-today .cw-link { background: #fff; color: var(--cw-primary-dark); }
.hero-card { background: #fff; border-radius: 26px; padding: 16px; color: var(--cw-text); box-shadow: var(--cw-shadow-lg); }
.hero-card h2 { font-size: 1rem; margin-bottom: 10px; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-actions .cw-btn { min-height: 48px; padding: 0 10px; font-size: .85rem; background: #fff; color: var(--cw-primary-dark); box-shadow: none; }
.hero-actions .cw-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .4) inset; }
.hero-actions .cw-btn:hover { filter: none; background: var(--cw-primary-soft); color: var(--cw-primary-dark); }
.hero-actions .cw-btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* Alat (kartu fitur) */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feature-card {
	--t: var(--cw-primary); position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 15px 14px 14px; color: var(--cw-text);
	background: #fff; background: color-mix(in srgb, var(--t) 8%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 16%, #fff) inset;
	transition: transform .12s, box-shadow .15s;
}
.feature-card.is-jodoh { --t: #e0457b; }
.feature-card.is-kalender { --t: #0d9488; }
.feature-card.is-baik { --t: #d97706; }
.feature-card:hover { color: var(--cw-text); box-shadow: 0 0 0 1px var(--t) inset, var(--cw-shadow); }
.feature-card:active { transform: scale(.97); }
.feature-card h3 { font-size: .98rem; margin: 0 0 4px; font-weight: 800; }
.feature-card p {
	margin: 0; font-size: .78rem; line-height: 1.5; color: var(--cw-muted);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.feature-icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; margin-bottom: 12px; color: #fff; background: var(--t);
	box-shadow: 0 8px 14px color-mix(in srgb, var(--t) 32%, transparent);
}
.feature-go {
	position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
	background: #fff; color: var(--t); font-size: 1rem; line-height: 1; box-shadow: 0 1px 3px rgba(11, 21, 51, .12);
}

/* Konten belajar */
.section .narrow h3 { margin-top: 18px; }
#apa-itu-cek-weton .narrow { width: calc(100% - 2 * var(--cw-pad)); background: #fff; border-radius: var(--cw-radius); box-shadow: var(--cw-shadow); padding: 18px; }
#apa-itu-cek-weton h2 { margin-bottom: 10px; }
#apa-itu-cek-weton ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#apa-itu-cek-weton ol li { counter-increment: step; position: relative; padding: 2px 0 2px 42px; font-size: .94rem; min-height: 30px; }
#apa-itu-cek-weton ol li::before {
	content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 11px; display: grid; place-items: center;
	background: var(--cw-primary-light); color: var(--cw-primary-dark); font-family: var(--cw-head); font-weight: 800; font-size: .88rem;
}
.learn-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.learn-grid > div { background: #fff; border-radius: var(--cw-radius); padding: 18px; box-shadow: var(--cw-shadow); }
.learn-grid p { font-size: .94rem; }
.learn-grid p:last-child { margin-bottom: 0; }
.learn-grid p:nth-of-type(3) { background: var(--cw-primary-soft); border-radius: 14px; padding: 10px 14px; font-weight: 700; color: var(--cw-ink); box-shadow: 0 0 0 1px var(--cw-primary-light) inset; }
.neptu-tables { display: grid; gap: 14px; }
.neptu-group h3 { font-size: .84rem; margin: 0 0 8px; color: var(--cw-muted); font-weight: 700; }
.neptu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.neptu-list li { display: inline-flex; align-items: center; gap: 8px; background: var(--cw-field); border-radius: 999px; padding: 5px 6px 5px 13px; line-height: 1.2; }
.neptu-list span { font-size: .84rem; color: var(--cw-text); font-weight: 500; }
.neptu-list b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--cw-primary); font-family: var(--cw-head); font-size: .82rem; color: #fff; }

.faq details { background: #fff; border-radius: 20px; margin-bottom: 8px; box-shadow: 0 0 0 1px var(--cw-line) inset; transition: box-shadow .2s; }
.faq summary { cursor: pointer; padding: 15px 16px; min-height: 56px; font-family: var(--cw-head); font-weight: 700; font-size: .98rem; line-height: 1.4; color: var(--cw-ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: var(--cw-primary-light); color: var(--cw-primary-dark); font-size: 1.2rem; line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { box-shadow: 0 0 0 1.5px var(--cw-primary-light) inset, var(--cw-shadow); }
.faq details p { padding: 0 16px 16px; margin: 0; color: var(--cw-text); font-size: .96rem; line-height: 1.75; }

/* ==========================================================================
   Halaman & artikel
   ========================================================================== */
.page-hero {
	position: relative; overflow: hidden; color: #fff; padding: 12px 0 28px; border-radius: 0 0 32px 32px; margin-bottom: 0;
	background:
		radial-gradient(380px 200px at 100% 0, color-mix(in srgb, var(--cw-primary) 50%, transparent), transparent 70%),
		linear-gradient(165deg, var(--cw-primary-dark) 0%, var(--cw-deep) 100%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 1.05rem + 1.8vw, 2.4rem); }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 620px; margin: 0; font-size: .92rem; }
.page-hero h1 span { color: var(--cw-gold); }
.page-hero .entry-meta, .page-hero .entry-meta a, .page-hero .entry-meta time { color: rgba(255, 255, 255, .8); }
.page-hero .search-form { max-width: 480px; margin-top: 14px; }
.page-hero .search-form input[type="search"] { background: #fff; }
.page-hero .search-form .cw-btn { background: var(--cw-gold); color: var(--cw-deep); box-shadow: none; }
.page-hero-tool { padding-bottom: 28px; }
.tool-wrap { max-width: 860px; padding-top: 16px; }
.entry-tool .entry-content > * + * { margin-top: 14px; }
.entry-tool .entry-content > p:first-child { color: var(--cw-muted); font-size: .94rem; padding: 0 2px; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.entry-content { font-size: 1rem; overflow-wrap: break-word; }
.entry:not(.entry-tool) > .entry-content { background: #fff; border-radius: var(--cw-radius); padding: 18px; box-shadow: var(--cw-shadow); }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
/* Halaman biasa (Tentang, Kontak, dll.) */
.entry:not(.entry-tool) .entry-content p { line-height: 1.8; }
.entry:not(.entry-tool) .entry-content :is(ul, ol) { padding-left: 1.3em; line-height: 1.75; }
.entry:not(.entry-tool) .entry-content li + li { margin-top: 6px; }
.entry:not(.entry-tool) .entry-content li::marker { color: var(--cw-gold-ink); font-weight: 700; }
.entry-content .cw-lead { font-size: 1.08rem; line-height: 1.75; color: var(--cw-ink); font-weight: 500; padding: 14px 16px 14px 18px; border-radius: 6px 18px 18px 6px; border-left: 5px solid var(--cw-gold); background: linear-gradient(180deg, #fffaf0, #fff); }
.entry-content .cw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 1.1em 0; }
.entry-content .cw-cards > div { background: var(--cw-primary-soft); border-radius: 18px; padding: 15px 16px; box-shadow: 0 0 0 1px var(--cw-line) inset; }
.entry-content .cw-cards h3 { margin: 0 0 4px; font-size: 1rem; }
.entry-content .cw-cards p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--cw-text); }
.entry-content a.cw-more { color: #fff; }
.entry-content h2 { margin-top: 1.5em; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content .cw-tool :is(h2, h3, h4, h5) { margin-top: 0; }
.entry-content img { border-radius: 16px; }
.entry-content blockquote { margin: 1.2em 0; padding: 10px 16px; border-radius: 0 16px 16px 0; background: var(--cw-primary-soft); border-left: 4px solid var(--cw-gold); color: var(--cw-ink); }
.entry-content table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.entry-content th, .entry-content td { padding: 9px 11px; border: 1px solid var(--cw-line); text-align: left; }
.entry-content th { background: var(--cw-primary-soft); }
.entry-thumb { margin: 0 0 14px; }
.entry-thumb img { width: 100%; border-radius: var(--cw-radius); box-shadow: var(--cw-shadow); }
.entry-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .78rem; color: var(--cw-muted); margin-bottom: 6px; font-weight: 500; }
.entry-meta a { font-weight: 700; }

/* Kartu artikel: daftar ala aplikasi di mobile */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.post-card {
	display: flex; gap: 12px; padding: 10px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--cw-line) inset;
	transition: transform .12s, box-shadow .15s;
}
.post-card:active { transform: scale(.98); }
.post-card:hover { box-shadow: var(--cw-shadow); }
.post-card-thumb { display: block; flex: none; width: 96px; }
.post-card-thumb img { display: block; width: 100%; height: 100%; min-height: 80px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.post-card-body { flex: 1; min-width: 0; padding: 2px 2px 2px 0; }
.post-card .entry-meta { margin-bottom: 3px; font-size: .72rem; }
.post-card .entry-meta a { background: var(--cw-primary-light); color: var(--cw-primary-dark); padding: 1px 9px; border-radius: 999px; }
.post-card-title { font-size: .97rem; line-height: 1.35; margin: 2px 0 4px; font-weight: 700; }
.post-card-title a { color: var(--cw-ink); }
.post-card-title a:hover { color: var(--cw-primary); }
.post-card p {
	margin: 0; font-size: .82rem; line-height: 1.5; color: var(--cw-muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.empty { text-align: center; color: var(--cw-muted); padding: 28px 0; }

/* Baris geser (beranda) */
.post-grid.is-rail {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--cw-pad) * -1); padding: 2px var(--cw-pad) 10px;
	scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding: 0 var(--cw-pad);
}
.post-grid.is-rail::-webkit-scrollbar { display: none; }
.is-rail .post-card { flex: 0 0 80%; max-width: 340px; flex-direction: column; gap: 0; padding: 0; overflow: hidden; scroll-snap-align: start; box-shadow: var(--cw-shadow); }
.is-rail .post-card-thumb { width: auto; }
.is-rail .post-card-thumb img { height: auto; min-height: 0; aspect-ratio: 16 / 10; border-radius: 0; }
.is-rail .post-card-body { padding: 14px 16px 16px; }

.navigation.pagination { margin-top: 22px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; background: #fff; border-radius: 14px; color: var(--cw-text); font-weight: 700; font-size: .9rem; box-shadow: 0 0 0 1px var(--cw-line) inset; }
.page-numbers.current, a.page-numbers:hover { background: var(--cw-primary); color: #fff; box-shadow: none; }
.post-navigation .nav-links { justify-content: space-between; margin-top: 22px; }
.post-navigation a { display: block; background: #fff; border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: .88rem; box-shadow: 0 0 0 1px var(--cw-line) inset; }

.sidebar .widget { background: #fff; border-radius: var(--cw-radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--cw-shadow); }
.widget-title { font-size: .98rem; margin-bottom: 8px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 5px 0; }

.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; }

.not-found { text-align: center; max-width: 560px; }
.nf-code { font-family: var(--cw-head); font-weight: 800; font-size: 5rem; line-height: 1; letter-spacing: -.05em; background: linear-gradient(160deg, var(--cw-primary), var(--cw-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.not-found .search-form { margin: 16px 0; }

.comments-area { margin-top: 24px; background: #fff; border-radius: var(--cw-radius); padding: 18px; box-shadow: var(--cw-shadow); }
.comments-title { font-size: 1.1rem; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--cw-line); }
.comment-form label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 4px; }
.comment-form p { margin-bottom: 12px; }
.comment-form .submit { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; background: var(--cw-primary); color: #fff; border: 0; border-radius: 16px; font-family: var(--cw-head); font-weight: 700; cursor: pointer; }

/* ==========================================================================
   SEO: breadcrumb, konten referensi, tabel, tautan terkait
   ========================================================================== */
.breadcrumbs { margin: 0 0 8px; font-size: .76rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: nowrap; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.breadcrumbs ol::-webkit-scrollbar { display: none; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--cw-muted); flex: none; }
.breadcrumbs li + li::before { content: '\203A'; margin: 0 7px; color: var(--cw-muted); font-size: 1rem; line-height: 1; }
.breadcrumbs a { color: var(--cw-muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--cw-primary-dark); }
.breadcrumbs [aria-current="page"] span { color: var(--cw-ink); font-weight: 700; }
.page-hero .breadcrumbs li, .page-hero .breadcrumbs a { color: rgba(255, 255, 255, .72); }
.page-hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .5); }
.page-hero .breadcrumbs [aria-current="page"] span { color: #fff; }

/* --- Teks bacaan di halaman alat (isi halaman + blok SEO) --- */
.seo-extra { margin-top: 32px; }
.seo-extra > * + * { margin-top: 14px; }

.entry-tool .entry-content > :is(h2, h3),
.seo-extra > :is(h2, h3) { position: relative; padding-left: 15px; margin: 2em 0 .55em; }
.entry-tool .entry-content > h2::before,
.seo-extra > h2::before { content: ''; position: absolute; left: 0; top: .16em; bottom: .16em; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--cw-gold), color-mix(in srgb, var(--cw-gold) 40%, #fff)); }
.seo-extra > h2:first-child { margin-top: 0; }
.entry-tool .entry-content > h3::before, .seo-extra > h3::before { content: ''; position: absolute; left: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 4px; background: var(--cw-primary-light); }

.entry-tool .entry-content > :is(p, ul, ol):not(:first-child),
.seo-extra > :is(p, ul, ol):not(.seo-answer):not(.seo-updated) { font-size: 1rem; line-height: 1.8; color: var(--cw-text); max-width: 70ch; }
.entry-tool .entry-content > :is(h2, h3) + p,
.seo-extra > :is(h2, h3) + p { margin-top: 0; }
.entry-tool .entry-content > p strong, .seo-extra > p strong { color: var(--cw-ink); }

/* Daftar bernomor: kartu langkah */
.entry-tool .entry-content > ol, .seo-extra > ol { list-style: none; counter-reset: cwstep; padding: 0; display: grid; gap: 10px; max-width: none; }
.entry-tool .entry-content > ol > li, .seo-extra > ol > li { counter-increment: cwstep; position: relative; margin: 0; padding: 14px 16px 14px 60px; min-height: 56px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--cw-line) inset; line-height: 1.7; display: flex; align-items: center; }
.entry-tool .entry-content > ol > li::before, .seo-extra > ol > li::before { content: counter(cwstep); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: var(--cw-primary-light); color: var(--cw-primary-dark); font-family: var(--cw-head); font-weight: 800; font-size: .92rem; }
.entry-tool .entry-content > ol > li + li, .seo-extra > ol > li + li { margin-top: 0; }

.entry-tool .entry-content > ol:not(:first-child), .seo-extra > ol:not(.seo-answer):not(.seo-updated) { max-width: none; }

/* Daftar poin */
.entry-tool .entry-content > ul, .seo-extra > ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.entry-tool .entry-content > ul > li, .seo-extra > ul > li { position: relative; padding-left: 24px; margin: 0; }
.entry-tool .entry-content > ul > li::before, .seo-extra > ul > li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--cw-gold); }

/* Jawaban singkat */
.seo-answer { font-size: 1rem; line-height: 1.75; color: var(--cw-ink); margin: 0; padding: 16px 18px 16px 20px; border-radius: 6px 20px 20px 6px; background: linear-gradient(180deg, #fffaf0, #fff); border: 1px solid #f4e6bd; border-left: 5px solid var(--cw-gold); box-shadow: var(--cw-shadow); }
.seo-updated { font-size: .8rem; line-height: 1.6; color: var(--cw-muted); margin-top: 28px !important; padding-top: 16px; border-top: 1px dashed var(--cw-line); }

/* Tabel */
.table-wrap {
	position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; background: #fff;
	box-shadow: 0 0 0 1px var(--cw-line) inset, var(--cw-shadow); overscroll-behavior-x: contain;
}
.table-wrap.is-long { max-height: 480px; overflow: auto; }
.seo-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; line-height: 1.55; margin: 0; }
.seo-table caption { text-align: left; padding: 16px 18px 12px; font-family: var(--cw-head); font-weight: 700; font-size: .98rem; line-height: 1.4; color: var(--cw-ink); caption-side: top; }
.seo-table th, .seo-table td { padding: 12px 16px; border-bottom: 1px solid var(--cw-line); border-right: 0; text-align: left; vertical-align: top; white-space: nowrap; }
.seo-table td:last-child { white-space: normal; }
.seo-table thead th { background: var(--cw-primary-soft); color: var(--cw-muted); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-top: 1px solid var(--cw-line); border-bottom: 1px solid var(--cw-primary-light); vertical-align: bottom; }
.seo-table tbody th { font-weight: 700; color: var(--cw-ink); background: #fff; }
.seo-table tbody tr:nth-child(even) > * { background: #f8faff; }
.seo-table tbody tr:hover > * { background: var(--cw-primary-soft); }
.seo-table tbody tr:last-child > * { border-bottom: 0; }
.seo-table :is(thead, tbody) th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--cw-line); }
.seo-table thead th:first-child { z-index: 3; }
.table-wrap.is-long thead th { position: sticky; top: 0; z-index: 2; }
.seo-table.is-grid th, .seo-table.is-grid td { text-align: center; min-width: 76px; }
.seo-table.is-grid th:first-child { text-align: left; min-width: 112px; }
.seo-table.is-grid td { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--cw-ink); }
.seo-table.is-meaning th:first-child { width: 1%; }
.seo-table.is-meaning td:nth-child(2) { font-weight: 700; color: var(--cw-ink); }
.seo-table.is-meaning td:last-child, .seo-table.is-stack td:last-child { min-width: 240px; }

/* Tabel jadi kartu di layar kecil */
@media (max-width: 639px) {
	.table-wrap.is-stack { overflow: visible; background: transparent; box-shadow: none; border-radius: 0; }
	.is-stack .seo-table, .is-stack .seo-table tbody, .is-stack .seo-table tr, .is-stack .seo-table th, .is-stack .seo-table td, .is-stack .seo-table caption { display: block; }
	.is-stack .seo-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
	.is-stack .seo-table caption { padding: 0 2px 10px; font-size: .95rem; }
	.is-stack .seo-table tbody tr { margin-bottom: 10px; padding: 14px 16px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--cw-line) inset; }
	.is-stack .seo-table tbody tr:nth-child(even) > *, .is-stack .seo-table tbody tr:hover > * { background: transparent; }
	.is-stack .seo-table th, .is-stack .seo-table td { padding: 0; border: 0; white-space: normal; position: static; box-shadow: none; min-width: 0 !important; width: auto !important; }
	.is-stack .seo-table tbody th { margin-bottom: 8px; font-family: var(--cw-head); font-size: 1rem; }
	.is-stack .seo-table td { display: flex; gap: 12px; padding: 7px 0; border-top: 1px dashed var(--cw-line); }
	.is-stack .seo-table td::before { content: attr(data-label); flex: 0 0 34%; color: var(--cw-muted); font-size: .78rem; font-weight: 700; padding-top: .15em; }
	/* Varian "sisa / kategori / makna" */
	.is-meaning .seo-table tbody th { display: inline-flex; margin-bottom: 4px; padding: 3px 12px; border-radius: 999px; background: var(--cw-primary-light); color: var(--cw-primary-dark); font-size: .78rem; font-weight: 800; }
	.is-meaning .seo-table tbody tr:nth-child(n) > th, .is-meaning .seo-table tbody tr:hover > th { background: var(--cw-primary-light); }
	.is-meaning .seo-table tbody th::before { content: attr(data-label) '\00a0'; font-weight: 700; }
	.is-meaning .seo-table td { display: block; border: 0; padding: 0; }
	.is-meaning .seo-table td::before { display: none; }
	.is-meaning .seo-table td:nth-child(2) { margin: 8px 0 3px; font-family: var(--cw-head); font-size: 1.05rem; font-weight: 800; color: var(--cw-ink); }
	.is-meaning .seo-table td:last-child { color: var(--cw-text); font-size: .94rem; line-height: 1.65; }
}

.related-tools { margin-top: 26px; }
.related-tools h2 { font-size: 1.12rem; }
.related-tools ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.related-tools a { display: flex; flex-direction: column; gap: 1px; height: 100%; padding: 13px 15px; border-radius: 20px; background: #fff; color: var(--cw-text); box-shadow: 0 0 0 1px var(--cw-line) inset; transition: transform .12s, box-shadow .15s; }
.related-tools a:hover { box-shadow: 0 0 0 1.5px var(--cw-primary) inset; }
.related-tools a:active { transform: scale(.97); }
.related-tools strong { font-family: var(--cw-head); color: var(--cw-ink); font-size: .95rem; }
.related-tools span { font-size: .8rem; color: var(--cw-muted); line-height: 1.4; }

.related-posts { margin-top: 26px; }
.related-posts h2 { font-size: 1.12rem; }
.not-found .related-tools { text-align: left; margin: 20px 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: var(--cw-deep); color: #cbd5e1; margin-top: 28px; padding-top: 28px; border-radius: 32px 32px 0 0; }
.site-footer::before { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88' fill='none' stroke='%23e9b949' stroke-opacity='.1' stroke-width='1.2'%3E%3Cellipse cx='44' cy='22' rx='11' ry='22'/%3E%3Cellipse cx='44' cy='66' rx='11' ry='22'/%3E%3Cellipse cx='22' cy='44' rx='22' ry='11'/%3E%3Cellipse cx='66' cy='44' rx='22' ry='11'/%3E%3C/svg%3E"); }
.site-footer > .container { position: relative; }
.site-footer .site-title { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 20px; }
.footer-title { font-family: var(--cw-head); font-weight: 700; font-size: .9rem; color: #fff; margin: 0 0 8px; }
.footer-about p { font-size: .88rem; margin: 10px 0 0; color: #94a3b8; }
.footer-links .menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.footer-links a { display: block; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #e2e8f0; font-size: .88rem; font-weight: 600; }
.footer-links a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.footer-note { background: rgba(233, 185, 73, .08); box-shadow: 0 0 0 1px rgba(233, 185, 73, .22) inset; border-radius: 18px; padding: 13px 15px; }
.footer-note .footer-title { color: var(--cw-gold); }
.footer-note p:last-child { margin: 0; font-size: .82rem; color: #a7b3c7; }
.footer-about .footer-desc { margin-top: 8px; line-height: 1.7; color: #a7b3c7; }
.footer-social { list-style: none; display: flex; gap: 10px; margin: 16px 0 0; padding: 0; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #e2e8f0; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset; transition: transform .15s, background .15s, color .15s; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--cw-deep); background: var(--cw-gold); transform: translateY(-2px); }
.footer-legal-nav { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(233, 185, 73, .25); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; }
.footer-legal a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #e2e8f0; font-size: .8rem; font-weight: 600; line-height: 1.4; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: #fff; background: rgba(255, 255, 255, .15); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px; padding-bottom: 18px; font-size: .8rem; color: #94a3b8; }
.footer-top { flex: none; display: inline-flex; align-items: center; gap: 4px; color: #e2e8f0; font-weight: 700; }
.footer-top:hover { color: #fff; }

/* ==========================================================================
   Navigasi bawah (tab bar melayang)
   ========================================================================== */
.bottom-nav {
	display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60;
	max-width: 520px; margin: 0 auto; padding: 6px; border-radius: 28px; view-transition-name: tabbar;
	background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
	box-shadow: 0 14px 34px rgba(11, 21, 51, .2), 0 0 0 1px rgba(11, 21, 51, .05);
}
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 7px; color: var(--cw-muted); font-size: .64rem; font-weight: 700; line-height: 1.1; border-radius: 22px; transition: background .2s, color .2s, transform .12s; }
.bottom-nav a:active { transform: scale(.92); }
.bottom-nav a[aria-current="page"] { color: var(--cw-primary-dark); background: var(--cw-primary-light); }
.bottom-nav a[aria-current="page"] .cw-icon { fill: currentColor; fill-opacity: .18; }
.bottom-nav .cw-icon { width: 23px; height: 23px; }

/* ==========================================================================
   Transisi antarhalaman (browser yang mendukung)
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: cw-out .16s ease both; }
::view-transition-new(root) { animation: cw-in .26s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes cw-out { to { opacity: 0; } }
@keyframes cw-in { from { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   Responsif (naik dari mobile)
   ========================================================================== */
@media (min-width: 480px) {
	.cw-cell-j { display: block; }
}

@media (min-width: 640px) {
	:root { --cw-pad: 24px; }
	body { font-size: 16px; }
	.cw-card { padding: 24px; }
	.cw-form-grid, .cw-form-couple, .cw-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cw-form-couple { gap: 16px; }
	.cw-verdict { flex-direction: row; text-align: left; padding: 22px; gap: 20px; }
	.cw-cal-heading { order: 2; flex: 1; min-width: 160px; }
	.cw-cal-nav { order: 1; }
	.cw-cal-pick { flex: 0 1 auto; order: 3; }
	.cw-cal-pick select { flex: none; width: auto; }
	.cw-cal-grid, .cw-cal-week { gap: 6px; }
	.cw-cell { min-height: 56px; aspect-ratio: 1.2 / 1; }
	.cw-cell-g { font-size: 1.05rem; }
	.cw-cell-p { font-size: .68rem; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.post-card { flex-direction: column; gap: 0; padding: 0; overflow: hidden; border-radius: var(--cw-radius); }
	.post-card-thumb { width: auto; }
	.post-card-thumb img { height: auto; min-height: 0; aspect-ratio: 16 / 10; border-radius: 0; }
	.post-card-body { padding: 16px; }
	.post-card-title { font-size: 1.05rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
	.learn-grid > div, #apa-itu-cek-weton .narrow, .entry:not(.entry-tool) > .entry-content, .comments-area { padding: 24px; }
}

@media (min-width: 768px) {
	body { padding-bottom: 0; }
	.bottom-nav { display: none; }
	.section { padding-top: 40px; padding-bottom: 12px; }
	.section-head { margin-bottom: 22px; }
	.section-head p { font-size: 1rem; }
	.hero { padding: 40px 0 52px; border-radius: 0 0 44px 44px; }
	.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.feature-card { padding: 22px; }
	.feature-card h3 { font-size: 1.1rem; }
	.feature-card p { font-size: .9rem; -webkit-line-clamp: unset; display: block; }
	.feature-icon { width: 50px; height: 50px; margin-bottom: 16px; }
	.learn-grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
	.page-hero { padding: 28px 0 44px; border-radius: 0 0 40px 40px; }
	.tool-wrap { padding-top: 24px; }
	.seo-extra, .related-tools, .related-posts { margin-top: 48px; }
	.entry-tool .entry-content > :is(p, ul, ol):not(:first-child), .seo-extra > :is(p, ul, ol):not(.seo-answer):not(.seo-updated) { font-size: 1.05rem; }
	.seo-answer { padding: 20px 24px 20px 26px; font-size: 1.05rem; }
	.seo-table { font-size: .95rem; }
	.seo-table th, .seo-table td { padding: 13px 18px; }
	.entry-tool .entry-content > ol > li, .seo-extra > ol > li { padding: 16px 20px 16px 68px; }
	.entry-tool .entry-content > ol > li::before, .seo-extra > ol > li::before { left: 18px; }
	.site-footer { margin-top: 40px; padding-top: 48px; border-radius: 40px 40px 0 0; }
	.footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; padding-bottom: 32px; }
	.footer-about { grid-column: auto; }
	.footer-links .menu { grid-template-columns: 1fr; }
	.post-grid.is-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; }
	.is-rail .post-card { max-width: none; }
}

@media (min-width: 900px) {
	:root { --cw-header-h: 68px; }
	.menu-toggle, .back-btn { display: none; }
	.site-brand { flex: none; }
	.header-inner { justify-content: space-between; }
	.main-navigation {
		position: static; display: flex; align-items: center; gap: 10px; background: none; padding: 0; max-height: none; overflow: visible;
		border-radius: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none;
	}
	.main-navigation .menu { display: flex; gap: 2px; }
	.main-navigation .menu a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--cw-text); }
	.main-navigation .menu a::after { display: none; }
	.main-navigation .menu a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { background: var(--cw-primary-light); color: var(--cw-primary-dark); }
	.nav-cta { width: auto; margin: 0; }
	body.menu-open::before { display: none; }
	.hero-grid {
		grid-template-columns: 1.1fr .9fr; column-gap: 48px; row-gap: 20px; align-items: center;
		grid-template-areas: "copy card" "actions card";
	}
	.hero-copy { align-self: end; }
	.hero-actions { align-self: start; grid-template-columns: repeat(2, max-content); }
	.hero-actions .cw-btn { padding: 0 24px; min-height: 50px; font-size: .95rem; }
	.hero-lead { font-size: 1.1rem; margin-bottom: 18px; }
	.hero-card { padding: 28px; border-radius: 30px; }
	.hero-card h2 { font-size: 1.2rem; margin-bottom: 14px; }
	.cw-today { display: inline-grid; padding: 14px 18px; }
	.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
	.layout-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
	.entry-content { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media print {
	.site-header, .site-footer, .bottom-nav, .cw-form, .hero-actions { display: none !important; }
	body { padding-bottom: 0; background: #fff; }
}

/* Weton jodoh v1.6.0 */
.cw-steps { list-style: none; counter-reset: cws; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cw-steps li { counter-increment: cws; position: relative; padding: 9px 12px 9px 44px; background: var(--cw-field); border-radius: 14px; font-size: .92rem; }
.cw-steps li::before { content: counter(cws); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--cw-primary); color: #fff; font-family: var(--cw-head); font-weight: 800; font-size: .78rem; }
.cw-list li.is-current { background: var(--cw-primary-light); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
.cw-verdict .cw-result-title { font-size: clamp(1.4rem, 5.5vw, 2rem); }
.cw-panel .cw-glos { margin-top: 4px; }
.cw-panel .cw-day-list + .cw-note { margin-top: 12px; }

/* Banding weton v1.7.0 */
.cw-couple-vs { width: 34px; height: 34px; background: var(--cw-primary); font-size: .8rem; font-weight: 800; text-transform: lowercase; }
.cw-vs { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--cw-line) inset; overflow: hidden; }
.cw-vs-head, .cw-vs-row.is-short { display: grid; grid-template-columns: minmax(70px, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: start; padding: 9px 12px; }
.cw-vs-head { background: var(--cw-primary-soft); font-family: var(--cw-head); font-size: .82rem; color: var(--cw-primary-dark); border-bottom: 1px solid var(--cw-line); }
.cw-vs-head strong { overflow-wrap: anywhere; }
.cw-vs-row.is-short:nth-child(even) { background: var(--cw-field); }
.cw-vs-row.is-short .cw-vs-label { font-size: .74rem; font-weight: 700; color: var(--cw-muted); }
.cw-vs-row.is-short .cw-vs-cell { font-size: .86rem; font-weight: 700; color: var(--cw-ink); overflow-wrap: anywhere; }
.cw-vs-inner { display: flex; flex-direction: column; gap: 14px; }
.cw-vs-inner .cw-vs-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.cw-vs-inner .cw-vs-label { font-family: var(--cw-head); font-weight: 800; font-size: .86rem; color: var(--cw-ink); }
.cw-vs-inner .cw-vs-cell { background: var(--cw-field); border-radius: 14px; padding: 10px 12px; min-width: 0; font-size: .9rem; }
.cw-vs-inner .cw-vs-cell em { display: block; font-style: normal; font-size: .72rem; font-weight: 800; color: var(--cw-primary-dark); margin-bottom: 4px; }
.cw-vs-inner .cw-vs-cell p { margin: 0 0 .5em; }
.cw-vs-inner .cw-vs-cell p:last-child { margin-bottom: 0; }
.cw-vs-inner .cw-bullets li { font-size: .88rem; }
.feature-card.is-banding { --t: #7c3aed; }
@media (min-width: 640px) {
	.cw-vs-inner .cw-vs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cw-vs-inner .cw-vs-label { grid-column: 1 / -1; }
}

/* ==========================================================================
   Halaman weton (custom post type)
   ========================================================================== */
.seo-extra .cw-panel { margin-top: 12px; }
.seo-extra .cw-panel p { margin: 0 0 10px; font-size: .95rem; line-height: 1.7; }
.cw-panel-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1rem; font-weight: 800; padding: 0; }
.cw-panel-title::before { content: none; }
.seo-extra > .cw-stats { margin-top: 14px; }
.seo-extra .cw-chips { margin-top: 2px; }
a.cw-chip { text-decoration: none; transition: transform .12s, box-shadow .12s; }
a.cw-chip:hover, a.cw-chip:focus-visible { box-shadow: 0 0 0 1.5px currentColor inset; }
a.cw-chip:active { transform: scale(.96); }
.seo-table.is-grid td a { font-weight: 700; color: var(--cw-primary-dark); }
.seo-table.is-grid td small { color: var(--cw-muted); font-weight: 500; }
.seo-extra > h3 + .cw-chips { margin-top: 4px; }
.weton-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
.weton-pager a { display: flex; flex-direction: column; gap: 2px; padding: 13px 15px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--cw-line) inset; color: var(--cw-text); }
.weton-pager a:hover { box-shadow: 0 0 0 1.5px var(--cw-primary) inset; }
.weton-pager small { font-size: .74rem; color: var(--cw-muted); font-weight: 600; }
.weton-pager strong { font-family: var(--cw-head); color: var(--cw-ink); font-size: .98rem; }
.weton-pager-next { text-align: right; }

/* Halaman topik */
.entry-topic .seo-extra { margin-top: 0; }
.cw-glossary { margin: 0 0 24px; display: grid; gap: 10px; }
.cw-glossary dt { font-weight: 700; font-size: 1.05rem; margin: 0; scroll-margin-top: 90px; }
.cw-glossary dd { margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--cw-line); color: var(--cw-text); line-height: 1.75; }
.entry-topic .seo-extra ul { padding-left: 1.2em; }
