/* ==========================================================================
   NUSA KINGDOM — main.css
   Palet diambil dari aset logo: hijau kerajaan, teal ombak, emas.
   ========================================================================== */

:root {
	--nk-ink: #021e17;
	--nk-deep: #052d24;
	--nk-forest: #0b4c42;
	--nk-teal: #128062;
	--nk-mint: #66c497;
	--nk-pearl: #e3f1ef;
	--nk-gold: #d9ad4b;
	--nk-gold-light: #f3d98b;
	--nk-gold-dark: #a17f22;
	--nk-bg: #f2f6f4;
	--nk-card: #ffffff;
	--nk-text: #1b2b27;
	--nk-muted: #5d706a;
	--nk-line: #dbe5e1;
	--nk-radius: 10px;
	--nk-radius-lg: 16px;
	--nk-shadow: 0 1px 2px rgba(2, 30, 23, .06), 0 6px 18px rgba(2, 30, 23, .06);
	--nk-shadow-lg: 0 10px 30px rgba(2, 30, 23, .16);
	--nk-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nk-font-display: "Cinzel", Georgia, "Times New Roman", serif;
	--nk-gold-grad: linear-gradient(180deg, #f6e3a1 0%, #d9ad4b 52%, #a77d22 100%);
	--nk-container: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	background: var(--nk-bg);
	color: var(--nk-text);
	font-family: var(--nk-font);
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--nk-teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--nk-gold-dark); }
:focus-visible { outline: 3px solid var(--nk-gold); outline-offset: 2px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--nk-ink); }
p { margin: 0 0 1em; }

.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;
}
.nk-skip:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 1000;
	padding: 10px 16px; background: var(--nk-gold); color: var(--nk-ink);
	border-radius: 6px; font-weight: 600;
}

