/* ==========================================================================
   Hikayat Jawi — gaya utama
   Tinta (navy) + prada emas di atas kertas naskah. Literata untuk bacaan,
   Plus Jakarta Sans untuk antarmuka, Amiri untuk aksara Jawi.
   ========================================================================== */

:root {
	--paper: #F6F4EC;
	--paper-2: #ECE7D8;
	--card: #FBFAF5;
	--ink: #16233A;
	--ink-2: #354258;
	--muted: #5B6475;
	--line: #D9D1BD;
	--navy: #133E6B;
	--navy-deep: #0D2A49;
	--gold: #B4892F;
	--gold-ink: #85631A;
	--gold-soft: #E7D7AE;
	--on-navy: #F1ECDD;
	--on-navy-muted: #B9C3D3;

	--serif: "Literata", "Iowan Old Style", Georgia, serif;
	--sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--jawi: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;

	--wrap: 1240px;
	--wide: 1060px;
	--narrow: 700px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 3px;
	--prose-size: 1.1875rem;

	--ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0l2.4 5.2L18 3.1l-2.1 5.6L20 10l-4.1 1.3L18 16.9l-5.6-2.1L10 20l-2.4-5.2L2 16.9l2.1-5.6L0 10l4.1-1.3L2 3.1l5.6 2.1z' fill='%23B4892F'/%3E%3C/svg%3E");
	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23B4892F' stroke-width='1' opacity='.35'%3E%3Cpath d='M28 6l6.4 15.6L50 28l-15.6 6.4L28 50l-6.4-15.6L6 28l15.6-6.4z'/%3E%3Crect x='17' y='17' width='22' height='22' transform='rotate(45 28 28)'/%3E%3Ccircle cx='28' cy='28' r='4'/%3E%3C/g%3E%3C/svg%3E");

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #0E1A2B;
		--paper-2: #13233A;
		--card: #12203A;
		--ink: #ECE6D6;
		--ink-2: #CFC8B6;
		--muted: #A2ABBA;
		--line: #28395A;
		--navy: #9CBEE4;
		--navy-deep: #08121F;
		--gold: #D2AE5C;
		--gold-ink: #D9B868;
		--gold-soft: #4A3E22;
		--on-navy: #ECE6D6;
		--on-navy-muted: #9AA6B8;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #0E1A2B;
	--paper-2: #13233A;
	--card: #12203A;
	--ink: #ECE6D6;
	--ink-2: #CFC8B6;
	--muted: #A2ABBA;
	--line: #28395A;
	--navy: #9CBEE4;
	--navy-deep: #08121F;
	--gold: #D2AE5C;
	--gold-ink: #D9B868;
	--gold-soft: #4A3E22;
	--on-navy: #ECE6D6;
	--on-navy-muted: #9AA6B8;
	color-scheme: dark;
}

