/* ==========================================================================
   Pesantren Theme 2026 — gaya utama
   Identitas: hijau hutan + hijau daun segar (selaras gedung dan lambang IIQ), pasir hangat, dan emas.
   Tipografi: DM Serif Display (judul, anggun) + DM Sans (isi, modern dan mudah dibaca) + Amiri (Arab).
   Motif khas: bingkai lengkung mihrab, kartu bulat besar, pola bintang halus.
   ========================================================================== */

:root {
	--forest-950: #04251a;
	--forest-900: #073a28;
	--forest-800: #0b5236;
	--leaf-700: #167a3f;
	--leaf-600: #1b8f4a;
	--leaf-500: #2ea85a;
	--leaf-400: #5cc884;
	--leaf-100: #e2f3e8;
	--leaf-50: #f1f9f3;
	--sand-50: #fbf8f1;
	--sand-100: #f3ecdc;
	--cream: #fbf1d9;
	--gold-600: #a9781a;
	--gold-500: #e0a62e;
	--gold-300: #f0cd7c;
	--ink: #13221b;
	--ink-soft: #34463d;
	--muted: #5e7167;
	--line: #dfe7dc;
	--paper: #ffffff;
	--shadow-sm: 0 1px 2px rgba(4, 37, 26, .06), 0 2px 8px rgba(4, 37, 26, .05);
	--shadow-md: 0 10px 30px rgba(4, 37, 26, .10);
	--shadow-lg: 0 24px 60px rgba(4, 37, 26, .26);
	--radius: 16px;
	--radius-lg: 24px;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: "DM Serif Display", Georgia, "Times New Roman", serif;
	--font-ar: "Amiri", "Traditional Arabic", serif;
	--header-h: 70px;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand-50); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.75; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--leaf-700); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--forest-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--forest-900); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; }
.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: -9999px; top: 8px; z-index: 1000; background: var(--gold-500); color: #000; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 2.5rem); }

