/*
Theme Name: Nglencer Astra Child
Theme URI: https://nglencer.com/
Description: Child theme Astra untuk Nglencer.com, website panduan perjalanan dan wisata Indonesia. Desain majalah premium: hero foto, sidebar kanan, beragam format kartu, artikel bergaya editorial, kompatibel dengan Yoast SEO.
Author: Nglencer.com
Author URI: https://nglencer.com/
Template: astra
Version: 1.1.0
Requires at least: 6.3
Tested up to: 6.5
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: nglencer-astra-child
*/

/* =========================================================
   1. Token desain (dari konsep: Playfair + Plus Jakarta Sans,
      peach, lime, cyan; header gelap dari mockup)
   ========================================================= */
:root {
	--ngl-ink: #0b090c;
	--ngl-bg: #fbfcfc;
	--ngl-peach: #ffe0c9;
	--ngl-lime: #e8fc98;
	--ngl-cyan: #00c5de;
	--ngl-navy: #2a303c;
	--ngl-lime-strong: #a9cb3b;
	--ngl-cyan-deep: #00788a;
	--ngl-cream: #f6f3ec;
	--ngl-muted: #5b6068;
	--ngl-line: #e4e7e5;
	--ngl-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--ngl-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--ngl-radius: 14px;
	--ngl-shadow: 0 1px 2px rgba(11, 9, 12, .06), 0 8px 24px rgba(11, 9, 12, .06);
	--ngl-header-h: 64px;
}

/* Font lokal (tanpa permintaan ke server Google). Lisensi: SIL OFL, lihat assets/fonts. */
@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Playfair Display';
	src: url('assets/fonts/playfair-display-latin-wght-normal.woff2') format('woff2');
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

/* =========================================================
   2. Dasar
   ========================================================= */
body.ngl-site {
	margin: 0;
	background: var(--ngl-bg);
	color: var(--ngl-ink);
	font-family: var(--ngl-font-body);
	font-size: 1rem;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.ngl-site *, .ngl-site *::before, .ngl-site *::after { box-sizing: border-box; }
.ngl-site img { max-width: 100%; height: auto; }
.ngl-site h1, .ngl-site h2, .ngl-site h3, .ngl-site h4 {
	font-family: var(--ngl-font-heading);
	color: var(--ngl-ink);
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}
.ngl-site a { color: inherit; }
.ngl-site p { margin: 0 0 1em; }
.ngl-sr,
.ngl-site .screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ngl-skip {
	position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ngl-lime);
	color: var(--ngl-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.ngl-skip:focus { top: 8px; }
.ngl-site :focus-visible { outline: 3px solid var(--ngl-cyan); outline-offset: 2px; }

.ngl-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.ngl-container--narrow { max-width: 820px; }
.ngl-main { display: block; }
.ngl-spacer { height: 32px; }

/* =========================================================
   3. Tombol, badge, kotak (dari CSS konsep, tanpa !important)
   ========================================================= */
.ngl-site .ngl-btn,
.ngl-site .wp-block-button__link,
.ngl-site input[type="submit"],
.ngl-site .ngl-search__btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--ngl-cyan); color: var(--ngl-ink);
	border: 0; border-radius: 2px; padding: 13px 28px;
	font: 700 .95rem/1.2 var(--ngl-font-body); text-decoration: none; cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 197, 222, .25);
	transition: transform .15s ease, box-shadow .15s ease;
}
.ngl-site .ngl-btn:hover,
.ngl-site .wp-block-button__link:hover,
.ngl-site input[type="submit"]:hover,
.ngl-site .ngl-search__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 197, 222, .32); color: var(--ngl-ink); }

.ngl-site .ngl-badge-lime {
	display: inline-block; background: var(--ngl-lime); color: var(--ngl-ink);
	padding: 4px 12px; border-radius: 20px; font-size: .75rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .04em; line-height: 1.4;
}
.ngl-site .ngl-badge-link { text-decoration: none; }