:root[data-size="sm"] { --prose-size: 1.0625rem; }
:root[data-size="lg"] { --prose-size: 1.3125rem; }
:root[data-size="xl"] { --prose-size: 1.4375rem; }

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--navy-deep); color: var(--on-navy); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(var(--narrow) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

[lang="ms-Arab"], [lang="ar"], .jawi { font-family: var(--jawi); }

/* ---------- Tombol ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--sans); font-size: .9375rem; font-weight: 600; line-height: 1.2;
	padding: 13px 22px; border-radius: var(--radius); border: 1px solid transparent;
	transition: background-color .2s, color .2s, border-color .2s;
	text-decoration: none; cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--navy-deep); color: var(--on-navy); }
:root[data-theme="dark"] .btn-primary:hover { background: #BBD3EE; color: var(--paper); }
.btn-gold { background: var(--gold); color: #13233A; }
.btn-gold:hover { background: #C99C3C; color: #0D2A49; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-text { background: none; border: 0; color: inherit; padding-inline: 8px; text-decoration: underline; text-underline-offset: 3px; }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-block { width: 100%; }

.icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	border: 0; background: transparent; border-radius: 50%; color: var(--ink);
}
.icon-btn:hover { background: var(--paper-2); color: var(--navy); }
.icon-btn .icon { width: 21px; height: 21px; }

/* ---------- Bilah atas ---------- */
.topbar { background: var(--navy-deep); color: var(--on-navy-muted); font-size: .8125rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-dates { display: flex; flex-wrap: wrap; gap: 0; }
.topbar-dates span + span { border-left: 1px solid rgba(210, 174, 92, .55); margin-left: 12px; padding-left: 12px; }
.date-hijri { color: var(--on-navy); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-donate { display: inline-flex; align-items: center; gap: 6px; color: #E2C47E; font-weight: 600; }
.topbar-donate:hover { color: #F3DDA3; }
.topbar-donate .icon { width: 15px; height: 15px; }
.social { display: flex; gap: 6px; align-items: center; }
.social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.social .icon { width: 16px; height: 16px; }
.social-top a { color: var(--on-navy-muted); }
.social-top a:hover { color: var(--on-navy); }

/* ---------- Masthead ---------- */
.masthead { background: var(--paper); position: relative; z-index: 40; }
.masthead-inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding-block: 22px 18px;
}
.nav-open { justify-self: start; visibility: hidden; }
.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { width: 72px; height: 72px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
	font-family: var(--serif); font-weight: 650; font-size: 2.25rem; letter-spacing: -.015em;
	font-variation-settings: "opsz" 72;
}
.brand-jawi { font-family: var(--jawi); font-size: 1.375rem; color: var(--gold-ink); margin-top: 6px; text-align: left; }
.masthead-tools { justify-self: end; display: flex; gap: 2px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
	:root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* Navigasi rubrik: nama Latin dengan Jawi di bawahnya */
.primary-nav {
	position: sticky; top: 0; z-index: 39;
	background: var(--paper);
	border-top: 1px solid var(--line);
	border-bottom: 4px double var(--gold);
}
.admin-bar .primary-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .primary-nav { top: 0; } }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.nav-list > li { position: relative; }
.nav-list a {
	display: flex; flex-direction: column; align-items: center; gap: 0;
	padding: 10px 26px 8px; color: var(--ink);
}
.nav-latin { font-family: var(--sans); font-weight: 600; font-size: .9375rem; }
.nav-jawi { font-family: var(--jawi); font-size: 1.0625rem; line-height: 1.5; color: var(--gold-ink); }
.nav-list a:hover .nav-latin,
.nav-list .current-menu-item > a .nav-latin,
.nav-list .current-category-ancestor > a .nav-latin,
.nav-list .current-post-ancestor > a .nav-latin { color: var(--navy); }
.nav-list .current-menu-item > a,
.nav-list .current-post-ancestor > a { box-shadow: inset 0 -2px 0 var(--navy); }
.nav-list .sub-menu {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	list-style: none; margin: 0; padding: 8px 0; min-width: 220px;
	background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(13, 42, 73, .35);
	display: none;
}
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { display: block; }
.nav-list .sub-menu a { align-items: flex-start; padding: 8px 18px; }

.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100; pointer-events: none; }
.admin-bar .read-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .read-progress { top: 46px; } }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* Pencarian */
.search-panel { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.search-panel-inner { display: flex; align-items: center; gap: 12px; padding-block: 22px; }
.search-panel .search-form { flex: 1; }
.search-form { position: relative; display: flex; }
.search-field {
	width: 100%; font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 14px 54px 14px 18px;
}
.search-field::placeholder { color: var(--muted); }
.search-field:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19, 62, 107, .12); }
.search-submit {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--navy);
}