.nk-container { width: 100%; max-width: var(--nk-container); margin: 0 auto; padding: 0 20px; }
.nk-icon { flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Tombol ---------- */
.nk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
	font-weight: 600; font-size: 14px; letter-spacing: .02em; line-height: 1.2;
	cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.nk-btn:hover { transform: translateY(-1px); }
.nk-btn--gold { background: var(--nk-gold-grad); color: var(--nk-ink); box-shadow: 0 6px 16px rgba(217, 173, 75, .35); }
.nk-btn--gold:hover { color: var(--nk-ink); box-shadow: 0 8px 22px rgba(217, 173, 75, .5); }
.nk-btn--ghost { border-color: rgba(243, 217, 139, .55); color: var(--nk-gold-light); background: rgba(2, 30, 23, .25); }
.nk-btn--ghost:hover { color: var(--nk-ink); background: var(--nk-gold-light); }
.nk-btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.nk-topbar { background: var(--nk-ink); color: #cfe3dd; font-size: 12.5px; border-bottom: 1px solid rgba(217, 173, 75, .18); }
.nk-topbar__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 34px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.nk-topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #cfe3dd; }
a.nk-topbar__item:hover { color: var(--nk-gold-light); }
.nk-topbar__ico {
	display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
	background: rgba(217, 173, 75, .16); color: var(--nk-gold-light);
}

/* ---------- Header ---------- */
.nk-header {
	position: sticky; top: 0; z-index: 50;
	background:
		radial-gradient(1200px 120px at 15% 0%, rgba(42, 165, 138, .18), transparent 60%),
		linear-gradient(180deg, #052d24 0%, #04241d 100%);
	border-bottom: 1px solid rgba(217, 173, 75, .28);
	box-shadow: 0 6px 20px rgba(2, 30, 23, .18);
}
.admin-bar .nk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nk-header { top: 0; position: relative; } }
.nk-header__inner { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.nk-brand { flex: none; }
.nk-logo, .custom-logo-link { display: block; width: 250px; }
.nk-logo img, .custom-logo-link img { width: 100%; height: auto; }

.nk-nav { flex: 1; display: flex; justify-content: center; }
.nk-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nk-menu > li { position: relative; }
.nk-menu a {
	display: block; padding: 10px 13px; border-radius: 6px;
	color: var(--nk-pearl); font-weight: 500; font-size: 14.5px; letter-spacing: .02em; white-space: nowrap;
}
.nk-menu > li > a { position: relative; }
.nk-menu > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
	background: var(--nk-gold-grad); border-radius: 2px; transform: scaleX(0); transition: transform .25s;
}
.nk-menu > li > a:hover,
.nk-menu > .current-menu-item > a,
.nk-menu > .current_page_item > a { color: var(--nk-gold-light); }
.nk-menu > li > a:hover::after,
.nk-menu > .current-menu-item > a::after,
.nk-menu > .current_page_item > a::after { transform: scaleX(1); }
.nk-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--nk-deep); border: 1px solid rgba(217, 173, 75, .25); border-radius: 10px; box-shadow: var(--nk-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.nk-menu li:hover > .sub-menu, .nk-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nk-header__actions { flex: none; display: flex; align-items: center; gap: 14px; }
.nk-action { display: inline-flex; align-items: center; gap: 10px; color: var(--nk-pearl); }
.nk-action:hover { color: var(--nk-gold-light); }
.nk-action__icon {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid rgba(243, 217, 139, .5); color: var(--nk-gold-light); background: rgba(217, 173, 75, .08);
}
.nk-action__text { display: flex; flex-direction: column; line-height: 1.2; }
.nk-action__text small { font-size: 11.5px; color: #9fc2b8; }
.nk-action__text strong { font-size: 14px; font-weight: 600; }

.nk-nav-toggle {
	display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 8px;
	border: 1px solid rgba(243, 217, 139, .45); background: transparent; color: var(--nk-gold-light); cursor: pointer;
	align-items: center; justify-content: center;
}
.nk-nav-toggle__close { display: none; }
.nk-nav-toggle[aria-expanded="true"] .nk-nav-toggle__open { display: none; }
.nk-nav-toggle[aria-expanded="true"] .nk-nav-toggle__close { display: inline-flex; }

/* ---------- Bar kategori + pencarian ---------- */
.nk-searchbar { background: var(--nk-bg); padding: 22px 0 6px; }
.nk-searchbar__inner { display: flex; gap: 18px; align-items: stretch; }
.nk-cats { position: relative; flex: 0 0 300px; }
.nk-cats__btn {
	width: 100%; height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 18px;
	background: linear-gradient(180deg, #052d24, #021e17); color: #fff; border: 0; border-radius: 6px;
	font-weight: 600; font-size: 14.5px; cursor: pointer; box-shadow: var(--nk-shadow);
}
.nk-cats__ico { color: var(--nk-gold-light); display: inline-flex; }
.nk-cats__label { flex: 1; text-align: left; }
.nk-cats__chev { display: inline-flex; transition: transform .2s; }
.nk-cats__btn[aria-expanded="true"] .nk-cats__chev { transform: rotate(180deg); }
.nk-cats__list {
	list-style: none; margin: 8px 0 0; padding: 8px; position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
	background: #fff; border: 1px solid var(--nk-line); border-radius: 10px; box-shadow: var(--nk-shadow-lg);
}
.nk-cats__list[hidden] { display: none; }
.nk-cats__list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; color: var(--nk-text); }
.nk-cats__list a:hover { background: var(--nk-bg); }
.nk-cats__thumb { flex: none; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; }
.nk-cats__thumb .nk-art { width: 100%; height: 100%; }
.nk-cats__txt { display: flex; flex-direction: column; line-height: 1.35; }
.nk-cats__txt strong { font-size: 14px; color: var(--nk-ink); }
.nk-cats__txt small { font-size: 12px; color: var(--nk-muted); }

.nk-search {
	flex: 1; display: flex; height: 54px; background: #fff; border: 1px solid var(--nk-line);
	border-radius: 6px; overflow: hidden; box-shadow: var(--nk-shadow);
}
.nk-search__input { flex: 1; min-width: 0; border: 0; padding: 0 20px; background: transparent; font-size: 14px; }
.nk-search__input:focus { outline: none; }
.nk-search:focus-within { border-color: var(--nk-teal); }
.nk-search__select {
	flex: 0 0 190px; border: 0; border-left: 1px solid var(--nk-line); padding: 0 14px; background: #fff;
	font-size: 13.5px; color: var(--nk-muted); cursor: pointer;
}
.nk-search__btn {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 30px; border: 0;
	background: var(--nk-gold-grad); color: var(--nk-ink); font-weight: 600; cursor: pointer;
}
.nk-search__btn:hover { filter: brightness(1.05); }

/* ---------- Layout ---------- */
.nk-main { padding: 22px 0 60px; }
.nk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.nk-layout--full { grid-template-columns: 1fr; }
.nk-content { min-width: 0; }

/* ---------- Hero beranda ---------- */
.nk-hero {
	position: relative; overflow: hidden; border-radius: var(--nk-radius-lg); padding: 38px 40px 30px; margin-bottom: 30px;
	color: var(--nk-pearl);
	background:
		radial-gradient(500px 220px at 85% 20%, rgba(102, 196, 151, .22), transparent 70%),
		radial-gradient(600px 300px at 0% 100%, rgba(217, 173, 75, .16), transparent 70%),
		linear-gradient(135deg, #0b4c42 0%, #052d24 45%, #021e17 100%);
	border: 1px solid rgba(217, 173, 75, .35);
	box-shadow: var(--nk-shadow-lg);
}
.nk-hero::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='120' height='240' viewBox='0 0 120 240'%3E%3Cpath d='M60 0c30 40-30 80 0 120s-30 80 0 120' fill='none' stroke='%232aa58a' stroke-opacity='.28' stroke-width='14' stroke-linecap='round'/%3E%3C/svg%3E");
	background-size: 120px 240px;
	mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.nk-hero::after {
	content: ""; position: absolute; right: -80px; top: 50%; width: 520px; height: 220px; transform: translateY(-50%);
	border: 1px solid rgba(217, 173, 75, .35); border-radius: 50%; pointer-events: none;
	box-shadow: 0 0 0 40px rgba(217, 173, 75, .04), inset 0 0 0 40px rgba(217, 173, 75, .03);
}
.nk-hero__body { position: relative; z-index: 1; max-width: 640px; }
.nk-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px;
	background: rgba(217, 173, 75, .14); border: 1px solid rgba(217, 173, 75, .35);
	color: var(--nk-gold-light); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.nk-hero__title { font-family: var(--nk-font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); color: #fff; margin-bottom: 14px; letter-spacing: .01em; }
.nk-hero__title span {
	display: block; background: var(--nk-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	font-size: 1.15em; letter-spacing: .04em;
}
.nk-hero__lead { color: #c7e2da; font-size: 15px; max-width: 600px; }
.nk-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.nk-hero__chips { position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(217, 173, 75, .2); }
.nk-hero__chips a {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
	background: rgba(2, 30, 23, .45); border: 1px solid rgba(102, 196, 151, .35); color: var(--nk-pearl); font-size: 13px; font-weight: 500;
}
.nk-hero__chips a:hover { border-color: var(--nk-gold); color: var(--nk-gold-light); }
.nk-hero__chips .nk-icon { color: var(--nk-gold-light); }

/* ---------- Section & toolbar ---------- */
.nk-section { margin: 0 0 40px; scroll-margin-top: 110px; }
.nk-section__head { margin-bottom: 16px; }
.nk-section__title {
	position: relative; font-family: var(--nk-font-display); font-size: 22px; font-weight: 700; letter-spacing: .02em;
	padding-left: 16px; margin-bottom: 6px;
}
.nk-section__title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 3px; background: var(--nk-gold-grad); }
.nk-section__desc { color: var(--nk-muted); margin: 0; max-width: 720px; }

.nk-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.nk-toolbar__count { margin: 0; color: var(--nk-muted); font-size: 14px; }
.nk-toolbar__sort {
	height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--nk-line); border-radius: 6px; background: #fff; font-size: 13.5px; cursor: pointer;
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23021e17' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}

/* ---------- Grid kartu (seperti grid produk) ---------- */
.nk-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.nk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nk-card { min-width: 0; }
.nk-card__link { display: block; color: var(--nk-text); }
.nk-card__media {
	position: relative; aspect-ratio: 1 / 1; border-radius: var(--nk-radius); overflow: hidden; background: var(--nk-deep);
	box-shadow: var(--nk-shadow); transition: transform .3s, box-shadow .3s;
}
.nk-card__media .nk-art { width: 100%; height: 100%; transition: transform .5s; }
.nk-card__link:hover .nk-card__media { transform: translateY(-3px); box-shadow: var(--nk-shadow-lg); }
.nk-card__link:hover .nk-art { transform: scale(1.05); }
.nk-badge {
	position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 4px;
	background: var(--nk-gold-grad); color: var(--nk-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.nk-card__title { font-size: 16px; font-weight: 600; margin: 14px 0 4px; color: var(--nk-ink); transition: color .2s; }
.nk-card__link:hover .nk-card__title { color: var(--nk-teal); }
.nk-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 13px; }
.nk-card__level { color: var(--nk-gold-dark); font-weight: 600; }
.nk-card__sub { margin: 2px 0 0; font-size: 12.5px; color: var(--nk-muted); }
.nk-stars { display: inline-flex; gap: 1px; font-size: 13px; line-height: 1; color: #c9d6d1; letter-spacing: 0; }
.nk-star.is-on { color: var(--nk-gold); }

/* ---------- Tiles mekanisme ---------- */
.nk-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nk-tile a {
	display: flex; gap: 12px; height: 100%; padding: 16px; border-radius: var(--nk-radius); background: var(--nk-card);
	border: 1px solid var(--nk-line); color: var(--nk-text); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.nk-tile a:hover { border-color: var(--nk-gold); box-shadow: var(--nk-shadow); transform: translateY(-2px); }
.nk-tile__ico {
	flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
	background: linear-gradient(135deg, var(--nk-forest), var(--nk-ink)); color: var(--nk-gold-light);
}
.nk-tile__body { display: flex; flex-direction: column; min-width: 0; }
.nk-tile__title { font-size: 14.5px; color: var(--nk-ink); line-height: 1.35; }
.nk-tile__desc { font-size: 12.5px; color: var(--nk-muted); line-height: 1.5; margin: 3px 0 8px; }
.nk-tile__tag {
	align-self: flex-start; margin-top: auto; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600;
	background: rgba(18, 128, 98, .1); color: var(--nk-teal);
}

/* ---------- Gaya main ---------- */
.nk-styles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nk-style {
	position: relative; display: flex; flex-direction: column; padding: 22px 18px 18px; border-radius: var(--nk-radius);
	background: linear-gradient(180deg, #fff 0%, #f7fbf9 100%); border: 1px solid var(--nk-line); overflow: hidden;
}
.nk-style::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--nk-gold-grad); }
.nk-style__ico {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 12px;
	background: radial-gradient(circle at 30% 30%, var(--nk-forest), var(--nk-ink)); color: var(--nk-gold-light);
	box-shadow: 0 0 0 4px rgba(217, 173, 75, .18);
}
.nk-style__name { font-size: 16px; margin-bottom: 6px; }
.nk-style p { font-size: 13.5px; color: var(--nk-muted); flex: 1; }
.nk-style__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }

/* ---------- Panel & prose ---------- */
.nk-panel { background: var(--nk-card); border: 1px solid var(--nk-line); border-radius: var(--nk-radius-lg); padding: 30px 34px; box-shadow: var(--nk-shadow); }
.nk-prose { font-size: 15.5px; }
.nk-prose > *:last-child { margin-bottom: 0; }
.nk-prose h2 {
	font-family: var(--nk-font-display); font-size: 23px; margin: 1.6em 0 .6em; padding-bottom: 10px;
	border-bottom: 1px solid var(--nk-line); scroll-margin-top: 110px;
}
.nk-prose h2:first-child { margin-top: 0; }
.nk-prose h3 { font-size: 18px; margin: 1.4em 0 .5em; scroll-margin-top: 110px; }
.nk-prose ul, .nk-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.nk-prose li { margin-bottom: .4em; }
.nk-prose ul li::marker { color: var(--nk-gold); }
.nk-prose strong { color: var(--nk-ink); }
.nk-prose a { text-decoration: underline; text-decoration-color: rgba(18, 128, 98, .35); text-underline-offset: 3px; }
.nk-prose blockquote {
	margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--nk-gold); background: #f7f3e6; border-radius: 0 10px 10px 0; color: #4a4330;
}
.nk-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14px; }
.nk-prose th, .nk-prose td { border: 1px solid var(--nk-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.nk-prose th { background: var(--nk-deep); color: var(--nk-gold-light); font-weight: 600; }
.nk-prose tr:nth-child(even) td { background: #f7faf9; }
.nk-prose .wp-block-table { margin: 0 0 1.4em; overflow-x: auto; }
.nk-prose .wp-block-table table { margin: 0; }

/* ---------- FAQ ---------- */
.nk-faq { display: grid; gap: 10px; }
.nk-faq__item { background: var(--nk-card); border: 1px solid var(--nk-line); border-radius: var(--nk-radius); }
.nk-faq__item[open] { border-color: rgba(217, 173, 75, .6); box-shadow: var(--nk-shadow); }
.nk-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer;
	font-weight: 600; color: var(--nk-ink); list-style: none;
}
.nk-faq__item summary::-webkit-details-marker { display: none; }
.nk-faq__chev { display: inline-flex; color: var(--nk-gold-dark); transition: transform .2s; }
.nk-faq__item[open] .nk-faq__chev { transform: rotate(180deg); }
.nk-faq__item p { margin: 0; padding: 0 20px 18px; color: var(--nk-muted); }

/* ---------- Sidebar ---------- */
.nk-sidebar { display: grid; gap: 22px; position: sticky; top: 110px; }
.admin-bar .nk-sidebar { top: 142px; }
.nk-widget { background: var(--nk-card); border: 1px solid var(--nk-line); border-radius: var(--nk-radius); padding: 20px; }
.nk-widget__title {
	font-size: 17px; font-weight: 600; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--nk-line); position: relative;
}
.nk-widget__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 46px; height: 2px; background: var(--nk-gold-grad); }
.nk-widget__lead { font-size: 13.5px; color: var(--nk-muted); }
.nk-widget--search { padding: 14px; }
.nk-sform { display: flex; border: 1px solid var(--nk-line); border-radius: 6px; overflow: hidden; }
.nk-sform input { flex: 1; min-width: 0; border: 0; padding: 11px 14px; font-size: 13.5px; background: #fff; }
.nk-sform input:focus { outline: none; }
.nk-sform:focus-within { border-color: var(--nk-teal); }
.nk-sform button { border: 0; padding: 0 14px; background: var(--nk-deep); color: var(--nk-gold-light); cursor: pointer; }

.nk-quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nk-quick a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 8px;
	background: var(--nk-bg); color: var(--nk-text); font-size: 14px; font-weight: 500;
}
.nk-quick a:hover { background: var(--nk-deep); color: var(--nk-gold-light); }

.nk-mini-list { list-style: none; margin: 0; padding: 0; }
.nk-mini-list li + li { border-top: 1px solid var(--nk-line); }
.nk-mini-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--nk-text); }
.nk-mini-list__txt { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
.nk-mini-list__txt strong { font-size: 14px; font-weight: 600; color: var(--nk-ink); }
.nk-mini-list a:hover strong { color: var(--nk-teal); }
.nk-mini-list__txt small { font-size: 12px; color: var(--nk-muted); }
.nk-mini-list__thumb { flex: none; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; }
.nk-mini-list__thumb .nk-art { width: 100%; height: 100%; }

.nk-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nk-social a { display: inline-flex; align-items: center; gap: 8px; }
.nk-social--grid { margin-top: 14px; }
.nk-social--grid a {
	width: 38px; height: 38px; justify-content: center; border-radius: 50%; border: 1px solid var(--nk-line); color: var(--nk-forest);
}
.nk-social--grid a:hover { background: var(--nk-deep); border-color: var(--nk-deep); color: var(--nk-gold-light); }

/* ---------- Page hero (halaman dalam) ---------- */
.nk-page-hero {
	position: relative; overflow: hidden; margin: 0 0 30px; color: var(--nk-pearl);
	background:
		radial-gradient(700px 240px at 90% 0%, rgba(102, 196, 151, .2), transparent 70%),
		linear-gradient(135deg, #0b4c42 0%, #052d24 50%, #021e17 100%);
	border-top: 1px solid rgba(217, 173, 75, .25); border-bottom: 1px solid rgba(217, 173, 75, .35);
}
.nk-page-hero::before {
	content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='240' viewBox='0 0 120 240'%3E%3Cpath d='M60 0c30 40-30 80 0 120s-30 80 0 120' fill='none' stroke='%232aa58a' stroke-opacity='.25' stroke-width='14' stroke-linecap='round'/%3E%3C/svg%3E");
	background-size: 120px 240px;
	mask-image: linear-gradient(90deg, transparent 10%, #000 70%);
	-webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 70%);
}
.nk-main > .nk-page-hero { margin-top: -6px; }
.nk-page-hero__inner { position: relative; display: flex; align-items: center; gap: 30px; padding-top: 34px; padding-bottom: 34px; }
.nk-page-hero__body { flex: 1; min-width: 0; }
.nk-page-hero__title { font-family: var(--nk-font-display); font-size: clamp(26px, 3.2vw, 38px); color: #fff; margin: 6px 0 10px; }
.nk-page-hero__lead { color: #c7e2da; max-width: 720px; margin: 0; }
.nk-page-hero__meta { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 13.5px; color: var(--nk-gold-light); }
.nk-page-hero__meta .nk-stars { font-size: 15px; }
.nk-page-hero__art {
	flex: none; width: 170px; height: 170px; border-radius: 18px; overflow: hidden;
	border: 1px solid rgba(217, 173, 75, .5); box-shadow: 0 0 0 6px rgba(217, 173, 75, .08), var(--nk-shadow-lg);
}
.nk-page-hero__art .nk-art { width: 100%; height: 100%; }

.nk-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; padding: 0; font-size: 13px; }
.nk-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: #9fc2b8; }
.nk-breadcrumb li + li::before { content: "›"; color: var(--nk-gold); }
.nk-breadcrumb a { color: var(--nk-gold-light); }
.nk-breadcrumb a:hover { color: #fff; }

/* ---------- TOC ---------- */
.nk-toc {
	margin: 0 0 22px; padding: 18px 22px; border-radius: var(--nk-radius); background: #fbf8ef;
	border: 1px solid rgba(217, 173, 75, .45);
}
.nk-toc__title { margin: 0 0 8px; font-weight: 700; color: var(--nk-ink); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.nk-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; font-size: 14px; }
.nk-toc li { margin-bottom: 4px; break-inside: avoid; }
.nk-toc li::marker { color: var(--nk-gold-dark); font-weight: 600; }

/* ---------- Related & CTA ---------- */
.nk-related { margin-top: 36px; }
.nk-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding: 24px 28px;
	border-radius: var(--nk-radius-lg); color: var(--nk-pearl);
	background: linear-gradient(120deg, #021e17, #0b4c42); border: 1px solid rgba(217, 173, 75, .4);
}
.nk-cta__title { color: #fff; font-family: var(--nk-font-display); font-size: 20px; margin-bottom: 4px; }
.nk-cta p { margin: 0; color: #c7e2da; font-size: 14px; }
.nk-cta .nk-btn { flex: none; }

/* ---------- Daftar (search/arsip) ---------- */
.nk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.nk-list__item { padding: 22px 26px; }
.nk-list__title { font-size: 19px; margin-bottom: 4px; }
.nk-list__title a { color: var(--nk-ink); }
.nk-list__title a:hover { color: var(--nk-teal); }
.nk-list__excerpt p { margin: 0; color: var(--nk-muted); }
.nk-meta { font-size: 13px; color: var(--nk-muted); margin-bottom: 10px; }
.nav-links { display: flex; gap: 6px; margin-top: 24px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid var(--nk-line); color: var(--nk-text); }
.nav-links .page-numbers.current { background: var(--nk-deep); color: var(--nk-gold-light); border-color: var(--nk-deep); }

/* ---------- Form (Contact Form 7, dll.) ---------- */
.nk-prose input[type="text"], .nk-prose input[type="email"], .nk-prose input[type="tel"], .nk-prose input[type="url"], .nk-prose textarea, .nk-prose select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--nk-line); border-radius: 8px; background: #fbfdfc; font-size: 14.5px;
}
.nk-prose input:focus, .nk-prose textarea:focus { outline: none; border-color: var(--nk-teal); box-shadow: 0 0 0 3px rgba(18, 128, 98, .15); }
.nk-prose input[type="submit"], .nk-prose .wpcf7-submit {
	padding: 12px 26px; border: 0; border-radius: 8px; background: var(--nk-gold-grad); color: var(--nk-ink); font-weight: 600; cursor: pointer;
}
.nk-prose .wpcf7 label { display: block; font-weight: 500; color: var(--nk-ink); }
.nk-prose .wpcf7-form p { margin-bottom: 14px; }

/* ---------- Footer ---------- */
.nk-footer {
	position: relative; color: #b9d3cb; font-size: 14px;
	background:
		radial-gradient(800px 260px at 10% 0%, rgba(42, 165, 138, .15), transparent 70%),
		linear-gradient(180deg, #052d24 0%, #021e17 100%);
	border-top: 3px solid transparent; border-image: var(--nk-gold-grad) 1;
}
.nk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 50px; padding-bottom: 40px; }
.nk-footer__logo { display: block; width: 240px; margin-bottom: 12px; }
.nk-footer__slogan { font-family: var(--nk-font-display); color: var(--nk-gold-light); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.nk-footer__title { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.nk-footer ul { list-style: none; margin: 0; padding: 0; }
.nk-footer__col li { margin-bottom: 8px; }
.nk-footer a { color: #cfe3dd; }
.nk-footer a:hover { color: var(--nk-gold-light); }
.nk-social--footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.nk-social--footer .nk-icon { color: var(--nk-gold-light); }
.nk-footer__mail { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.nk-footer__mail .nk-icon { color: var(--nk-gold-light); }
.nk-footer__bottom { border-top: 1px solid rgba(217, 173, 75, .18); background: rgba(0, 0, 0, .18); }
.nk-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; font-size: 13px; }
.nk-footer__bottom p { margin: 0; }
.nk-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

.nk-totop {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--nk-gold-grad); color: var(--nk-ink); box-shadow: var(--nk-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.nk-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.nk-totop:hover { color: var(--nk-ink); }

/* ---------- Block editor alignment ---------- */
.alignwide, .alignfull { max-width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image img { border-radius: var(--nk-radius); }
.wp-caption-text, figcaption { font-size: 13px; color: var(--nk-muted); text-align: center; }

/* ==========================================================================
   One-page: section konten di homepage
   ========================================================================== */
[id] { scroll-margin-top: 104px; }
.admin-bar [id] { scroll-margin-top: 136px; }
.nk-onepage { margin: 0 0 40px; display: grid; gap: 28px; }
.nk-onepage > *:last-child { margin-bottom: 0; }
.nk-sec {
	position: relative; background: var(--nk-card); border: 1px solid var(--nk-line); border-radius: var(--nk-radius-lg);
	padding: 30px 34px; box-shadow: var(--nk-shadow); margin: 0; overflow: hidden;
}
.nk-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--nk-gold-grad); }
.nk-sec > *:last-child, .nk-sec .wp-block-group__inner-container > *:last-child { margin-bottom: 0; }
.nk-prose .nk-sec h2 {
	display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding-bottom: 14px; font-size: 25px;
}
.nk-sec h2::before {
	content: ""; flex: none; width: 46px; height: 46px; border-radius: 12px;
	background-repeat: no-repeat, no-repeat; background-position: center, center; background-size: 24px 24px, cover;
	box-shadow: 0 0 0 3px rgba(217, 173, 75, .2);
}
.nk-sec h2 + p { color: var(--nk-muted); font-size: 15.5px; }
.nk-sec h2 + p strong { color: var(--nk-forest); font-weight: 600; }
.nk-prose .nk-sec h3 { position: relative; font-size: 18.5px; margin: 1.6em 0 .55em; padding-left: 14px; }
.nk-prose .nk-sec h3::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 3px; border-radius: 2px; background: var(--nk-gold); }
.nk-prose .nk-sec h4 { font-size: 16px; margin: 1.2em 0 .35em; color: var(--nk-forest); }
.nk-sec--policy blockquote { margin-top: 0; }
.nk-sec--mengenal h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d98b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c.5 4.5 2.5 6.5 9 9-6.5 2.5-8.5 4.5-9 9-.5-4.5-2.5-6.5-9-9 6.5-2.5 8.5-4.5 9-9z'/%3E%3C/svg%3E"), linear-gradient(135deg, #0b4c42, #021e17); }
.nk-sec--strategi h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d98b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h3v2h2V3h4v2h2V3h3v6h-2v12H7V9H5V3z'/%3E%3Cpath d='M10 21v-4a2 2 0 0 1 4 0v4'/%3E%3C/svg%3E"), linear-gradient(135deg, #0b4c42, #021e17); }
.nk-sec--aksi h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d98b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8z'/%3E%3C/svg%3E"), linear-gradient(135deg, #0b4c42, #021e17); }
.nk-sec--teka-teki h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d98b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3h4v2.5a1.5 1.5 0 1 0 3 0V3h4v7h-2.5a1.5 1.5 0 1 0 0 3H21v8h-7v-2.5a1.5 1.5 0 1 0-3 0V21H3v-8h2.5a1.5 1.5 0 1 0 0-3H3V3h7z'/%3E%3C/svg%3E"), linear-gradient(135deg, #0b4c42, #021e17); }
.nk-sec--petualangan h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d98b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15.5 8.5-2 5-5 2 2-5 5-2z'/%3E%3C/svg%3E"), linear-gradient(135deg, #0b4c42, #021e17); }
.nk-sec--about h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d98b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5L3 8z'/%3E%3C/svg%3E"), linear-gradient(135deg, #0b4c42, #021e17); }
.nk-sec--policy h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d98b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6l-8-3z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"), linear-gradient(135deg, #0b4c42, #021e17); }
.nk-sec--contact h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d98b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"), linear-gradient(135deg, #0b4c42, #021e17); }

/* Menu aktif (scrollspy) */
.nk-menu > li.is-active > a { color: var(--nk-gold-light); }
.nk-menu > li.is-active > a::after { transform: scaleX(1); }

/* Sorotan hasil cari di halaman */
.nk-hit { animation: nkHit 2.2s ease-out 1; }
@keyframes nkHit { 0%, 30% { box-shadow: 0 0 0 4px rgba(217, 173, 75, .65), var(--nk-shadow-lg); } 100% { box-shadow: var(--nk-shadow); } }
.nk-search-msg { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; padding: 10px 18px; border-radius: 8px; background: var(--nk-ink); color: var(--nk-gold-light); font-size: 14px; box-shadow: var(--nk-shadow-lg); }

@media (max-width: 760px) {
	[id] { scroll-margin-top: 84px; }
	.admin-bar [id] { scroll-margin-top: 84px; }
	.nk-sec { padding: 22px 18px; }
	.nk-prose .nk-sec h2 { font-size: 21px; gap: 10px; }
	.nk-sec h2::before { width: 38px; height: 38px; background-size: 20px 20px, cover; }
}

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1180px) {
	.nk-menu a { padding: 10px 9px; font-size: 14px; }
	.nk-menu > li > a::after { left: 9px; right: 9px; }
	.nk-logo, .custom-logo-link { width: 215px; }
	.nk-action__text { display: none; }
}

@media (max-width: 1024px) {
	.nk-header__inner { min-height: 74px; }
	.nk-nav-toggle { display: inline-flex; }
	.nk-header__actions { order: 2; }
	.nk-nav-toggle { order: 3; margin-left: 0; }
	.nk-brand { margin-right: auto; }
	.nk-nav {
		position: absolute; left: 0; right: 0; top: 100%; display: block; padding: 10px 20px 18px;
		background: var(--nk-deep); border-bottom: 1px solid rgba(217, 173, 75, .3); box-shadow: var(--nk-shadow-lg);
		visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .2s; max-height: calc(100vh - 120px); overflow-y: auto;
	}
	.nk-nav.is-open { visibility: visible; opacity: 1; transform: none; }
	.nk-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nk-menu > li + li { border-top: 1px solid rgba(227, 241, 239, .08); }
	.nk-menu a { padding: 13px 4px; font-size: 15px; }
	.nk-menu > li > a::after { display: none; }
	.nk-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; background: transparent; }

	.nk-layout { grid-template-columns: 1fr; }
	.nk-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.nk-grid--4, .nk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nk-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nk-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	body { font-size: 14.5px; }
	.nk-container { padding: 0 16px; }
	.nk-hide-sm { display: none; }
	.nk-topbar__inner { gap: 4px 20px; }
	.nk-logo, .custom-logo-link { width: 180px; }
	.nk-header__inner { gap: 12px; min-height: 66px; }
	.nk-action__icon { width: 40px; height: 40px; }

	.nk-searchbar { padding-top: 16px; }
	.nk-searchbar__inner { flex-direction: column; gap: 10px; }
	.nk-cats { flex: none; }
	.nk-cats__btn, .nk-search { height: 48px; }
	.nk-search__select { display: none; }
	.nk-search__btn { padding: 0 18px; }

	.nk-hero { padding: 26px 22px 22px; }
	.nk-hero::after { display: none; }
	.nk-grid { gap: 16px; }
	.nk-grid--4, .nk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nk-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
	.nk-tile a { flex-direction: column; padding: 14px; }
	.nk-styles { grid-template-columns: 1fr; }
	.nk-toolbar { flex-wrap: wrap; }
	.nk-panel { padding: 22px 18px; }
	.nk-prose { font-size: 15px; }
	.nk-prose h2 { font-size: 20px; }
	.nk-toc ol { columns: 1; }
	.nk-sidebar { grid-template-columns: 1fr; }
	.nk-page-hero__inner { padding-top: 26px; padding-bottom: 26px; }
	.nk-page-hero__art { width: 96px; height: 96px; border-radius: 14px; }
	.nk-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
	.nk-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
	.nk-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
	.nk-topbar__item:nth-child(2) { display: none; }
	.nk-card__title { font-size: 15px; }
	.nk-card__meta { font-size: 12px; }
	.nk-page-hero__art { display: none; }
}