/* Kotak tips / informasi (alias: .ngl-info-box dari CSS konsep) */
.ngl-site .ngl-info-box,
.ngl-site .is-style-ngl-tips {
	background: var(--ngl-peach); border-left: 4px solid var(--ngl-cyan);
	border-radius: 8px; padding: 20px 24px; margin: 30px 0;
}
.ngl-site .is-style-ngl-penting {
	background: var(--ngl-lime); border-left: 4px solid var(--ngl-navy);
	border-radius: 8px; padding: 20px 24px; margin: 30px 0;
}
.ngl-site .is-style-ngl-disclosure {
	background: var(--ngl-cream); border: 1px dashed #c9c4b6;
	border-radius: 8px; padding: 14px 18px; margin: 0 0 28px; font-size: .9rem;
}
.ngl-site .ngl-info-box > :last-child,
.ngl-site .is-style-ngl-tips > :last-child,
.ngl-site .is-style-ngl-penting > :last-child,
.ngl-site .is-style-ngl-disclosure > :last-child { margin-bottom: 0; }

.ngl-eyebrow {
	font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ngl-cyan-deep); margin: 0 0 8px;
}
.ngl-eyebrow--light { color: var(--ngl-lime); }
.ngl-empty, .ngl-empty-state { color: var(--ngl-muted); font-size: .9rem; }
.ngl-empty { background: var(--ngl-cream); border-radius: 8px; padding: 8px 12px; }

/* =========================================================
   4. Header
   ========================================================= */
.ngl-header { background: var(--ngl-navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.ngl-no-sticky .ngl-header { position: relative; }
.admin-bar .ngl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ngl-header { top: 46px; } }

.ngl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--ngl-header-h); }
.ngl-logo { display: flex; align-items: center; flex: 0 0 auto; }
.ngl-logo a { display: flex; align-items: center; }
.ngl-logo img { display: block; width: auto; height: 34px; max-width: 220px; }
.ngl-header__tools { display: flex; align-items: stretch; height: var(--ngl-header-h); margin-right: -20px; }

.ngl-nav { display: none; }
.ngl-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.ngl-menu a {
	display: block; padding: 8px 14px; border-radius: 8px; color: #fff; text-decoration: none;
	font-size: .9rem; font-weight: 600;
}
.ngl-menu a:hover { color: var(--ngl-lime); }
.ngl-menu .current-menu-item > a,
.ngl-menu .current-menu-parent > a,
.ngl-menu .current-menu-ancestor > a { color: var(--ngl-lime-strong); }

.ngl-search-toggle, .ngl-burger {
	width: var(--ngl-header-h); border: 0; cursor: pointer; display: inline-flex;
	align-items: center; justify-content: center; padding: 0;
}
.ngl-search-toggle { background: var(--ngl-lime-strong); color: var(--ngl-ink); }
.ngl-burger { background: transparent; color: #fff; }
.ngl-burger__bars, .ngl-burger__bars::before, .ngl-burger__bars::after {
	display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.ngl-burger__bars::before, .ngl-burger__bars::after { content: ""; position: absolute; left: 0; }
.ngl-burger__bars::before { top: -7px; }
.ngl-burger__bars::after { top: 7px; }

.ngl-search-panel { background: var(--ngl-navy); border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 0; }
.ngl-js .ngl-search-panel { display: none; }
.ngl-js .ngl-search-panel.is-open { display: block; }

/* Mobile: menu tampil sebagai panel; tanpa JS, tampil sebagai baris biasa */
@media (max-width: 899px) {
	.ngl-nav { display: block; width: 100%; order: 5; flex-basis: 100%; padding-bottom: 8px; }
	.ngl-header__inner { flex-wrap: wrap; }
	.ngl-menu { flex-direction: column; }
	.ngl-js .ngl-nav { display: none; }
	.ngl-js .ngl-nav.is-open { display: block; }
}
@media (min-width: 900px) {
	.ngl-nav { display: block; margin-left: auto; }
	.ngl-burger { display: none; }
	.ngl-header__tools { margin-right: 0; }
	.ngl-header__inner { padding-right: 0; }
}

/* Pencarian */
.ngl-search { display: flex; gap: 8px; width: 100%; max-width: 560px; }
.ngl-search__input {
	flex: 1 1 auto; min-width: 0; padding: 12px 18px; border: 2px solid transparent; border-radius: 2px;
	background: #fff; color: var(--ngl-ink); font: 500 .95rem var(--ngl-font-body);
}
.ngl-search__input:focus { border-color: var(--ngl-cyan); outline: none; }

/* =========================================================
   5. Hero beranda (foto lebar + judul)
   ========================================================= */
.ngl-hero { position: relative; background: var(--ngl-navy); color: #fff; overflow: hidden; }
.ngl-hero__media { position: absolute; inset: 0; }
.ngl-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.ngl-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,12,.25) 0%, rgba(11,9,12,.2) 35%, rgba(11,9,12,.82) 100%); }
.ngl-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 52vh, 520px); padding-top: 56px; padding-bottom: 44px; }
.ngl-hero__date { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ngl-lime); margin: 0 0 12px; }
.ngl-site .ngl-hero__title { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 20ch; margin-bottom: 12px; text-shadow: 0 2px 18px rgba(11,9,12,.4); }
.ngl-hero__desc { max-width: 54ch; color: rgba(255,255,255,.92); font-size: 1.05rem; margin-bottom: 22px; }

