/*
Theme Name: Tawakkal Ceria
Theme URI: https://kbtkit-tawakkal.com
Author: KBIT – TKIT Tawakkal
Description: Theme WordPress ceria & responsif untuk KBIT – TKIT Tawakkal Ngadirojo, Pacitan (anggota JSIT). Dilengkapi slider beranda, program unggulan, jenjang, guru, galeri + lightbox, agenda, testimoni, unduhan, PPDB online (data masuk dashboard + ekspor CSV), formulir kontak, tombol WhatsApp, serta importir konten demo sekali klik. Semua teks, gambar, dan warna dapat diubah lewat Tampilan → Sesuaikan.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: tawakkal
Tags: education, school, kids, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Token
   ========================================================================== */
:root {
	--c-primary: #F28C28;
	--c-secondary: #2E9E58;
	--c-accent: #E84A8A;
	--c-yellow: #FFC83D;
	--c-dark: #2B2D42;
	--c-blue: #3AA0D8;
	--c-purple: #8E6CDF;
	--c-teal: #22B5A7;
	--c-red: #F25F5C;
	--c-cream: #FFF7EC;
	--c-text: #4A4E69;
	--c-muted: #7A7F9A;
	--c-border: #F1E6D6;
	--c-white: #fff;
	--c-footer: color-mix(in srgb, var(--c-secondary) 45%, #0d2418);

	--f-head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
	--f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius-sm: 12px;
	--radius: 22px;
	--radius-lg: 32px;
	--shadow-sm: 0 4px 14px rgba(43, 45, 66, .07);
	--shadow: 0 14px 40px rgba(43, 45, 66, .10);
	--shadow-lg: 0 24px 60px rgba(43, 45, 66, .16);
	--header-h: 84px;
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(.22, 1, .36, 1);
}

/* ==========================================================================
   2. Dasar
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--c-secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-head);
	color: var(--c-dark);
	line-height: 1.2;
	margin: 0 0 .5em;
	font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-yellow); color: var(--c-dark); }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--c-dark); color: #fff; padding: 10px 18px; border-radius: 10px; }
.text-center { text-align: center; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }

.section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.section--cream { background: var(--c-cream); }
.section--green {
	background: var(--c-secondary);
	background-image: radial-gradient(rgba(255,255,255,.12) 2px, transparent 2px);
	background-size: 26px 26px;
	color: rgba(255,255,255,.9);
}
.section--green .section-title, .section--green h3 { color: #fff; }
.section--green .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.section--green .section-text { color: rgba(255,255,255,.85); }
.section-cta { text-align: center; margin-top: 44px; }

.section-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-heading.is-left { text-align: left; margin-left: 0; margin-bottom: 24px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--f-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
	color: var(--c-primary);
	background: color-mix(in srgb, var(--c-primary) 13%, white);
	padding: 4px 16px; border-radius: 99px; margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eyebrow--light { color: #fff; background: rgba(255,255,255,.2); }
.section-title { margin-bottom: 12px; }
.section-text { color: var(--c-muted); font-size: 1.08rem; margin: 0; }
.empty { color: var(--c-muted); text-align: center; padding: 20px; }

/* Grid */
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--features { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grid--programs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
.grid--teachers { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.grid--stats { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   3. Tombol
   ========================================================================== */
.btn {
	--btn-bg: var(--c-primary); --btn-fg: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 26px; border-radius: 99px; border: 2px solid var(--btn-bg);
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; line-height: 1.3;
	text-decoration: none; cursor: pointer;
	box-shadow: 0 6px 0 color-mix(in srgb, var(--btn-bg) 70%, black);
	transition: transform .15s var(--ease), box-shadow .15s, background .2s, color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 8px 0 color-mix(in srgb, var(--btn-bg) 70%, black); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 color-mix(in srgb, var(--btn-bg) 70%, black); }
.btn--secondary { --btn-bg: var(--c-secondary); }
.btn--accent { --btn-bg: var(--c-accent); }
.btn--yellow { --btn-bg: var(--c-yellow); --btn-fg: var(--c-dark); }
.btn--wa { --btn-bg: #25D366; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-secondary); }
.btn--outline { background: transparent; --btn-fg: var(--c-primary); color: var(--c-primary); box-shadow: none; }
.btn--outline:hover { background: var(--c-primary); color: #fff; box-shadow: none; }
.btn--small { padding: 8px 18px; font-size: .92rem; box-shadow: 0 4px 0 color-mix(in srgb, var(--btn-bg) 70%, black); }
.btn--small.btn--outline { box-shadow: none; }
.btn--lg { padding: 15px 32px; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--c-primary); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.icon-btn {
	width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-grid; place-items: center;
	background: var(--c-cream); color: var(--c-dark); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--c-primary); color: #fff; }

/* ==========================================================================
   4. Topbar, Header, Navigasi
   ========================================================================== */
.topbar { background: var(--c-secondary); color: #fff; font-size: .88rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.topbar__info li { display: flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--c-yellow); }

.social-links { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-links a {
	width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(255,255,255,.14); color: #fff; transition: background .2s, transform .2s;
}
.social-links a:hover { background: var(--c-primary); color: #fff; transform: translateY(-3px); }
.social-links--small a { width: 30px; height: 30px; background: rgba(255,255,255,.15); }
.social-links--small .icon { width: 15px; height: 15px; }

.site-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(255,255,255,.96);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(43,45,66,.08); border-color: var(--c-border); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.site-brand { flex-shrink: 0; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-height: 58px; max-width: 220px; object-fit: contain; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; }

.primary-nav { margin-left: auto; }
.primary-nav__head, .primary-nav__foot { display: none; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a {
	display: flex; align-items: center; gap: 4px;
	padding: 10px 13px; border-radius: 99px;
	font-family: var(--f-head); font-weight: 600; font-size: 1.04rem; color: var(--c-dark);
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a,
.primary-nav .menu > .current_page_item > a { color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 10%, white); }
.primary-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 4px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.primary-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
	list-style: none; margin: 0; padding: 10px;
	background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .2s, transform .25s var(--ease), visibility .2s;
	z-index: 20;
}
.primary-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.primary-nav .sub-menu .sub-menu { top: -10px; left: 100%; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: 9px 14px; border-radius: 12px; font-size: .98rem; font-weight: 600; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu .current-menu-item > a { background: var(--c-cream); color: var(--c-primary); }
.submenu-toggle { display: none; }

.search-panel { border-top: 1px solid var(--c-border); padding: 16px 0; background: #fff; }
.search-form { display: flex; gap: 8px; background: #fff; border: 2px solid var(--c-border); border-radius: 99px; padding: 5px 5px 5px 20px; }
.search-form:focus-within { border-color: var(--c-primary); }
.search-field { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; }
.search-submit { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c-primary); color: #fff; display: grid; place-items: center; }
.nav-overlay { display: none; }

/* Ticker */
.ticker { background: var(--c-yellow); color: var(--c-dark); font-weight: 700; font-size: .95rem; }
.ticker__inner { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.ticker__label {
	flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
	background: var(--c-dark); color: #fff; padding: 3px 14px; border-radius: 99px; font-family: var(--f-head);
}
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: inline-flex; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { padding-right: 56px; position: relative; }
.ticker__item::after { content: "★"; position: absolute; right: 22px; color: var(--c-primary); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; background: var(--c-cream); overflow: hidden; }
.hero__slides { display: grid; }
.hero__slide {
	grid-area: 1 / 1; position: relative; display: flex; align-items: center;
	min-height: clamp(540px, 78vh, 760px);
	opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero__slide::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(255,247,236,.9) 0%, rgba(255,247,236,.55) 38%, rgba(255,247,236,0) 62%);
}
.hero__content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 110px; }
.hero__card { max-width: 590px; }
.hero__slide.is-active .hero__card > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__card > *:nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__card > *:nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__card > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff; color: var(--c-secondary); font-weight: 800; font-size: .92rem;
	padding: 6px 16px; border-radius: 99px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.hero__badge .icon { color: var(--c-yellow); fill: var(--c-yellow); }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.08; margin-bottom: 16px; color: var(--c-dark); }
.hero__text { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--c-text); max-width: 520px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__controls {
	position: absolute; z-index: 5; left: 50%; bottom: 74px; transform: translateX(-50%);
	display: flex; align-items: center; gap: 14px;
}
.hero__arrow {
	width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: #fff; color: var(--c-dark); box-shadow: var(--shadow-sm); transition: background .2s, color .2s;
}
.hero__arrow:hover { background: var(--c-primary); color: #fff; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 12px; height: 12px; border-radius: 99px; border: 0; padding: 0; background: rgba(43,45,66,.25); transition: width .3s, background .3s; }
.hero__dot.is-active { width: 34px; background: var(--c-primary); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 3; fill: #fff; }

/* ==========================================================================
   6. Section beranda
   ========================================================================== */
.is-orange { --tone: var(--c-primary); }
.is-green  { --tone: var(--c-secondary); }
.is-pink   { --tone: var(--c-accent); }
.is-blue   { --tone: var(--c-blue); }
.is-purple { --tone: var(--c-purple); }
.is-yellow { --tone: #E8A600; }
.is-teal   { --tone: var(--c-teal); }
.is-red    { --tone: var(--c-red); }

/* Keunggulan */
.section--features { padding-top: clamp(40px, 5vw, 64px); }
.feature-card {
	position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px 26px;
	border: 2px solid color-mix(in srgb, var(--tone) 18%, white);
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--tone); }
.feature-card__icon {
	width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px;
	background: color-mix(in srgb, var(--tone) 15%, white); color: var(--tone);
	transform: rotate(-6deg); transition: transform .3s var(--ease);
}
.feature-card:hover .feature-card__icon { transform: rotate(0) scale(1.06); }
.feature-card__icon .icon { width: 30px; height: 30px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; color: var(--c-muted); font-size: .98rem; }

/* Tentang */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__principal {
	position: absolute; z-index: 2; left: -10px; bottom: -28px;
	display: flex; align-items: center; gap: 14px; max-width: 330px;
	background: #fff; padding: 12px 22px 12px 12px; border-radius: 99px; box-shadow: var(--shadow);
}
.about__principal img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-yellow); }
.about__principal strong { display: block; font-family: var(--f-head); color: var(--c-dark); font-size: 1.05rem; line-height: 1.2; }
.about__principal span { font-size: .86rem; color: var(--c-muted); line-height: 1.3; display: block; }
.blob { position: absolute; border-radius: 50%; z-index: 0; }
.blob--1 { width: 180px; height: 180px; right: -36px; top: -36px; background: var(--c-yellow); opacity: .5; }
.prose p { color: var(--c-text); }

/* Program */
.program-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-sm); border-bottom: 6px solid var(--tone);
	transition: transform .3s var(--ease), box-shadow .3s;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.program-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.program-card:hover .program-card__media img { transform: scale(1.06); }
.program-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.program-card__body p { color: var(--c-muted); font-size: .97rem; }
.program-card__body .btn { margin-top: auto; align-self: flex-start; --btn-bg: var(--tone); color: var(--tone); }
.program-card__body .btn:hover { color: #fff; background: var(--tone); }
.program-card__age {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
	background: color-mix(in srgb, var(--tone) 14%, white); color: var(--tone);
	font-weight: 800; font-size: .85rem; padding: 4px 12px; border-radius: 99px; margin-bottom: 10px;
}
.program-card h3 a { color: var(--c-dark); }
.program-card h3 a:hover { color: var(--tone); }
.program-card__time { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--c-dark) !important; }

/* Statistik */
.stats {
	background: linear-gradient(120deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 55%, var(--c-accent)));
	color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.stats::before, .stats::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); }
.stats::before { width: 300px; height: 300px; left: -80px; top: -150px; }
.stats::after { width: 220px; height: 220px; right: -60px; bottom: -110px; }
.stat { text-align: center; position: relative; z-index: 1; }
.stat__icon { width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.stat__icon .icon { width: 28px; height: 28px; }
.stat__number { font-family: var(--f-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; }
.stat__plus { font-family: var(--f-head); font-size: 2rem; font-weight: 800; color: var(--c-yellow); }
.stat__label { display: block; font-weight: 700; opacity: .92; margin-top: 4px; }

/* Jadwal */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; counter-reset: step; }
.timeline__item {
	display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius);
	padding: 22px; border: 2px dashed var(--c-border); transition: border-color .3s, transform .3s var(--ease);
}
.timeline__item:hover { border-color: var(--c-primary); transform: translateY(-4px); }
.timeline__icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--c-cream); color: var(--c-primary); }
.timeline__item:nth-child(3n+2) .timeline__icon { color: var(--c-secondary); background: color-mix(in srgb, var(--c-secondary) 12%, white); }
.timeline__item:nth-child(3n+3) .timeline__icon { color: var(--c-accent); background: color-mix(in srgb, var(--c-accent) 12%, white); }
.timeline__time { display: inline-block; font-weight: 800; font-size: .85rem; color: #fff; background: var(--c-dark); padding: 2px 10px; border-radius: 99px; margin-bottom: 6px; }
.timeline__body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.timeline__body p { margin: 0; color: var(--c-muted); font-size: .94rem; line-height: 1.55; }

/* Galeri */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.chip {
	padding: 7px 18px; border-radius: 99px; background: #fff; border: 2px solid var(--c-border);
	font-weight: 800; font-size: .93rem; color: var(--c-dark); transition: all .2s;
}
.chip:hover, .chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.layout-sidebar .chips { justify-content: flex-start; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item > a { display: block; position: relative; aspect-ratio: 1; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__zoom {
	position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
	background: color-mix(in srgb, var(--c-primary) 55%, transparent); opacity: 0; transition: opacity .3s;
}
.gallery-item__zoom .icon { width: 40px; height: 40px; }
.gallery-item:hover .gallery-item__zoom { opacity: 1; }
.gallery-item figcaption { padding: 12px 16px 14px; line-height: 1.35; }
.gallery-item figcaption a { font-family: var(--f-head); font-weight: 700; color: var(--c-dark); display: block; }
.gallery-item figcaption span { font-size: .82rem; color: var(--c-muted); font-weight: 700; }

/* Agenda & pengumuman */
.agenda-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); border-top: 6px solid var(--c-secondary); }
.panel--pink { border-top-color: var(--c-accent); }
.panel__title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin-bottom: 18px; }
.panel__title .icon { color: var(--c-secondary); }
.panel--pink .panel__title .icon { color: var(--c-accent); }
.agenda-list, .announce-list { list-style: none; margin: 0 0 18px; padding: 0; }
.agenda-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--c-border); }
.agenda-item:last-child { border-bottom: 0; }
.agenda-item h3 { font-size: 1.08rem; margin: 0 0 2px; }
.agenda-item h3 a { color: var(--c-dark); }
.agenda-item h3 a:hover { color: var(--c-primary); }
.agenda-item__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: .87rem; color: var(--c-muted); }
.agenda-item__meta span { display: inline-flex; align-items: center; gap: 5px; }
.date-badge {
	flex-shrink: 0; width: 62px; height: 66px; border-radius: 16px; text-align: center;
	background: var(--c-secondary); color: #fff; display: flex; flex-direction: column; justify-content: center; line-height: 1;
	box-shadow: 0 5px 0 color-mix(in srgb, var(--c-secondary) 65%, black);
}
.date-badge strong { font-family: var(--f-head); font-size: 1.7rem; }
.date-badge span { font-size: .78rem; font-weight: 800; text-transform: uppercase; margin-top: 2px; }
.announce-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--c-border); align-items: flex-start; }
.announce-list li:last-child { border-bottom: 0; }
.announce-list__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c-accent) 12%, white); color: var(--c-accent); }
.announce-list a { font-weight: 800; color: var(--c-dark); line-height: 1.35; display: block; }
.announce-list a:hover { color: var(--c-accent); }
.announce-list time { font-size: .84rem; color: var(--c-muted); }