/* ---------- Tombol & tautan ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: 700 .96rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-gold { background: var(--gold-500); color: #1d1503; box-shadow: 0 8px 20px rgba(224, 166, 46, .32); }
.btn-gold:hover { background: var(--gold-300); color: #1d1503; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.btn-primary { background: var(--forest-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-900); color: #fff; }
.btn-outline { background: transparent; color: var(--forest-800); border-color: var(--forest-800); }
.btn-outline:hover { background: var(--forest-800); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--leaf-700); }
.link-arrow .icon { transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .75rem; border-radius: 999px; background: var(--leaf-100); color: var(--forest-800); font-weight: 700; font-size: .74rem; letter-spacing: .03em; }
.chip .icon { width: 1em; height: 1em; }
.chip-gold { background: #fbefcf; color: #7b5710; }

/* ---------- Bilah atas ---------- */
.topbar { background: var(--forest-950); color: rgba(255, 255, 255, .78); font-size: .8rem; line-height: 1.4; border-bottom: 1px solid rgba(240, 205, 124, .22); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.topbar a:hover { color: var(--gold-300); }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.topbar-contact li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-contact .icon { width: 1em; height: 1em; color: var(--gold-300); }

/* ---------- Header & navigasi ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--leaf-500) 0%, var(--gold-500) 38%, rgba(224, 166, 46, 0) 70%); pointer-events: none; }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(4, 37, 26, .10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: var(--header-h); }
.header-inner.container { width: min(1280px, 100% - 2rem); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--forest-900); }
.brand-logo, .brand .custom-logo, .site-header .custom-logo, .site-footer .custom-logo { display: block; height: 50px !important; width: auto !important; max-width: none; object-fit: contain; }
.brand-badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); flex: none; }
.brand-badge .brand-logo, .brand-badge .custom-logo { height: 42px !important; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; padding-left: .85rem; border-left: 1px solid var(--line); }
.brand-light .brand-text { border-left-color: rgba(255, 255, 255, .22); }
.brand-name { font: 400 1.35rem/1.1 var(--font-head); color: var(--forest-900); }
.brand-sub { margin-top: .2rem; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }

.primary-nav { display: flex; align-items: center; gap: 1.1rem; }
.primary-nav .menu, .primary-nav .menu ul { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu { display: flex; align-items: center; gap: .1rem; }
.primary-nav .menu > li { position: relative; }
.primary-nav a { position: relative; display: block; padding: .7rem .85rem; font-weight: 600; font-size: .94rem; line-height: 1.4; color: var(--ink-soft); text-decoration: none; border-radius: 8px; transition: color .18s ease; }
.primary-nav .menu > li > a::before { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem; height: 2px; border-radius: 2px; background: var(--leaf-500); transform: scaleX(0); transform-origin: center; transition: transform .24s ease; }
.primary-nav .menu > li:hover > a, .primary-nav .menu > li:focus-within > a, .primary-nav .menu > li.is-open > a, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--forest-900); }
.primary-nav .menu > li:hover > a::before, .primary-nav .menu > li:focus-within > a::before, .primary-nav .menu > li.is-open > a::before, .primary-nav .menu > li.current-menu-item > a::before, .primary-nav .menu > li.current-menu-ancestor > a::before { transform: scaleX(1); }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: .45rem; width: .4em; height: .4em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); opacity: .7; }
.primary-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 260px; margin: 0; padding: .55rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--leaf-500); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 20; }
.primary-nav .menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.primary-nav .menu > li:hover > .sub-menu, .primary-nav .menu > li:focus-within > .sub-menu, .primary-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu li { position: relative; }
.primary-nav .sub-menu a { font-weight: 500; font-size: .92rem; padding: .6rem .8rem; white-space: normal; }
.primary-nav .sub-menu a:hover { background: var(--leaf-100); color: var(--forest-900); }
.primary-nav .sub-menu .sub-menu { top: -.6rem; left: calc(100% - .2rem); border-top-width: 1px; border-radius: var(--radius); }
.primary-nav .sub-menu > li:hover > .sub-menu, .primary-nav .sub-menu > li:focus-within > .sub-menu, .primary-nav .sub-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .menu > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: 0; }
.primary-nav .menu > li:nth-last-child(-n+3) .sub-menu .sub-menu { left: auto; right: calc(100% - .2rem); }
.nav-cta { margin-left: .4rem; padding: .7rem 1.3rem; font-size: .92rem; white-space: nowrap; }
.submenu-toggle { display: none; align-items: center; justify-content: center; width: 44px; border: 0; background: transparent; color: var(--forest-800); cursor: pointer; border-radius: 10px; }
.submenu-toggle:hover { background: var(--leaf-100); }
.submenu-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
.menu-item.is-open > .submenu-toggle svg { transform: rotate(180deg); }
@media (hover: none) and (min-width: 1081px) {
	.primary-nav .menu > li:hover > .sub-menu { opacity: 0; visibility: hidden; }
	.primary-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .menu-item-has-children { display: flex; align-items: center; }
	.submenu-toggle { display: inline-flex; width: 30px; height: 36px; margin-left: -.5rem; }
}
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; color: var(--forest-900); cursor: pointer; }
.nav-toggle:hover { background: var(--leaf-100); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline; }

/* ---------- Slider landscape ---------- */
.pst-slider { position: relative; overflow: hidden; background: var(--forest-950); color: #fff; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(480px, 50vw, 680px); opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 9s ease-out; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(4, 37, 26, .74) 0%, rgba(4, 37, 26, .5) 60%, rgba(4, 37, 26, .28) 100%), linear-gradient(0deg, rgba(4, 37, 26, .6) 0%, transparent 42%); }
/* Foto persegi/potret: latar buram + bingkai lengkung */
.slide.is-box .slide-bg, .slide.is-tall .slide-bg { inset: -30px; filter: blur(26px) saturate(1.15) brightness(.55); }
.slide-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; text-align: center; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; width: 100%; padding-block: clamp(2.4rem, 6vw, 5rem) clamp(6.2rem, 9vw, 7.8rem); }
.slide.is-box .slide-inner, .slide.is-tall .slide-inner { grid-template-columns: minmax(0, 620px) auto; justify-content: center; text-align: left; align-items: center; }
.bismillah { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.6 var(--font-ar); color: var(--gold-300); margin: 0 0 .3rem; direction: rtl; text-align: center; }
.slide-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-bottom: 1rem; }
.slide-date { font-size: .86rem; color: rgba(255, 255, 255, .8); }
.slide-title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.15; color: #fff; margin-bottom: .55em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.slide.is-welcome .slide-title { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.08; -webkit-line-clamp: 5; }
.slide-title a { color: inherit; text-decoration: none; }
.slide-title a:hover { text-decoration: underline; text-underline-offset: .15em; }
.slide-text { color: rgba(255, 255, 255, .9); font-size: clamp(1rem, 1.4vw, 1.14rem); max-width: 40em; margin-inline: auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1.6rem; }
.slide-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.slide.is-box .slide-meta, .slide.is-tall .slide-meta, .slide.is-box .slide-actions, .slide.is-tall .slide-actions { justify-content: flex-start; }
.slide-arch { margin: 0; width: min(340px, 32vw); aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; overflow: hidden; border: 4px solid rgba(255, 255, 255, .88); box-shadow: var(--shadow-lg); background: var(--forest-900); }
.slide-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eyebrow { display: inline-block; margin: 0 0 .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.eyebrow-dark { color: var(--gold-600); }

.slider-ui { position: absolute; left: 50%; bottom: 3.6rem; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.slider-dots { display: flex; align-items: center; gap: .5rem; }
.slider-dot { width: 11px; height: 11px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.slider-dot.is-active { width: 36px; background: var(--gold-500); }
.slider-btns { display: flex; align-items: center; gap: .5rem; }
.slider-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(4, 37, 26, .55); color: #fff; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.slider-btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: #1d1503; }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-pause .ic-play { display: none; }
.slider-pause[aria-pressed="true"] .ic-pause { display: none; }
.slider-pause[aria-pressed="true"] .ic-play { display: inline; }
.slider-progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, .15); z-index: 5; }
.slider-progress span { display: block; height: 100%; width: 0; background: var(--leaf-400); }
.slider-progress.is-running span { animation: pst-progress var(--interval, 7s) linear forwards; }
@keyframes pst-progress { from { width: 0; } to { width: 100%; } }

/* ---------- Akses cepat ---------- */
.quick-strip { position: relative; z-index: 6; margin-top: -2.2rem; padding-bottom: 2.4rem; background: linear-gradient(to bottom, transparent 0, transparent 2.2rem, var(--sand-50) 2.2rem); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quick-item { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s ease; }
.quick-item:hover { transform: translateY(-4px); border-color: var(--leaf-400); }
.quick-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px 14px 14px 4px; background: linear-gradient(135deg, var(--forest-800), var(--leaf-600)); color: #fff; }
.quick-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }
.quick-text strong { font-size: .98rem; color: var(--forest-900); }
.quick-text span { font-size: .8rem; color: var(--muted); }
.quick-item > .icon { color: var(--gold-600); }

/* ---------- Seksi & latar ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-white { background: var(--paper); }
.section-sand { background: var(--sand-50); }
.section-leaf { background: var(--leaf-50); }
.section-cream { background: var(--cream); }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-wrap: balance; }
.section-title-sm { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 0; display: inline-flex; align-items: center; gap: .6rem; }
.prose-lead { font-size: 1.14rem; color: var(--ink-soft); }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* pola bintang halus */
.has-pattern { position: relative; overflow: hidden; }
.has-pattern::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%230b5236' stroke-opacity='.08' stroke-width='1'%3E%3Cpath d='M48 5l13 13 18-5-5 18 13 13-13 13 5 18-18-5-13 13-13-13-18 5 5-18L5 48l13-13-5-18 18 5z'/%3E%3Ccircle cx='48' cy='48' r='10'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 60%); mask-image: linear-gradient(270deg, #000 0%, transparent 60%); }
.has-pattern > .container { position: relative; }

/* segmen gelap */
.section-dark { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 440px at 92% -10%, rgba(46, 168, 90, .26), transparent 62%), linear-gradient(160deg, var(--forest-900) 0%, var(--forest-950) 100%); }
.section-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23f0cd7c' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M48 5l13 13 18-5-5 18 13 13-13 13 5 18-18-5-13 13-13-13-18 5 5-18L5 48l13-13-5-18 18 5z'/%3E%3Ccircle cx='48' cy='48' r='10'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%); mask-image: linear-gradient(90deg, transparent 0%, #000 70%); }
.section-dark > .container { position: relative; }
.section-dark .section-title { color: #fff; }

/* ---------- Tentang ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-arch { position: relative; margin: 0; border-radius: 220px 220px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; aspect-ratio: 5 / 5.2; background: var(--forest-900); }
.about-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; display: block; }
.about-arch figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 2.4rem 1rem 1rem; color: #fff; font-size: .86rem; font-weight: 600; background: linear-gradient(0deg, rgba(4, 37, 26, .85), transparent); }
.about-arch figcaption .icon { width: 1em; height: 1em; color: var(--gold-300); }

/* ---------- Pilar ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pillar { position: relative; padding: 1.7rem 1.3rem 1.5rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .22s ease, background-color .22s ease, border-color .22s ease; }
.pillar:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .10); border-color: var(--leaf-400); }
.pillar-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1rem; border-radius: 999px 999px 14px 14px; background: var(--leaf-500); color: #fff; }
.pillar-icon .icon { width: 1.5rem; height: 1.5rem; }
.pillar-no { position: absolute; top: 1.1rem; right: 1.2rem; font: 400 1.9rem/1 var(--font-head); color: rgba(240, 205, 124, .55); }
.pillar h3 { color: #fff; font-size: 1.28rem; margin-bottom: .45rem; }
.pillar p { margin: 0; font-size: .93rem; line-height: 1.65; color: rgba(255, 255, 255, .8); }

/* ---------- Visi & misi ---------- */
.visi-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: stretch; }
.visi-card { display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(150deg, var(--forest-800), var(--forest-950)); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.visi-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 166, 46, .32), transparent 70%); }
.visi-quote { margin: 0; font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.2 var(--font-head); color: #fff; position: relative; z-index: 1; }
.visi-card .link-arrow { color: var(--gold-300); position: relative; z-index: 1; }
.misi-list { list-style: none; counter-reset: misi; margin: 0; padding: 0; display: grid; gap: 1rem; }
.misi-list li { counter-increment: misi; position: relative; padding: 1.1rem 1.2rem 1.1rem 4rem; background: var(--sand-50); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-soft); }
.misi-list li::before { content: counter(misi); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 999px 999px 8px 8px; background: var(--leaf-500); color: #fff; font: 400 1.2rem/1 var(--font-head); }

/* ---------- Statistik ---------- */
.stats-band { background: var(--leaf-50); border-top: 2px solid var(--leaf-500); border-bottom: 2px solid var(--leaf-500); padding: clamp(2.2rem, 4.5vw, 3.2rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat { padding: .6rem 1rem; }
.stat + .stat { border-left: 1px solid #cfe6d6; }
.stat-num { display: block; font: 400 clamp(2.4rem, 5vw, 3.6rem)/1.1 var(--font-head); color: var(--forest-800); }
.stat-label { display: block; margin-top: .3rem; font-size: .92rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

/* ---------- Kartu ---------- */
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--leaf-100); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.thumb-fallback { display: grid; place-items: center; width: 100%; height: 100%; min-height: 8rem; color: var(--leaf-700); background: linear-gradient(135deg, var(--leaf-100), var(--sand-100)); }
.thumb-fallback .icon { width: 2.6rem; height: 2.6rem; opacity: .5; }
.card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: var(--muted); }
.card-title { font-size: 1.22rem; margin: 0; line-height: 1.3; }
.card-title a { color: var(--forest-900); text-decoration: none; }
.card-title a:hover { color: var(--leaf-700); text-decoration: underline; }
.card-excerpt { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.65; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-featured { grid-column: span 2; grid-row: span 2; }
.news-featured .card-media { aspect-ratio: 16 / 9; }
.news-featured .card-title { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.award-card { border-top: 3px solid var(--gold-500); border-color: #ecdfb9; }
.award-card:hover { border-color: var(--gold-500); }
.award-card .card-title { font-size: 1.05rem; }

/* ---------- Mozaik galeri ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); display: block; background: var(--forest-900); box-shadow: var(--shadow-sm); }
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 37, 26, .88) 100%); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.2rem; }
.tile-title { color: #fff; font: 400 1.02rem/1.3 var(--font-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile:nth-child(1) .tile-title { font-size: 1.35rem; }

/* ---------- Kesan ---------- */
.quotes { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
.quotes-1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.quotes-3 { grid-template-columns: repeat(3, 1fr); }
.quote-card { position: relative; margin: 0; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); display: flex; flex-direction: column; gap: 1.2rem; }
.quote-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px 999px 12px 12px; background: var(--gold-500); color: #1d1503; }
.quote-card blockquote { margin: 0; font: 400 clamp(1.1rem, 1.7vw, 1.3rem)/1.6 var(--font-head); color: #fff; }
.quote-card figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.quote-card figcaption strong { color: var(--gold-300); font-size: 1rem; }
.quote-card figcaption span { font-size: .86rem; color: rgba(255, 255, 255, .72); }

/* ---------- Pengasuh & pengurus ---------- */
.people-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.person-card { width: 220px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.2rem 1rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--leaf-400); }
.person-photo { display: block; width: 150px; height: 190px; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--leaf-100); margin: 0 0 .9rem; border: 3px solid var(--leaf-100); box-shadow: 0 0 0 2px var(--gold-300); flex: none; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.person-card:hover .person-photo img { transform: scale(1.05); }
.person-card h3 { font: 400 1.08rem/1.3 var(--font-head); margin: 0 0 .2rem; }
.person-card h3 a { color: var(--forest-900); text-decoration: none; }
.person-card h3 a:hover { color: var(--leaf-700); text-decoration: underline; }
.people-more { text-align: center; margin: 1.8rem 0 0; }

/* ---------- Ajakan ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--forest-800) 0%, var(--leaf-600) 100%); color: #fff; padding: clamp(2.8rem, 5vw, 4rem) 0; }
.cta-band::before { content: ""; position: absolute; right: -90px; top: -90px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 205, 124, .35), transparent 70%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .35rem; max-width: 26ch; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Halaman dalam ---------- */
.page-hero { background: linear-gradient(135deg, var(--forest-950), var(--forest-800)); color: #fff; padding: clamp(2.4rem, 5vw, 3.8rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 166, 46, .28), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0; text-wrap: balance; }
.page-title-dark { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-desc { margin-top: .6rem; color: rgba(255, 255, 255, .82); }
.article-meta { margin: .9rem 0 0; color: rgba(255, 255, 255, .8); font-size: .92rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.page-search { margin-top: 1.2rem; max-width: 520px; }
.article-body { padding: clamp(2rem, 5vw, 3.2rem) 0 clamp(3rem, 6vw, 4.5rem); }
.article-figure { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.article-figure img { display: block; width: 100%; }
.breadcrumbs { margin: 0 0 1rem; font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; color: rgba(255, 255, 255, .78); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: rgba(255, 255, 255, .4); }
.breadcrumbs a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-300); text-decoration: underline; }
.breadcrumbs [aria-current] span { color: var(--gold-300); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Artikel bergaya berita */
.news-hero { padding-bottom: clamp(2.6rem, 5vw, 3.6rem); }
.news-hero.has-cover { padding-bottom: clamp(5rem, 9vw, 6.5rem); }
.news-kicker { margin: 0 0 .9rem; }
.news-title { font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.18; max-width: 30ch; text-wrap: balance; }
.news-hero .article-meta { align-items: center; margin-top: 1.1rem; }
.news-hero .article-meta .icon { width: 1.05em; height: 1.05em; color: var(--gold-300); }
.news-cover-wrap { position: relative; z-index: 2; width: min(980px, 100% - 2.5rem); margin: calc(-1 * clamp(3rem, 6vw, 4.6rem)) auto 0; }
.news-cover { position: relative; margin: 0; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-lg); background: var(--forest-900); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .5); }
.news-cover img { position: relative; display: block; max-width: 100%; height: auto; }
.news-cover.is-wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-cover.is-box { padding: clamp(.8rem, 2vw, 1.4rem); }
.news-cover.is-box img { width: auto; max-height: min(560px, 72vh); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.news-cover-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(30px) brightness(.55) saturate(1.2); transform: scale(1.1); }
.news-body { padding-block: clamp(1.6rem, 4vw, 2.6rem) clamp(2.8rem, 6vw, 4.5rem); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.share-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .3rem; }
.share-btn { display: inline-flex; align-items: center; padding: .4rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--forest-800); font: 600 .84rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.share-btn:hover { border-color: var(--leaf-500); background: var(--leaf-50); color: var(--forest-900); }
.share-btn.is-done { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.entry-content { font-size: 1.1rem; line-height: 1.85; color: var(--ink); max-width: 70ch; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 1.8rem; margin-top: 2em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.8em; }
.entry-content img { border-radius: var(--radius); height: auto; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-caption-text { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.entry-content blockquote { margin-inline: 0; padding: 1rem 1.4rem; border-left: 4px solid var(--gold-500); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--forest-900); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .96rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: .65rem .8rem; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--leaf-100); color: var(--forest-900); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .3em; }
.entry-content [dir="rtl"], .entry-content .arab { font-family: var(--font-ar); font-size: 1.5em; line-height: 2; }
.news-content { max-width: 68ch; margin-inline: auto; font-size: 1.12rem; line-height: 1.9; color: #1b2d24; }
.news-content > p:first-of-type { font-size: 1.22rem; line-height: 1.8; color: var(--ink); }
.news-content > p:first-of-type::first-line { font-weight: 700; }
.news-content p { margin-bottom: 1.25em; }
.news-content strong { color: var(--forest-900); }
.news-content h2, .news-content h3 { margin-top: 2em; }
.news-content a { color: var(--leaf-700); }
.news-gallery { max-width: 68ch; margin: 2.4rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.news-gallery h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; margin: 0 0 1.1rem; }
.news-gallery h2 .icon { color: var(--gold-600); }
.gallery-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-count-1 { grid-template-columns: minmax(0, 1fr); }
.gallery-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--leaf-100); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.gallery-count-1 .gallery-item { aspect-ratio: 16 / 10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 600; }
.post-nav div:last-child { text-align: right; }
.post-nav a { text-decoration: none; }
.article-news .post-nav { max-width: 68ch; margin-inline: auto; }
.section-head-row.section-head { margin-bottom: 1.4rem; max-width: none; }

/* Profil pengurus */
.profile-hero .container { position: relative; }
.profile-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: start; padding-block: clamp(2rem, 5vw, 3.6rem) clamp(2.6rem, 6vw, 4.5rem); }
.profile-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; background: var(--leaf-100); box-shadow: var(--shadow-md); border: 6px solid #fff; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.profile-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.profile-block h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.35rem; margin: 0 0 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.profile-block h2::before { content: ""; width: 4px; height: 1.15em; border-radius: 2px; background: var(--leaf-500); }
.profile-others .section-title { margin-bottom: 1.4rem; }

/* Formulir & komentar */
.search-form { display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; box-shadow: var(--shadow-sm); }
.search-field { flex: 1; min-width: 0; padding: .85rem 1.2rem; border: 0; background: transparent; font: inherit; color: var(--ink); }
.search-field:focus { outline: none; }
.search-form:focus-within { border-color: var(--leaf-500); box-shadow: 0 0 0 3px rgba(46, 168, 90, .25); }
.search-submit { border: 0; background: var(--forest-800); color: #fff; padding: 0 1.3rem; cursor: pointer; }
.search-submit:hover { background: var(--forest-900); }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea, select { font: inherit; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.comment-respond .submit { background: var(--forest-800); color: #fff; border: 0; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; cursor: pointer; }
.comments { margin-top: 3rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { margin-bottom: 1.2rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.comment-list .children { list-style: none; padding-left: 1rem; margin-top: 1rem; }
.navigation.pagination { margin-top: 2.6rem; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--forest-800); font-weight: 700; text-decoration: none; }
.page-numbers:hover { border-color: var(--leaf-500); }
.page-numbers.current { background: var(--forest-800); color: #fff; border-color: var(--forest-800); }
.page-numbers.dots { border: 0; background: transparent; }
.not-found .big-404 { font: 400 clamp(5rem, 16vw, 9rem)/1 var(--font-head); color: var(--leaf-500); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: rgba(255, 255, 255, .78); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(2.6rem, 5vw, 4rem) 0; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--gold-300); }
.footer-brand p { margin-top: 1.1rem; font-size: .96rem; max-width: 36ch; }
.footer-title { font: 700 .82rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1rem; }
.footer-menu, .contact-list, .social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.social-list { grid-auto-flow: column; justify-content: start; gap: .9rem; margin-top: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; }
.contact-list .icon { margin-top: .25rem; color: var(--gold-300); }
.footer-wa { margin-top: 1rem; color: #1d1503 !important; text-decoration: none !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.2rem 0; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

/* ---------- Animasi muncul ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.slide-bg { transform: none !important; }
	.slider-progress { display: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1279px) {
	.brand-sub { letter-spacing: .12em; }
	.primary-nav a { padding: .7rem .6rem; font-size: .9rem; }
	.nav-cta { padding: .62rem 1.05rem; }
}
@media (max-width: 1180px) {
	.pillars { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
	:root { --header-h: 60px; }
	.nav-toggle { display: inline-grid; place-items: center; }
	.primary-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .6rem; padding: 1rem 1.25rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto; display: none; }
	.nav-open .primary-nav { display: flex; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; }
	.primary-nav a { padding: .8rem .9rem; font-size: .98rem; }
	.primary-nav .menu > li > a::before { display: none; }
	.primary-nav .menu-item-has-children > a::after, .primary-nav .sub-menu .menu-item-has-children > a::after { display: none; }
	.primary-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: stretch; }
	.primary-nav .menu-item-has-children > a { flex: 1 1 0; min-width: 0; }
	.submenu-toggle { display: inline-flex; width: 48px; flex: none; border-radius: 12px; }
	.primary-nav .sub-menu, .primary-nav .sub-menu .sub-menu { display: none; flex-basis: 100%; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; margin: 0 0 .3rem .9rem; padding: 0 0 0 1rem; min-width: 0; max-height: none; border-left: 2px solid var(--line); left: auto; right: auto; }
	.primary-nav .menu > li > .sub-menu::before { display: none; }
	.primary-nav .menu-item.is-open > .sub-menu { display: block; }
	.primary-nav .sub-menu li { position: static; }
	.primary-nav .sub-menu .menu-item-has-children { display: flex; }
	.nav-cta { display: inline-flex; margin: .3rem 0 0; }
	.brand-logo, .brand .custom-logo, .site-header .custom-logo { height: 44px !important; }
	.quick-grid { grid-template-columns: repeat(2, 1fr); }
	.about-grid, .visi-grid { grid-template-columns: 1fr; }
	.about-arch { max-width: 520px; margin-inline: auto; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.profile-grid { grid-template-columns: 1fr; }
	.profile-photo { max-width: 260px; margin-inline: auto; }
}
@media (max-width: 900px) {
	.slide { min-height: 0; align-items: stretch; }
	.slide-inner, .slide.is-box .slide-inner, .slide.is-tall .slide-inner { grid-template-columns: 1fr; gap: 1.2rem; padding-block: 1.8rem 7.2rem; align-items: center; text-align: center; }
	.slide.is-box .slide-meta, .slide.is-tall .slide-meta, .slide.is-box .slide-actions, .slide.is-tall .slide-actions { justify-content: center; }
	.slide.is-welcome .slide-inner { padding-block: 3rem 7.2rem; }
	.slide-arch { order: -1; width: 190px; justify-self: center; }
	.slide-title { font-size: clamp(1.5rem, 5.2vw, 2rem); -webkit-line-clamp: 3; }
	.slide.is-welcome .slide-title { font-size: clamp(2rem, 8vw, 2.8rem); }
	.news-grid { grid-template-columns: repeat(2, 1fr); }
	.news-featured { grid-column: span 2; grid-row: auto; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.pillars { grid-template-columns: repeat(2, 1fr); }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid #cfe6d6; padding-top: 1.2rem; }
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
	.quotes, .quotes-3 { grid-template-columns: 1fr; }
	.topbar-links { display: none; }
}
@media (max-width: 620px) {
	body { font-size: 1.03rem; }
	.brand-logo, .brand .custom-logo, .site-header .custom-logo { height: 40px !important; }
	.brand-text { padding-left: .7rem; }
	.brand-name { font-size: 1.15rem; }
	.grid-3, .grid-4, .news-grid { grid-template-columns: 1fr; }
	.news-featured { grid-column: auto; }
	.quick-grid { grid-template-columns: 1fr; }
	.quick-strip { margin-top: -1.6rem; }
	.pillars { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.btn-row .btn, .slide-actions .btn, .cta-actions .btn { width: 100%; }
	.slider-ui { gap: .4rem; }
	.slider-btn { width: 38px; height: 38px; }
	.slider-dot.is-active { width: 24px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav div:last-child { text-align: left; }
	.section-head-row { align-items: flex-start; }
	.mosaic { grid-auto-rows: 150px; }
	.tile:nth-child(1) { grid-column: span 2; grid-row: span 1; border-radius: var(--radius-lg); }
	.topbar-inner { justify-content: center; }
	.news-cover-wrap { width: calc(100% - 1.5rem); }
	.news-content { font-size: 1.05rem; line-height: 1.85; }
	.news-content > p:first-of-type { font-size: 1.1rem; }
	.share-label { width: 100%; }
	.gallery-count-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.person-card { width: calc(50% - .7rem); padding: .9rem .6rem 1rem; }
	.person-photo { width: 110px; height: 140px; }
}

/* Halaman dalam: pita kategori & jarak ringkas */
.section-compact { padding: clamp(2rem, 4vw, 3rem) 0; }
.cat-chips { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.cat-chips a { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line, rgba(4, 37, 26, .12)); color: var(--forest-900); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.cat-chips a span { font-size: .75rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; background: var(--leaf-50); color: var(--leaf-600); }
.cat-chips a:hover, .cat-chips a[aria-current] { background: var(--forest-800); border-color: var(--forest-800); color: #fff; transform: translateY(-1px); }
.cat-chips a:hover span, .cat-chips a[aria-current] span { background: rgba(255, 255, 255, .18); color: #fff; }