/* Laci (seluler) */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 18, 31, .55); }
.drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw);
	background: var(--paper); padding: 18px 22px 32px; overflow-y: auto;
	display: flex; flex-direction: column; gap: 18px;
	animation: drawer-in .28s ease-out;
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.drawer-panel .search-field { font-size: 1rem; padding-block: 12px; }
.drawer-nav, .drawer-links { list-style: none; margin: 0; padding: 0; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav a { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 2px; }
.drawer-nav .nav-latin { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.drawer-nav .nav-jawi { font-size: 1.25rem; }
.drawer-nav .sub-menu { list-style: none; padding: 0 0 10px 14px; margin: 0; }
.drawer-nav .sub-menu a { padding: 6px 0; }
.drawer-nav .sub-menu .nav-latin { font-size: 1rem; }
.drawer-links a { display: block; padding: 6px 0; color: var(--ink-2); }
.drawer-donate { margin-top: 6px; }
.social-drawer a { color: var(--ink-2); border: 1px solid var(--line); }
body.drawer-open { overflow: hidden; }

/* ---------- Komponen bersama ---------- */
.rubrik { display: inline-flex; align-items: baseline; gap: 10px; color: var(--navy); margin-bottom: 10px; }
.rubrik-latin { font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.rubrik-jawi { font-family: var(--jawi); font-size: 1.125rem; line-height: 1; color: var(--gold-ink); }
.rubrik:hover .rubrik-latin { text-decoration: underline; text-underline-offset: 3px; }

.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .8125rem; color: var(--muted); margin-top: 12px; }
.card-meta .byline { color: var(--ink-2); font-weight: 600; }
.card-meta .byline:hover { color: var(--navy); }

.hj-img { width: 100%; height: 100%; object-fit: cover; }

/* Gambar cadangan: bingkai iluminasi + label Jawi */
.hj-ph {
	position: relative; display: grid; place-items: center; width: 100%; height: 100%;
	background-color: var(--paper-2); background-image: var(--pattern); background-size: 56px;
}
.hj-ph-frame {
	display: grid; place-items: center; width: 62%; height: 62%; min-height: 70px;
	background: var(--paper); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 4px;
}
.hj-ph-text { font-family: var(--jawi); font-size: clamp(1.5rem, 4vw, 3rem); color: var(--gold-ink); line-height: 1.4; }
.card-row-media .hj-ph-frame { width: 70%; height: 70%; min-height: 0; outline-offset: 2px; }
.card-row-media .hj-ph-text { font-size: 1.1rem; }

/* Kepala seksi */
.sec { padding-block: clamp(48px, 7vw, 84px) 0; }
.sec-head {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 24px;
	padding-bottom: 16px; margin-bottom: 32px; border-bottom: 4px double var(--gold);
}
.sec-title-wrap { display: flex; align-items: baseline; gap: 16px; }
.sec-title { font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -.01em; }
.sec-title a:hover { color: var(--navy); }
.sec-jawi { font-family: var(--jawi); font-size: clamp(1.5rem, 2.3vw, 2rem); color: var(--gold-ink); line-height: 1; }
.sec-desc { grid-column: 1; grid-row: 2; color: var(--muted); font-size: .9375rem; max-width: 60ch; }
.sec-more { grid-column: 2; grid-row: 1; justify-self: end; white-space: nowrap; font-size: .875rem; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.sec-more:hover { text-decoration-thickness: 2px; }

/* Kartu standar */
.card { display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); margin-bottom: 16px; }
.card-title { font-size: 1.3125rem; line-height: 1.28; letter-spacing: -.005em; }
.card-title a { background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s; }
.card-title a:hover { color: var(--ink); background-size: 100% 1px; }
.card-excerpt { margin-top: 10px; color: var(--ink-2); font-family: var(--serif); font-size: 1rem; line-height: 1.6; }

/* Kartu baris */
.card-row { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.card-row:first-of-type { border-top: 0; padding-top: 4px; }
.card-row-media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.card-row .rubrik { margin-bottom: 4px; }
.card-row-title { font-size: 1.0625rem; line-height: 1.32; }
.card-row-title a:hover { color: var(--navy); }
.card-row .card-meta { margin-top: 6px; }

/* ---------- Beranda: tulisan utama ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); padding-top: clamp(28px, 4vw, 48px); }

/* Bingkai iluminasi: garis ganda emas dengan bintang di sudut, menggemakan cincin logo */
.illum { position: relative; border: 1px solid var(--gold); padding: 10px; background: var(--card); }
.illum::before {
	content: ""; position: absolute; inset: 4px; border: 1px solid var(--gold); opacity: .55; pointer-events: none;
}
.illum::after {
	content: ""; position: absolute; inset: -9px; pointer-events: none;
	background:
		var(--ornament) left top / 18px no-repeat,
		var(--ornament) right top / 18px no-repeat,
		var(--ornament) left bottom / 18px no-repeat,
		var(--ornament) right bottom / 18px no-repeat;
}
.hero-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.hero-body { padding: clamp(22px, 3vw, 36px) clamp(18px, 3vw, 40px) clamp(22px, 3vw, 32px); }
.hero-title {
	font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.1; letter-spacing: -.02em;
	font-variation-settings: "opsz" 72; max-width: 22ch;
}
.hero-title a:hover { color: var(--navy); }
.hero-excerpt { margin-top: 16px; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .875rem; }
.hero-avatar { width: 40px; height: 40px; border-radius: 50%; }
.hero-meta .byline { display: block; font-weight: 700; color: var(--ink); }
.hero-meta-sub { display: block; color: var(--muted); font-size: .8125rem; }

.aside-title { font-family: var(--sans); font-size: .9375rem; font-weight: 700; color: var(--ink); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 4px double var(--gold); }

/* Seksi sorotan */
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.card-lead .card-media { aspect-ratio: 16 / 10; }
.card-lead .card-title { font-size: clamp(1.625rem, 2.4vw, 2.125rem); line-height: 1.18; letter-spacing: -.015em; }
.card-lead .card-excerpt { font-size: 1.0625rem; }
.feature-list { display: flex; flex-direction: column; }
.card-side { display: grid; grid-template-columns: 42% 1fr; gap: 18px; padding-block: 20px; border-top: 1px solid var(--line); }
.card-side:first-child { border-top: 0; padding-top: 0; }
.card-side .card-media { margin: 0; }
.card-side .card-title { font-size: 1.1875rem; }
.card-side .card-meta { margin-top: 8px; }

/* Seksi puisi */
.sec-verse { background: var(--paper-2); padding-block: clamp(48px, 7vw, 84px); margin-top: clamp(48px, 7vw, 84px); }
.verse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.card-verse {
	position: relative; text-align: center; background: var(--card);
	border: 1px solid var(--line); padding: 44px 30px 32px;
	display: flex; flex-direction: column; align-items: center;
}
.card-verse::before {
	content: ""; width: 22px; height: 22px; background: var(--ornament) center / contain no-repeat; margin-bottom: 18px;
}
.verse-title { font-size: 1.375rem; font-style: italic; font-weight: 500; }
.verse-title a:hover { color: var(--navy); }
.verse-lines { margin-top: 16px; font-family: var(--serif); font-size: 1rem; text-wrap: pretty; line-height: 1.85; color: var(--ink-2); }
.card-verse .card-meta { justify-content: center; margin-top: auto; padding-top: 20px; }

/* Seksi kolom penulis (pita gelap) */
.sec-column { background: var(--navy-deep); color: var(--on-navy); padding-block: clamp(48px, 7vw, 84px); }
.sec-verse + .sec-column { margin-top: 0; }
.sec-column .sec-head { border-bottom-color: rgba(210, 174, 92, .7); }
.sec-column .sec-title, .sec-column .sec-title a { color: var(--on-navy); }
.sec-column .sec-jawi { color: #D9B868; }
.sec-column .sec-desc { color: var(--on-navy-muted); }
.sec-column .sec-more { color: var(--on-navy); }
.column-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.card-column { display: flex; flex-direction: column; padding-top: 4px; }
.column-author { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; color: var(--on-navy); }
.column-author:hover { color: #fff; }
.column-avatar { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px var(--navy-deep), 0 0 0 3px #D2AE5C; }
.column-name { font-weight: 700; font-size: .9375rem; align-self: end; }
.column-role { font-size: .8125rem; color: var(--on-navy-muted); align-self: start; }
.column-title { margin-top: 20px; font-size: 1.3125rem; line-height: 1.3; color: var(--on-navy); }
.column-title a:hover { color: #E2C47E; }
.column-excerpt { margin-top: 10px; font-family: var(--serif); font-size: .9875rem; line-height: 1.6; color: var(--on-navy-muted); }

/* Kisi tiga kolom */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px); }

/* Sampul buku */
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.book-cover {
	position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2);
	box-shadow: 0 1px 0 var(--line), 10px 14px 28px -18px rgba(13, 42, 73, .55);
}
.book-cover::after {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; pointer-events: none;
	background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(255,255,255,.12) 45%, rgba(0,0,0,0));
}
.book-title { margin-top: 18px; font-size: 1.1875rem; line-height: 1.3; }
.book-title a:hover { color: var(--navy); }
.card-book .card-meta { margin-top: 6px; }

/* Pita donasi */
.donate-band { padding-block: clamp(56px, 8vw, 96px) 0; }
.donate-frame {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
	padding: clamp(28px, 5vw, 56px); background: var(--card);
	border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -8px;
}
.donate-frame::after {
	content: ""; position: absolute; inset: -9px; pointer-events: none;
	background:
		var(--ornament) left top / 18px no-repeat,
		var(--ornament) right top / 18px no-repeat,
		var(--ornament) left bottom / 18px no-repeat,
		var(--ornament) right bottom / 18px no-repeat;
}
.donate-jawi { display: block; text-align: left; font-family: var(--jawi); font-size: 1.75rem; color: var(--gold-ink); line-height: 1.3; }
.donate-title { margin-top: 6px; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.015em; }
.donate-text { margin-top: 14px; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); max-width: 56ch; }
.donate-side { display: flex; flex-direction: column; gap: 20px; }

/* Progres donasi */
.dn-progress { display: flex; flex-direction: column; gap: 10px; }
.dn-raised { display: flex; flex-direction: column; }
.dn-raised strong { font-family: var(--serif); font-size: 2rem; font-weight: 650; color: var(--navy); letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.dn-raised span { color: var(--muted); font-size: .875rem; }
.dn-bar { height: 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dn-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #CDA552); border-radius: 10px; min-width: 6px; }
.dn-stat { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); font-weight: 600; }

/* ---------- Halaman baca ---------- */
.entry { padding-top: clamp(36px, 6vw, 72px); }
.entry-head { text-align: center; }
.entry-head .rubrik { justify-content: center; margin-bottom: 18px; }
.entry-head .rubrik-latin { font-size: .875rem; }
.entry-head .rubrik-jawi { font-size: 1.375rem; }
.entry-title {
	font-size: clamp(2.125rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -.02em;
	font-variation-settings: "opsz" 72;
}
.entry-dek { margin: 20px auto 0; max-width: 34em; font-family: var(--serif); font-style: italic; font-size: 1.3125rem; line-height: 1.55; color: var(--ink-2); }
.entry-meta { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; text-align: left; font-size: .875rem; }
.entry-avatar { width: 48px; height: 48px; border-radius: 50%; }
.entry-author { color: var(--muted); }
.entry-author .byline { color: var(--ink); font-weight: 700; }
.entry-sub { color: var(--muted); font-size: .8125rem; }

.entry-figure { margin: clamp(32px, 5vw, 56px) auto 0; }
.entry-figure img { width: 100%; }
.entry-figure figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); text-align: center; }

.entry-content { margin-top: clamp(32px, 5vw, 52px); }
.entry-page .entry-content { margin-top: 32px; }

/* Prosa */
.prose { font-family: var(--serif); font-size: var(--prose-size); line-height: 1.8; color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose p { hanging-punctuation: first; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose h2 { font-size: 1.6em; margin-top: 1.8em; line-height: 1.25; }
.prose h3 { font-size: 1.3em; margin-top: 1.6em; }
.prose h4 { font-size: 1.1em; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold-ink); }
.prose strong { font-weight: 650; }
.prose hr, .prose .wp-block-separator {
	border: 0; height: 22px; margin: 2.4em auto; width: 100%;
	background: var(--ornament) center / 18px no-repeat;
	position: relative; opacity: 1;
}
.prose hr::before, .prose hr::after,
.prose .wp-block-separator::before, .prose .wp-block-separator::after {
	content: ""; position: absolute; top: 50%; width: calc(50% - 24px); max-width: 120px; border-top: 1px solid var(--gold);
}
.prose hr::before, .prose .wp-block-separator::before { right: calc(50% + 18px); }
.prose hr::after, .prose .wp-block-separator::after { left: calc(50% + 18px); }

.entry:not(.is-verse):not(.entry-page) .prose > p:first-of-type:not([dir="rtl"])::first-letter {
	float: left; font-size: 4.1em; line-height: .82; font-weight: 650; color: var(--navy);
	padding: .07em .1em 0 0; font-variation-settings: "opsz" 72;
}

.prose blockquote, .prose .wp-block-quote {
	margin-inline: 0; padding: .2em 0 .2em 1.3em; border-left: 2px solid var(--gold);
	font-style: italic; color: var(--ink-2);
}
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: .6em; font-family: var(--sans); font-style: normal; font-size: .75em; color: var(--muted); }
.prose .wp-block-pullquote { border: 0; padding: 1.4em 0; margin-block: 2em; text-align: center; border-top: 4px double var(--gold); border-bottom: 4px double var(--gold); }
.prose .wp-block-pullquote blockquote { border: 0; padding: 0; font-size: 1.35em; line-height: 1.45; color: var(--ink); }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { font-family: var(--sans); font-size: .8125rem; color: var(--muted); margin-top: .7em; text-align: center; line-height: 1.5; }
.prose img { border-radius: 1px; }
.prose .alignwide { width: min(var(--wide), calc(100vw - 2 * var(--gutter))); margin-left: 50%; transform: translateX(-50%); max-width: none; }
.prose .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: none; }
.prose .alignleft { float: left; margin: .3em 1.4em .8em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 .8em 1.4em; max-width: 50%; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; font-family: var(--sans); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6em .5em; text-align: left; }
.prose code { font-size: .88em; background: var(--paper-2); padding: .1em .35em; border-radius: 2px; }
.prose sup { line-height: 0; }
.prose .wp-block-footnotes { font-size: .85em; border-top: 1px solid var(--line); padding-top: 1.2em; margin-top: 2.4em; }
.prose [lang="ar"], .prose [lang="ms-Arab"], .prose [dir="rtl"] { font-family: var(--jawi); font-size: 1.3em; line-height: 2; }
.prose p[dir="rtl"], .prose p[lang="ar"], .prose p[lang="ms-Arab"] { text-align: right; }
.prose .has-text-align-center { text-align: center; }

.end-mark { text-align: center; font-family: var(--jawi); font-size: 1.75rem; line-height: 1; color: var(--gold); margin-top: 2em !important; }

/* Puisi: blok terpusat, tanpa huruf kapital besar */
.is-verse .entry-content { text-align: left; }
.is-verse .prose > p { max-width: 30em; margin-inline: auto; }
.is-verse .prose { line-height: 1.9; }

/* Kaki artikel */
.entry-foot { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; font-size: .8125rem; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink-2); }
.tags a:hover { border-color: var(--navy); color: var(--navy); }
.share-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.share-label { font-size: .875rem; font-weight: 700; }
.share { display: flex; gap: 8px; }
.share-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--line); background: transparent; color: var(--ink-2); position: relative;
}
.share-btn:hover { border-color: var(--navy); color: var(--navy); }
.share-btn .icon { width: 18px; height: 18px; }
.share-btn.is-copied { border-color: var(--gold); color: var(--gold-ink); }