/* Bar kategori */
.ngl-catbar { background: #fff; border-bottom: 1px solid var(--ngl-line); }
.ngl-cats { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ngl-cats::-webkit-scrollbar { display: none; }
.ngl-cats__item { flex: 0 0 auto; }
.ngl-cat { display: inline-flex; align-items: center; gap: 10px; padding: 14px 14px; text-decoration: none; color: var(--ngl-ink); font-weight: 700; font-size: .92rem; border-bottom: 3px solid transparent; }
.ngl-cat:hover { border-bottom-color: var(--ngl-cyan); }
.ngl-cat__icon { display: inline-flex; color: var(--ngl-cyan-deep); }
.ngl-cat__icon svg { width: 22px; height: 22px; }
.ngl-cat__name { white-space: nowrap; }
@media (min-width: 900px) { .ngl-cats { justify-content: space-between; } .ngl-cat { padding-inline: 8px; } }

/* =========================================================
   6. Kerangka majalah: kolom utama kiri + sidebar KANAN
   ========================================================= */
.ngl-mag { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .ngl-mag { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.ngl-mag__main { min-width: 0; }
.ngl-block { margin-bottom: 52px; }
.ngl-block:last-child { margin-bottom: 0; }
.ngl-sidebar__inner { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1000px) { .ngl-sidebar__inner { position: sticky; top: calc(var(--ngl-header-h) + 24px); } .admin-bar .ngl-sidebar__inner { top: calc(var(--ngl-header-h) + 56px); } }

/* Judul section: garis tebal + judul serif */
.ngl-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 3px solid var(--ngl-ink); padding-top: 12px; margin-bottom: 22px; }
.ngl-site .ngl-sec-head__title { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.ngl-more { font-weight: 700; font-size: .85rem; color: var(--ngl-cyan-deep); text-decoration: none; white-space: nowrap; }
.ngl-more:hover { text-decoration: underline; }

/* Chip kategori */
.ngl-chip { display: inline-block; align-self: flex-start; padding: 3px 10px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; text-decoration: none; background: var(--ngl-lime); color: var(--ngl-ink); border-radius: 2px; }
.ngl-chip--transportasi { background: var(--ngl-cyan); }
.ngl-chip--itinerary { background: var(--ngl-peach); }
.ngl-chip--penginapan { background: var(--ngl-cream); box-shadow: inset 0 0 0 1px #d8d2c2; }
.ngl-chip--tips-perjalanan { background: var(--ngl-navy); color: #fff; }

/* =========================================================
   7. Format kartu (setiap blok punya bentuk sendiri)
   ========================================================= */
.ngl-s { position: relative; min-width: 0; }
.ngl-site .ngl-s__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ngl-s__media { background: var(--ngl-peach); overflow: hidden; }
.ngl-s__body { display: flex; flex-direction: column; gap: 8px; }
.ngl-site .ngl-s__title { font-size: 1.15rem; line-height: 1.3; }
.ngl-s__title a { text-decoration: none; }
.ngl-s__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ngl-s__title a:hover { color: var(--ngl-cyan-deep); }
.ngl-s__ex { color: var(--ngl-muted); font-size: .93rem; line-height: 1.6; margin: 0; }
.ngl-s__meta { color: var(--ngl-muted); font-size: .78rem; margin: 0; }
.ngl-s__kicker { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ngl-cyan-deep); }
.ngl-s__media img { transition: transform .5s ease; }
.ngl-s:hover .ngl-s__media img { transform: scale(1.04); }

/* LEAD: foto besar, teks di atas gambar */
.ngl-s--lead { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ngl-navy); overflow: hidden; }
.ngl-s--lead .ngl-s__media { position: absolute; inset: 0; }
.ngl-s--lead .ngl-s__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,12,0) 25%, rgba(11,9,12,.88) 100%); }
.ngl-s--lead .ngl-s__body { position: relative; padding: 28px; gap: 10px; }
.ngl-site .ngl-s--lead .ngl-s__title { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.18; max-width: 24ch; }
.ngl-s--lead .ngl-s__title a:hover { color: var(--ngl-lime); }
.ngl-s--lead .ngl-s__ex { color: rgba(255,255,255,.88); max-width: 56ch; }
.ngl-s--lead .ngl-s__meta { color: rgba(255,255,255,.78); }
@media (min-width: 700px) { .ngl-s--lead { min-height: 480px; } }

/* DUO: dua artikel di bawah lead (kartu tumpuk) */
.ngl-duo { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
@media (min-width: 640px) { .ngl-duo.ngl-n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ngl-duo[hidden] { display: none; }

/* STACK: gambar di atas, teks di bawah, garis tipis */
.ngl-s--stack { border-bottom: 1px solid var(--ngl-line); padding-bottom: 20px; }
.ngl-s--stack .ngl-s__media { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.ngl-list--stack { display: grid; gap: 28px 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ngl-list--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FEATURE: gambar kiri besar, teks kanan (untuk blok destinasi dan arsip) */
.ngl-s--feature { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-content: start; }
.ngl-s--feature .ngl-s__media { aspect-ratio: 16 / 10; }
.ngl-site .ngl-s--feature .ngl-s__title { font-size: 1.5rem; }
.ngl-split { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .ngl-split:not(.ngl-split--solo) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .ngl-split--solo .ngl-s--feature { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; } }
.ngl-archive > .ngl-s--feature { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--ngl-line); }
.ngl-site .ngl-archive > .ngl-s--feature .ngl-s__title { font-size: clamp(1.5rem, 3vw, 2rem); }

/* MINI: judul + thumbnail kecil di kanan (sidebar dan blok destinasi) */
.ngl-minilist { display: flex; flex-direction: column; }
.ngl-s--mini { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ngl-line); }
.ngl-minilist > .ngl-s--mini:first-child { padding-top: 0; }
.ngl-minilist > .ngl-s--mini:last-child { border-bottom: 0; padding-bottom: 0; }
.ngl-s--mini .ngl-s__media { width: 84px; height: 84px; }
.ngl-site .ngl-s--mini .ngl-s__title { font-size: .98rem; line-height: 1.35; }
.ngl-s--mini .ngl-s__body { gap: 4px; }

/* NUMBERED: tanpa gambar, angka besar (transportasi) */
.ngl-list--numbered { counter-reset: ngl-n; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--ngl-line); }
.ngl-s--numbered { counter-increment: ngl-n; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--ngl-line); }
.ngl-s--numbered::before { content: counter(ngl-n, decimal-leading-zero); font-family: var(--ngl-font-heading); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--ngl-cyan); }

