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

:root {
	--m-primary: #0d9488;        /* toska/teal */
	--m-primary-dark: #0f766e;
	--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(13, 148, 136, .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(8, 20, 40, .82) 0%, rgba(13, 148, 136, .35) 100%);
	z-index: 0;
}
.hero-single .container { position: relative; z-index: 1; }
.hero-single .hero-sub-title {
	color: #b8f5ee !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(13, 148, 136, .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(8, 20, 40, .85), rgba(13, 148, 136, .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: #99f6e4 !important; }

/* ---------- Footer modern ---------- */
.footer-modern { background: #081527; 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: #5eead4; padding-left: 4px; }
.footer-modern-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-modern-contact i { color: #2dd4bf; 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: #5eead4; 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(13, 148, 136, .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: #f0fdfa !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: #0d9488 !important; }
.header-modern .dropdown-menu .dropdown-item:hover { background: #ccfbf1 !important; color: #0f766e !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(2, 6, 23, .85) 0%, rgba(13, 148, 136, .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: #5eead4 !important; }

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

/* Tombol: pill toska */
.theme-btn {
	background: #0d9488 !important;
	border: 2px solid #0d9488 !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: #020617 !important; }
.footer-modern-links h4 { color: #ffffff !important; }
.footer-modern-links h4::after { background: #0d9488 !important; }
.footer-modern-links a { color: #cbd5e1 !important; }
.footer-modern-links a:hover { color: #2dd4bf !important; }
.footer-modern-social a:hover { background: #0d9488 !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(2, 6, 23, .88), rgba(13, 148, 136, .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(13, 148, 136, .1) !important;
	color: #0f766e !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: #0f766e !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: #0d9488 !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: #0d9488; }
@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(13, 148, 136, .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: #0f766e !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 #0d9488 !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(13, 148, 136, .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: #5eead4; 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: #0f766e !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: #0d9488 !important;
	border-color: #0d9488 !important;
}
.fc .fc-button-primary:not(:disabled):hover { background: #0f766e !important; border-color: #0f766e !important; }

/* Tombol kembali ke atas */
#scroll-top {
	background: #0d9488 !important;
	border-radius: 50% !important;
	box-shadow: 0 10px 24px rgba(13, 148, 136, .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(13, 148, 136, .12);
	color: #0f766e;
	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: #0d9488; }

/* ---------- 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: #0f766e; 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(13, 148, 136, .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: #0d9488; 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(2, 6, 23, 0) 30%, rgba(2, 6, 23, .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(13, 148, 136, .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: #0d9488; 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: #0d9488; 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: #0d9488; 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(13, 148, 136, .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: #f59e0b; 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(13, 148, 136, .3); }
.m-testimoni-author b { display: block; color: #0f172a; }
.m-testimoni-author span { color: #0d9488; 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; }
}