.author-box { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding-top: 28px; border-top: 4px double var(--gold); }
.author-box-avatar { width: 80px; height: 80px; border-radius: 50%; }
.author-box-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.author-box-role { font-family: var(--sans); font-size: .8125rem; font-weight: 500; color: var(--muted); }
.author-box-bio { margin-top: 8px; font-family: var(--serif); color: var(--ink-2); line-height: 1.6; }
.author-box-more { display: inline-block; margin-top: 10px; font-size: .875rem; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.support-card {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	background: var(--paper-2); padding: 24px 28px; border-left: 3px solid var(--gold);
}
.support-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.support-text { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; max-width: 46ch; }

.related { margin-top: clamp(56px, 8vw, 96px); background: var(--paper-2); padding-block: clamp(48px, 7vw, 80px); }
.related .card-media { background: var(--paper); }
.related .hj-ph { background-color: var(--paper); }

/* Komentar */
.comments-wrap { padding-block: 56px 0; }
.comments-title, .comment-reply-title { font-size: 1.5rem; margin-bottom: 20px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list .children { list-style: none; padding-left: 28px; border-left: 1px solid var(--line); }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8125rem; color: var(--muted); margin: 2px 0 8px 54px; }
.comment-content { font-family: var(--serif); line-height: 1.7; margin-left: 54px; }
.comment-content p + p { margin-top: .8em; }
.reply { margin-left: 54px; margin-top: 6px; font-size: .8125rem; font-weight: 600; }
.reply a { color: var(--navy); }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.comment-notes { font-size: .875rem; color: var(--muted); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; }
.comment-form-cookies-consent label { font-weight: 400; }

/* Bidang formulir bersama */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"],
input:not([type]), select, textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19, 62, 107, .12); }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy); }
input[type="file"] { font-size: .875rem; }