/* TILE: kotak gambar penuh, hanya judul (itinerary, baca juga) */
.ngl-list--tile { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ngl-list--tile.ngl-n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ngl-list--tile.ngl-n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ngl-s--tile { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ngl-navy); overflow: hidden; }
.ngl-s--tile .ngl-s__media { position: absolute; inset: 0; }
.ngl-s--tile .ngl-s__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,12,.05) 30%, rgba(11,9,12,.86) 100%); }
.ngl-s--tile .ngl-s__body { position: relative; padding: 18px; gap: 8px; }
.ngl-site .ngl-s--tile .ngl-s__title { color: #fff; font-size: 1.1rem; }
.ngl-s--tile .ngl-s__title a:hover { color: var(--ngl-lime); }
.ngl-s--tile .ngl-s__meta { color: rgba(255,255,255,.76); }

/* ROW: teks kiri, foto persegi kanan (penginapan, arsip) */
.ngl-s--row { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--ngl-line); }
.ngl-s--row:first-child { padding-top: 0; }
.ngl-s--row .ngl-s__media { aspect-ratio: 1; }
.ngl-list--row { display: flex; flex-direction: column; }
@media (min-width: 640px) { .ngl-s--row { grid-template-columns: minmax(0, 1fr) 200px; } .ngl-s--row .ngl-s__media { aspect-ratio: 4 / 3; } }

