/*
Theme Name: Adzkar School
Theme URI: https://localhost/al-adzkar
Author: Al-Adzkar
Description: Redesain modern dan bersih untuk Al-Adzkar Islamic Full Day School. Memanfaatkan seluruh data WordPress yang ada (halaman, berita, tenaga pendidik, program) dengan palet hijau & kuning khas sekolah.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: adzkar-school
Tags: education, school, islamic, full-width
*/

/* ==========================================================================
   ROOT / TOKENS  —  Ed School inspired palette
   ========================================================================== */
:root {
	--green: #0c5947;
	--green-soft: #e7f1ee;
	--green-dark: #094438;
	--green-deeper: #063428;
	--green-mist: #f3f7f5;
	--gold: #fcc92f;
	--gold-soft: #fff6dc;
	--accent-blue: #4886ff;
	--accent-red: #ff6f6f;
	--accent-lime: #8fc93f;
	--accent-orange: #f88147;
	--ink: #1b2a25;
	--muted: #5c6b62;
	--white: #ffffff;
	--line: #e3ece8;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 16px 38px -18px rgba(9, 68, 56, 0.30);
	--shadow-sm: 0 8px 22px -12px rgba(9, 68, 56, 0.26);
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-ar: 'Amiri', serif;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font);
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 .6em;
	color: var(--ink);
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1;
	padding: 15px 28px;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all .22s ease;
	text-align: center;
}
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 22px -12px rgba(12,89,71,.6); }
.btn--primary:hover { background: var(--gold); color: var(--green-deeper); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: var(--gold); color: var(--green-deeper); border-color: var(--gold); }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--gold); color: var(--green-deeper); }
.btn--gold { background: var(--gold); color: var(--green-deeper); }
.btn--gold:hover { background: #eeb61d; color: var(--green-deeper); }
.btn--lg { padding: 17px 34px; font-size: 15px; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar { background: var(--green-dark); color: #fff; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #e6f4e9; }
.topbar__item svg { color: var(--gold); flex: none; }
.topbar__item:hover { color: #fff; }
.topbar__btn { background: var(--gold); color: var(--green-deeper); font-weight: 700; padding: 7px 16px; border-radius: 999px; }
.topbar__btn:hover { background: #e8b71f; color: var(--green-deeper); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s ease; }
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(15,107,57,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }

.site-brand img { max-height: 64px; width: auto; }
.site-brand__name { font-size: 22px; font-weight: 800; color: var(--green-dark); }

.main-nav { display: flex; }
.main-nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav__list > li { position: relative; flex: 0 0 auto; }
.main-nav__list > li > a {
	display: block;
	padding: 10px 11px;
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	border-radius: 8px;
	white-space: nowrap;
}
.main-nav__list > li > a:hover,
.main-nav__list > li.current-menu-item > a,
.main-nav__list > li.current-menu-ancestor > a,
.main-nav__list > li.current_page_item > a { color: var(--green-dark); background: var(--green-mist); }

/* Dropdowns */
.main-nav__list ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	list-style: none;
	margin: 8px 0 0;
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .22s ease;
	z-index: 60;
}
.main-nav__list li:hover > ul,
.main-nav__list li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav__list ul li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.main-nav__list ul li a:hover { background: var(--green-mist); color: var(--green-dark); }
.main-nav__list ul ul { top: 0; left: 100%; margin-top: 0; }

.header-cta { flex: none; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: var(--green-dark); border-radius: 3px; transition: all .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8,52,30,.92) 0%, rgba(10,77,41,.78) 45%, rgba(10,77,41,.35) 100%); }
.hero__inner { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; width: 100%; }
.hero__eyebrow { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.hero__title { color: #fff; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.05; margin-bottom: 18px; }
.hero__title span { color: var(--gold); }
.hero__motto { font-family: var(--font-ar); font-size: clamp(19px, 2.2vw, 26px); color: #eaf6ec; margin-bottom: 34px; max-width: 640px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }
.hero__badges { display: grid; grid-template-columns: repeat(4, auto); gap: 18px; max-width: 720px; }
.hbadge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 16px 22px; backdrop-filter: blur(4px); }
.hbadge strong { display: block; font-size: 26px; color: var(--gold); line-height: 1.1; }
.hbadge span { font-size: 12.5px; opacity: .9; }

/* ==========================================================================
   QUICK LINKS  (Ed School color boxes)
   ========================================================================== */
.quick-links { background: var(--white); position: relative; z-index: 3; margin-top: -44px; }
.quick-links__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ql {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 118px;
	border-radius: var(--radius);
	padding: 30px 20px 26px;
	color: #fff;
	box-shadow: var(--shadow);
	transition: transform .22s ease, box-shadow .22s ease;
	justify-content: center;
}
.ql:hover { transform: translateY(-4px); color: #fff; }
.ql--blue { background: linear-gradient(140deg, #4886ff, #2f6cf3); }
.ql--red { background: linear-gradient(140deg, #ff6f6f, #f4473c); }
.ql--lime { background: linear-gradient(140deg, #8fc93f, #6fae26); }
.ql--orange { background: linear-gradient(140deg, #f88147, #f06a2a); }
.ql__title { font-weight: 800; font-size: 17px; line-height: 1.25; }
.ql__text { font-size: 13px; opacity: .92; line-height: 1.4; }
.ql__more { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .95; }
.ql__more::after { content: ' \2192'; transition: transform .2s ease; display: inline-block; }
.ql:hover .ql__more::after { transform: translateX(4px); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 84px 0; }
.section--white { background: #fff; }
.section--cream { background: var(--green-mist); }
.section--green { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-deeper) 100%); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.eyebrow--light { color: var(--gold); }
.section-title { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 10px; }
.section-title--light { color: #fff; }
.section-title::after { content: ''; display: block; width: 64px; height: 5px; border-radius: 5px; background: var(--gold); margin-top: 14px; }
.section-head .section-title::after { margin-left: auto; margin-right: auto; }
.section-title--light::after { background: var(--gold); }
.section-sub { color: var(--muted); }
.section-sub--light { color: #d9ecd9; }
.section-cta { text-align: center; margin-top: 42px; }

/* ==========================================================================
   WELCOME
   ========================================================================== */
.welcome { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.welcome__media { position: relative; }
.welcome__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.welcome__chip { position: absolute; right: -14px; bottom: 24px; background: var(--gold); color: var(--green-deeper); border-radius: 16px; padding: 16px 22px; box-shadow: var(--shadow); }
.welcome__chip strong { display: block; font-size: 30px; line-height: 1.1; }
.welcome__chip span { font-size: 13px; font-weight: 600; }
.welcome__list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.welcome__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.welcome__list svg { color: var(--green); flex: none; }
.welcome__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   PROGRAM CARDS
   ========================================================================== */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.program-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; color: var(--ink); }
.program-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(0,0,0,.4); }
.program-card__img { height: 260px; background-size: cover; background-position: center; }
.program-card__img--logo { background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--white); padding: 34px; }
.program-card__body { padding: 26px; }
.program-card__body h3 { font-size: 22px; color: var(--green-dark); }
.program-card__body p { color: var(--muted); }
.program-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 12.5px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #fff;
	background: var(--green);
	padding: 11px 18px;
	border-radius: 8px;
	margin-top: 12px;
	transition: background .2s ease, transform .2s ease;
}
.program-card__more::after { content: '\2192'; transition: transform .2s ease; }
.program-card:hover .program-card__more { background: var(--gold); color: var(--green-deeper); }
.program-card:hover .program-card__more::after { transform: translateX(5px); }

/* ==========================================================================
   NEWS CARDS
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card__img { height: 210px; background-size: cover; background-position: center; background-color: var(--green-mist); }
.news-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: 12.5px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.news-card__title { font-size: 18px; line-height: 1.4; margin-bottom: 8px; }
.news-card__title a { color: var(--ink); }
.news-card__title a:hover { color: var(--green-dark); }
.news-card__excerpt { color: var(--muted); font-size: 14.5px; }
.news-card__more { margin-top: auto; padding-top: 14px; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.news-card__more:hover { color: var(--gold); }

/* ==========================================================================
   TEACHER CARDS
   ========================================================================== */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.teacher-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; transition: transform .25s ease, box-shadow .25s ease; color: var(--ink); }
.teacher-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.teacher-card__photo { height: 240px; background-size: cover; background-position: center top; background-color: var(--green-mist); }
.teacher-card__body { padding: 16px 14px; }
.teacher-card__body h3 { font-size: 15.5px; margin-bottom: 4px; }
.teacher-card__body span { font-size: 13px; color: var(--muted); }

/* Teacher single */
.teacher-single { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.teacher-single__photo img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/5; width: 100%; }
.teacher-single__content h1, .teacher-single__content h2 { color: var(--green-dark); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%); padding: 74px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: clamp(26px, 3vw, 38px); margin: 4px 0 8px; }
.cta-band__sub { color: #eaf6ec; max-width: 560px; margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.cl-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: flex; align-items: center; justify-content: center; }
.contact-list strong { display: block; margin-bottom: 2px; }
.contact-section__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.contact-section__map iframe { display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--green-deeper); color: #d4e6d8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding: 64px 0 44px; }
.footer-brand img { max-height: 60px; width: auto; }
.footer-brand--text { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-about { color: #c4d9c8; margin: 14px 0 10px; }
.footer-motto { font-family: var(--font-ar); font-size: 17px; color: var(--gold); }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: #c4d9c8; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: grid; gap: 2px; font-size: 14px; }
.footer-contact .fci { font-weight: 700; color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.footer-contact a { color: #c4d9c8; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13.5px; color: #9fbda5; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

/* ==========================================================================
   PAGE HERO / BREADCRUMB
   ========================================================================== */
.page-hero { background: linear-gradient(115deg, var(--green-dark) 0%, var(--green) 100%); color: #fff; padding: 60px 0; }
.page-hero__inner { max-width: 960px; }
.page-hero__title { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 8px; }
.page-hero__crumbs { margin: 0; font-size: 14px; color: #e6f4e9; }
.page-hero__crumbs a { color: var(--gold); }
.page-hero__crumbs span { margin: 0 8px; opacity: .7; }
.page-hero__meta { display: inline-block; background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 999px; font-size: 13px; }

/* ==========================================================================
   PAGE WRAP / ENTRY CONTENT
   ========================================================================== */
.page-wrap { padding: 56px 0 80px; }
.entry-content { font-size: 16.5px; color: #2c3a32; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { color: var(--green-dark); margin-top: 1.4em; }
.entry-content img, .entry-content figure { border-radius: 12px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--green-mist); color: var(--green-dark); }
.entry-content blockquote { border-left: 4px solid var(--green); background: var(--green-mist); margin: 1.6em 0; padding: 16px 22px; border-radius: 0 12px 12px 0; }
.featured-img { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }

/* Legacy page-builder compatibility */
.wpb-content-wrapper, .wpb_row, .vc_row { margin-left: 0 !important; margin-right: 0 !important; }
.vc_row { display: flex; flex-wrap: wrap; }
.vc_column_container { width: 100%; }
.vc_col-sm-2 { width: 16.66%; } .vc_col-sm-3 { width: 25%; }
.vc_col-sm-4 { width: 33.33%; } .vc_col-sm-6 { width: 50%; }
.vc_col-sm-8 { width: 66.66%; } .vc_col-sm-9 { width: 75%; }
.vc_column-inner { padding: 0 !important; }
.vc_custom_heading h2, .vc_custom_heading h4 { color: var(--green-dark); }
.wpb_text_column { color: inherit; }

/* ==========================================================================
   BLOG LAYOUT / SIDEBAR
   ========================================================================== */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-main .featured-img { margin-bottom: 30px; }
.side-box { background: var(--green-mist); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.side-box__title { font-size: 16px; color: var(--green-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green); display: inline-block; }
.side-box__list { list-style: none; padding: 0; margin: 0; }
.side-box__list li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.side-box__list li:last-child { border-bottom: 0; }
.side-box__list a { color: var(--ink); }
.side-box__list a:hover { color: var(--green-dark); }

/* Pagination */
.pagination { margin-top: 42px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 9px 15px; margin: 0 3px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--ink); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ==========================================================================
   404
   ========================================================================== */
.not-found { text-align: center; padding-top: 40px; }
.not-found__big { font-size: clamp(80px, 12vw, 160px); font-weight: 800; color: var(--green-soft); line-height: 1; margin: 0; }
.not-found__text { font-size: 20px; margin-bottom: 26px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
	.header-cta { display: none; }
}

/* Desktop one-line nav terlalu sempit -> hamburger */
@media (max-width: 1120px) {
	.nav-toggle { display: flex; }
	.main-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
	}
	.main-nav.is-open { max-height: calc(100vh - 80px); overflow-y: auto; }
	.main-nav__list { flex-direction: column; gap: 0; padding: 12px 20px 22px; }
	.main-nav__list > li { flex: none; }
	.main-nav__list > li > a { border-radius: 8px; padding: 11px 14px; }
	.main-nav__list ul { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--green-soft); margin: 0 0 6px 14px; padding: 0 0 0 10px; opacity: 1; visibility: visible; transform: none; min-width: 0; }
	.main-nav__list ul ul { border-left: 2px solid var(--green-soft); margin-left: 12px; }
	.main-nav__list li:hover > ul { transform: none; }
}

@media (max-width: 1024px) {
	.quick-links__grid { grid-template-columns: repeat(2, 1fr); }
	.teacher-grid { grid-template-columns: repeat(3, 1fr); }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero__badges { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 860px) {
	.header-cta { display: none; }
	.nav-toggle { display: flex; }
	.main-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
	}
	.main-nav.is-open { max-height: calc(100vh - 80px); overflow-y: auto; }
	.main-nav__list { flex-direction: column; gap: 0; padding: 12px 20px 22px; }
	.main-nav__list > li > a { border-radius: 8px; }
	.main-nav__list ul { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--green-soft); margin: 0 0 6px 14px; padding: 0 0 0 10px; opacity: 1; visibility: visible; transform: none; min-width: 0; }
	.main-nav__list ul ul { border-left: 2px solid var(--green-soft); margin-left: 12px; }
	.main-nav__list li:hover > ul { transform: none; }

	.welcome, .contact-section, .teacher-single { grid-template-columns: 1fr; gap: 28px; }
	.program-grid { grid-template-columns: 1fr; }
	.blog-layout { grid-template-columns: 1fr; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.contact-section__map { min-height: 320px; }
}

@media (max-width: 560px) {
	.quick-links__grid, .teacher-grid, .blog-grid { grid-template-columns: 1fr; }
	.hero { min-height: 520px; }
	.hero__badges { grid-template-columns: 1fr 1fr; gap: 12px; }
	.footer-grid { grid-template-columns: 1fr; }
	.topbar__inner { justify-content: center; text-align: center; }
	.topbar__info { justify-content: center; }
	.section { padding: 56px 0; }
}

/* ==========================================================================
   PROFIL SEKOLAH (redesigned)
   ========================================================================== */
.profil { margin-top: -20px; }

.profil-nav {
	position: sticky;
	top: 82px;
	z-index: 40;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.profil-nav .container { display: flex; justify-content: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.profil-nav a {
	display: inline-flex;
	align-items: center;
	font-weight: 800;
	font-size: 13.5px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--green-dark);
	background: var(--green-mist);
	border: 1px solid var(--line);
	padding: 9px 22px;
	border-radius: 999px;
	transition: all .2s ease;
}
.profil-nav a:hover { background: var(--green); color: #fff; border-color: var(--green); }

.profil-cards__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }

.profil-visi {
	background: linear-gradient(150deg, #0d5f4c, var(--green-dark));
	color: #fff;
	border-radius: var(--radius);
	padding: 40px 36px;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}
.profil-visi .eyebrow { color: var(--gold); }
.profil-visi__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; margin: 0; color: #ffffff; }
.profil-visi__lead { color: #d9ece4; margin: 0; font-size: 15.5px; }
.profil-visi .btn { margin-top: auto; }

.profil-misi {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 40px 36px;
	box-shadow: var(--shadow);
}
.profil-misi .eyebrow { color: var(--green); }
.profil-misi__title { font-size: clamp(22px, 2.4vw, 28px); color: var(--green-dark); margin: 0 0 24px; }
.profil-misi__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.profil-misi__list li { display: flex; gap: 16px; align-items: flex-start; }
.profil-misi__num {
	flex: none;
	width: 42px; height: 42px;
	border-radius: 12px;
	background: var(--gold);
	color: var(--green-deeper);
	font-weight: 800;
	font-size: 19px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.profil-misi__text { font-size: 15.5px; color: var(--ink); line-height: 1.6; padding-top: 8px; }

.profil-sejarah { background: var(--green-mist); }
.profil-sejarah__body { max-width: 860px; margin: 26px auto 0; display: grid; gap: 20px; }
.profil-sejarah__body p { font-size: 16.5px; line-height: 1.95; color: var(--ink); margin: 0; }

@media (max-width: 900px) {
	.profil-cards__grid { grid-template-columns: 1fr; }
	.profil-visi, .profil-misi { padding: 32px 26px; }
}

/* ==========================================================================
   PROFIL RA (redesigned)
   ========================================================================== */
.ra-intro { display: flex; gap: 34px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.ra-intro__logo { flex: none; width: 150px; height: 150px; border-radius: 24px; background: var(--green-mist); display: flex; align-items: center; justify-content: center; padding: 18px; }
.ra-intro__logo img { width: 100%; height: 100%; object-fit: contain; }
.ra-intro__body { min-width: 0; }
.ra-badge { display: inline-block; margin-top: 8px; background: var(--gold); color: var(--green-deeper); font-weight: 800; font-size: 13px; line-height: 1.4; padding: 10px 16px; border-radius: 10px; }

.ra-visi-section { background: linear-gradient(150deg, #0d5f4c, var(--green-dark)); }
.ra-visi { max-width: 900px; margin: 0 auto; text-align: center; }
.ra-visi .eyebrow { color: var(--gold); }
.ra-visi__title { color: #fff; font-size: clamp(24px, 3vw, 36px); line-height: 1.4; margin: 0 0 14px; }
.ra-visi__lead { color: #d9ece4; margin: 0; font-size: 16px; }

.ra-info { background: #fff; }
.ra-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.ra-misi, .ra-tujuan { background: var(--green-mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; height: 100%; }
.ra-misi .eyebrow, .ra-tujuan .eyebrow { color: var(--green); }
.ra-misi__title, .ra-tujuan__title { color: var(--green-dark); font-size: 23px; margin: 0 0 20px; }

.ra-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ra-list--num li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; line-height: 1.55; }
.ra-list__num { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--gold); color: var(--green-deeper); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }

.ra-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ra-check li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.ra-check li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 6px; background: var(--green); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat; }
.ra-check--nested { margin-top: 10px; }
.ra-check--col { grid-template-columns: 1fr 1fr; }

.ra-tenaga, .ra-peserta { background: var(--green-mist); }
.ra-tenaga__intro { max-width: 760px; margin: 0 auto 34px; text-align: center; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.ra-teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ra-teacher { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.ra-teacher:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ra-teacher__photo { aspect-ratio: 4/5; overflow: hidden; background: var(--green-mist); }
.ra-teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.ra-teacher__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.ra-teacher__body h4 { margin: 0; font-size: 18px; color: var(--green-dark); }
.ra-teacher__role { align-self: flex-start; background: var(--green-soft); color: var(--green-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; }
.ra-teacher__body p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

.ra-sarana { background: #fff; }
.ra-sarana__grid { display: grid; grid-template-columns: 2fr 3fr; gap: 30px; align-items: start; }
.ra-sarana__text p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.ra-sarana__text .btn { margin-top: 10px; }
.ra-sarana__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--green-mist); border-radius: var(--radius); padding: 26px; }

.ra-peserta__text { max-width: 760px; margin: 0 auto 28px; text-align: center; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.ra-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ra-gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.ra-kegiatan { background: #fff; }
.ra-kegiatan__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.ra-card { background: var(--green-mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.ra-card--wide { grid-column: 1 / -1; }
.ra-card__title { color: var(--green-dark); font-size: 21px; margin: 0 0 18px; }

.ra-time { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ra-time li { display: flex; align-items: baseline; gap: 16px; background: #fff; border-radius: 10px; padding: 12px 16px; }
.ra-time__slot { flex: none; min-width: 150px; font-weight: 800; color: var(--green-dark); }
.ra-time__desc { color: var(--ink); font-size: 15px; line-height: 1.5; }

@media (max-width: 1024px) {
	.ra-teachers { grid-template-columns: repeat(2, 1fr); }
	.ra-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.ra-intro { flex-direction: column; text-align: center; }
	.ra-intro__logo { margin: 0 auto; }
	.ra-info__grid, .ra-sarana__grid, .ra-kegiatan__grid { grid-template-columns: 1fr; }
	.ra-check--col, .ra-sarana__lists { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.ra-teachers { grid-template-columns: 1fr; }
	.ra-gallery { grid-template-columns: 1fr; }
	.ra-time li { flex-direction: column; gap: 4px; }
}

/* ==========================================================================
   TENAGA PENGAJAR RA (redesigned)
   ========================================================================== */
.tpr-head { padding-bottom: 0; text-align: center; }
.tpr-head__title { color: var(--green-dark); font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; }
.tpr-head__sub { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.7; }

.tpr-team { background: #fff; }
.tpr-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.tpr-gallery { background: var(--green-mist); }
.tpr-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tpr-photo { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tpr-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.tpr-photo figcaption { padding: 14px 18px; font-weight: 700; color: var(--green-dark); font-size: 14.5px; }

.tpr-video { background: #fff; }
.tpr-video__frame { max-width: 900px; margin: 0 auto; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.tpr-video__frame video { width: 100%; height: 100%; display: block; }

@media (max-width: 900px) {
	.tpr-team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.tpr-team__grid, .tpr-gallery__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRESTASI RA (redesigned)
   ========================================================================== */
.btn--sm { padding: 10px 16px; font-size: 12.5px; }

.prestasi-head { background: #fff; padding-bottom: 0; }
.prestasi-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.prestasi-stat { background: var(--green-mist); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; padding: 20px 12px; }
.prestasi-stat strong { display: block; font-size: 30px; color: var(--green-dark); line-height: 1; margin-bottom: 8px; }
.prestasi-stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.prestasi-stat--gold { background: #fff6dc; border-color: #f3d98a; }
.prestasi-stat--gold strong { color: #9a6d00; }
.prestasi-stat--silver { background: #f2f4f7; border-color: #d7dce3; }
.prestasi-stat--silver strong { color: #4a5568; }
.prestasi-stat--bronze { background: #fdf1ea; border-color: #ecd0bc; }
.prestasi-stat--bronze strong { color: #9c4a1d; }
.prestasi-stat--hon { background: #eef6ff; border-color: #c9dcf5; }
.prestasi-stat--hon strong { color: #1f4e8f; }

.prestasi-table { background: var(--green-mist); padding: 56px 0 70px; }
.prestasi-table__search { position: relative; max-width: 520px; margin: 0 auto 26px; }
.prestasi-table__search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.prestasi-table__search input {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	padding: 14px 20px 14px 46px;
	font-size: 15px;
	font-family: var(--font);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}
.prestasi-table__search input:focus { outline: none; border-color: var(--green); }

.prestasi-table__table { width: 100%; border-collapse: separate; border-spacing: 0 10px; background: transparent; }
.prestasi-table__table thead th {
	background: var(--green);
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .05em;
	text-align: left;
	padding: 16px 20px;
}
.prestasi-table__table thead th:first-child { border-radius: 12px 0 0 12px; }
.prestasi-table__table thead th:last-child { border-radius: 0 12px 12px 0; }
.prestasi-table__table tbody td {
	background: #fff;
	padding: 16px 20px;
	font-size: 14.5px;
	color: var(--ink);
	line-height: 1.5;
	box-shadow: 0 2px 10px -8px rgba(9,68,56,.18);
}
.prestasi-table__table tbody td:first-child { border-radius: 12px 0 0 12px; font-weight: 700; color: var(--green-dark); }
.prestasi-table__table tbody td:last-child { border-radius: 0 12px 12px 0; }
.prestasi-table__table tbody tr:hover td { background: #f6fbf8; }

.prize { display: inline-block; font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.prize--gold { background: var(--gold); color: var(--green-deeper); }
.prize--silver { background: #e3e8ef; color: #33415c; }
.prize--bronze { background: #f5d6bd; color: #8a3d12; }
.prize--hon { background: #d8e7fb; color: #1f4e8f; }
.prestasi-empty { text-align: center; color: var(--muted); padding: 30px; }
.prestasi-block { margin-bottom: 44px; }
.prestasi-block__title { color: var(--green-dark); font-size: 22px; margin: 0 0 18px; padding-left: 14px; border-left: 5px solid var(--gold); }

/* ==========================================================================
   SARANA & PRASARANA RA (redesigned)
   ========================================================================== */
.sarana-head, .kaldik-head { background: #fff; padding-bottom: 0; }
.sarana-grid, .kaldik-grid { background: var(--green-mist); padding: 40px 0 70px; }
.sarana-grid__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sarana-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.sarana-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sarana-card a { display: block; overflow: hidden; }
.sarana-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; transition: transform .35s ease; }
.sarana-card:hover img { transform: scale(1.05); }
.sarana-card figcaption { padding: 14px 18px; font-weight: 700; color: var(--green-dark); font-size: 14.5px; text-align: center; }
.sarana-video { background: #fff; }

/* ==========================================================================
   KALENDER AKADEMIK RA (redesigned)
   ========================================================================== */
.kaldik-grid__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }
.kaldik-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.kaldik-card a:first-child { display: block; }
.kaldik-card img { width: 100%; height: auto; display: block; }
.kaldik-card figcaption { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.kaldik-card figcaption h3 { margin: 0; font-size: 18px; color: var(--green-dark); }

@media (max-width: 900px) {
	.prestasi-stats { grid-template-columns: repeat(3, 1fr); }
	.sarana-grid__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.prestasi-stats { grid-template-columns: repeat(2, 1fr); }
	.sarana-grid__cols, .kaldik-grid__cols { grid-template-columns: 1fr; }
	.prestasi-table__table thead { display: none; }
	.prestasi-table__table tbody td { display: block; width: 100%; box-sizing: border-box; }
	.prestasi-table__table tbody td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
	.prestasi-table__table tbody td:first-child, .prestasi-table__table tbody td:last-child { border-radius: 0; }
	.prestasi-table__table tbody tr td { border-top: 1px solid var(--line); }
	.prestasi-table__table tbody tr td:first-child { border-top: 0; }
}


/* =============================================================
   MASJID PENDIDIKAN (redesigned)
   ============================================================= */
.masjid-intro { background: #f6faf8; }
.masjid-intro__grid { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; }
.masjid-intro__logo { display: flex; justify-content: center; align-items: center; }
.masjid-intro__logo img { max-width: 200px; width: 100%; height: auto; }
.masjid-intro__lead { color: var(--muted); line-height: 1.8; margin: 6px 0 18px; max-width: 720px; }
.masjid-intro__check { margin-bottom: 26px; }
.masjid-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.masjid-photo { position: relative; min-height: 340px; display: flex; align-items: flex-end; }
.masjid-photo__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.masjid-photo__cap { position: relative; padding: 34px 0 38px; width: 100%; background: linear-gradient(180deg, rgba(6,44,35,0) 0%, rgba(6,44,35,.85) 100%); }
.masjid-photo__cap .container { position: relative; }
.masjid-photo__cap .eyebrow { color: var(--gold); }
.masjid-photo__cap h3 { color: #fff; font-size: 30px; margin: 6px 0 0; }

.masjid-stats { background: var(--green-dark); }
.masjid-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.masjid-stat { text-align: center; color: #fff; padding: 8px 10px; }
.masjid-stat strong { display: block; font-size: 40px; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.masjid-stat span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.masjid-programs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.masjid-program { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-bottom: 4px solid var(--green); border-radius: 12px; padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.masjid-program:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(6,44,35,.14); }
.masjid-program__icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--green); color: #fff; margin-bottom: 18px; }
.masjid-program:nth-child(2) .masjid-program__icon { background: var(--gold); color: var(--green-dark); }
.masjid-program:nth-child(3) .masjid-program__icon { background: var(--green-dark); }
.masjid-program:nth-child(4) .masjid-program__icon { background: var(--accent-lime); color: var(--green-dark); }
.masjid-program h3 { margin: 0 0 8px; font-size: 18px; color: var(--green-dark); }
.masjid-program p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.65; flex: 1; }
.masjid-program__more { color: var(--green); font-weight: 800; font-size: 14px; }

.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.masjid-list { background: #fff; }
.masjid-list--alt { background: #f6faf8; }
.masjid-list__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.masjid-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.masjid-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(6,44,35,.14); }
.masjid-card__thumb { height: 190px; overflow: hidden; background: #e8f1ed; }
.masjid-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.masjid-card__thumb--empty { display: flex; align-items: center; justify-content: center; color: var(--green); background: linear-gradient(135deg, #e8f1ed, #d7e8e0); }
.masjid-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.masjid-card__date { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin-bottom: 8px; }
.masjid-card h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.45; color: var(--green-dark); flex: 1; }
.masjid-card__more { font-size: 14px; font-weight: 800; color: var(--green); }

@media (max-width: 1024px) {
	.masjid-programs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.masjid-intro__grid { grid-template-columns: 1fr; text-align: center; }
	.masjid-intro__lead, .masjid-intro__check, .masjid-intro__actions { margin-left: auto; margin-right: auto; }
	.masjid-intro__actions { justify-content: center; }
	.masjid-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.masjid-list__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.masjid-programs__grid, .masjid-list__grid { grid-template-columns: 1fr; }
	.masjid-stat strong { font-size: 30px; }
}

/* =============================================================
   BLOG / MAGAZINE (redesigned)
   ============================================================= */
.mag-toolbar { background: var(--green-mist); border-bottom: 1px solid var(--line); }
.mag-toolbar__inner { padding: 26px 0; display: grid; gap: 18px; }
.mag-search { position: relative; max-width: 620px; }
.mag-search input { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 999px; padding: 14px 56px 14px 22px; background: #fff; font-size: 15px; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.mag-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(12,89,71,.12); }
.mag-search button { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mag-search button:hover { background: var(--green-dark); }
.mag-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mag-chip { padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--green-dark); font-weight: 700; font-size: 13px; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.mag-chip:hover { background: var(--green); color: #fff; border-color: var(--green); }
.mag-chip.is-active { background: var(--green); color: #fff; border-color: var(--green); }

.mag-body { padding: 44px 0 70px; }

.mag-featured { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 46px; background: #fff; box-shadow: var(--shadow-sm); }
.mag-featured__img { min-height: 320px; background-size: cover; background-position: center; background-color: var(--green-mist); position: relative; }
.mag-featured__img--empty { display: flex; align-items: center; justify-content: center; color: var(--green); background: linear-gradient(135deg, var(--green-mist), #d7e8e0); }
.mag-featured__body { padding: 34px 34px 30px; display: flex; flex-direction: column; }
.mag-featured__date { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--gold); margin-bottom: 12px; }
.mag-featured__title { font-size: 26px; line-height: 1.3; margin: 0 0 14px; }
.mag-featured__title a { color: var(--ink); }
.mag-featured__title a:hover { color: var(--green-dark); }
.mag-featured__excerpt { color: var(--muted); font-size: 15px; line-height: 1.8; flex: 1; }
.mag-featured__more { margin-top: 18px; }

.mag-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.mag-head h2 { margin: 0; font-size: 24px; color: var(--green-dark); }

.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mag-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.mag-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mag-card__thumb { height: 180px; background-size: cover; background-position: center; background-color: var(--green-mist); position: relative; display: block; }
.mag-card__thumb--empty { display: flex; align-items: center; justify-content: center; color: var(--green); background: linear-gradient(135deg, var(--green-mist), #d7e8e0); }
.mag-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.mag-card__date { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin-bottom: 9px; }
.mag-card__title { font-size: 17px; line-height: 1.45; margin: 0 0 10px; flex: 1; }
.mag-card__title a { color: var(--ink); }
.mag-card__title a:hover { color: var(--green-dark); }
.mag-card__more { padding-top: 12px; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.mag-card__more:hover { color: var(--gold); }

.mag-empty { text-align: center; color: var(--muted); padding: 40px 20px; background: var(--green-mist); border-radius: var(--radius); }

@media (max-width: 900px) {
	.mag-featured { grid-template-columns: 1fr; }
	.mag-featured__img { min-height: 240px; }
	.mag-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.mag-grid { grid-template-columns: 1fr; }
	.mag-featured__body { padding: 24px; }
}

/* =============================================================
   PENDAFTARAN / PPDB (redesigned)
   ============================================================= */
.ppdb-head { background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; }
.ppdb-head__inner { padding: 64px 20px 72px; max-width: 1180px; margin: 0 auto; text-align: center; }
.ppdb-head__title { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; margin: 0 0 16px; color: #fff; }
.ppdb-head__sub { max-width: 760px; margin: 0 auto 30px; color: rgba(255,255,255,.85); line-height: 1.8; font-size: 15.5px; }
.ppdb-head__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.ppdb-head__actions .btn--outline { border-color: rgba(255,255,255,.6); color: #fff; }
.ppdb-head__actions .btn--outline:hover { background: #fff; color: var(--green); border-color: #fff; }

.ppdb-brosur__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ppdb-brosur__card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.ppdb-brosur__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ppdb-brosur__card a { display: block; height: 320px; overflow: hidden; }
.ppdb-brosur__card img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #f6faf8; transition: transform .35s ease; }
.ppdb-brosur__card:hover img { transform: scale(1.04); }
.ppdb-brosur__card figcaption { padding: 14px 18px; font-weight: 800; font-size: 14px; color: var(--green-dark); border-top: 1px solid var(--line); }

.ppdb-note__box { background: var(--gold-soft); border: 1px solid #f2dc94; border-left: 6px solid var(--gold); border-radius: var(--radius); padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ppdb-note__title { margin: 0 0 6px; font-size: 22px; color: var(--green-dark); }
.ppdb-note__sub { margin: 0; color: var(--muted); }

.ppdb-guide__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.ppdb-guide__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 34px; }
.ppdb-guide__col--ra { border-top: 6px solid var(--gold); }
.ppdb-guide__col--mi { border-top: 6px solid var(--green); }
.ppdb-guide__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.ppdb-guide__badge { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; color: #fff; }
.ppdb-guide__col--ra .ppdb-guide__badge { background: var(--gold); color: var(--green-dark); }
.ppdb-guide__col--mi .ppdb-guide__badge { background: var(--green); }
.ppdb-guide__head .eyebrow { margin-bottom: 4px; }
.ppdb-guide__head h2 { margin: 0; font-size: 20px; color: var(--green-dark); }
.ppdb-guide__block { padding: 16px 0; border-top: 1px solid var(--line); }
.ppdb-guide__block:first-of-type { border-top: 0; }
.ppdb-guide__label { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.ppdb-guide__label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 8px; }
.ppdb-guide__block ul { margin: 0; }
.ppdb-guide__col .btn { margin-top: 22px; }

.ppdb-forms__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.ppdb-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ppdb-form--ra .ppdb-form__head { background: linear-gradient(120deg, var(--gold), #f7bf16); color: var(--green-dark); }
.ppdb-form--mi .ppdb-form__head { background: linear-gradient(120deg, var(--green), var(--green-dark)); color: #fff; }
.ppdb-form__head { padding: 22px 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ppdb-form__icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; background: rgba(255,255,255,.95); color: var(--green-dark); }
.ppdb-form__head .eyebrow { margin-bottom: 2px; }
.ppdb-form--mi .ppdb-form__head .eyebrow { color: var(--gold); }
.ppdb-form__head h2 { margin: 0; font-size: 19px; }
.ppdb-form__head .btn { margin-left: auto; }
.ppdb-form__label { padding: 24px 24px 0; margin: 0 0 14px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ppdb-form__list { margin: 0 24px; padding: 0 0 0 22px; counter-reset: pp; }
.ppdb-form__list li { margin-bottom: 10px; line-height: 1.65; color: var(--ink); padding-left: 4px; }
.ppdb-form__list li::marker { color: var(--green); font-weight: 800; }
.ppdb-form__contact { margin: 18px 24px 0; background: var(--green-mist); border: 1px dashed var(--green); border-radius: var(--radius-sm); padding: 14px 16px; }
.ppdb-form__contact span { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--green); margin-bottom: 4px; }
.ppdb-form__contact strong { font-size: 14.5px; color: var(--ink); }
.ppdb-form__contact a { color: var(--green); }
.ppdb-form__cta { padding: 22px 24px; }

@media (max-width: 900px) {
	.ppdb-guide__grid, .ppdb-forms__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.ppdb-brosur__grid { grid-template-columns: 1fr; }
	.ppdb-brosur__card a { height: 240px; }
	.ppdb-note__box { padding: 24px; }
}

/* =============================================================
   KONTAK (redesigned)
   ============================================================= */
.kontak-intro { background: var(--green-mist); }
.kontak-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.kontak-quick__item { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.kontak-quick__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kontak-quick__icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--green); color: #fff; margin-bottom: 6px; }
.kontak-quick__icon--wa { background: #25d366; }
.kontak-quick__label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kontak-quick__item strong { font-size: 14px; line-height: 1.5; color: var(--green-dark); word-break: break-word; }

.kontak-cards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kontak-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; }
.kontak-card--pusat { border-top: 6px solid var(--gold); }
.kontak-card--ra { border-top: 6px solid var(--accent-orange); }
.kontak-card--mi { border-top: 6px solid var(--green); }
.kontak-card--alamat { border-top: 6px solid var(--accent-blue); }
.kontak-card__badge { display: inline-block; background: var(--green-mist); color: var(--green); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.kontak-card h3 { margin: 0 0 16px; font-size: 18px; color: var(--green-dark); line-height: 1.4; }
.kontak-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.kontak-card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--ink); }
.kontak-card__list a { color: var(--green); font-weight: 700; }
.kontak-card__icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--green-mist); color: var(--green); }
.kontak-card__list strong { display: inline; }

.kontak-body { background: #fff; }
.kontak-body__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.kontak-map__frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 360px; margin-bottom: 18px; }
.kontak-map__frame iframe { display: block; width: 100%; height: 360px; border: 0; }

.kontak-form__box { background: var(--green-mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.kontak-form__box label { display: block; font-weight: 800; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; }
.kontak-form__box input[type="text"],
.kontak-form__box input[type="email"],
.kontak-form__box input[type="tel"],
.kontak-form__box textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 13px 16px; font-size: 15px; color: var(--ink); margin-bottom: 16px; font-family: inherit; }
.kontak-form__box input:focus, .kontak-form__box textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(12,89,71,.12); }
.kontak-form__box input[type="submit"] { border: 0; cursor: pointer; border-radius: var(--radius-sm); background: var(--green); color: #fff; padding: 14px 30px; font-weight: 800; font-size: 15px; font-family: inherit; transition: background .2s ease, transform .2s ease; }
.kontak-form__box input[type="submit"]:hover { background: var(--gold); color: var(--green-deeper); transform: translateY(-2px); }
.wpcf7-not-valid-tip { color: var(--accent-red); font-size: 13px; margin-top: -10px; margin-bottom: 10px; }
.wpcf7-response-output { border: 0 !important; background: var(--gold-soft); color: var(--ink); border-radius: var(--radius-sm); padding: 14px 16px !important; margin: 16px 0 0 !important; font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { background: #e3f5ec; }

@media (max-width: 1024px) {
	.kontak-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.kontak-quick { grid-template-columns: repeat(2, 1fr); }
	.kontak-body__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.kontak-quick, .kontak-cards__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------
   COMPOSER (Al-Adzkar Composer)
--------------------------------------------- */
.composer__head { margin-bottom: 40px; }
.composer__grid { display: grid; gap: 32px; align-items: start; }
.composer__grid--1 { grid-template-columns: 1fr; }
.composer__grid--2 { grid-template-columns: repeat(2, 1fr); }
.composer__grid--3 { grid-template-columns: repeat(3, 1fr); }
.composer__grid--4 { grid-template-columns: repeat(4, 1fr); }
.composer__col > .cb-block { margin-bottom: 18px; }
.composer__col > * + * { margin-top: 18px; }
.cb-heading { font-size: 1.45rem; margin: 0 0 6px; color: #0c5947; }
.composer--green .cb-heading { color: #fff; }
.cb-text p { margin: 8px 0; }
.composer--green .cb-text { color: rgba(255,255,255,.92); }
.cb-img { width: 100%; height: auto; border-radius: 12px; display: block; }
.cb-btn { display: inline-block; margin-top: 8px; }
.cb-list { list-style: none; margin: 0; padding: 0; }
.cb-list li { position: relative; padding-left: 26px; margin: 8px 0; }
.cb-list li::before {
	content: ""; position: absolute; left: 0; top: 2px;
	width: 16px; height: 16px; border-radius: 50%;
	background: #fcc92f;
}
.cb-list li::after {
	content: ""; position: absolute; left: 5px; top: 9px;
	width: 5px; height: 8px; border: solid #0c5947; border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.composer--green a:not(.btn) { color: #fcc92f; }
@media (max-width: 900px) {
	.composer__grid--3, .composer__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.composer__grid--2, .composer__grid--3, .composer__grid--4 { grid-template-columns: 1fr; }
}