/* Guru */
.teacher-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 28px 22px; color: var(--c-text); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.teacher-card:hover { transform: translateY(-6px); }
.section--green .teacher-card h3 { color: var(--c-dark); }
.teacher-card__photo {
	width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; padding: 6px;
	background: conic-gradient(var(--c-primary), var(--c-yellow), var(--c-secondary), var(--c-accent), var(--c-primary));
}
.teacher-card__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.teacher-card h3 { font-size: 1.18rem; margin-bottom: 2px; }
.teacher-card__role { color: var(--c-primary); font-weight: 800; font-size: .9rem; margin: 0 0 8px; }
.teacher-card__quote { font-style: italic; color: var(--c-muted); font-size: .92rem; margin: 0; }

/* Testimoni (carousel scroll-snap) */
.testi-slider { position: relative; }
.carousel-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 24px;
	scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.testi-card {
	scroll-snap-align: start; margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 30px;
	box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column;
}
.testi-card::before {
	content: "“"; position: absolute; right: 24px; top: 0; font-family: Georgia, serif; font-size: 7rem; line-height: 1;
	color: color-mix(in srgb, var(--c-primary) 18%, white);
}
.testi-card__stars { color: var(--c-yellow); display: flex; gap: 2px; margin-bottom: 12px; }
.testi-card__stars .icon { fill: currentColor; width: 20px; height: 20px; }
.testi-card blockquote { margin: 0 0 20px; font-size: 1rem; color: var(--c-text); flex: 1; }
.testi-card blockquote p:last-child { margin: 0; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--c-border); }
.testi-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi-card figcaption strong { display: block; font-family: var(--f-head); color: var(--c-dark); font-size: 1.05rem; }
.testi-card figcaption span { font-size: .87rem; color: var(--c-muted); line-height: 1.35; }
.carousel-nav { display: flex; justify-content: center; gap: 12px; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--c-border); background: #fff; display: grid; place-items: center; color: var(--c-dark); transition: all .2s; }
.carousel-nav button:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Banner PPDB */
.ppdb-banner { padding: clamp(40px, 6vw, 80px) 0; }
.ppdb-banner__inner {
	display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px;
	background: linear-gradient(125deg, var(--c-primary) 0%, color-mix(in srgb, var(--c-primary) 40%, var(--c-accent)) 100%);
	border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 60px); color: #fff; position: relative; overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.ppdb-banner__inner::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.1); right: -120px; top: -160px; }