/* NOTE: kartu teks berwarna (tips) */
.ngl-list--note { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ngl-list--note.ngl-n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ngl-s--note { background: var(--ngl-cream); border-top: 4px solid var(--ngl-lime-strong); padding: 22px; }
.ngl-s--note:nth-child(even) { border-top-color: var(--ngl-cyan); background: var(--ngl-peach); }
.ngl-s--note:nth-child(even) .ngl-s__ex, .ngl-s--note:nth-child(even) .ngl-s__meta { color: #4b4f55; }
.ngl-site .ngl-s--note .ngl-s__title { font-size: 1.25rem; }

/* Pagination */
.ngl-pagination { margin-top: 40px; }
.ngl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ngl-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; padding: 0 14px; align-items: center; justify-content: center; border-radius: 2px; background: #fff; border: 1px solid var(--ngl-line); text-decoration: none; font-weight: 700; font-size: .9rem; }
.ngl-pagination .page-numbers.current { background: var(--ngl-ink); color: #fff; border-color: var(--ngl-ink); }
.ngl-pagination a.page-numbers:hover { border-color: var(--ngl-cyan); }

/* Section lama (newsletter) */
.ngl-section { padding: 56px 0; }
.ngl-section__title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.ngl-newsletter { background: var(--ngl-peach); }
.ngl-newsletter__inner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 800px) { .ngl-newsletter__inner { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   8. Sidebar & widget
   ========================================================= */
.ngl-widget { margin: 0; }
.ngl-site .ngl-widget__title { font-size: 1.1rem; border-top: 3px solid var(--ngl-ink); padding-top: 10px; margin-bottom: 14px; }
.ngl-about { background: var(--ngl-cream); padding: 20px; border-radius: 2px; }
.ngl-about .ngl-widget__title { border-top-color: var(--ngl-lime-strong); }
.ngl-about p { font-size: .92rem; }
.ngl-about p.ngl-about__by { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.ngl-avatar { display: inline-flex; flex: 0 0 auto; width: 32px; height: 32px; align-items: center; justify-content: center; background: var(--ngl-navy); color: #fff; border-radius: 50%; font: 800 .85rem var(--ngl-font-heading); }
.ngl-avatar--lg { width: 56px; height: 56px; font-size: 1.3rem; }
.ngl-catlist { list-style: none; margin: 0; padding: 0; }
.ngl-catlist a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ngl-line); text-decoration: none; font-weight: 600; font-size: .95rem; }
.ngl-catlist a:hover { color: var(--ngl-cyan-deep); }
.ngl-catlist__ic { display: inline-flex; color: var(--ngl-cyan-deep); }
.ngl-catlist__ic svg { width: 20px; height: 20px; }
.ngl-catlist__n { margin-left: auto; font-size: .75rem; color: var(--ngl-muted); background: var(--ngl-cream); padding: 1px 9px; border-radius: 10px; }

/* =========================================================
   9. Band judul arsip / halaman statis
   ========================================================= */
.ngl-page-head { background: var(--ngl-cream); padding: 28px 0 40px; border-bottom: 1px solid var(--ngl-line); }
.ngl-page-head__row { display: flex; gap: 18px; align-items: flex-start; margin-top: 18px; }
.ngl-page-head__icon { flex: 0 0 auto; display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; background: var(--ngl-lime); color: var(--ngl-ink); border-radius: 2px; }
.ngl-site .ngl-page-head__title { font-size: clamp(2rem, 4.6vw, 3rem); margin-top: 14px; }
.ngl-page-head__row .ngl-page-head__title { margin-top: 0; }
.ngl-page-head__desc { max-width: 62ch; color: var(--ngl-muted); margin-top: 10px; }
.ngl-page-head__desc p:last-child { margin-bottom: 0; }

.ngl-breadcrumb { font-size: .82rem; color: var(--ngl-muted); }
.ngl-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ngl-breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.ngl-breadcrumb a { text-decoration: none; }
.ngl-breadcrumb a:hover { text-decoration: underline; }
.ngl-breadcrumb .breadcrumb_last, .ngl-breadcrumb [aria-current] { font-weight: 600; }

/* =========================================================
   10. Artikel tunggal (majalah premium)
   ========================================================= */
.ngl-ahead { padding: 28px 0 28px; background: #fff; }
.ngl-ahead .ngl-breadcrumb { margin-bottom: 22px; }
.ngl-ahead__grid { max-width: 920px; }
.ngl-site .ngl-ahead__title { font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.08; letter-spacing: -.025em; margin: 16px 0 16px; }
.ngl-ahead__intro { font-family: var(--ngl-font-heading); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; color: #3a3f48; max-width: 56ch; margin: 0; }
.ngl-byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px 0; border-top: 1px solid var(--ngl-line); border-bottom: 1px solid var(--ngl-line); flex-wrap: wrap; }
.ngl-byline__text { display: flex; flex-direction: column; margin: 0; line-height: 1.4; font-size: .9rem; }
.ngl-byline__meta { color: var(--ngl-muted); font-size: .8rem; }
.ngl-sharebar { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 8px; }
.ngl-sharebar a, .ngl-copy { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--ngl-line); border-radius: 50%; background: #fff; color: var(--ngl-ink); cursor: pointer; padding: 0; }
.ngl-sharebar a:hover, .ngl-copy:hover { background: var(--ngl-lime); border-color: var(--ngl-lime); }
.ngl-copy { display: none; }
.ngl-js .ngl-copy { display: inline-flex; }
@media (max-width: 520px) { .ngl-sharebar { margin-left: 0; width: 100%; } }

.ngl-afigure { margin: 0; }
.ngl-afigure__img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; background: var(--ngl-peach); }
@media (max-width: 700px) { .ngl-afigure__img { aspect-ratio: 16 / 10; } }
.ngl-afigure figcaption { font-size: .8rem; color: var(--ngl-muted); margin-top: 8px; }
.ngl-mag--single { padding-top: 36px; }

/* Isi artikel */
.ngl-prose { font-size: 1.0625rem; line-height: 1.85; overflow-wrap: break-word; max-width: 760px; }
.ngl-prose > *:first-child { margin-top: 0; }
.ngl-article .ngl-prose > p:first-of-type::first-letter { float: left; font-family: var(--ngl-font-heading); font-weight: 800; font-size: 4.2rem; line-height: .8; padding: 8px 12px 0 0; color: var(--ngl-navy); }
.ngl-site .ngl-prose h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin: 2.1em 0 .6em; padding-top: 14px; border-top: 3px solid var(--ngl-ink); }
.ngl-site .ngl-prose h3 { font-size: 1.3rem; margin: 1.7em 0 .5em; }
.ngl-site .ngl-prose h4 { font-size: 1.1rem; margin: 1.5em 0 .4em; }
.ngl-prose a { color: var(--ngl-cyan-deep); text-decoration: underline; text-underline-offset: 3px; }
.ngl-prose ul, .ngl-prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.ngl-prose li { margin-bottom: .4em; }
.ngl-prose img { border-radius: 2px; }
.ngl-prose figure { margin: 1.8em 0; }
.ngl-prose figcaption { font-size: .85rem; color: var(--ngl-muted); margin-top: 6px; }
.ngl-prose blockquote { margin: 2em 0; padding: 18px 0 18px 24px; border-left: 4px solid var(--ngl-lime-strong); font-family: var(--ngl-font-heading); font-size: 1.45rem; line-height: 1.4; }
.ngl-prose blockquote p { margin: 0; }
.ngl-prose iframe { max-width: 100%; }
.ngl-prose .wp-block-table { overflow-x: auto; margin: 1.6em 0; }
.ngl-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.ngl-prose th, .ngl-prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ngl-line); vertical-align: top; }
.ngl-prose thead th { background: var(--ngl-cream); border-bottom: 2px solid var(--ngl-navy); font-weight: 700; }

.ngl-toc { background: var(--ngl-cream); border-left: 4px solid var(--ngl-lime-strong); padding: 16px 20px; margin: 1.8em 0; font-size: .95rem; line-height: 1.5; }
.ngl-toc summary { cursor: pointer; font-weight: 800; font-family: var(--ngl-font-heading); font-size: 1.1rem; }
.ngl-toc ol { margin: 12px 0 0; padding-left: 1.3em; }
.ngl-toc li { margin-bottom: .35em; }
.ngl-toc__l3 { margin-left: 1.1em; list-style: circle; }
.ngl-prose .ngl-toc a { text-decoration: none; color: var(--ngl-ink); }
.ngl-prose .ngl-toc a:hover { color: var(--ngl-cyan-deep); text-decoration: underline; }
.ngl-prose h2[id], .ngl-prose h3[id] { scroll-margin-top: calc(var(--ngl-header-h) + 16px); }

.ngl-tags { margin: 28px 0 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ngl-tags span { font-weight: 800; }
.ngl-tags a { background: var(--ngl-cream); color: var(--ngl-ink); text-decoration: none; padding: 3px 12px; border-radius: 2px; font-weight: 600; }
.ngl-tags a:hover { background: var(--ngl-lime); }

.ngl-author { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 22px; background: var(--ngl-cream); border-top: 4px solid var(--ngl-navy); }
.ngl-author p { margin: 0; font-size: .92rem; }
.ngl-author p.ngl-author__label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ngl-muted); }
.ngl-author p.ngl-author__name { font-family: var(--ngl-font-heading); font-weight: 800; font-size: 1.2rem; }

