/* ============================================================
   Modern skin — dimuat SETELAH style.css tema dasar (barunih)
   agar aturan di bawah menimpa tampilan bawaan.
   ============================================================ */

:root {
	--m-primary: #0B5D3B;        /* toska/teal */
	--m-primary-dark: #0B5D3B;
	--m-ink: #0f172a;
	--m-body: #f4f7fb;
	--m-nav: #ffffff;
	--m-radius: 18px;
	--m-shadow: 0 12px 34px rgba(2, 12, 27, .08);
}

body {
	font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	background: var(--m-body);
	color: #334155;
}

h1, h2, h3, h4, h5, h6,
.site-title, .blog-title a, .breadcrumb-title, .widget-title {
	font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
	color: var(--m-ink);
	letter-spacing: -.01em;
}

img { border-radius: 6px; }

a { transition: color .2s ease; }

/* ---------- Navigasi modern (sticky, putih, shadow) ---------- */
.header-modern {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background: var(--m-nav);
	box-shadow: 0 4px 22px rgba(15, 23, 42, .08);
	border: 0;
}
.header-modern .navbar { min-height: 76px; padding: .5rem 0; }
.header-modern .navbar-brand img { height: 46px; width: auto; }
.header-modern .brand-name { font-weight: 800; color: var(--m-ink); font-size: 1.05rem; }
.header-modern .navbar-nav .nav-link {
	color: #1e293b;
	font-weight: 600;
	font-size: .95rem;
	padding: .65rem .9rem !important;
	position: relative;
}
.header-modern .navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: .9rem;
	right: .9rem;
	bottom: .35rem;
	height: 3px;
	border-radius: 3px;
	background: var(--m-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
.header-modern .navbar-nav .nav-link:hover,
.header-modern .navbar-nav .nav-link:focus { color: var(--m-primary-dark); }
.header-modern .navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.header-modern .dropdown-menu {
	border: 0;
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
	padding: .5rem;
	margin-top: .65rem !important;
}
.header-modern .dropdown-menu .dropdown-item {
	border-radius: 10px;
	font-weight: 500;
	color: #334155;
	padding: .55rem .9rem;
}
.header-modern .dropdown-menu .dropdown-item:hover {
	background: rgba(11, 93, 59, .1);
	color: var(--m-primary-dark);
}
.header-modern .navbar-toggler-mobile-icon { color: var(--m-ink); }
.btn-search-modern {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.5px solid #e2e8f0;
	background: #fff;
	color: var(--m-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all .2s ease;
}
.btn-search-modern:hover { background: var(--m-primary); border-color: var(--m-primary); color: #fff; }

/* ---------- Hero modern ---------- */
.hero-single {
	min-height: 640px;
	display: flex;
	align-items: center;
}
.hero-single::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(4, 42, 26, .82) 0%, rgba(11, 93, 59, .35) 100%);
	z-index: 0;
}
.hero-single .container { position: relative; z-index: 1; }
.hero-single .hero-sub-title {
	color: #F6C945 !important;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}
.hero-single .hero-title {
	color: #fff !important;
	font-weight: 800;
	font-size: clamp(2rem, 4.6vw, 3.6rem);
	line-height: 1.12;
	text-shadow: 0 3px 18px rgba(0, 0, 0, .25);
}
.hero-single .theme-btn {
	background: #fff;
	color: var(--m-primary-dark) !important;
	border: 0;
}
.hero-single .theme-btn:hover { background: var(--m-ink); color: #fff !important; }

/* ---------- Tombol pill ---------- */
.theme-btn {
	border-radius: 999px !important;
	font-weight: 700;
	padding: 13px 30px !important;
	box-shadow: none;
}
.theme-btn:hover { box-shadow: 0 12px 24px rgba(11, 93, 59, .28); }

/* ---------- Judul seksi ---------- */
.site-title { font-weight: 800; }
.site-title-tagline {
	color: var(--m-primary-dark);
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	font-size: .8rem;
}
.site-title span, .site-title { color: var(--m-ink); }
.site-heading .site-title span { color: var(--m-primary); }

/* ---------- Kartu konten ---------- */
.blog-item,
.team-item,
.gallery-item,
.department-item,
.testimonial-single,
.feature-item {
	background: #fff;
	border-radius: var(--m-radius);
	box-shadow: var(--m-shadow);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.blog-item:hover,
.team-item:hover,
.gallery-item:hover,
.department-item:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(2, 12, 27, .13); }
.blog-item-img img,
.team-img img,
.gallery-img img { border-radius: 0; }
.blog-date { border-radius: 10px; background: var(--m-primary) !important; }
.blog-item-info { padding: 24px; }
.blog-title a:hover { color: var(--m-primary-dark); }
.team-social-btn { background: var(--m-primary) !important; border-radius: 50%; }
.gallery-content a.popup-img { background: var(--m-primary) !important; border-radius: 50%; }
.department-item { padding: 18px; }
.department-icon img { border-radius: 14px; }
.department-title a { color: var(--m-ink); }
.partner-area { background: #eef2f7; }
.partner-area img { opacity: .75; transition: opacity .2s; }
.partner-area img:hover { opacity: 1; }

/* ---------- Counter ---------- */
.counter-box {
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 16px;
	padding: 20px 12px;
	text-align: center;
}
.counter-box .counter, .counter-box .title { color: #fff !important; }

/* ---------- Breadcrumb ---------- */
.site-breadcrumb {
	position: relative;
	background-position: center !important;
	background-size: cover !important;
	padding: 90px 0 !important;
}
.site-breadcrumb::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 42, 26, .85), rgba(11, 93, 59, .5));
}
.site-breadcrumb .container { position: relative; z-index: 1; }
.site-breadcrumb .breadcrumb-title { color: #fff !important; font-weight: 800; }
.site-breadcrumb .breadcrumb-menu li a, .site-breadcrumb .breadcrumb-menu li { color: #e2e8f0 !important; }
.site-breadcrumb .breadcrumb-menu li.active { color: #F2B705 !important; }

/* ---------- Footer modern ---------- */
.footer-modern { background: #0B5D3B; color: #b6c2d4; }
.footer-modern-main { padding: 70px 0 46px; }
.footer-modern-brand img { height: 54px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 18px; }
.footer-modern-brand p { line-height: 1.75; }
.footer-modern-social { display: flex; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.footer-modern-social a {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #e2e8f0;
}
.footer-modern-social a:hover { background: var(--m-primary); color: #fff; }
.footer-modern-links h4 {
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 10px;
}
.footer-modern-links h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 3px;
	border-radius: 3px;
	background: var(--m-primary);
}
.footer-modern-links ul { list-style: none; margin: 0; padding: 0; }
.footer-modern-links li { margin-bottom: 10px; }
.footer-modern-links a { color: #b6c2d4; text-decoration: none; }
.footer-modern-links a:hover { color: #F2B705; padding-left: 4px; }
.footer-modern-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-modern-contact i { color: #F2B705; margin-top: 4px; }
.footer-modern-bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding: 20px 0;
}
.footer-modern-bottom p { margin: 0; text-align: center; color: #8fa0b5; }
.footer-modern-bottom a { color: #F2B705; text-decoration: none; }

/* ---------- Widget samping ---------- */
.widget {
	background: #fff;
	border-radius: var(--m-radius);
	box-shadow: var(--m-shadow);
	border: 0 !important;
}
.widget-title { font-weight: 700; position: relative; padding-bottom: 12px; }
.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 3px;
	background: var(--m-primary);
	border-radius: 3px;
}
.recent-post-img img { border-radius: 10px; }

/* ---------- Kartu testimoni ---------- */
.testimonial-single { padding: 34px; }
.testimonial-author-img img {
	border-radius: 50%;
	width: 70px;
	height: 70px;
	object-fit: cover;
	border: 3px solid rgba(11, 93, 59, .35);
}

/* ---------- Pagination ---------- */
.pagination .page-item.active .page-link {
	background: var(--m-primary);
	border-color: var(--m-primary);
}
.pagination .page-link { color: var(--m-primary-dark); }

/* ---------- Halaman konten (profil/detail) ---------- */
.blog-single-wrapper,
.event-details,
.terms-content,
.contact-wrapper {
	background: #fff;
	border-radius: var(--m-radius);
	box-shadow: var(--m-shadow);
}

/* ============================================================
   Override keras — menjamin tampilan benar-benar berbeda dari
   tema bawaan meskipun style.css dasar memakai selektor lebih spesifik.
   ============================================================ */
body {
	background: var(--m-body) !important;
	color: #334155 !important;
	font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif !important;
}

/* Navigasi: putih bersih + aksen, bukan strip hijau tua bawaan */
.header-modern {
	background: #ffffff !important;
	box-shadow: 0 6px 24px rgba(15, 23, 42, .1) !important;
}
.header-modern .navbar { min-height: 76px; }
.header-modern .navbar-brand img {
	height: 48px !important;
	width: auto !important;
	border-radius: 10px !important;
	background: #F2F7F2 !important;
	padding: 6px !important;
}
.header-modern .brand-name { color: #0f172a !important; font-weight: 800 !important; }
.header-modern .navbar-nav .nav-link {
	color: #1e293b !important;
	font-weight: 600 !important;
}
.header-modern .navbar-nav .nav-link:hover,
.header-modern .navbar-nav .nav-link.active { color: #0B5D3B !important; }
.header-modern .dropdown-menu .dropdown-item:hover { background: #E4F0E8 !important; color: #0B5D3B !important; }

/* Hero: overlay gradasi jelas + teks besar putih */
.hero-section { padding: 0 !important; }
.hero-single { min-height: 620px !important; }
.hero-single::before {
	background: linear-gradient(100deg, rgba(4, 42, 26, .85) 0%, rgba(11, 93, 59, .55) 100%) !important;
}
.hero-single .hero-title {
	color: #ffffff !important;
	font-weight: 800 !important;
	font-size: clamp(2.2rem, 5vw, 4rem) !important;
	line-height: 1.08 !important;
}
.hero-single .hero-sub-title { color: #F2B705 !important; }

/* Judul seksi: garis aksen toska */
.site-title { color: #0f172a !important; }
.site-title-tagline { color: #0B5D3B !important; }
.site-heading .site-title span { color: #0B5D3B !important; }

/* Tombol: pill toska */
.theme-btn {
	background: #0B5D3B !important;
	border: 2px solid #0B5D3B !important;
	color: #ffffff !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
}
.theme-btn:hover {
	background: #0f172a !important;
	border-color: #0f172a !important;
	color: #ffffff !important;
}

/* Kartu putih membulat */
.blog-item, .team-item, .gallery-item, .department-item, .testimonial-single {
	background: #ffffff !important;
	border-radius: 18px !important;
	box-shadow: 0 10px 30px rgba(2, 12, 27, .07) !important;
}

/* Footer biru tua */
.footer-modern { background: #0B5D3B !important; }
.footer-modern-links h4 { color: #ffffff !important; }
.footer-modern-links h4::after { background: #0B5D3B !important; }
.footer-modern-links a { color: #cbd5e1 !important; }
.footer-modern-links a:hover { color: #F2B705 !important; }
.footer-modern-social a:hover { background: #0B5D3B !important; }
.footer-modern-bottom { border-top-color: rgba(255, 255, 255, .1) !important; }

/* Breadcrumb modern */
.site-breadcrumb { padding: 90px 0 !important; }
.site-breadcrumb::before {
	background: linear-gradient(90deg, rgba(4, 42, 26, .88), rgba(11, 93, 59, .6)) !important;
}
.site-breadcrumb .breadcrumb-title { color: #ffffff !important; }

/* Background kotak warna di beberapa seksi (seperti barunih .bg) dibuat terang */
.bg { background: #eef2f7 !important; }

/* Preloader bawaan tidak dipakai di tema modern */
.preloader { display: none !important; }

/* ============================================================
   Polesan v2 — kerapian lintas area (hero, nav, warna, kartu,
   jarak seksi, footer, halaman dalam).
   ============================================================ */

/* ---------- Tipografi ---------- */
.site-title { font-size: clamp(1.6rem, 3vw, 2.3rem) !important; letter-spacing: -.02em !important; }
.site-title-tagline {
	background: rgba(11, 93, 59, .1) !important;
	color: #0B5D3B !important;
	padding: 6px 14px !important;
	border-radius: 999px !important;
	display: inline-block !important;
	font-size: .75rem !important;
	letter-spacing: 1.2px !important;
}

/* ---------- Jarak antar seksi lebih lega tapi tidak berlebihan ---------- */
.py-120 { padding-top: 90px !important; padding-bottom: 90px !important; }
.pt-120 { padding-top: 90px !important; }
.pb-120 { padding-bottom: 90px !important; }

/* ---------- Hero ---------- */
.hero-single .hero-content { max-width: 680px; }
.hero-single .hero-sub-title {
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .25);
	backdrop-filter: blur(3px);
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	margin-bottom: 18px !important;
}
.hero-single .hero-title { margin-bottom: 22px !important; }
.hero-single .theme-btn {
	background: #fff !important;
	color: #0B5D3B !important;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .18) !important;
}
.hero-single .theme-btn:hover { background: #0f172a !important; color: #fff !important; }

/* Navigasi owl di hero */
.hero-section .owl-nav button { width: 46px; height: 46px; border-radius: 50% !important; background: rgba(255,255,255,.18) !important; border: 1px solid rgba(255,255,255,.35) !important; }
.hero-section .owl-nav button:hover { background: #0B5D3B !important; }
.hero-section .owl-dots .owl-dot span { background: rgba(255,255,255,.4) !important; }
.hero-section .owl-dots .owl-dot.active span { background: #fff !important; }

/* ---------- Navigasi ---------- */
.header-modern { border-bottom: 1px solid #eef2f7; }
.header-modern .navbar-nav .nav-link { padding: .7rem 1rem !important; }
.header-modern .navbar-nav .nav-link::after { background: #0B5D3B; }
@media (max-width: 991.98px) {
	.header-modern .navbar-collapse {
		background: #fff;
		border-radius: 16px;
		box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
		padding: 14px;
		margin-top: 10px;
	}
	.header-modern .navbar-brand img { height: 40px !important; }
	.header-modern .navbar-nav .nav-link::after { display: none; }
}

/* ---------- Kartu konten seragam ---------- */
.blog-item-img { overflow: hidden; height: 230px; }
.blog-item-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.blog-item-info { padding: 26px 26px 30px !important; }
.blog-title { font-size: 1.15rem !important; line-height: 1.4 !important; }
.blog-date {
	top: 16px !important;
	left: 16px !important;
	right: auto !important;   /* jangan dipaksa melebar: dasar CSS memakai right+bottom */
	bottom: auto !important;
	padding: 9px 14px !important;
	font-size: .78rem !important;
	border-radius: 10px !important;
	background: rgba(11, 93, 59, .92) !important;
	color: #fff !important;
	z-index: 2 !important;
}

.team-img { height: 285px; overflow: hidden; }
.team-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.team-content { padding: 22px 20px !important; text-align: center; }
.team-bio h5 { font-size: 1.05rem !important; }
.team-social-btn {
	top: 16px !important;
	right: 16px !important;
	background: rgba(255, 255, 255, .92) !important;
	color: #0B5D3B !important;
	width: 40px !important;
	height: 40px !important;
}

.gallery-img { height: 230px; overflow: hidden; }
.gallery-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.gallery-content a.popup-img { width: 46px !important; height: 46px !important; }

.department-item { padding: 14px !important; }
.department-icon { height: 210px; overflow: hidden; border-radius: 14px; }
.department-icon img { width: 100% !important; height: 100% !important; object-fit: cover; }
.department-info { padding: 18px 6px 8px !important; }

/* Kartu keunggulan di bawah hero: pastikan isi terlihat di atas kartu putih */
.feature-item {
	padding: 30px 26px !important;
	background: #ffffff !important;
	border-radius: 18px !important;
	box-shadow: 0 12px 32px rgba(2, 12, 27, .08) !important;
	border-top: 4px solid #0B5D3B !important;
	display: flex !important;
	align-items: flex-start !important;
	gap: 20px !important;
}
.feature-icon {
	width: 66px !important;
	height: 66px !important;
	flex: 0 0 66px !important;
	line-height: normal !important;
	border-radius: 16px !important;
	background: rgba(11, 93, 59, .12) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.feature-icon img {
	width: 34px !important;
	height: auto !important;
	filter: none !important;
}
.feature-content h4 {
	color: #0f172a !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	margin-bottom: 8px !important;
}
.feature-content p {
	color: #475569 !important;
	margin-bottom: 0 !important;
}
.feature-item::before { display: none !important; }

/* ---------- Testimoni ---------- */
.testimonial-single { padding: 36px 30px !important; }
.testimonial-author-img img { width: 64px !important; height: 64px !important; border-radius: 50% !important; object-fit: cover !important; }

/* ---------- Footer ---------- */
.footer-modern-main { padding: 74px 0 50px !important; }
.footer-modern-brand p { color: #94a3b8 !important; font-size: .95rem; }
.footer-modern-links h4 { margin-bottom: 22px !important; }
.footer-modern-bottom p { font-size: .92rem; }

/* ---------- Halaman dalam ---------- */
.site-breadcrumb .breadcrumb-menu { margin-top: 6px !important; }
.site-breadcrumb .breadcrumb-menu li { display: inline-block; }
.site-breadcrumb .breadcrumb-menu li::after { color: #F2B705; content: "/"; padding: 0 8px; }
.site-breadcrumb .breadcrumb-menu li:last-child::after { content: ""; }

/* Sidebar + konten artikel */
.blog-single-wrapper, .event-details { padding: 8px; }
.blog-thumb-img { overflow: hidden; border-radius: 14px; max-height: 470px; }
.blog-thumb-img img { width: 100% !important; object-fit: cover; }
.blog-info, .event-details .my-4, .event-details > img + div { padding: 10px 18px 0; }
.event-details > img { width: 100% !important; border-radius: 14px; object-fit: cover; max-height: 420px; }
.recent-post-single { gap: 12px !important; }
.recent-post-img { width: 86px; height: 78px; overflow: hidden; border-radius: 12px; flex: 0 0 86px; }
.recent-post-img img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 12px; }

/* Tabel guru/download di dalam kartu */
.table-responsive { padding: 6px; }
.table thead th { background: #0B5D3B !important; color: #fff !important; border: 0 !important; font-weight: 600 !important; }
.table td img { border-radius: 10px; object-fit: cover; }

/* Kalender kegiatan */
#calendar { padding: 18px; }
.fc .fc-button-primary {
	background: #0B5D3B !important;
	border-color: #0B5D3B !important;
}
.fc .fc-button-primary:not(:disabled):hover { background: #0B5D3B !important; border-color: #0B5D3B !important; }

/* Tombol kembali ke atas */
#scroll-top {
	background: #0B5D3B !important;
	border-radius: 50% !important;
	box-shadow: 0 10px 24px rgba(11, 93, 59, .4) !important;
}
#scroll-top:hover { background: #0f172a !important; }

/* Banner mode pratinjau tetap di atas segalanya */
body > div[style*="99999"] { font-family: "Plus Jakarta Sans", sans-serif; }

/* ============================================================
   Layout v3 — halaman depan Tema Modern (berbeda dengan default)
   ============================================================ */

/* ---------- Hero editorial ---------- */
.hero-kicker {
	display: inline-block;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .3);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 18px;
}

/* ---------- Info bar di bawah hero ---------- */
.m-info-bar { padding: 34px 0 10px; }
.m-chip {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(2, 12, 27, .06);
	padding: 18px 20px;
	height: 100%;
}
.m-chip-icon {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(11, 93, 59, .12);
	color: #0B5D3B;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
}
.m-chip b { display: block; color: #0f172a; font-size: .95rem; }
.m-chip p { margin: 2px 0 0; color: #475569; font-size: .88rem; line-height: 1.5; word-break: break-word; }
.m-chip a { color: #0B5D3B; }

/* ---------- Seksi umum ---------- */
.m-sec { padding: 78px 0; }
.m-sec-alt { background: #eef2f7; }
.m-sec .m-head, .m-sec-alt .m-head { margin-bottom: 38px; }
.m-head .site-title { margin: 10px 0 0; }
.m-head.text-center { margin-left: auto; margin-right: auto; }
.m-head.text-center .site-title-tagline, .m-head.text-center .site-title { text-align: center; }
.m-lead { font-size: 1.05rem; line-height: 1.9; color: #475569; }
.btn-link-more { color: #0B5D3B; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn-link-more:hover { color: #0f172a; }

/* ---------- Kartu keunggulan ---------- */
.m-feature {
	position: relative;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(2, 12, 27, .07);
	padding: 30px 26px 26px;
	overflow: hidden;
	height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
}
.m-feature:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(2, 12, 27, .12); }
.m-feature-num {
	position: absolute;
	top: 6px;
	right: 14px;
	font-size: 3.4rem;
	font-weight: 800;
	color: rgba(11, 93, 59, .12);
	line-height: 1;
}
.m-feature-body h4 { color: #0f172a; font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; }
.m-feature-body p { color: #475569; margin: 0; }

/* ---------- Kepala sekolah ---------- */
.m-about-media { position: relative; }
.m-about-media img {
	width: 100% !important;
	height: 460px !important;
	object-fit: cover;
	border-radius: 26px;
	box-shadow: 0 24px 50px rgba(2, 12, 27, .16);
}
.m-about-badge {
	position: absolute;
	left: 18px;
	bottom: 18px;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(4px);
	border-radius: 14px;
	padding: 14px 20px;
	box-shadow: 0 10px 24px rgba(2, 12, 27, .14);
}
.m-about-badge b { display: block; color: #0f172a; }
.m-about-badge span { color: #0B5D3B; font-size: .85rem; font-weight: 600; }

/* ---------- Berita editorial ---------- */
.m-news-featured {
	position: relative;
	display: block;
	border-radius: 20px;
	overflow: hidden;
	min-height: 430px;
	height: 100%;
	text-decoration: none;
	box-shadow: 0 18px 40px rgba(2, 12, 27, .12);
}
.m-news-featured img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.m-news-featured picture { display: block; position: absolute; inset: 0; }
.m-news-item picture { flex: 0 0 112px; width: 112px; height: 92px; overflow: hidden; border-radius: 12px; }
.m-news-featured:hover img { transform: scale(1.05); }
.m-news-featured::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 42, 26, 0) 30%, rgba(4, 42, 26, .86) 100%);
}
.m-news-featured-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 26px;
}
.m-news-featured-body h3 { color: #fff; font-weight: 700; margin: 10px 0 0; line-height: 1.35; }
.m-news-date {
	display: inline-block;
	background: rgba(11, 93, 59, .92);
	color: #fff;
	font-size: .78rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
}
.m-news-item {
	display: flex;
	gap: 14px;
	align-items: center;
	background: #fff;
	border-radius: 16px;
	padding: 10px;
	box-shadow: 0 8px 22px rgba(2, 12, 27, .06);
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}
.m-news-item:hover { box-shadow: 0 16px 34px rgba(2, 12, 27, .12); transform: translateY(-3px); }
.m-news-item img { width: 100% !important; height: 100% !important; object-fit: cover; }
.m-teacher-photo picture, .m-ekskul-photo picture, .m-jurusan-photo picture, .m-gallery-item picture { display: block; width: 100%; height: 100%; }
.m-about-media picture { display: block; }
.m-news-item-body h5 { color: #0f172a; font-size: .98rem; line-height: 1.4; margin: 4px 0 0; }
.m-news-item-date { color: #0B5D3B; font-size: .76rem; font-weight: 600; }

/* ---------- Guru ---------- */
.m-teacher {
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(2, 12, 27, .07);
	height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
}
.m-teacher:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(2, 12, 27, .13); }
.m-teacher-photo { height: 270px; overflow: hidden; }
.m-teacher-photo img { width: 100% !important; height: 100% !important; object-fit: cover; }
.m-teacher-body { padding: 18px 16px 20px; text-align: center; }
.m-teacher-body h5 { color: #0f172a; font-weight: 700; margin-bottom: 4px; }
.m-teacher-body span { color: #0B5D3B; font-size: .85rem; font-weight: 600; }

/* ---------- Ekskul ---------- */
.m-ekskul {
	display: block;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(2, 12, 27, .06);
	text-decoration: none;
	height: 100%;
	transition: transform .2s ease, box-shadow .2s ease;
}
.m-ekskul:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(2, 12, 27, .13); }
.m-ekskul-photo { height: 150px; overflow: hidden; }
.m-ekskul-photo img { width: 100% !important; height: 100% !important; object-fit: cover; }
.m-ekskul h5 { color: #0f172a; font-size: .95rem; text-align: center; padding: 14px 10px; margin: 0; }

/* ---------- Jurusan ---------- */
.m-jurusan {
	display: block;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(2, 12, 27, .07);
	text-decoration: none;
	height: 100%;
}
.m-jurusan-photo { height: 190px; overflow: hidden; }
.m-jurusan-photo img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.m-jurusan:hover .m-jurusan-photo img { transform: scale(1.06); }
.m-jurusan-body { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; }
.m-jurusan-body h5 { color: #0f172a; margin: 0; font-weight: 700; }
.m-jurusan-body span { color: #0B5D3B; font-size: .82rem; font-weight: 600; }

/* ---------- Galeri ---------- */
.m-gallery .m-gallery-item {
	position: relative;
	display: block;
	height: 200px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(2, 12, 27, .08);
}
.m-gallery-item img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.m-gallery-item:hover img { transform: scale(1.08); }
.m-gallery-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(11, 93, 59, .45);
	color: #fff;
	font-size: 1.5rem;
	opacity: 0;
	transition: opacity .25s ease;
}
.m-gallery-item:hover .m-gallery-zoom { opacity: 1; }

/* ---------- Testimoni ---------- */
.m-testimoni {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 14px 34px rgba(2, 12, 27, .08);
	padding: 34px 30px;
	margin: 10px 8px;
}
.m-testimoni-stars { color: #F2B705; margin-bottom: 14px; }
.m-testimoni-stars i { margin-right: 3px; }
.m-testimoni p { color: #475569; line-height: 1.8; min-height: 76px; }
.m-testimoni-author { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.m-testimoni-author img { width: 52px !important; height: 52px !important; object-fit: cover; border-radius: 50% !important; border: 3px solid rgba(11, 93, 59, .3); }
.m-testimoni-author b { display: block; color: #0f172a; }
.m-testimoni-author span { color: #0B5D3B; font-size: .84rem; }

/* ---------- Partner ---------- */
.m-partner { background: #fff; }
.m-partner-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
	border-radius: 14px;
	padding: 16px;
	height: 110px;
}
.m-partner-logo img { max-width: 100%; max-height: 78px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .25s ease; }
.m-partner-logo:hover img { filter: none; opacity: 1; }

@media (max-width: 991.98px) {
	.m-about-media img { height: 340px !important; }
	.m-news-featured { min-height: 320px; }
}

/* ============================================================
   v4 — Identitas Muhammadiyah (hijau #0B5D3B, lumut #3E8E5A,
   emas matahari #F2B705) + polesan UI/UX menyeluruh
   ============================================================ */

:root {
	--m-primary: #0B5D3B;
	--m-primary-dark: #08472E;
	--m-moss: #3E8E5A;
	--m-moss-dark: #2F7A4C;
	--m-gold: #F2B705;
	--m-gold-soft: #F7CE4E;
	--m-gold-bg: rgba(242, 183, 5, .16);
	--m-moss-bg: rgba(62, 142, 90, .14);
	--m-green-bg: rgba(11, 93, 59, .08);
	--m-ink: #0C2417;
}

body {
	background: #F5F7F5 !important;
}

/* Warna judul sedikit menghijau (bukan navy dingin) */
h1, h2, h3, h4, h5, h6, .site-title, .blog-title a, .widget-title {
	color: var(--m-ink) !important;
}
.site-title { color: var(--m-ink) !important; }
.m-head .site-title span,
.site-heading .site-title span { color: var(--m-moss) !important; }

/* Seksi alternatif: abu-hijau lembut */
.m-sec-alt, .bg { background: #EEF4EF !important; }
.m-partner { background: #fff !important; }

/* ---------- Badge kategori (tagline pill) ---------- */
.site-title-tagline {
	background: var(--m-moss-bg) !important;
	color: var(--m-primary) !important;
	border: 1px solid rgba(62, 142, 90, .28) !important;
}

/* ---------- Tombol ---------- */
.theme-btn {
	background: var(--m-primary) !important;
	border: 2px solid var(--m-primary) !important;
	color: #fff !important;
}
.theme-btn:hover {
	background: var(--m-primary-dark) !important;
	border-color: var(--m-primary-dark) !important;
	box-shadow: 0 14px 26px rgba(11, 93, 59, .35) !important;
}
.theme-btn-gold { background: var(--m-gold) !important; border-color: var(--m-gold) !important; color: #3A2A00 !important; }
.theme-btn-gold:hover { background: #0B5D3B !important; border-color: #0B5D3B !important; color: #fff !important; box-shadow: 0 14px 26px rgba(242, 183, 5, .35) !important; }
.theme-btn-ghost {
	background: rgba(255, 255, 255, .12) !important;
	border: 2px solid rgba(255, 255, 255, .55) !important;
	color: #fff !important;
	backdrop-filter: blur(3px);
}
.theme-btn-ghost:hover { background: #fff !important; color: var(--m-primary) !important; border-color: #fff !important; }

/* ---------- Motif sinar matahari 12 sinar (watermark halus) ---------- */
.m-rays-host { position: relative; overflow: hidden; }
.m-rays {
	position: absolute;
	top: -80px;
	right: -80px;
	width: 520px;
	height: 520px;
	pointer-events: none;
	z-index: 0;
	background:
		repeating-conic-gradient(from 0deg, rgba(242, 183, 5, .10) 0deg 4deg, rgba(242, 183, 5, 0) 4deg 30deg),
		radial-gradient(circle, rgba(242, 183, 5, .16) 0%, rgba(242, 183, 5, 0) 46%);
	-webkit-mask-image: radial-gradient(closest-side, #000 26%, transparent 72%);
	mask-image: radial-gradient(closest-side, #000 26%, transparent 72%);
	opacity: .8;
}
.m-sec .m-rays { opacity: .55; }

/* ---------- Navigasi: aksen hijau + emas untuk item aktif ---------- */
.header-modern { background: #fff !important; box-shadow: 0 6px 24px rgba(10, 40, 26, .1) !important; }
.header-modern .navbar { min-height: 74px; }
.header-modern .navbar-brand { gap: .65rem; }
.header-modern .navbar-brand img {
	height: 46px !important;
	border-radius: 12px !important;
	background: #fff !important;
	padding: 4px !important;
	border: 1px solid #E3EDE5;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.header-modern .brand-name { font-size: 1.02rem !important; color: var(--m-primary) !important; }
.brand-sub { font-size: .7rem; font-weight: 700; color: #7A5A00; letter-spacing: .4px; text-transform: uppercase; }
.header-modern .navbar-nav .nav-link { color: #14311F !important; font-weight: 600 !important; }
.header-modern .navbar-nav .nav-link:hover,
.header-modern .navbar-nav .nav-link.active { color: var(--m-primary) !important; }
.header-modern .navbar-nav .nav-link::after { background: var(--m-gold) !important; }
.header-modern .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.header-modern .dropdown-menu { border-top: 3px solid var(--m-gold) !important; }
.header-modern .dropdown-menu .dropdown-item:hover { background: var(--m-moss-bg) !important; color: var(--m-primary) !important; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.m-nav-cta {
	align-items: center;
	gap: 8px;
	background: var(--m-gold) !important;
	color: #3A2A00 !important;
	font-weight: 800;
	font-size: .86rem;
	padding: 10px 20px !important;
	border-radius: 999px !important;
	text-decoration: none !important;
	box-shadow: 0 8px 18px rgba(242, 183, 5, .35);
	transition: all .2s ease;
}
.m-nav-cta:hover { background: var(--m-primary) !important; color: #fff !important; transform: translateY(-2px); }
.m-sun { color: var(--m-gold); }
.m-nav-cta .m-sun, .fp-org .m-sun { animation: mSunSpin 14s linear infinite; }
@keyframes mSunSpin { to { transform: rotate(360deg); } }
.m-nav-cta-mobile { background: var(--m-gold); color: #3A2A00 !important; border-radius: 999px; text-align: center; margin: 10px 14px !important; }

/* ---------- Hero: gradasi hijau dari bawah (overlay tidak lagi pekat) ---------- */
.hero-single { min-height: 600px !important; }
.hero-single::before {
	background: linear-gradient(180deg, rgba(4, 42, 26, .18) 0%, rgba(4, 42, 26, .05) 34%, rgba(7, 62, 38, .82) 78%, rgba(6, 52, 33, .95) 100%) !important;
}
.hero-single .hero-content { max-width: 780px; }
.hero-single .hero-kicker {
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .35);
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	padding: 8px 18px;
	border-radius: 999px;
	backdrop-filter: blur(3px);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
}
.hero-single .hero-kicker .m-sun { color: var(--m-gold-soft); }
.hero-btn .theme-btn { padding: 11px 24px !important; font-size: .95rem !important; }
.hero-single .hero-title {
	font-size: clamp(1.9rem, 4.6vw, 3.5rem) !important;
	line-height: 1.12 !important;
	text-shadow: 0 3px 22px rgba(0, 0, 0, .28) !important;
	margin-bottom: 16px !important;
}
.hero-single .hero-sub {
	color: rgba(255, 255, 255, .94) !important;
	font-size: clamp(.98rem, 1.6vw, 1.12rem);
	max-width: 620px;
	margin: 0 auto;
	line-height: 1.65;
}
.hero-section .owl-dots { display: none; }
.hero-section .owl-nav button { border-color: rgba(255, 255, 255, .5) !important; background: rgba(4, 42, 26, .35) !important; }
.hero-section .owl-nav button:hover { background: var(--m-gold) !important; }

/* ---------- Info bar: kartu mengambang di atas hero ---------- */
.m-info-bar {
	margin-top: -84px;
	position: relative;
	z-index: 20;
	padding: 0 0 86px;
}
.m-chip {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 22px 46px rgba(6, 60, 36, .20);
	border: 1px solid rgba(62, 142, 90, .18);
	padding: 20px 22px;
}
.m-chip-icon {
	background: linear-gradient(150deg, var(--m-moss), var(--m-moss-dark));
	color: #fff !important;
	box-shadow: 0 8px 16px rgba(62, 142, 90, .35);
}
.m-chip b { color: var(--m-primary); }
.m-chip p { color: #45564C; }
.m-chip a { color: var(--m-primary); font-weight: 600; }
.m-chip a:hover { color: var(--m-gold); }

/* ---------- Keunggulan: kartu dekoratif ikon + nomor + aksen emas ---------- */
.m-feature {
	position: relative;
	background: #fff;
	border: 1px solid #E4EDE6;
	border-radius: 22px;
	overflow: hidden;
	padding: 40px 26px 34px;
	text-align: center;
	height: 100%;
	box-shadow: 0 12px 30px rgba(6, 60, 36, .07);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.m-feature::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--m-gold), var(--m-primary) 45%, var(--m-moss));
	transform: scaleX(.35);
	transform-origin: left;
	transition: transform .35s ease;
}
.m-feature::after {
	content: "";
	position: absolute;
	top: -70px;
	right: -70px;
	width: 190px;
	height: 190px;
	background: repeating-conic-gradient(from 0deg, rgba(242, 183, 5, .08) 0deg 5deg, rgba(242, 183, 5, 0) 5deg 30deg);
	-webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 70%);
	mask-image: radial-gradient(closest-side, #000 15%, transparent 70%);
	pointer-events: none;
}
.m-feature:hover {
	transform: translateY(-8px);
	border-color: rgba(11, 93, 59, .35);
	box-shadow: 0 26px 50px rgba(6, 60, 36, .16);
}
.m-feature:hover::before { transform: scaleX(1); }
.m-feature-idx {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	background: rgba(242, 183, 5, .14);
	border: 1px solid rgba(242, 183, 5, .45);
	color: #8A6400;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: 1px;
	padding: 5px 11px;
	border-radius: 999px;
}
.m-feature-ico {
	position: relative;
	z-index: 1;
	width: 86px;
	height: 86px;
	margin: 0 auto 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 26px;
	background: linear-gradient(140deg, #0E7146 0%, var(--m-primary) 55%, var(--m-moss) 130%);
	color: #fff;
	font-size: 1.9rem;
	box-shadow: 0 14px 26px rgba(11, 93, 59, .32);
	transition: transform .3s ease, border-radius .3s ease, box-shadow .3s ease;
}
.m-feature-ico::after {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 30px;
	border: 2px dashed rgba(62, 142, 90, .45);
	opacity: 0;
	transition: opacity .3s ease, transform .3s ease;
}
.m-feature:hover .m-feature-ico {
	transform: translateY(-6px) rotate(-5deg);
	border-radius: 50%;
	box-shadow: 0 20px 34px rgba(11, 93, 59, .38);
}
.m-feature:hover .m-feature-ico::after { opacity: 1; transform: rotate(8deg); }
.m-feature-num { display: none; }
.m-feature-body { position: relative; z-index: 1; }
.m-feature-body h4 {
	font-size: 1.22rem;
	color: var(--m-ink);
	margin: 0 0 12px;
}
.m-feature-line {
	display: block;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--m-gold);
	margin: 0 auto 14px;
	transition: width .3s ease;
}
.m-feature:hover .m-feature-line { width: 56px; }
.m-feature-body p {
	color: #52635A;
	font-size: .95rem;
	line-height: 1.7;
	margin: 0;
}
.m-sec { padding-top: 84px; padding-bottom: 84px; }

/* ---------- Sambutan Kepala Sekolah ---------- */
.m-about-media img { border: 6px solid #fff; box-shadow: 0 24px 50px rgba(11, 93, 59, .18); }
.m-about-badge { border-left: 4px solid var(--m-gold); }
.m-about-badge b { color: var(--m-primary); }
.m-about-badge span { color: var(--m-moss); font-weight: 700; }
.m-avatar-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(150deg, #EAF3EC, #D6E8DA);
	color: var(--m-moss);
	font-size: 5rem;
	width: 100%;
	height: 460px;
	border-radius: 26px;
}
.m-avatar-fallback.small { height: 100%; font-size: 3rem; border-radius: 0; }
.m-lead { color: #3D4F44; }

/* ---------- Berita editorial: tanggal hijau, item kanan bertumpuk ---------- */
.m-news-date, .m-news-item-date { background: var(--m-primary); color: #fff; }
.m-news-date i, .m-news-item-date i, .blog-date i { color: var(--m-gold-soft); margin-right: 5px; }
.m-news-date { border-radius: 999px; }
.m-news-item {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border-radius: 18px;
}
.m-news-item-thumb {
	display: block;
	height: 150px;
	overflow: hidden;
	flex: none;
	width: 100%;
	background: var(--m-moss);
}
.m-news-item-thumb picture { display: block; width: 100%; height: 100%; }
.m-news-item-thumb img, .m-news-item-thumb picture img { width: 100% !important; height: 100% !important; object-fit: cover; }
.m-news-thumb-fallback { display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; }
.m-news-item-body { display: block; padding: 16px 18px 18px; }
.m-news-item-date {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	margin-bottom: 8px;
}
.m-news-item-body h5 { font-size: 1rem; line-height: 1.45; margin: 0; }
.m-news-featured { box-shadow: 0 22px 46px rgba(6, 60, 36, .22); }
.m-news-featured-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(150deg, #EAF3EC, #D6E8DA);
	color: var(--m-moss);
	font-size: 4rem;
	position: absolute;
	inset: 0;
}
.btn-link-more { color: var(--m-primary); }
.btn-link-more:hover { color: var(--m-gold); }
.btn-link-more:hover i { transform: translateX(4px); }
.btn-link-more i { transition: transform .2s ease; }

/* ---------- Guru ---------- */
.m-teacher-photo { position: relative; }
.m-teacher-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 3px solid transparent;
	border-radius: 18px 18px 0 0;
	pointer-events: none;
}
.m-teacher:hover .m-teacher-photo::after { border-color: var(--m-moss); }
.m-teacher-body h5 { color: var(--m-ink); }
.m-teacher-body span {
	color: var(--m-moss) !important;
	background: var(--m-moss-bg);
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
}

/* ---------- Ekstrakurikuler: kartu foto (ikon hanya fallback bila foto kosong) ---------- */
.m-ekskul { background: #fff; }
.m-ekskul-photo {
	display: block;
	height: 170px;
	overflow: hidden;
	position: relative;
	background: radial-gradient(circle at 30% 20%, #4C9E6C, var(--m-moss) 50%, var(--m-moss-dark));
}
.m-ekskul-photo picture { display: block; width: 100%; height: 100%; }
.m-ekskul-photo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.m-ekskul:hover .m-ekskul-photo img { transform: scale(1.08); }
.m-ekskul-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 170px;
	width: 100%;
	color: #fff;
	font-size: 3rem;
	background: radial-gradient(circle at 28% 20%, #4C9E6C 0%, var(--m-moss) 46%, var(--m-moss-dark) 100%);
	position: relative;
	overflow: hidden;
}
.m-ekskul-tile i { position: relative; z-index: 1; filter: drop-shadow(0 6px 10px rgba(6, 45, 27, .3)); }
.m-ekskul-body { display: block; padding: 14px 12px 16px; text-align: center; }
.m-ekskul-kicker {
	display: block;
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--m-moss);
	margin-bottom: 3px;
}
.m-ekskul-kicker i { margin-right: 4px; font-size: .6rem; }
.m-ekskul h5 { font-size: .98rem; margin: 0; }
@media (max-width: 575.98px) {
	.m-ekskul-photo, .m-ekskul-tile { height: 130px; }
}

/* ---------- Galeri: fallback tile hijau untuk foto kosong ---------- */
.m-gallery-item { background: var(--m-moss-dark); }
.m-gallery-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #fff;
	background: radial-gradient(circle at 30% 22%, #4C9E6C, var(--m-moss) 45%, var(--m-moss-dark));
}
.m-gallery-fallback i { font-size: 1.9rem; }
.m-gallery-fallback small { font-size: .68rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.m-gallery-zoom { background: rgba(11, 93, 59, .55) !important; }

/* ---------- Jurusan ---------- */
.m-jurusan-photo { background: #E8F1EA; }
.m-jurusan-body span { color: var(--m-moss); }
.m-jurusan:hover .m-jurusan-body span { color: var(--m-gold); }

/* ---------- Testimoni ---------- */
.m-testimoni { box-shadow: 0 18px 40px rgba(6, 60, 36, .10); border-bottom: 4px solid var(--m-moss); }
.m-testimoni-stars i { color: var(--m-gold); }
.m-testimoni-author img { border: 3px solid var(--m-moss) !important; }
.m-testimoni-author b { color: var(--m-ink); }
.m-testimoni-author span { color: var(--m-moss); }
.m-tavatar {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--m-moss-bg);
	color: var(--m-moss);
	border: 3px solid rgba(62, 142, 90, .3);
}

/* ---------- CTA Pendaftaran ---------- */
.m-cta {
	background: linear-gradient(115deg, #0B5D3B 0%, #0E7146 55%, #15925A 100%);
	color: #fff;
	padding: 62px 0;
	position: relative;
	overflow: hidden;
}
.m-cta .m-rays {
	top: auto;
	bottom: -220px;
	right: -60px;
	opacity: .5;
}
.m-cta-kicker {
	display: inline-block;
	background: rgba(242, 183, 5, .18);
	border: 1px solid rgba(242, 183, 5, .5);
	color: #FCE7A8;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 14px;
}
.m-cta-title { color: #fff !important; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin: 0 0 8px; }
.m-cta-sub { color: rgba(255, 255, 255, .88); margin: 0; font-size: 1rem; }
.m-cta-btn { font-size: .95rem !important; padding: 12px 26px !important; }

/* ---------- Footer hijau Muhammadiyah ---------- */
.footer-modern {
	background: linear-gradient(180deg, #0B5D3B 0%, #0A5436 100%) !important;
	border-top: 4px solid var(--m-gold);
	color: rgba(255, 255, 255, .82);
}
.footer-modern-brand img { background: #fff; }
.footer-modern-brand p { color: rgba(255, 255, 255, .82) !important; }
.fp-org {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(242, 183, 5, .45);
	color: #FCE7A8;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: .8rem;
	margin-top: 6px;
}
.fp-org b { color: #fff; }
.footer-modern-social a { background: rgba(255, 255, 255, .1); color: #fff; }
.footer-modern-social a:hover { background: var(--m-gold); color: #3A2A00 !important; transform: translateY(-3px); }
.footer-modern-links h4 { color: #fff !important; }
.footer-modern-links h4::after { background: var(--m-gold) !important; }
.footer-modern-links a { color: rgba(255, 255, 255, .82) !important; }
.footer-modern-links a:hover { color: var(--m-gold) !important; padding-left: 5px; }
.footer-modern-contact i { color: var(--m-gold-soft) !important; }
.footer-modern-hours { margin-bottom: 14px !important; }
.footer-modern-hours li { display: flex; gap: 9px; align-items: flex-start; color: rgba(255, 255, 255, .82); }
.footer-modern-hours i { color: var(--m-gold-soft); margin-top: 4px; }
.footer-modern-hours b { color: #fff; font-weight: 600; }
.footer-modern-btns { display: flex; gap: 8px; margin-top: 8px; }
.footer-modern-btns li { margin: 0 !important; }
.f-btn-gold, .f-btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .78rem;
	font-weight: 700;
	border-radius: 999px;
	padding: 9px 16px;
	text-decoration: none !important;
}
.f-btn-gold { background: var(--m-gold); color: #3A2A00 !important; }
.f-btn-gold:hover { background: #fff !important; color: var(--m-primary) !important; }
.f-btn-ghost { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }
.f-btn-ghost:hover { background: #fff !important; color: var(--m-primary) !important; }
.footer-modern-bottom { border-top: 1px solid rgba(255, 255, 255, .14) !important; background: rgba(5, 45, 27, .55); }
.footer-modern-bottom p, .footer-modern-bottom a { color: rgba(255, 255, 255, .78) !important; }
.footer-modern-bottom a:hover { color: var(--m-gold) !important; }

/* ---------- Mitra & Partner: logo berjalan (marquee) ---------- */
.m-partner-marquee { padding: 72px 0 26px; }
.m-marquee {
	overflow: hidden;
	padding-top: 6px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.m-marquee-track {
	display: flex;
	width: max-content;
	gap: 24px;
	padding: 10px 0 30px;
	animation: mMarquee 38s linear infinite;
	will-change: transform;
}
.m-marquee:hover .m-marquee-track { animation-play-state: paused; }
.m-marquee-group { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
@keyframes mMarquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.mp-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 86px;
	min-width: 150px;
	padding: 12px 24px;
	background: #fff;
	border: 1px solid #E2ECE5;
	border-radius: 18px;
	box-shadow: 0 6px 16px rgba(6, 60, 36, .07);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mp-chip img {
	max-height: 58px;
	max-width: 160px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .62;
	transition: filter .25s ease, opacity .25s ease;
}
.mp-chip:hover {
	transform: translateY(-5px);
	border-color: rgba(11, 93, 59, .4);
	box-shadow: 0 16px 30px rgba(6, 60, 36, .14);
}
.mp-chip:hover img { filter: grayscale(0); opacity: 1; }
.mp-chip.is-dark { background: #101010; border-color: #101010; }
.mp-chip.is-dark img { filter: none; opacity: 1; }
.mp-chip.is-fallback {
	flex-direction: column;
	gap: 5px;
	background: rgba(62, 142, 90, .08);
	border: 1px dashed rgba(62, 142, 90, .45);
	color: var(--m-moss);
	font-size: .8rem;
	font-weight: 700;
}
.mp-chip.is-fallback i { font-size: 1.25rem; color: var(--m-primary); }
.mp-chip.is-fallback b { color: var(--m-primary); }
@media (max-width: 767.98px) {
	.mp-chip { height: 68px; min-width: 112px; padding: 10px 14px; }
	.mp-chip img { max-height: 44px; max-width: 110px; }
	.m-marquee-track { gap: 16px; }
	.m-marquee-group { gap: 16px; }
}

/* ---------- Lain-lain: pagination, scroll-top, tabel ---------- */
.pagination { gap: 4px; }
.pagination .page-link {
	background: #fff !important;
	color: var(--m-primary) !important;
	border: 1px solid rgba(11, 93, 59, .28) !important;
	box-shadow: none !important;
}
.pagination .page-link:hover {
	background: var(--m-primary) !important;
	color: #fff !important;
	border-color: var(--m-primary) !important;
}
.pagination .page-item.active .page-link {
	background: var(--m-primary) !important;
	color: #fff !important;
	border-color: var(--m-primary) !important;
	box-shadow: 0 8px 16px rgba(11, 93, 59, .3) !important;
}
.table thead th { background: var(--m-primary) !important; }
.fc .fc-button-primary { background: var(--m-primary) !important; border-color: var(--m-primary) !important; }
.fc .fc-button-primary:not(:disabled):hover { background: var(--m-moss) !important; }
#scroll-top { background: var(--m-gold) !important; color: #3A2A00 !important; box-shadow: 0 10px 24px rgba(242, 183, 5, .45) !important; }
#scroll-top:hover { background: var(--m-primary) !important; color: #fff !important; }
.btn-search-modern:hover { background: var(--m-primary) !important; border-color: var(--m-primary) !important; }
.widget-title::after, .footer-modern-links h4::after { background: var(--m-gold) !important; }

@media (max-width: 991.98px) {
	.m-info-bar { margin-top: -56px; }
	.m-rays { width: 380px; height: 380px; top: -60px; right: -100px; }
	.m-nav-cta { display: none; }
}

/* ============================================================
   v8 — Tagline sekolah tampil jelas + aksen warna per kartu
   ============================================================ */
.m-sec-tagline {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: clamp(1.05rem, 2vw, 1.4rem);
	font-weight: 600;
	color: #27422F;
	line-height: 1.55;
	margin: 20px auto 0;
	padding: 12px 22px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid rgba(62, 142, 90, .25);
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(6, 60, 36, .06);
}
.m-sec-tagline .m-sun { color: var(--m-gold); font-size: 1.15em; flex: 0 0 auto; animation: mSunSpin 16s linear infinite; }
.m-sec-tagline b { font-weight: 800; }
.m-sec-tagline .t-green { color: var(--m-primary); }
.m-sec-tagline .t-moss { color: var(--m-moss-dark); }
.m-sec-tagline .t-gold { color: #A87A00; }

/* Aksen warna berbeda per kartu Keunggulan */
.m-feature.c-moss .m-feature-ico {
	background: linear-gradient(140deg, #5AA97A 0%, var(--m-moss) 60%, #2F7A4C 100%);
}
.m-feature.c-moss .m-feature-idx {
	background: rgba(62, 142, 90, .14);
	border-color: rgba(62, 142, 90, .5);
	color: #2C6B43;
}
.m-feature.c-gold .m-feature-ico {
	background: linear-gradient(140deg, #FFD964 0%, #F2B705 55%, #D9A204 100%);
	color: #4A3600;
	box-shadow: 0 14px 26px rgba(217, 162, 4, .35);
}
.m-feature.c-gold .m-feature-idx {
	background: rgba(242, 183, 5, .18);
	border-color: rgba(217, 162, 4, .55);
	color: #8A6400;
}

@media (max-width: 575.98px) {
	.m-sec-tagline { flex-direction: column; gap: 6px; text-align: center; padding: 14px 18px; }
}

/* ============================================================
   v7 — Seksi Keunggulan: latar berwarna (tidak putih polos)
   ============================================================ */
.m-sec-keunggulan {
	position: relative;
	background:
		radial-gradient(42% 60% at 88% 6%, rgba(242, 183, 5, .16) 0%, rgba(242, 183, 5, 0) 62%),
		radial-gradient(50% 70% at 2% 96%, rgba(62, 142, 90, .18) 0%, rgba(62, 142, 90, 0) 60%),
		radial-gradient(70% 90% at 50% 50%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 70%),
		linear-gradient(180deg, #F2F9F4 0%, #EDF6F0 100%);
	border-top: 1px solid rgba(62, 142, 90, .12);
}
.m-sec-keunggulan::before {
	content: "";
	position: absolute;
	top: -130px;
	left: -130px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	border: 56px solid rgba(62, 142, 90, .10);
	pointer-events: none;
}
.m-sec-keunggulan::after {
	content: "";
	position: absolute;
	bottom: -110px;
	right: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 44px solid rgba(242, 183, 5, .12);
	pointer-events: none;
}
.m-sec-keunggulan .m-rays { opacity: .8; }
.m-sec-sub {
	color: #4F6B5A;
	font-size: .98rem;
	line-height: 1.75;
	max-width: 620px;
	margin: 14px auto 0;
}
.m-sec-keunggulan .m-feature {
	background: #fff;
	box-shadow: 0 18px 38px rgba(6, 60, 36, .10);
}
.m-sec-keunggulan .m-feature:hover {
	box-shadow: 0 30px 56px rgba(6, 60, 36, .18);
}
@media (max-width: 575.98px) {
	.m-sec-keunggulan::before { width: 220px; height: 220px; border-width: 34px; top: -90px; left: -90px; }
	.m-sec-keunggulan::after { width: 170px; height: 170px; border-width: 28px; }
}

/* ============================================================
   v6 — Footer rapi & menarik
   ============================================================ */

.footer-modern-main { padding: 64px 0 44px !important; }

/* Brand: logo + nama sejajar */
.f-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	margin-bottom: 16px;
}
.f-logo img {
	height: 52px;
	width: auto;
	background: #fff;
	padding: 6px;
	border-radius: 12px;
}
.f-logo-text {
	color: #fff;
	font-weight: 800;
	font-size: 1.02rem;
	line-height: 1.3;
	display: inline-block;
	max-width: 190px;
}
.f-tag {
	color: rgba(255, 255, 255, .78) !important;
	font-size: .92rem;
	line-height: 1.75;
	max-width: 330px;
}
.fp-org { margin-top: 4px; }
.footer-modern-social { margin-top: 16px; }

/* Kolom link: anak panah emas (tidak untuk tombol) */
.footer-modern-links h4 {
	font-size: 1.02rem !important;
	margin-bottom: 20px !important;
}
.footer-modern-links ul li { margin-bottom: 9px; }
.footer-modern-links ul:not(.footer-modern-btns) li a {
	color: rgba(255, 255, 255, .82) !important;
	font-size: .9rem;
	display: inline-block;
	transition: color .2s ease;
}
.footer-modern-links ul:not(.footer-modern-btns) li a::before {
	content: "\203A";
	color: var(--m-gold);
	font-weight: 800;
	margin-right: 7px;
	display: inline-block;
	transition: margin-right .2s ease;
}
.footer-modern-links ul:not(.footer-modern-btns) li a:hover { color: #fff !important; }
.footer-modern-links ul:not(.footer-modern-btns) li a:hover::before { margin-right: 11px; }
.f-btn-gold:hover, .f-btn-ghost:hover { padding-left: 14px !important; transform: translateY(-2px); }

/* Jam layanan: dua baris per item, ikon melingkar */
.footer-modern-hours { padding: 0; }
.footer-modern-hours li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 7px 0;
	margin-bottom: 0 !important;
}
.footer-modern-hours i {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1) !important;
	color: var(--m-gold) !important;
	font-size: .85rem;
	margin-top: 0 !important;
}
.footer-modern-hours li div { min-width: 0; }
.footer-modern-hours li b {
	display: block;
	color: #fff;
	font-size: .88rem;
	font-weight: 700;
}
.footer-modern-hours li span {
	display: block;
	color: rgba(255, 255, 255, .68);
	font-size: .8rem;
	line-height: 1.5;
}

/* Tombol layanan: penuh selebar kolom, tersusun vertikal */
.footer-modern-btns {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 14px 0 0 !important;
	padding: 0;
	list-style: none;
}
.footer-modern-btns li { margin-bottom: 0 !important; }
.f-btn-gold, .f-btn-ghost {
	width: 100%;
	justify-content: center;
	padding: 11px 14px !important;
	font-size: .82rem !important;
}

/* Kontak: ikon melingkar + teks rapi */
.footer-modern-contact { padding: 0; }
.footer-modern-contact li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 7px 0;
	margin-bottom: 0 !important;
}
.footer-modern-contact i {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1) !important;
	color: var(--m-gold) !important;
	font-size: .85rem;
	margin-top: 0 !important;
}
.footer-modern-contact li div {
	color: rgba(255, 255, 255, .82);
	font-size: .9rem;
	line-height: 1.55;
	min-width: 0;
}
.footer-modern-contact a { color: rgba(255, 255, 255, .82) !important; }
.footer-modern-contact a:hover { color: var(--m-gold) !important; }

/* Bar paling bawah */
.footer-modern-bottom { padding: 18px 0 !important; }
.f-bottom-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.f-copy { margin: 0 !important; font-size: .85rem !important; text-align: left; }
.f-copy a { color: #fff !important; font-weight: 700; }
.f-copy a:hover { color: var(--m-gold) !important; }
.f-bottom-links {
	display: flex;
	align-items: center;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}
.f-bottom-links li { margin: 0 !important; }
.f-bottom-links li + li {
	margin-left: 14px !important;
	padding-left: 14px;
	border-left: 1px solid rgba(255, 255, 255, .2);
}
.f-bottom-links a {
	color: rgba(255, 255, 255, .72) !important;
	font-size: .82rem;
}
.f-bottom-links a:hover { color: var(--m-gold) !important; }
@media (max-width: 991.98px) {
	.footer-modern-main { padding-top: 46px !important; }
	.f-copy { text-align: center; width: 100%; }
	.f-bottom-links { margin: 4px auto 0 !important; }
}

/* ============================================================
   v5 — Header rapi di semua lebar: nama sekolah & menu tidak
   boleh bertumpuk / turun baris sendiri-sendiri
   ============================================================ */

/* Baris navigasi jangan pernah wrap ke baris baru */
.header-modern .navbar > .container,
.header-modern .navbar-collapse,
.header-modern .navbar-nav { flex-wrap: nowrap !important; }
.header-modern .navbar-brand { flex: 0 0 auto; min-width: 0; }
.header-modern .navbar-collapse { overflow: visible; }
.header-modern .brand-text { min-width: 0; }
.header-modern .brand-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}
.header-modern .navbar-nav .nav-link { white-space: nowrap; }

/* Layar lebar 992–1279: menu & brand dipadatkan agar muat satu baris */
@media (min-width: 992px) and (max-width: 1279.98px) {
	.header-modern .navbar { min-height: 66px; }
	.header-modern .navbar-brand { gap: .5rem; }
	.header-modern .navbar-brand img { height: 36px !important; }
	.header-modern .brand-name { font-size: .86rem !important; max-width: 140px; }
	.brand-sub { font-size: .56rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.header-modern .navbar-nav .nav-link { padding: .5rem .48rem !important; font-size: .84rem; }
	.header-modern .navbar-nav .nav-link::after { left: .48rem; right: .48rem; }
	.m-nav-cta { padding: 8px 13px !important; font-size: .78rem; }
	.btn-search-modern { width: 36px; height: 36px; }
}

/* Layar sangat sempit di desktop (992–1100): hilangkan sub-judul agar lega */
@media (min-width: 992px) and (max-width: 1100.98px) {
	.header-modern .brand-text .brand-sub { display: none; }
	.header-modern .brand-name { max-width: 150px; }
}

/* Layar sempit (< 992): logo + nama sekolah selalu sebaris, menu di panel bawah */
@media (max-width: 991.98px) {
	.header-modern .navbar { min-height: 64px; }
	.header-modern .navbar-brand { max-width: calc(100% - 70px); gap: .5rem; }
	.header-modern .navbar-brand img { height: 38px !important; width: auto !important; flex: 0 0 auto; }
	.header-modern .brand-name { font-size: .88rem !important; max-width: 100%; }
	.brand-sub { font-size: .58rem; }
	.header-modern .navbar-toggler { flex: 0 0 auto; }
	.header-modern .navbar-collapse {
		flex-basis: 100%;
		flex-grow: 1;
		margin-top: 10px;
	}
	.header-modern .navbar-collapse .navbar-nav { flex-direction: column; }
}

/* ============================================================
   v10 — CTA header jadi tombol menu SPMB (tandai saat aktif)
   ============================================================ */
.m-nav-cta.is-on {
	background: #fff !important;
	color: var(--m-primary) !important;
	box-shadow: inset 0 0 0 2px var(--m-gold, #F2B705) !important;
}
.m-nav-cta-mobile.is-on {
	color: var(--m-gold, #F2B705) !important;
}

/* ============================================================
   v9 — Foto Guru & Tenaga Pendidik: rasio seragam 4:5,
   wajah di sepertiga atas + headroom (tidak ada kepala terpotong)
   ============================================================ */
.m-teacher-photo {
	height: auto !important;
	aspect-ratio: 4 / 5;
	position: relative;
	overflow: hidden;
}
.m-teacher-photo picture { display: block; width: 100%; height: 100% !important; }
.m-teacher-photo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: 50% 0 !important;
}
@media (max-width: 575.98px) {
	.m-teacher-photo { aspect-ratio: 4 / 5; }
}