.ppdb-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.ppdb-banner p { font-size: 1.08rem; opacity: .95; }
.ppdb-banner__media img { border-radius: var(--radius); border: 6px solid rgba(255,255,255,.35); transform: rotate(2deg); position: relative; }

/* Kartu berita */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__chip { position: absolute; left: 14px; top: 14px; background: var(--c-yellow); color: var(--c-dark); font-weight: 800; font-size: .8rem; padding: 3px 12px; border-radius: 99px; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__meta { font-size: .85rem; color: var(--c-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-weight: 700; }
.card__title { font-size: 1.22rem; margin-bottom: 8px; }
.card__title a { color: var(--c-dark); }
.card__title a:hover { color: var(--c-primary); }
.card__excerpt { color: var(--c-muted); font-size: .95rem; }
.card .link-arrow { margin-top: auto; }

/* Kontak */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--c-primary); box-shadow: var(--shadow-sm); }
.contact-list strong { display: block; font-family: var(--f-head); color: var(--c-dark); font-size: 1.02rem; line-height: 1.3; }
.contact-list span { color: var(--c-text); font-size: .96rem; line-height: 1.5; }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--c-primary); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   7. Halaman dalam
   ========================================================================== */
.page-hero {
	position: relative; overflow: hidden; color: #fff; text-align: center;
	padding: clamp(48px, 7vw, 90px) 0 clamp(70px, 9vw, 110px);
	background: linear-gradient(120deg, var(--c-secondary), color-mix(in srgb, var(--c-secondary) 55%, var(--c-teal)));
}
.page-hero__title { color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero__text { max-width: 680px; margin: 0 auto 16px; opacity: .95; position: relative; z-index: 1; font-size: 1.08rem; }
.page-hero__shape { position: absolute; border-radius: 50%; }
.page-hero__shape--1 { width: 120px; height: 120px; background: var(--c-yellow); opacity: .9; left: 6%; top: -40px; }
.page-hero__shape--2 { width: 60px; height: 60px; background: var(--c-accent); right: 10%; top: 30%; opacity: .9; }
.page-hero__shape--3 { width: 200px; height: 200px; border: 18px solid rgba(255,255,255,.15); right: -60px; bottom: -80px; }
.page-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 50px; fill: #fff; }
.breadcrumb { position: relative; z-index: 1; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: rgba(0,0,0,.14); padding: 6px 18px; border-radius: 99px; font-size: .9rem; font-weight: 700; }
.breadcrumb a { color: #fff; opacity: .85; }
.breadcrumb a:hover { opacity: 1; color: var(--c-yellow); }
.breadcrumb .sep { opacity: .6; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 52px); align-items: start; }
.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
.widget-title { font-size: 1.2rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--c-yellow); display: inline-block; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget-ppdb { background: linear-gradient(150deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 50%, var(--c-accent))); color: #fff; text-align: center; border: 0; }
.widget-ppdb img { border-radius: var(--radius-sm); margin-bottom: 14px; }
.widget-ppdb h3 { color: #fff; font-size: 1.4rem; }
.widget-ppdb .btn { --btn-bg: #fff; --btn-fg: var(--c-primary); }
.mini-posts li + li { margin-top: 14px; }
.mini-posts a { display: flex; gap: 12px; align-items: center; color: var(--c-dark); }
.mini-posts img { width: 70px; height: 70px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.mini-posts strong { display: block; font-size: .95rem; line-height: 1.35; }
.mini-posts time { font-size: .8rem; color: var(--c-muted); }
.cat-list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--c-border); font-weight: 700; }
.cat-list a { color: var(--c-dark); }
.info-list { display: grid; gap: 14px; margin-bottom: 20px !important; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list li > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--c-cream); color: var(--c-primary); }
.info-list small { display: block; color: var(--c-muted); font-weight: 700; font-size: .8rem; }
.info-list span { font-weight: 800; color: var(--c-dark); line-height: 1.35; }
.info-box .btn + .btn { margin-top: 10px; }
.link-list li + li { border-top: 1px dashed var(--c-border); }
.link-list a { display: flex; align-items: center; gap: 6px; padding: 9px 0; font-weight: 800; color: var(--c-dark); }
.link-list a:hover { color: var(--c-primary); }

.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; color: var(--c-muted); font-weight: 700; font-size: .92rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.single-post__thumb, .page-thumb { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.single-post__thumb img, .page-thumb img { width: 100%; }
.related-title { margin-top: 48px; font-size: 1.6rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tags a { background: var(--c-cream); padding: 4px 14px; border-radius: 99px; font-weight: 700; font-size: .88rem; color: var(--c-dark); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 28px 0; padding: 18px 0; border-top: 1px dashed var(--c-border); border-bottom: 1px dashed var(--c-border); font-weight: 800; color: var(--c-dark); }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; transition: transform .2s; }
.share a:hover, .share button:hover { transform: translateY(-3px); color: #fff; }
.share__wa { background: #25D366; }
.share__fb { background: #1877F2; }
.share__x { background: #111; }
.share__copy { background: var(--c-primary); }
.share__copy.is-copied { background: var(--c-secondary); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; background: var(--c-cream); padding: 16px 20px; border-radius: var(--radius-sm); color: var(--c-dark); height: 100%; }
.post-navigation a:hover { background: color-mix(in srgb, var(--c-primary) 14%, white); }
.post-navigation span { display: block; font-size: .82rem; color: var(--c-muted); font-weight: 800; }
.post-navigation strong { font-family: var(--f-head); line-height: 1.3; }
.nav-next { text-align: right; }
.pagination, .nav-links { margin-top: 36px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 99px; display: inline-grid; place-items: center; background: #fff; border: 2px solid var(--c-border); font-weight: 800; color: var(--c-dark); }
.page-numbers.current, .page-numbers:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.search-again { max-width: 560px; margin: 0 auto 36px; }
.error-404 img { max-width: 480px; margin: 0 auto 24px; border-radius: var(--radius-lg); }
.list-heading { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.list-heading .icon { color: var(--c-secondary); }
.list-heading--muted { margin-top: 48px; color: var(--c-muted); }
.agenda-cards { display: grid; gap: 16px; }
.agenda-card { display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); align-items: flex-start; }
.agenda-card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.agenda-card h3 a { color: var(--c-dark); }
.agenda-card p { margin: 6px 0 0; font-size: .96rem; }
.agenda-cards.is-past .date-badge { background: #A7AABD; box-shadow: 0 5px 0 #7F8299; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--c-dark); }
.check-list .icon { flex-shrink: 0; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--c-secondary); color: #fff; margin-top: 2px; }
.download-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.download-item { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.download-item > div { flex: 1; }
.download-item h3 { font-size: 1.15rem; margin: 0 0 2px; }
.download-item p { margin: 0; font-size: .93rem; color: var(--c-muted); }
.download-item small { font-weight: 800; color: var(--c-primary); }
.download-item__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c-accent) 12%, white); color: var(--c-accent); }
.download-item__icon .icon { width: 26px; height: 26px; }
.video-embed { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* Konten editor */
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul li, .entry-content ol li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--c-primary); }
.entry-content blockquote, .wp-block-quote {
	margin: 1.6em 0; padding: 22px 28px; background: var(--c-cream); border-left: 6px solid var(--c-primary); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem;
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content blockquote cite { font-size: .9rem; font-style: normal; font-weight: 800; color: var(--c-primary); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .97rem; border-radius: var(--radius-sm); overflow: hidden; }
.entry-content th { background: var(--c-secondary); color: #fff; font-family: var(--f-head); text-align: left; }
.entry-content th, .entry-content td { padding: 12px 16px; border-bottom: 1px solid var(--c-border); }
.entry-content tr:nth-child(even) td { background: var(--c-cream); }
.wp-block-table { overflow-x: auto; }
.wp-block-table td, .wp-block-table th { border-left: 0; border-right: 0; border-top: 0; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table table { margin: 0; }
.entry-content .wp-block-button__link { border-radius: 99px; background: var(--c-primary); font-family: var(--f-head); font-weight: 700; padding: 12px 28px; color: #fff; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--c-primary); border: 2px solid currentColor; }
.entry-content .wp-block-gallery { margin: 1.5em 0; }
.entry-content .wp-block-gallery img { border-radius: var(--radius-sm); }
.entry-content .wp-block-columns { gap: 28px; margin: 1.5em 0; }
.entry-content .wp-block-image { margin: 1.5em 0; }
.entry-content .wp-block-separator { border: 0; height: 4px; width: 80px; margin: 2.4em auto; background: linear-gradient(90deg, var(--c-primary), var(--c-yellow), var(--c-secondary)); border-radius: 4px; }
.entry-content .has-background { border-radius: var(--radius); padding: 24px 28px; }
.entry-content--landing > .alignfull { margin-left: 0; margin-right: 0; }
.alignwide { max-width: 1240px; margin-left: auto; margin-right: auto; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

/* Kotak & FAQ */
.info-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 18px; margin: 1.5em 0; }
.entry-content details, .wp-block-details {
	background: #fff; border: 2px solid var(--c-border); border-radius: var(--radius-sm); padding: 0; margin: 0 0 12px; overflow: hidden; transition: border-color .2s;
}
.entry-content details[open] { border-color: var(--c-primary); }
.entry-content summary {
	cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; color: var(--c-dark); position: relative;
}
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after {
	content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%; background: var(--c-cream); color: var(--c-primary); display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
	transition: transform .2s;
}
.entry-content details[open] summary::after { content: "–"; background: var(--c-primary); color: #fff; }
.entry-content details > :not(summary) { padding: 0 20px; }
.entry-content details > :last-child { padding-bottom: 16px; }

/* ==========================================================================
   8. Formulir
   ========================================================================== */
.tk-form fieldset { border: 0; margin: 0 0 24px; padding: clamp(20px, 3vw, 30px); background: var(--c-cream); border-radius: var(--radius); }
.tk-form legend { float: left; width: 100%; font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: var(--c-dark); margin-bottom: 16px; padding: 0; }
.tk-form legend + * { clear: both; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-field.is-wide { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 800; font-size: .94rem; color: var(--c-dark); margin-bottom: 6px; }
.req { color: var(--c-red); }
.tk-form input:not([type="checkbox"]), .tk-form select, .tk-form textarea, .comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea {
	width: 100%; padding: 12px 16px; border: 2px solid var(--c-border); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.tk-form input:focus, .tk-form select:focus, .tk-form textarea:focus, .comment-form input:focus, .comment-form textarea:focus {
	outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 18%, transparent);
}
.form-check { display: flex; gap: 10px; align-items: center; font-weight: 700; margin: 0 0 20px; }
.form-check input { width: 20px; height: 20px; accent-color: var(--c-primary); }
.hp-field { position: absolute; left: -9999px; }
.form-error, .form-ok { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 700; }
.form-error { background: #FFE6E6; color: #B42318; }
.form-ok { background: #E3F6EA; color: #1E7A46; display: flex; gap: 8px; align-items: center; }
.kontak-form .form-grid { margin-bottom: 18px; }
.form-success, .notice-box { text-align: center; background: var(--c-cream); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 50px); border: 3px dashed var(--c-secondary); }
.form-success__icon .icon, .notice-box > .icon { width: 70px; height: 70px; color: var(--c-secondary); margin: 0 auto 10px; }
.form-success__number { font-family: var(--f-head); font-size: 2rem; font-weight: 800; color: var(--c-primary); letter-spacing: .04em; background: #fff; display: inline-block; padding: 4px 26px; border-radius: 99px; }
.notice-box { border-color: var(--c-primary); }
.notice-box > .icon { color: var(--c-primary); }

.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { background: var(--c-cream); padding: 18px 22px; border-radius: var(--radius-sm); margin-bottom: 14px; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form p { margin-bottom: 14px; }

/* ==========================================================================
   9. Footer & elemen melayang
   ========================================================================== */
.site-footer { position: relative; background: var(--c-footer); color: rgba(255,255,255,.82); margin-top: 70px; font-size: .96rem; }
.site-footer__wave { position: absolute; left: 0; right: 0; top: -69px; width: 100%; height: 70px; fill: var(--c-footer); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.footer-logo { max-width: 240px; margin-bottom: 18px; }
.footer-title { color: #fff; font-size: 1.25rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 4px; border-radius: 4px; background: var(--c-yellow); }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-menu a { color: rgba(255,255,255,.82); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.footer-menu a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }
.footer-menu a:hover { color: var(--c-yellow); }
.site-footer .announce-list li { border-color: rgba(255,255,255,.12); }
.site-footer .announce-list a { color: #fff; font-size: .95rem; }
.site-footer .announce-list a:hover { color: var(--c-yellow); }
.site-footer .announce-list time { color: rgba(255,255,255,.6); }
.site-footer .announce-list__icon { background: rgba(255,255,255,.1); color: var(--c-yellow); }
.site-footer .contact-list__icon { background: rgba(255,255,255,.1); color: var(--c-yellow); box-shadow: none; width: 40px; height: 40px; }
.site-footer .contact-list strong { color: #fff; font-size: .95rem; }
.site-footer .contact-list span { color: rgba(255,255,255,.8); font-size: .92rem; }
.site-footer .contact-list a:hover { color: var(--c-yellow); }
.site-footer .social-links { margin-top: 18px; }
.site-footer .empty { color: rgba(255,255,255,.6); text-align: left; padding: 0; }
.jsit-badge { display: flex; align-items: center; gap: 12px; margin-top: 22px; background: rgba(255,255,255,.08); border-radius: 16px; padding: 10px 14px; font-size: .86rem; line-height: 1.4; }
.jsit-badge img { max-height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.jsit-badge__mark { flex-shrink: 0; background: #fff; color: var(--c-secondary); font-family: var(--f-head); font-weight: 800; padding: 6px 10px; border-radius: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .88rem; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
.footer-bottom p { margin: 0; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 80;
	display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px;
	background: #25D366; color: #fff; border-radius: 99px; font-weight: 800; font-family: var(--f-head);
	box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
	animation: pulse 2.6s infinite;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float .icon { width: 30px; height: 30px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 60% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } }
.to-top {
	position: fixed; right: 24px; bottom: 90px; z-index: 79; width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: var(--c-dark); color: #fff; display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-primary); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 22, 35, .92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-weight: 700; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: var(--c-primary); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Animasi muncul saat scroll (hanya bila JS aktif) */
.has-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.has-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   10. Responsif
   ========================================================================== */
@media (max-width: 1180px) {
	.primary-nav .menu a { padding: 9px 9px; font-size: .98rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
	:root { --header-h: 72px; }
	/* backdrop-filter membuat panel menu "fixed" terkurung di header — matikan di layar kecil */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav-toggle { display: inline-grid; }
	.primary-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
		width: min(360px, 88vw); background: #fff; margin: 0;
		display: flex; flex-direction: column; overflow-y: auto;
		transform: translateX(105%); transition: transform .35s var(--ease), visibility .35s;
		box-shadow: var(--shadow-lg); visibility: hidden;
	}
	html { overflow-x: clip; }
	.nav-open .primary-nav { visibility: visible; }
	.admin-bar .primary-nav { top: 46px; }
	.nav-open .primary-nav { transform: none; }
	.primary-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--c-border); }
	.primary-nav__head .custom-logo { max-height: 44px; }
	.nav-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c-cream); display: grid; place-items: center; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
	.primary-nav .menu li { position: relative; }
	.primary-nav .menu a { border-radius: 14px; padding: 12px 14px; font-size: 1.06rem; }
	.primary-nav .menu-item-has-children > a { padding-right: 52px; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.submenu-toggle {
		display: grid; place-items: center; position: absolute; right: 6px; top: 5px; width: 40px; height: 40px;
		border: 0; border-radius: 12px; background: var(--c-cream); color: var(--c-dark); transition: transform .25s;
	}
	.submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); background: var(--c-primary); color: #fff; }
	.primary-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		padding: 0 0 0 14px; margin: 0 0 6px 14px; border-left: 3px solid var(--c-border); border-radius: 0;
		display: none; min-width: 0;
	}
	.primary-nav .sub-menu.is-open { display: block; }
	.primary-nav .sub-menu .sub-menu { margin-left: 8px; }
	.primary-nav__foot { display: grid; gap: 10px; padding: 18px; margin-top: auto; border-top: 1px solid var(--c-border); }
	.primary-nav__foot .social-links { justify-content: center; margin-top: 6px; }
	.primary-nav__foot .social-links a { background: var(--c-cream); color: var(--c-dark); }
	.nav-overlay { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(20,22,35,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.nav-open .nav-overlay { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { z-index: 130; }

	.about, .contact-wrap { grid-template-columns: 1fr; }
	.about__media { max-width: 640px; margin: 0 auto 30px; width: 100%; }
	.agenda-wrap { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.layout-sidebar { grid-template-columns: 1fr; }
	.sidebar { position: static; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
	.carousel-track { grid-auto-columns: calc((100% - 24px) / 2); }
	.ppdb-banner__inner { grid-template-columns: 1fr; }
	.ppdb-banner__media { max-width: 480px; }
	.grid--stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
	.hide-sm { display: none !important; }
	.header-cta { display: none; }
	.hero__slide { flex-direction: column; align-items: stretch; min-height: 0; }
	.hero__slide::before { display: none; }
	.hero__bg { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; }
	.hero__content { padding-top: 0; padding-bottom: 96px; margin-top: -36px; }
	.hero__card { background: #fff; border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow); max-width: none; }
	.hero__badge { margin-top: -44px; }
	.hero__controls { bottom: 56px; }
	.hero__wave { height: 44px; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.gallery-item figcaption { padding: 10px 12px; }
	.gallery-item figcaption a { font-size: .95rem; }
	.form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.nav-next { text-align: left; }
	.about__principal { left: 10px; right: 10px; bottom: -34px; max-width: none; }
	.blob--1 { width: 110px; height: 110px; right: -10px; top: -20px; }
	.wa-float span { display: none; }
	.wa-float { padding: 14px; right: 16px; bottom: 16px; }
	.to-top { right: 22px; bottom: 84px; }
	.map-embed iframe { height: 320px; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.hide-xs { display: none !important; }
	.topbar__inner { justify-content: center; }
	.topbar .social-links { display: none; }
	.custom-logo { max-height: 46px; max-width: 170px; }
	.site-header__inner { gap: 10px; }
	.carousel-track { grid-auto-columns: 88%; gap: 16px; }
	.testi-card { padding: 24px 22px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.btn--lg { padding: 13px 22px; font-size: 1.02rem; }
	.grid--features { grid-template-columns: 1fr 1fr; gap: 12px; }
	.feature-card { padding: 20px 16px; }
	.feature-card__icon { width: 50px; height: 50px; border-radius: 16px; margin-bottom: 12px; }
	.feature-card__icon .icon { width: 24px; height: 24px; }
	.feature-card h3 { font-size: 1.05rem; }
	.feature-card p { font-size: .88rem; line-height: 1.5; }
	.agenda-card, .download-item { flex-wrap: wrap; }
	.download-item .btn { width: 100%; }
	.ticker__label span, .ticker__label { font-size: .85rem; }
	.section-heading { margin-bottom: 32px; }
}

@media (max-width: 360px) {
	.grid--features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.has-js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.topbar, .site-header, .ticker, .site-footer, .wa-float, .to-top, .sidebar, .share { display: none !important; }
}