.ngl-related { margin-top: 52px; }
.ngl-postnav { margin: 44px 0 40px; }
.ngl-postnav .nav-links { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .ngl-postnav .nav-links { grid-template-columns: 1fr 1fr; } }
.ngl-postnav a { display: block; padding: 16px 18px; border: 1px solid var(--ngl-line); border-radius: 2px; background: #fff; text-decoration: none; }
.ngl-postnav a:hover { border-color: var(--ngl-cyan); }
.ngl-postnav .nav-next { text-align: right; }
.ngl-postnav__label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ngl-muted); }
.ngl-postnav__title { display: block; font-family: var(--ngl-font-heading); font-weight: 700; font-size: 1.05rem; margin-top: 4px; }

.ngl-comments { max-width: 760px; margin: 0 0 40px; }
.ngl-comments__list { list-style: none; padding: 0; }
.ngl-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--ngl-line); }
.ngl-comments input[type="text"], .ngl-comments input[type="email"], .ngl-comments input[type="url"], .ngl-comments textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--ngl-line); border-radius: 2px; font: inherit; }

/* Formulir kontak (Web3Forms) */
.ngl-contact-wrap { margin-top: 32px; }
.ngl-contact { display: grid; gap: 16px; max-width: 640px; }
.ngl-field { display: flex; flex-direction: column; gap: 6px; }
.ngl-field label { font-weight: 700; font-size: .9rem; }
.ngl-contact input[type="text"], .ngl-contact input[type="email"], .ngl-contact select, .ngl-contact textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9ceca; border-radius: 2px; background: #fff; font: inherit; color: var(--ngl-ink); }
.ngl-contact input:focus, .ngl-contact select:focus, .ngl-contact textarea:focus { border-color: var(--ngl-cyan); outline: 2px solid var(--ngl-cyan); outline-offset: 0; }
.ngl-contact .ngl-btn { justify-self: start; }
.ngl-contact__note { font-size: .82rem; color: var(--ngl-muted); margin: 0; }
.ngl-contact__ok, .ngl-contact__err { padding: 12px 16px; border-radius: 2px; font-weight: 600; margin: 0; }
.ngl-contact__ok { background: var(--ngl-lime); }
.ngl-contact__err { background: #fde4df; color: #7a1f12; }
.ngl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ngl-contact[aria-busy="true"] .ngl-btn { opacity: .6; pointer-events: none; }

/* Bilah kemajuan baca */
.ngl-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: var(--ngl-cyan); z-index: 99; }
.admin-bar .ngl-progress { top: 32px; }