/* ---------- Arsip ---------- */
.archive-head { text-align: center; padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); border-bottom: 4px double var(--gold); margin-bottom: clamp(32px, 5vw, 56px); }
.archive-jawi { font-family: var(--jawi); font-size: clamp(2.75rem, 7vw, 4.5rem); color: var(--gold-ink); line-height: 1.3; }
.archive-title { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.02em; font-variation-settings: "opsz" 72; }
.archive-desc { margin: 14px auto 0; max-width: 56ch; font-family: var(--serif); font-size: 1.125rem; color: var(--ink-2); }
.archive-count { margin-top: 14px; font-size: .8125rem; font-weight: 600; color: var(--muted); display: flex; justify-content: center; gap: 16px; align-items: center; }
.archive-search { max-width: 560px; margin: 22px auto 0; }
.author-head-avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 18px; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--gold); }
.author-head-role { margin-top: 6px; color: var(--muted); }
.author-head-ig { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.author-head-ig .icon { width: 16px; height: 16px; }

.card-lead-wide { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.card-lead-wide .card-media { margin: 0; aspect-ratio: 16 / 10; }

.pagination { margin-top: 56px; }
.pagination ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding-inline: 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .875rem; font-weight: 600; }
.pagination a:hover { border-color: var(--navy); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.pagination .dots { border: 0; }

.empty-state, .empty-home { text-align: center; padding-block: 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.empty-state .search-form { width: min(520px, 100%); }
.empty-jawi { font-family: var(--jawi); font-size: 2.5rem; color: var(--gold); }
.empty-home h1 { font-size: 2.25rem; }

.notfound { text-align: center; padding-block: clamp(56px, 10vw, 120px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.notfound-jawi { font-family: var(--jawi); font-size: clamp(4rem, 12vw, 7rem); color: var(--gold-ink); line-height: 1.1; }
.notfound .search-form { width: min(520px, 100%); }
.notfound p { color: var(--ink-2); max-width: 46ch; }

/* ---------- Halaman donasi ---------- */
.donasi-hero { background: var(--paper-2); padding-block: clamp(40px, 6vw, 80px); }
.donasi-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.donasi-jawi { text-align: left; font-family: var(--jawi); font-size: 2rem; color: var(--gold-ink); line-height: 1.3; }
.donasi-intro .entry-title { text-align: left; margin-top: 4px; }
.donasi-content { margin-top: 22px; font-size: 1.125rem; }
.donasi-progress-card {
	position: relative; background: var(--card); padding: 30px; display: flex; flex-direction: column; gap: 22px;
	border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -7px;
}
.donasi-campaign { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.donasi-h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 24px; }
.donasi-steps, .donasi-pay, .donasi-wall { padding-top: clamp(48px, 7vw, 80px); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.steps strong { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; }
.steps span { color: var(--ink-2); font-size: .9375rem; }

.dn-pay { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.dn-bank { background: var(--card); border: 1px solid var(--line); padding: 22px 24px; border-top: 3px solid var(--navy); }
.dn-bank-name { font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.dn-bank-no { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.dn-bank-no > span { font-family: var(--serif); font-size: 1.625rem; font-weight: 600; letter-spacing: .03em; font-variant-numeric: lining-nums tabular-nums; color: var(--navy); word-break: break-all; }
.dn-bank-owner { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.dn-copy { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 30px; background: transparent; font-size: .8125rem; font-weight: 600; flex-shrink: 0; }
.dn-copy:hover { border-color: var(--navy); color: var(--navy); }
.dn-copy .icon { width: 15px; height: 15px; }
.dn-copy.is-copied { border-color: var(--gold); color: var(--gold-ink); }
.dn-qris { margin: 0; background: #fff; border: 1px solid var(--line); padding: 18px; text-align: center; }
.dn-qris img { margin-inline: auto; max-width: 240px; }
.dn-qris figcaption { margin-top: 10px; font-size: .8125rem; color: #5B6475; }

.donasi-form-sec { padding-top: clamp(48px, 7vw, 80px); }
.donasi-form-card { max-width: 860px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.donasi-form-card .donasi-h2 { margin-bottom: 6px; }
.donasi-form-lead { color: var(--ink-2); margin-bottom: 26px; }
.dn-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dn-amt { padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; background: transparent; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.dn-amt:hover { border-color: var(--navy); color: var(--navy); }
.dn-amt.is-active { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.dn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.field-full { grid-column: 1 / -1; }
.field-check { margin-top: 16px; }
.field-check label { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; }
.input-rp { display: flex; align-items: stretch; }
.input-rp > span { display: grid; place-items: center; padding-inline: 14px; background: var(--paper-2); border: 1px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); font-weight: 700; color: var(--ink-2); }
.input-rp input { border-radius: 0 var(--radius) var(--radius) 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.dn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dn-privacy { margin-top: 16px; font-size: .8125rem; color: var(--muted); }
.dn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dn-notice { padding: 14px 18px; margin-bottom: 22px; border-left: 3px solid; font-size: .9375rem; }
.dn-notice.is-success { background: rgba(46, 125, 50, .09); border-color: #2E7D32; }
.dn-notice.is-error { background: rgba(178, 60, 30, .09); border-color: #B23C1E; }

.dn-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dn-donor { background: var(--card); border: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.dn-donor-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dn-donor-name { font-weight: 700; }
.dn-donor-amt { font-family: var(--serif); font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dn-donor-msg { font-family: var(--serif); font-style: italic; color: var(--ink-2); line-height: 1.55; }
.dn-donor time { font-size: .75rem; color: var(--muted); }
.dn-empty { color: var(--muted); font-family: var(--serif); font-style: italic; }

/* ---------- Ajakan melayang ---------- */
.nudge {
	position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(360px, calc(100vw - 32px));
	background: var(--navy-deep); color: var(--on-navy); padding: 20px 22px; border-top: 3px solid #D2AE5C;
	box-shadow: 0 20px 40px -20px rgba(8, 18, 31, .6);
	transform: translateY(16px); opacity: 0; transition: transform .35s ease-out, opacity .35s ease-out;
}
.nudge.is-visible { transform: none; opacity: 1; }
.nudge-text { font-family: var(--serif); font-size: 1rem; line-height: 1.5; }
.nudge-actions { display: flex; gap: 8px; margin-top: 14px; align-items: center; }
.nudge .btn-primary { background: #D2AE5C; color: #0D2A49; }
.nudge .btn-primary:hover { background: #E2C47E; }
.nudge .btn-text { color: var(--on-navy-muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(64px, 9vw, 112px); background: var(--navy-deep); color: var(--on-navy-muted); padding-block: clamp(48px, 7vw, 72px) 28px; font-size: .9375rem; }
.related + .site-footer, .sec-column:last-child + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer-logo img { width: 88px; height: 88px; border-radius: 50%; }
.footer-about { margin-top: 18px; font-family: var(--serif); color: var(--on-navy); line-height: 1.65; max-width: 38ch; }
.social-footer { margin-top: 18px; }
.social-footer a { color: var(--on-navy); border: 1px solid rgba(210, 174, 92, .45); width: 36px; height: 36px; }
.social-footer a:hover { border-color: #D2AE5C; color: #E2C47E; }
.footer-title { font-family: var(--sans); font-size: .875rem; font-weight: 700; color: #D9B868; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col li { display: flex; align-items: baseline; gap: 10px; }
.footer-col a { color: var(--on-navy); }
.footer-col a:hover { color: #E2C47E; }
.footer-jawi { font-family: var(--jawi); color: rgba(217, 184, 104, .8); font-size: 1rem; line-height: 1; }
.footer-support p { margin-bottom: 14px; }
.footer-bottom { margin-top: clamp(40px, 6vw, 64px); padding-top: 22px; border-top: 1px solid rgba(210, 174, 92, .3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; }
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; }
.footer-legal a { color: var(--on-navy-muted); }

/* Widget */
.widget + .widget { margin-top: 24px; }
.widget-title { font-family: var(--sans); font-size: .9375rem; font-weight: 700; margin-bottom: 12px; }

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
	.hero { grid-template-columns: 1fr; }
	.hero-latest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
	.hero-latest .aside-title { grid-column: 1 / -1; }
	.hero-latest .card-row:nth-of-type(2) { border-top: 0; padding-top: 4px; }
	.column-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.primary-nav .wrap { display: none; }
	.primary-nav { border-top: 0; }
	.nav-open { visibility: visible; }
	.masthead-inner { padding-block: 14px 12px; }
	.brand { gap: 12px; }
	.brand-logo { width: 52px; height: 52px; }
	.brand-name { font-size: 1.625rem; }
	.brand-jawi { font-size: 1.0625rem; margin-top: 4px; }
	.masthead { position: sticky; top: 0; border-bottom: 4px double var(--gold); }
	.admin-bar .masthead { top: 46px; }
	.primary-nav { position: static; border-bottom: 0; }
	.feature-grid, .donate-frame, .donasi-hero-grid, .card-lead-wide { grid-template-columns: 1fr; }
	.verse-grid { grid-template-columns: 1fr; }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: 1fr; }
	.topbar-dates .date-masehi { display: none; }
	.topbar-dates span + span { border: 0; margin: 0; padding: 0; }
	.social-top { display: none; }
}

@media (max-width: 640px) {
	.brand-logo { width: 44px; height: 44px; }
	.brand-name { font-size: 1.375rem; }
	.masthead-tools .size-toggle { display: none; }
	.icon-btn { width: 40px; height: 40px; }
	.hero-latest { grid-template-columns: 1fr; }
	.hero-latest .card-row:nth-of-type(2) { border-top: 1px solid var(--line); padding-top: 16px; }
	.hero-body { padding-inline: 14px; }
	.illum { padding: 6px; }
	.illum::before { inset: 2px; }
	.card-side { grid-template-columns: 112px 1fr; gap: 14px; }
	.card-side .card-media { aspect-ratio: 1; }
	.card-side .card-title { font-size: 1.0625rem; }
	.grid-3 { grid-template-columns: 1fr; }
	.column-grid { grid-template-columns: 1fr; }
	.dn-grid { grid-template-columns: 1fr; }
	.support-card { flex-direction: column; align-items: flex-start; }
	.author-box { grid-template-columns: 60px 1fr; gap: 14px; }
	.author-box-avatar { width: 60px; height: 60px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-support { grid-column: 1 / -1; }
	.prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
	.nudge { right: 16px; bottom: 16px; }
	.entry-dek { font-size: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .masthead, .primary-nav, .site-footer, .share-row, .support-card, .related, .comments-wrap, .nudge, .search-panel, .drawer { display: none !important; }
	body { background: #fff; color: #000; }
	.prose { font-size: 12pt; }
}
@media (max-width: 640px) {
	.hero-excerpt { font-size: 1.0625rem; -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Blok Verse (puisi/syair) */
.prose .wp-block-verse, .prose pre.wp-block-verse {
	font-family: var(--serif); font-size: 1em; font-style: italic; line-height: 1.9;
	white-space: pre-wrap; overflow-wrap: break-word; color: var(--ink-2);
	background: var(--paper-2); border-left: 3px solid var(--gold);
	padding: 1.1em 1.4em; margin-inline: 0;
}
.is-verse .prose .wp-block-verse { background: none; border: 0; padding: 0; max-width: 30em; margin-inline: auto; font-style: normal; color: var(--ink); }
.editor-styles-wrapper .wp-block-verse { font-family: "Literata", Georgia, serif; font-style: italic; }
.is-verse .prose .wp-block-verse { width: fit-content; max-width: 100%; margin-inline: auto; }

/* Tabel */
.prose .wp-block-table table { border: 0; }
.prose .wp-block-table th, .prose .wp-block-table td { border: 0; border-bottom: 1px solid var(--line); padding: .7em .9em; vertical-align: middle; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-table thead th { border-bottom: 2px solid var(--gold); font-size: .85em; color: var(--ink-2); }
.prose .wp-block-table td [lang="ms-Arab"], .prose .wp-block-table td [dir="rtl"] { font-size: 1.6em; line-height: 1.2; color: var(--navy); }