/* =========================================================
   11. Footer
   ========================================================= */
.ngl-footer { background: var(--ngl-navy); color: rgba(255, 255, 255, .82); margin-top: 0; }
.ngl-footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ngl-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ngl-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ngl-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.ngl-footer a:hover { color: var(--ngl-lime); text-decoration: underline; }
.ngl-footer__brand img { display: block; width: auto; height: 30px; margin-bottom: 14px; }
.ngl-footer__brand p { max-width: 36ch; font-size: .92rem; }
.ngl-footer__title { color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.ngl-footer-list { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.ngl-footer-list li { margin-bottom: 8px; }
.ngl-footer .ngl-empty { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); }
.ngl-footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; position: relative; }
.ngl-footer__bar::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(18vw, 220px); background: var(--ngl-lime-strong); }
.ngl-footer__bar-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; position: relative; z-index: 1; }
.ngl-footer__bar p { margin: 0; }
.ngl-footer__disclosure { padding-right: min(18vw, 220px); }
@media (max-width: 640px) { .ngl-footer__bar::after { display: none; } .ngl-footer__disclosure { padding-right: 0; } }

/* =========================================================
   12. Preferensi pengguna
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	.ngl-site *, .ngl-site *::before, .ngl-site *::after { transition: none !important; animation: none !important; }
}
