/*
Theme Name: MAN Kota Blitar
Theme URI: https://mankotablitar.sch.id
Author: Tim Webmaster MAN Kota Blitar
Description: Custom classic WordPress theme resmi MAN Kota Blitar tanpa ketergantungan Elementor.
Version: 1.9.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: man-kota-blitar
*/

/* ============================================================
   FILE: style.css
   VERSION: 0.4.0
   FUNGSI: Style utama website MAN Kota Blitar
   ============================================================ */

:root{
    --mkb-green:#0b5d3b;
    --mkb-green-dark:#073f2b;
    --mkb-green-soft:#eaf3ee;
    --mkb-gold:#d3ad32;
    --mkb-blue:#277eb8;
    --mkb-dark:#173027;
    --mkb-text:#26332e;
    --mkb-muted:#69766f;
    --mkb-light:#f6f9f7;
    --mkb-white:#fff;
    --mkb-border:#e2e9e5;
    --mkb-radius:16px;
    --mkb-shadow:0 12px 30px rgba(18,55,40,.08);
    --mkb-container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--mkb-text);font-family:Arial,Helvetica,sans-serif;line-height:1.7}
a{color:var(--mkb-green);text-decoration:none}
a:hover{color:var(--mkb-green-dark)}
img{max-width:100%;height:auto}
.container{width:min(calc(100% - 36px),var(--mkb-container));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ============================================================
   HEADER v0.4.0
   ============================================================ */
.mkb-topbar{background:var(--mkb-green-dark);color:#eff7f3;font-size:12px}
.mkb-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.mkb-topbar-left,.mkb-topbar-right{display:flex;align-items:center;gap:10px}
.mkb-topbar-dot{width:7px;height:7px;border-radius:999px;background:var(--mkb-gold)}
.mkb-topbar-separator{opacity:.4}
.mkb-topbar-right a{color:#eff7f3;font-weight:600}

.mkb-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--mkb-border);box-shadow:0 3px 16px rgba(10,60,40,.05)}
.mkb-identity-row{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mkb-identity{display:flex;align-items:center;gap:16px;min-width:0;color:var(--mkb-dark)}
.mkb-logo-group{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.mkb-logo-kemenag,.mkb-logo-man{width:56px;height:56px;object-fit:contain;display:block}
.mkb-logo-divider{width:1px;height:40px;background:#dfe6e2}
.mkb-identity-text{display:flex;flex-direction:column;line-height:1.16;min-width:0}
.mkb-school-name{font-size:25px;font-weight:800;letter-spacing:.02em;color:#0a5638}
.mkb-school-subtitle{margin-top:5px;font-size:13px;font-weight:650;color:#263931}
.mkb-school-unit{margin-top:3px;font-size:11px;color:var(--mkb-muted)}
.mkb-header-tools{display:flex;align-items:center;gap:15px;flex:0 0 auto}
.mkb-berdampak-logo{width:165px;max-height:48px;object-fit:contain;object-position:right center}
.mkb-header-ptsp{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;background:var(--mkb-green);color:#fff;font-size:13px;font-weight:800;box-shadow:0 6px 16px rgba(11,93,59,.18)}
.mkb-header-ptsp:hover{background:var(--mkb-green-dark);color:#fff}
.mkb-menu-toggle{display:none;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:1px solid #dce6e1;border-radius:10px;background:#fff;cursor:pointer}
.mkb-menu-line{display:block;width:18px;height:2px;border-radius:99px;background:var(--mkb-green)}

.mkb-nav-wrap{border-top:1px solid #edf1ef;background:#fff}
.mkb-nav-container{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.mkb-nav{min-width:0;flex:1}
.mkb-primary-menu,.mkb-nav>ul{display:flex;align-items:center;gap:1px;list-style:none;margin:0;padding:0}
.mkb-primary-menu>li,.mkb-nav>ul>li{position:relative}
.mkb-primary-menu>li>a,.mkb-nav>ul>li>a{position:relative;display:flex;align-items:center;min-height:50px;padding:0 12px;color:#21332c;font-size:13px;font-weight:700;white-space:nowrap}
.mkb-primary-menu>li>a:hover,.mkb-primary-menu>li.current-menu-item>a,.mkb-primary-menu>li.current-menu-ancestor>a,.mkb-nav>ul>li>a:hover{background:#f4f8f6;color:var(--mkb-green)}
.mkb-primary-menu>li.current-menu-item>a::after,.mkb-primary-menu>li.current-menu-ancestor>a::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;background:var(--mkb-gold);border-radius:3px 3px 0 0}
.mkb-primary-menu .sub-menu{position:absolute;top:100%;left:0;z-index:1200;display:none;min-width:245px;list-style:none;margin:0;padding:8px;background:#fff;border:1px solid var(--mkb-border);border-radius:0 0 12px 12px;box-shadow:0 16px 36px rgba(20,45,35,.12)}
.mkb-primary-menu li:hover>.sub-menu,.mkb-primary-menu li:focus-within>.sub-menu{display:block}
.mkb-primary-menu .sub-menu a{display:block;padding:10px 12px;border-radius:8px;color:#26332e;font-size:13px;font-weight:650}
.mkb-primary-menu .sub-menu a:hover{background:#f1f6f3;color:var(--mkb-green)}

/* ============================================================
   HERO v0.4.0
   ============================================================ */
.mkb-hero{position:relative;min-height:540px;display:flex;align-items:center;color:#fff;background:
linear-gradient(100deg,rgba(4,54,35,.93) 0%,rgba(4,54,35,.82) 43%,rgba(4,54,35,.42) 73%,rgba(4,54,35,.20) 100%),
url('assets/images/hero-ptsp.jpeg') center 50% / cover no-repeat}
.mkb-hero::after{content:"";position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.08));pointer-events:none}
.mkb-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.72fr);gap:58px;align-items:center;padding:68px 0}
.mkb-eyebrow{color:#f4d96b;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800}
.mkb-hero h1{max-width:760px;margin:10px 0 18px;font-size:clamp(42px,4.6vw,66px);line-height:1.06;letter-spacing:-.02em}
.mkb-hero-lead{max-width:690px;margin:0;color:rgba(255,255,255,.92);font-size:17px}
.mkb-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.mkb-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:9px;background:var(--mkb-gold);color:#201b09;font-size:14px;font-weight:800}
.mkb-btn:hover{color:#201b09;filter:brightness(.97)}
.mkb-btn-outline{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.55);color:#fff;backdrop-filter:blur(5px)}
.mkb-btn-outline:hover{color:#fff;background:rgba(255,255,255,.14)}
.mkb-hero-card{padding:30px;background:rgba(6,62,42,.68);border:1px solid rgba(255,255,255,.22);border-radius:18px;box-shadow:0 20px 55px rgba(0,0,0,.16);backdrop-filter:blur(8px)}
.mkb-hero-card h3{margin:0 0 10px;font-size:23px}
.mkb-hero-card p{margin:0 0 16px;color:rgba(255,255,255,.88);font-size:15px}
.mkb-hero-card ul{margin:0;padding-left:19px}
.mkb-hero-card li{margin:7px 0}
.mkb-hero-card-link{display:inline-flex;margin-top:16px;color:#ffe88e;font-weight:800}
.mkb-hero-card-link:hover{color:#fff}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */
.mkb-section{padding:68px 0}
.mkb-section-alt{background:var(--mkb-light)}
.mkb-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}
.mkb-section-heading-copy{max-width:720px}
.mkb-section-kicker{display:block;margin-bottom:5px;color:var(--mkb-green);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.mkb-section-heading h2{margin:0;font-size:34px;line-height:1.2;color:var(--mkb-dark)}
.mkb-section-heading p{margin:8px 0 0;color:var(--mkb-muted)}
.mkb-section-link{font-size:13px;font-weight:800;white-space:nowrap}

.mkb-services{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mkb-service-card{position:relative;display:block;min-height:220px;padding:24px;background:#fff;border:1px solid var(--mkb-border);border-radius:var(--mkb-radius);box-shadow:var(--mkb-shadow);color:var(--mkb-text);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.mkb-service-card:hover{transform:translateY(-4px);border-color:#c8ddd2;box-shadow:0 16px 34px rgba(18,55,40,.12);color:var(--mkb-text)}
.mkb-service-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:13px;background:var(--mkb-green-soft);color:var(--mkb-green);font-size:23px;margin-bottom:18px}
.mkb-service-card h3{margin:0 0 8px;font-size:20px;color:var(--mkb-green)}
.mkb-service-card p{margin:0;color:var(--mkb-muted);font-size:14px}
.mkb-service-arrow{position:absolute;right:22px;bottom:20px;color:var(--mkb-green);font-weight:900}

.mkb-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.mkb-post-card{overflow:hidden;background:#fff;border:1px solid var(--mkb-border);border-radius:var(--mkb-radius);box-shadow:var(--mkb-shadow)}
.mkb-post-thumb{display:block;aspect-ratio:16/9;background:#dde7e2;overflow:hidden}
.mkb-post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.mkb-post-card:hover .mkb-post-thumb img{transform:scale(1.03)}
.mkb-post-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#809087;font-size:13px;background:linear-gradient(135deg,#e6eeea,#d8e4de)}
.mkb-post-body{padding:20px}
.mkb-meta{font-size:12px;color:var(--mkb-muted)}
.mkb-post-body h3{margin:7px 0 9px;font-size:20px;line-height:1.35}
.mkb-post-body p{margin:0;color:var(--mkb-muted);font-size:14px}
.mkb-empty{padding:28px;border:1px dashed #cfdcd5;border-radius:var(--mkb-radius);background:#fff;color:var(--mkb-muted)}
.mkb-empty strong{display:block;margin-bottom:5px;color:var(--mkb-dark)}

.mkb-dual-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.mkb-list-panel{background:#fff;border:1px solid var(--mkb-border);border-radius:var(--mkb-radius);box-shadow:var(--mkb-shadow);overflow:hidden}
.mkb-list-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 22px;border-bottom:1px solid var(--mkb-border)}
.mkb-list-panel-head h3{margin:0;font-size:20px;color:var(--mkb-dark)}
.mkb-list{list-style:none;margin:0;padding:0}
.mkb-list li{border-bottom:1px solid #eef2ef}
.mkb-list li:last-child{border-bottom:0}
.mkb-list a{display:flex;gap:14px;padding:16px 22px;color:var(--mkb-text)}
.mkb-list-date{flex:0 0 78px;color:var(--mkb-green);font-size:12px;font-weight:800}
.mkb-list-title{font-weight:700}
.mkb-list-empty{padding:22px;color:var(--mkb-muted)}

.mkb-content-wrap{padding:60px 0}
.mkb-content{max-width:860px;margin:auto}
.mkb-content h1{line-height:1.2}
.mkb-featured-image{margin:25px 0;border-radius:var(--mkb-radius);overflow:hidden}
.mkb-entry{font-size:17px}
.mkb-entry blockquote{border-left:4px solid var(--mkb-gold);padding:16px 22px;background:var(--mkb-light)}

/* ============================================================
   FOOTER
   ============================================================ */
.mkb-footer{background:var(--mkb-dark);color:#dce6e1;padding:52px 0 18px}
.mkb-footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:40px}
.mkb-footer h3{margin-top:0;color:#fff}
.mkb-footer a{color:#dce6e1}
.mkb-footer-bottom{margin-top:38px;padding-top:17px;border-top:1px solid rgba(255,255,255,.12);font-size:13px}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1120px){
    .mkb-berdampak-logo{width:135px}
    .mkb-header-ptsp{display:none}
    .mkb-primary-menu>li>a,.mkb-nav>ul>li>a{padding-inline:9px;font-size:12px}
    .mkb-hero-grid{grid-template-columns:1fr .75fr;gap:34px}
}
@media(max-width:900px){
    .mkb-header-branding{display:none}
    .mkb-services{grid-template-columns:repeat(2,1fr)}
    .mkb-news-grid{grid-template-columns:repeat(2,1fr)}
    .mkb-dual-grid{grid-template-columns:1fr}
}
@media(max-width:820px){
    .mkb-topbar{display:none}
    .mkb-identity-row{min-height:76px}
    .mkb-logo-kemenag,.mkb-logo-man{width:42px;height:42px}
    .mkb-logo-divider{height:32px}
    .mkb-school-name{font-size:18px}
    .mkb-school-subtitle{font-size:10px}
    .mkb-school-unit{display:none}
    .mkb-menu-toggle{display:flex}
    .mkb-nav-wrap{border-top:0}
    .mkb-nav-container{min-height:0;display:block}
    .mkb-nav{display:none;position:absolute;left:0;right:0;top:76px;max-height:calc(100vh - 76px);overflow:auto;background:#fff;border-top:1px solid var(--mkb-border);box-shadow:0 18px 35px rgba(20,45,35,.14)}
    .mkb-nav.is-open{display:block}
    .mkb-primary-menu,.mkb-nav>ul{display:block;padding:10px 16px 16px}
    .mkb-primary-menu>li>a,.mkb-nav>ul>li>a{min-height:44px;padding:10px 12px;border-radius:8px;font-size:14px;white-space:normal}
    .mkb-primary-menu>li.current-menu-item>a::after,.mkb-primary-menu>li.current-menu-ancestor>a::after{display:none}
    .mkb-primary-menu .sub-menu{position:static;display:block;min-width:0;margin:0 0 4px 12px;padding:0 0 0 10px;border:0;border-left:2px solid #e2ebe6;border-radius:0;box-shadow:none}
    .mkb-hero{min-height:auto;background-position:center center}
    .mkb-hero-grid{grid-template-columns:1fr;padding:58px 0;gap:28px}
    .mkb-hero h1{font-size:clamp(38px,10vw,54px)}
}
@media(max-width:620px){
    .container{width:min(calc(100% - 26px),var(--mkb-container))}
    .mkb-logo-kemenag,.mkb-logo-divider{display:none}
    .mkb-school-name{font-size:16px}
    .mkb-school-subtitle{max-width:205px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .mkb-section{padding:50px 0}
    .mkb-section-heading{align-items:flex-start;flex-direction:column}
    .mkb-services,.mkb-news-grid{grid-template-columns:1fr}
    .mkb-service-card{min-height:190px}
    .mkb-footer-grid{grid-template-columns:1fr}
}


/* ============================================================
   FILE: style.css
   BAGIAN: HEADER v0.4.0
   ============================================================ */

.mkb-headbar{
    background:
        linear-gradient(90deg,#ffffff 0%,#eef6f1 42%,#2f7d55 100%);
    border-bottom:1px solid #dfe8e3;
}

.mkb-headbar-inner{
    min-height:108px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
}

.mkb-headbar-brand{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
    color:#18342a;
}

.mkb-headbar-logos{
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}

.mkb-head-logo{
    display:block;
    object-fit:contain;
}

.mkb-head-logo-kemenag{
    width:60px;
    height:60px;
}

.mkb-head-logo-man{
    width:62px;
    height:62px;
}

.mkb-head-logo-sep{
    width:1px;
    height:44px;
    background:#d8e1dc;
}

.mkb-headbar-copy{
    display:flex;
    flex-direction:column;
    line-height:1.15;
}

.mkb-headbar-ministry{
    color:#4b5f56;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.mkb-headbar-school{
    margin-top:4px;
    color:#0b5d3b;
    font-size:25px;
    font-weight:800;
    letter-spacing:.015em;
}

.mkb-headbar-sub{
    margin-top:4px;
    color:#31453c;
    font-size:12px;
    font-weight:600;
}

.mkb-headbar-contact{
    display:flex;
    align-items:center;
    gap:26px;
    color:#fff;
}

.mkb-contact-item{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    white-space:nowrap;
}

.mkb-contact-icon{
    color:#9fe0bd;
    font-size:15px;
}

.mkb-social-links{
    display:flex;
    align-items:center;
    gap:10px;
}

.mkb-social-links a{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.10);
    color:#9edbc0;
    font-weight:800;
}

.mkb-social-links a:hover{
    background:rgba(255,255,255,.18);
    color:#fff;
}

/* main sticky nav */
.mkb-main-header{
    position:sticky;
    top:32px;
    z-index:1100;
    background:#fff;
    border-bottom:1px solid #e5ebe7;
    box-shadow:0 4px 18px rgba(12,62,42,.07);
}

.admin-bar .mkb-main-header{
    top:64px;
}

.mkb-main-header-inner{
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.mkb-nav{
    flex:1 1 auto;
    min-width:0;
}

.mkb-primary-menu,
.mkb-nav > ul{
    list-style:none;
    display:flex;
    align-items:center;
    gap:2px;
    margin:0;
    padding:0;
}

.mkb-primary-menu > li,
.mkb-nav > ul > li{
    position:relative;
}

.mkb-primary-menu > li > a,
.mkb-nav > ul > li > a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:58px;
    padding:0 13px;
    color:#23342d;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
}

.mkb-primary-menu > li > a:hover,
.mkb-primary-menu > li.current-menu-item > a,
.mkb-primary-menu > li.current-menu-ancestor > a,
.mkb-nav > ul > li > a:hover{
    color:#0b5d3b;
    background:#f5f8f6;
}

.mkb-primary-menu > li.current-menu-item > a::after,
.mkb-primary-menu > li.current-menu-ancestor > a::after{
    content:"";
    position:absolute;
    left:13px;
    right:13px;
    bottom:0;
    height:3px;
    background:#d3ad32;
    border-radius:3px 3px 0 0;
}

/* dropdown */
.mkb-primary-menu .sub-menu{
    position:absolute;
    left:0;
    top:100%;
    z-index:1300;
    min-width:260px;
    display:none;
    list-style:none;
    margin:0;
    padding:8px;
    background:#fff;
    border:1px solid #e0e8e3;
    border-radius:0 0 12px 12px;
    box-shadow:0 16px 38px rgba(17,50,38,.14);
}

.mkb-primary-menu li:hover > .sub-menu,
.mkb-primary-menu li:focus-within > .sub-menu{
    display:block;
}

.mkb-primary-menu .sub-menu a{
    display:block;
    padding:10px 12px;
    border-radius:8px;
    color:#2b3a34;
    font-size:13px;
    font-weight:650;
}

.mkb-primary-menu .sub-menu a:hover{
    background:#eff6f2;
    color:#0b5d3b;
}

/* header actions */
.mkb-header-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
}

.mkb-ptsp-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 14px;
    border-radius:9px;
    background:#0b5d3b;
    color:#fff;
    font-size:12px;
    font-weight:800;
}

.mkb-ptsp-button:hover{
    background:#08472d;
    color:#fff;
}

.mkb-search-toggle{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #dce6e1;
    border-radius:9px;
    background:#fff;
    color:#0b5d3b;
    font-size:20px;
    cursor:pointer;
}

/* search panel */
.mkb-search-panel{
    border-top:1px solid #e8eeeb;
    background:#f8faf9;
    padding:14px 0;
}

.mkb-search-panel form{
    display:flex;
    gap:8px;
}

.mkb-search-panel input[type="search"]{
    flex:1;
    min-height:42px;
    border:1px solid #d6e0da;
    border-radius:9px;
    padding:0 12px;
}

.mkb-search-panel input[type="submit"]{
    min-height:42px;
    padding:0 16px;
    border:0;
    border-radius:9px;
    background:#0b5d3b;
    color:#fff;
    font-weight:700;
}

/* hamburger */
.mkb-menu-toggle{
    display:none;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    border:1px solid #dce6e1;
    border-radius:9px;
    background:#fff;
    cursor:pointer;
}

.mkb-menu-line{
    width:18px;
    height:2px;
    background:#0b5d3b;
    border-radius:99px;
}

/* responsive */
@media(max-width:1180px){
    .mkb-headbar-contact{gap:16px}
    .mkb-contact-item{font-size:12px}
    .mkb-primary-menu > li > a,
    .mkb-nav > ul > li > a{padding-inline:10px;font-size:12px}
}

@media(max-width:980px){
    .mkb-headbar-inner{min-height:92px}
    .mkb-contact-item:nth-child(2){display:none}
    .mkb-head-logo-kemenag,.mkb-head-logo-man{width:50px;height:50px}
    .mkb-headbar-school{font-size:21px}
    .mkb-ptsp-button{display:none}
}

@media(max-width:820px){
    .mkb-headbar{
        background:#fff;
    }

    .mkb-headbar-inner{
        min-height:78px;
        gap:12px;
    }

    .mkb-headbar-contact{
        display:none;
    }

    .mkb-head-logo-kemenag,
    .mkb-head-logo-man{
        width:42px;
        height:42px;
    }

    .mkb-head-logo-sep{
        height:30px;
    }

    .mkb-headbar-ministry{
        display:none;
    }

    .mkb-headbar-school{
        font-size:18px;
    }

    .mkb-headbar-sub{
        font-size:10px;
    }

    .mkb-main-header{
        top:0;
    }

    .admin-bar .mkb-main-header{
        top:46px;
    }

    .mkb-main-header-inner{
        min-height:52px;
    }

    .mkb-menu-toggle{
        display:flex;
    }

    .mkb-nav{
        display:none;
        position:absolute;
        top:52px;
        left:0;
        right:0;
        max-height:calc(100vh - 52px);
        overflow:auto;
        background:#fff;
        border-top:1px solid #e3eae6;
        box-shadow:0 18px 35px rgba(20,45,35,.14);
    }

    .mkb-nav.is-open{
        display:block;
    }

    .mkb-primary-menu,
    .mkb-nav > ul{
        display:block;
        padding:10px 16px 16px;
    }

    .mkb-primary-menu > li > a,
    .mkb-nav > ul > li > a{
        min-height:44px;
        padding:10px 12px;
        border-radius:8px;
        font-size:14px;
        white-space:normal;
    }

    .mkb-primary-menu > li.current-menu-item > a::after,
    .mkb-primary-menu > li.current-menu-ancestor > a::after{
        display:none;
    }

    .mkb-primary-menu .sub-menu{
        position:static;
        display:block;
        min-width:0;
        margin:0 0 4px 12px;
        padding:0 0 0 10px;
        border:0;
        border-left:2px solid #e2ebe6;
        border-radius:0;
        box-shadow:none;
    }

    .mkb-header-actions{
        margin-left:auto;
    }
}

@media(max-width:520px){
    .mkb-head-logo-kemenag,
    .mkb-head-logo-sep{
        display:none;
    }

    .mkb-headbar-school{
        font-size:16px;
    }

    .mkb-headbar-sub{
        max-width:215px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }
}


/* ============================================================
   FILE: style.css
   BAGIAN: HEADER / MENU v0.5.0
   KONSEP NAVIGASI BARU
   ============================================================ */

/* Identitas */
.mkb-headbar{
    background:linear-gradient(90deg,#fff 0%,#f4f8f6 52%,#edf5f0 100%);
    border-bottom:1px solid #e2e9e5;
}

.mkb-headbar-inner{
    min-height:92px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.mkb-headbar-brand{
    display:flex;
    align-items:center;
    gap:15px;
    min-width:0;
    color:#18342a;
}

.mkb-headbar-logos{
    display:flex;
    align-items:center;
    gap:9px;
    flex:0 0 auto;
}

.mkb-head-logo{
    display:block;
    object-fit:contain;
}

.mkb-head-logo-kemenag{
    width:54px;
    height:54px;
}

.mkb-head-logo-man{
    width:56px;
    height:56px;
}

.mkb-head-logo-sep{
    width:1px;
    height:38px;
    background:#d8e2dc;
}

.mkb-headbar-copy{
    display:flex;
    flex-direction:column;
    line-height:1.15;
}

.mkb-headbar-ministry{
    color:#6b7772;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.09em;
}

.mkb-headbar-school{
    margin-top:4px;
    color:#0b5d3b;
    font-size:23px;
    font-weight:800;
    letter-spacing:.01em;
}

.mkb-headbar-sub{
    margin-top:3px;
    color:#34463e;
    font-size:11px;
    font-weight:600;
}

.mkb-headbar-contact{
    display:flex;
    align-items:center;
    gap:24px;
}

.mkb-contact-item{
    display:flex;
    flex-direction:column;
    gap:2px;
    line-height:1.2;
}

.mkb-contact-label{
    color:#7b8881;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.mkb-contact-item strong{
    color:#43534c;
    font-size:12px;
    font-weight:700;
}

.mkb-social-links{
    display:flex;
    align-items:center;
    gap:8px;
}

.mkb-social-links a{
    width:31px;
    height:31px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#edf5f1;
    color:#0b5d3b;
    font-size:12px;
    font-weight:800;
}

.mkb-social-links a:hover{
    background:#0b5d3b;
    color:#fff;
}

/* Navigasi utama */
.mkb-main-header{
    position:sticky;
    top:0;
    z-index:1200;
    background:#fff;
    border-bottom:1px solid #e3eae6;
    box-shadow:0 5px 18px rgba(13,59,42,.06);
}

.admin-bar .mkb-main-header{
    top:32px;
}

.mkb-main-header-inner{
    min-height:58px;
    display:flex;
    align-items:center;
    gap:18px;
}

.mkb-nav{
    flex:1 1 auto;
    min-width:0;
}

.mkb-primary-menu-v050{
    display:flex;
    align-items:center;
    gap:2px;
    list-style:none;
    margin:0;
    padding:0;
}

.mkb-menu-item{
    position:relative;
}

.mkb-menu-item > a,
.mkb-submenu-toggle{
    min-height:58px;
    display:flex;
    align-items:center;
    gap:7px;
    padding:0 12px;
    border:0;
    background:transparent;
    color:#24342e;
    font:inherit;
    font-size:13px;
    font-weight:750;
    cursor:pointer;
    white-space:nowrap;
    position:relative;
}

.mkb-menu-item > a:hover,
.mkb-submenu-toggle:hover,
.mkb-has-submenu.is-submenu-open > .mkb-submenu-toggle{
    color:#0b5d3b;
    background:#f6f9f7;
}

.mkb-menu-item > a::after,
.mkb-submenu-toggle::after{
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    bottom:0;
    height:3px;
    background:transparent;
    border-radius:3px 3px 0 0;
}

.mkb-menu-item > a:hover::after,
.mkb-submenu-toggle:hover::after,
.mkb-has-submenu.is-submenu-open > .mkb-submenu-toggle::after{
    background:#d3ad32;
}

.mkb-chevron{
    width:7px;
    height:7px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
    transition:transform .2s ease;
}

.mkb-has-submenu.is-submenu-open .mkb-chevron{
    transform:rotate(225deg) translate(-1px,-1px);
}

/* Dropdown baru */
.mkb-sub-menu{
    position:absolute;
    top:100%;
    left:0;
    z-index:1300;
    width:270px;
    display:none;
    list-style:none;
    margin:0;
    padding:9px;
    background:#fff;
    border:1px solid #e2e9e5;
    border-top:3px solid #d3ad32;
    border-radius:0 0 12px 12px;
    box-shadow:0 18px 40px rgba(18,55,40,.13);
}

.mkb-has-submenu:hover > .mkb-sub-menu,
.mkb-has-submenu:focus-within > .mkb-sub-menu,
.mkb-has-submenu.is-submenu-open > .mkb-sub-menu{
    display:block;
}

.mkb-sub-menu li + li{
    margin-top:2px;
}

.mkb-sub-menu a{
    display:block;
    padding:10px 11px;
    border-radius:8px;
    color:#31413a;
    font-size:13px;
    font-weight:650;
    line-height:1.4;
}

.mkb-sub-menu a:hover{
    color:#0b5d3b;
    background:#eef6f2;
}

/* CTA kanan */
.mkb-header-actions{
    display:flex;
    align-items:center;
    gap:7px;
    flex:0 0 auto;
    margin-left:auto;
}

.mkb-action-button{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 13px;
    border-radius:9px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.mkb-action-ptsp{
    background:#0b5d3b;
    color:#fff;
}

.mkb-action-ptsp:hover{
    background:#08472d;
    color:#fff;
}

.mkb-action-psb{
    background:#d3ad32;
    color:#211b08;
}

.mkb-action-psb:hover{
    background:#c49c20;
    color:#211b08;
}

.mkb-search-toggle{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid #dce6e1;
    border-radius:9px;
    background:#fff;
    color:#0b5d3b;
    font-size:19px;
    cursor:pointer;
}

/* Mobile */
.mkb-menu-toggle{
    display:none;
}

@media(max-width:1120px){
    .mkb-headbar-contact{
        gap:15px;
    }

    .mkb-primary-menu-v050{
        gap:0;
    }

    .mkb-menu-item > a,
    .mkb-submenu-toggle{
        padding-inline:9px;
        font-size:12px;
    }

    .mkb-action-button{
        padding-inline:10px;
    }
}

@media(max-width:980px){
    .mkb-contact-item:nth-child(2){
        display:none;
    }

    .mkb-menu-item:nth-child(4){
        display:none;
    }
}

@media(max-width:900px){
    .mkb-headbar-inner{
        min-height:78px;
    }

    .mkb-headbar-contact{
        display:none;
    }

    .mkb-head-logo-kemenag,
    .mkb-head-logo-man{
        width:43px;
        height:43px;
    }

    .mkb-headbar-school{
        font-size:18px;
    }

    .mkb-headbar-ministry{
        display:none;
    }

    .mkb-main-header-inner{
        min-height:52px;
    }

    .mkb-menu-toggle{
        display:flex;
        width:40px;
        height:40px;
        align-items:center;
        justify-content:center;
        flex-direction:column;
        gap:4px;
        border:1px solid #dce6e1;
        border-radius:9px;
        background:#fff;
        cursor:pointer;
    }

    .mkb-menu-line{
        width:18px;
        height:2px;
        border-radius:99px;
        background:#0b5d3b;
    }

    .mkb-nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:52px;
        max-height:calc(100vh - 52px);
        overflow:auto;
        background:#fff;
        border-top:1px solid #e2e9e5;
        box-shadow:0 18px 35px rgba(20,45,35,.14);
    }

    .mkb-nav.is-open{
        display:block;
    }

    .mkb-primary-menu-v050{
        display:block;
        padding:10px 14px 16px;
    }

    .mkb-menu-item{
        display:block !important;
    }

    .mkb-menu-item > a,
    .mkb-submenu-toggle{
        width:100%;
        min-height:44px;
        padding:10px 12px;
        justify-content:space-between;
        border-radius:8px;
        font-size:14px;
        white-space:normal;
    }

    .mkb-menu-item > a::after,
    .mkb-submenu-toggle::after{
        display:none;
    }

    .mkb-sub-menu{
        position:static;
        width:auto;
        display:none;
        margin:0 0 5px 12px;
        padding:3px 0 3px 10px;
        border:0;
        border-left:2px solid #dce8e1;
        border-radius:0;
        box-shadow:none;
    }

    .mkb-has-submenu:hover > .mkb-sub-menu{
        display:none;
    }

    .mkb-has-submenu.is-submenu-open > .mkb-sub-menu{
        display:block;
    }

    .mkb-sub-menu a{
        padding:9px 10px;
    }
}

@media(max-width:560px){
    .mkb-head-logo-kemenag,
    .mkb-head-logo-sep{
        display:none;
    }

    .mkb-headbar-school{
        font-size:16px;
    }

    .mkb-headbar-sub{
        max-width:210px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .mkb-action-button{
        min-height:34px;
        padding:0 9px;
        font-size:11px;
    }

    .mkb-search-toggle{
        width:34px;
        height:34px;
    }
}


/* ============================================================
   FILE: style.css
   BAGIAN: HOMEPAGE / HERO v0.6.0
   ============================================================ */

.mkb-hero-v060{
    min-height:520px;
    display:flex;
    align-items:center;
    background:
        linear-gradient(
            100deg,
            rgba(4,54,35,.93) 0%,
            rgba(4,54,35,.83) 44%,
            rgba(4,54,35,.50) 72%,
            rgba(4,54,35,.23) 100%
        ),
        url('assets/images/hero-ptsp.jpeg') center 48% / cover no-repeat;
}

.mkb-hero-grid-v060{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(340px,.72fr);
    gap:54px;
    align-items:center;
    padding:58px 0;
}

.mkb-hero-copy-v060{
    max-width:760px;
}

.mkb-hero-copy-v060 .mkb-eyebrow{
    margin-bottom:12px;
}

.mkb-hero-copy-v060 h1{
    margin:0;
    max-width:760px;
    color:#fff;
    font-size:clamp(42px,4.2vw,64px);
    line-height:1.04;
    letter-spacing:-.025em;
}

.mkb-hero-copy-v060 h1 span{
    display:block;
}

.mkb-hero-copy-v060 .mkb-hero-lead{
    margin:22px 0 0;
    max-width:680px;
    color:rgba(255,255,255,.90);
    font-size:17px;
    line-height:1.75;
}

.mkb-buttons-v060{
    margin-top:28px;
}

.mkb-btn-primary-v060{
    gap:9px;
    background:#d3ad32;
    color:#1f1a08;
    box-shadow:0 8px 24px rgba(0,0,0,.13);
}

.mkb-btn-primary-v060:hover{
    color:#1f1a08;
    transform:translateY(-1px);
}

.mkb-btn-ptsp-v060{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
}

.mkb-hero-meta-v060{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:24px;
    color:rgba(255,255,255,.72);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.11em;
}

.mkb-hero-meta-v060 i{
    width:4px;
    height:4px;
    display:block;
    border-radius:50%;
    background:#d3ad32;
}

/* Portal Card */
.mkb-hero-card-v060{
    padding:28px;
    border-radius:20px;
    background:rgba(8,61,42,.72);
    border:1px solid rgba(255,255,255,.19);
    box-shadow:0 20px 55px rgba(0,0,0,.18);
    backdrop-filter:blur(10px);
}

.mkb-hero-card-badge{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:0 10px;
    margin-bottom:14px;
    border-radius:999px;
    background:rgba(211,173,50,.18);
    color:#ffe47f;
    border:1px solid rgba(255,228,127,.20);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.mkb-hero-card-v060 h2{
    margin:0;
    color:#fff;
    font-size:29px;
    line-height:1.2;
}

.mkb-hero-card-v060 > p{
    margin:10px 0 20px;
    color:rgba(255,255,255,.82);
    font-size:14px;
}

.mkb-hero-service-list{
    display:grid;
    gap:8px;
}

.mkb-hero-service-list a{
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    padding:11px 12px;
    border-radius:12px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    transition:background .2s ease,border-color .2s ease,transform .2s ease;
}

.mkb-hero-service-list a:hover{
    background:rgba(255,255,255,.11);
    border-color:rgba(255,255,255,.16);
    color:#fff;
    transform:translateX(2px);
}

.mkb-hero-service-icon{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:rgba(211,173,50,.18);
    color:#ffe47f;
    font-size:11px;
    font-weight:900;
}

.mkb-hero-service-list strong{
    display:block;
    font-size:13px;
    line-height:1.25;
}

.mkb-hero-service-list small{
    display:block;
    margin-top:2px;
    color:rgba(255,255,255,.65);
    font-size:10px;
    line-height:1.35;
}

.mkb-hero-service-list b{
    font-size:15px;
    color:#ffe47f;
}

.mkb-hero-card-footer-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-top:16px;
    color:#ffe47f;
    font-size:12px;
    font-weight:800;
}

.mkb-hero-card-footer-link:hover{
    color:#fff;
}

/* Responsive Hero */
@media(max-width:1050px){
    .mkb-hero-grid-v060{
        grid-template-columns:minmax(0,1fr) 360px;
        gap:36px;
    }

    .mkb-hero-copy-v060 h1{
        font-size:clamp(40px,5vw,58px);
    }
}

@media(max-width:860px){
    .mkb-hero-v060{
        min-height:auto;
        background-position:center center;
    }

    .mkb-hero-grid-v060{
        grid-template-columns:1fr;
        padding:48px 0;
    }

    .mkb-hero-copy-v060{
        max-width:720px;
    }

    .mkb-hero-card-v060{
        max-width:620px;
    }
}

@media(max-width:560px){
    .mkb-hero-grid-v060{
        padding:40px 0;
        gap:28px;
    }

    .mkb-hero-copy-v060 h1{
        font-size:38px;
    }

    .mkb-hero-copy-v060 .mkb-hero-lead{
        font-size:15px;
    }

    .mkb-buttons-v060{
        flex-direction:column;
        align-items:stretch;
    }

    .mkb-buttons-v060 .mkb-btn{
        width:100%;
    }

    .mkb-hero-meta-v060{
        flex-wrap:wrap;
    }

    .mkb-hero-card-v060{
        padding:22px;
    }

    .mkb-hero-card-v060 h2{
        font-size:24px;
    }
}


/* ============================================================
   FILE: style.css
   BAGIAN: HOMEPAGE v0.7.0 — BERITA & INFORMASI
   ============================================================ */

.mkb-news-info-v070{
    background:#fff;
}

.mkb-section-heading-v070{
    margin-bottom:30px;
}

.mkb-news-layout-v070{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);
    gap:26px;
    align-items:stretch;
}

.mkb-featured-news-card-v070{
    height:100%;
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--mkb-shadow);
}

.mkb-featured-news-image-v070{
    display:block;
    aspect-ratio:16/8.6;
    overflow:hidden;
    background:#dde7e2;
}

.mkb-featured-news-image-v070 img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s ease;
}

.mkb-featured-news-card-v070:hover .mkb-featured-news-image-v070 img{
    transform:scale(1.025);
}

.mkb-featured-news-content-v070{
    padding:26px;
}

.mkb-news-label-v070{
    display:inline-flex;
    min-height:26px;
    align-items:center;
    padding:0 9px;
    margin-bottom:10px;
    border-radius:999px;
    background:var(--mkb-green-soft);
    color:var(--mkb-green);
    font-size:10px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.mkb-featured-news-content-v070 h3{
    margin:7px 0 10px;
    font-size:30px;
    line-height:1.25;
}

.mkb-featured-news-content-v070 h3 a{
    color:var(--mkb-dark);
}

.mkb-featured-news-content-v070 h3 a:hover{
    color:var(--mkb-green);
}

.mkb-featured-news-content-v070 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:15px;
}

.mkb-read-more-v070{
    display:inline-flex;
    margin-top:18px;
    font-size:13px;
    font-weight:800;
}

.mkb-latest-news-v070{
    padding:22px;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:var(--mkb-light);
}

.mkb-latest-news-title-v070{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:15px;
    padding-bottom:14px;
    margin-bottom:8px;
    border-bottom:1px solid #dce6e0;
}

.mkb-latest-news-title-v070 h3{
    margin:0;
    color:var(--mkb-dark);
    font-size:22px;
}

.mkb-latest-news-title-v070 span{
    color:var(--mkb-muted);
    font-size:11px;
}

.mkb-latest-news-list-v070{
    display:grid;
}

.mkb-latest-news-card-v070{
    display:grid;
    grid-template-columns:115px minmax(0,1fr);
    gap:14px;
    padding:13px 0;
    border-bottom:1px solid #dfe7e2;
}

.mkb-latest-news-card-v070:last-child{
    border-bottom:0;
}

.mkb-latest-news-thumb-v070{
    aspect-ratio:4/3;
    overflow:hidden;
    border-radius:10px;
    background:#dce6e1;
}

.mkb-latest-news-thumb-v070 img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.mkb-latest-news-copy-v070 h4{
    margin:5px 0 0;
    font-size:15px;
    line-height:1.35;
}

.mkb-latest-news-copy-v070 h4 a{
    color:var(--mkb-dark);
}

.mkb-latest-news-copy-v070 h4 a:hover{
    color:var(--mkb-green);
}

.mkb-empty-large-v070{
    min-height:420px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* Pengumuman + Agenda */
.mkb-info-panels-v070{
    background:#f5f8f6;
}

.mkb-info-grid-v070{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.mkb-info-panel-v070{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--mkb-shadow);
}

.mkb-info-panel-head-v070{
    min-height:88px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px 22px;
    border-bottom:1px solid var(--mkb-border);
}

.mkb-info-panel-head-v070 > div{
    display:flex;
    align-items:center;
    gap:12px;
}

.mkb-info-panel-icon-v070{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:var(--mkb-green-soft);
    font-size:20px;
}

.mkb-info-panel-head-v070 small{
    display:block;
    color:var(--mkb-muted);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.mkb-info-panel-head-v070 h3{
    margin:2px 0 0;
    color:var(--mkb-dark);
    font-size:21px;
}

.mkb-info-panel-head-v070 > a{
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.mkb-announcement-list-v070,
.mkb-agenda-list-v070{
    padding:4px 22px;
}

.mkb-announcement-item-v070,
.mkb-agenda-item-v070{
    display:grid;
    grid-template-columns:58px minmax(0,1fr);
    gap:14px;
    padding:16px 0;
    border-bottom:1px solid #edf1ef;
}

.mkb-announcement-item-v070:last-child,
.mkb-agenda-item-v070:last-child{
    border-bottom:0;
}

.mkb-announcement-date-v070,
.mkb-agenda-date-v070{
    width:58px;
    height:58px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#0b5d3b;
    color:#fff;
    line-height:1;
}

.mkb-agenda-date-v070{
    background:#d3ad32;
    color:#241e09;
}

.mkb-announcement-date-v070 strong,
.mkb-agenda-date-v070 strong{
    font-size:20px;
}

.mkb-announcement-date-v070 span,
.mkb-agenda-date-v070 span{
    margin-top:4px;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
}

.mkb-announcement-item-v070 h4,
.mkb-agenda-item-v070 h4{
    margin:2px 0 4px;
    font-size:16px;
    line-height:1.35;
}

.mkb-announcement-item-v070 h4 a,
.mkb-agenda-item-v070 h4 a{
    color:var(--mkb-dark);
}

.mkb-announcement-item-v070 p,
.mkb-agenda-item-v070 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:12px;
}

@media(max-width:1000px){
    .mkb-news-layout-v070{
        grid-template-columns:1fr;
    }

    .mkb-latest-news-list-v070{
        grid-template-columns:1fr 1fr;
        gap:0 20px;
    }
}

@media(max-width:820px){
    .mkb-info-grid-v070{
        grid-template-columns:1fr;
    }
}

@media(max-width:620px){
    .mkb-featured-news-content-v070{
        padding:20px;
    }

    .mkb-featured-news-content-v070 h3{
        font-size:24px;
    }

    .mkb-latest-news-v070{
        padding:17px;
    }

    .mkb-latest-news-list-v070{
        grid-template-columns:1fr;
    }

    .mkb-latest-news-card-v070{
        grid-template-columns:92px minmax(0,1fr);
    }

    .mkb-info-panel-head-v070{
        padding:16px;
    }

    .mkb-announcement-list-v070,
    .mkb-agenda-list-v070{
        padding-inline:16px;
    }
}


/* ============================================================
   FILE: style.css
   BAGIAN: HOMEPAGE v0.8.0
   PRESTASI + GALERI + AKSES CEPAT
   ============================================================ */

/* Prestasi */
.mkb-achievement-section-v080{
    background:#fff;
}

.mkb-achievement-grid-v080{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.mkb-achievement-card-v080{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--mkb-shadow);
    transition:transform .2s ease,box-shadow .2s ease;
}

.mkb-achievement-card-v080:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 36px rgba(18,55,40,.12);
}

.mkb-achievement-image-v080{
    display:block;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#dde7e2;
}

.mkb-achievement-image-v080 img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s ease;
}

.mkb-achievement-card-v080:hover .mkb-achievement-image-v080 img{
    transform:scale(1.03);
}

.mkb-achievement-body-v080{
    padding:20px;
}

.mkb-achievement-badge-v080{
    display:inline-flex;
    align-items:center;
    min-height:25px;
    padding:0 9px;
    margin-bottom:9px;
    border-radius:999px;
    background:#fff7d8;
    color:#8a6b00;
    font-size:10px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.mkb-achievement-body-v080 h3{
    margin:7px 0 8px;
    font-size:20px;
    line-height:1.35;
}

.mkb-achievement-body-v080 h3 a{
    color:var(--mkb-dark);
}

.mkb-achievement-body-v080 h3 a:hover{
    color:var(--mkb-green);
}

.mkb-achievement-body-v080 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:14px;
}

/* Galeri */
.mkb-gallery-grid-v080{
    display:grid;
    grid-template-columns:1.35fr .8fr .8fr;
    grid-template-rows:220px 220px;
    gap:14px;
}

.mkb-gallery-item-v080{
    position:relative;
    overflow:hidden;
    min-height:0;
    border-radius:16px;
    background:#dce6e1;
}

.mkb-gallery-featured-v080{
    grid-row:1 / span 2;
}

.mkb-gallery-item-v080 img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .3s ease;
}

.mkb-gallery-item-v080:hover img{
    transform:scale(1.035);
}

.mkb-gallery-overlay-v080{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    flex-direction:column;
    gap:3px;
    padding:42px 16px 14px;
    color:#fff;
    background:linear-gradient(to top,rgba(0,0,0,.72),transparent);
}

.mkb-gallery-overlay-v080 strong{
    font-size:14px;
    line-height:1.35;
}

.mkb-gallery-featured-v080 .mkb-gallery-overlay-v080 strong{
    font-size:21px;
}

.mkb-gallery-overlay-v080 small{
    color:rgba(255,255,255,.78);
    font-size:11px;
}

/* Quick Links */
.mkb-quick-section-v080{
    background:#fff;
}

.mkb-quick-grid-v080{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.mkb-quick-card-v080{
    min-height:86px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    align-items:center;
    gap:13px;
    padding:15px 17px;
    border:1px solid var(--mkb-border);
    border-radius:14px;
    background:#fff;
    color:var(--mkb-text);
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.mkb-quick-card-v080:hover{
    transform:translateY(-3px);
    border-color:#c7ddd1;
    box-shadow:0 12px 28px rgba(18,55,40,.09);
    color:var(--mkb-text);
}

.mkb-quick-icon-v080{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:var(--mkb-green-soft);
    color:var(--mkb-green);
    font-size:12px;
    font-weight:900;
}

.mkb-quick-card-v080 strong{
    display:block;
    color:var(--mkb-dark);
    font-size:14px;
}

.mkb-quick-card-v080 small{
    display:block;
    margin-top:2px;
    color:var(--mkb-muted);
    font-size:11px;
    line-height:1.3;
}

.mkb-quick-card-v080 b{
    color:var(--mkb-green);
}

@media(max-width:1000px){
    .mkb-achievement-grid-v080{
        grid-template-columns:repeat(2,1fr);
    }

    .mkb-gallery-grid-v080{
        grid-template-columns:1.2fr 1fr;
        grid-template-rows:240px 190px 190px;
    }

    .mkb-gallery-featured-v080{
        grid-row:1 / span 2;
    }

    .mkb-quick-grid-v080{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:680px){
    .mkb-achievement-grid-v080{
        grid-template-columns:1fr;
    }

    .mkb-gallery-grid-v080{
        display:grid;
        grid-template-columns:1fr;
        grid-template-rows:none;
    }

    .mkb-gallery-item-v080,
    .mkb-gallery-featured-v080{
        grid-row:auto;
        min-height:220px;
    }

    .mkb-quick-grid-v080{
        grid-template-columns:1fr;
    }
}


/* ============================================================
   FOOTER / HOMEPAGE v0.9.0
   ============================================================ */
.mkb-footer-v090{
    background:#0b3d2b;
    color:#fff;
}

.mkb-footer-main-v090{
    padding:58px 0 42px;
}

.mkb-footer-grid-v090{
    display:grid;
    grid-template-columns:1.65fr .75fr .75fr 1.15fr;
    gap:42px;
}

.mkb-footer-brand-head-v090{
    display:flex;
    align-items:center;
    gap:10px;
}

.mkb-footer-brand-head-v090 img{
    width:54px;
    height:54px;
    object-fit:contain;
}

.mkb-footer-brand-head-v090 div{
    display:flex;
    flex-direction:column;
}

.mkb-footer-brand-head-v090 small{
    color:#d5b436;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-size:9px;
    font-weight:800;
}

.mkb-footer-brand-head-v090 strong{
    margin-top:3px;
    font-size:22px;
    line-height:1.15;
}

.mkb-footer-brand-head-v090 span{
    margin-top:3px;
    color:rgba(255,255,255,.7);
    font-size:11px;
}

.mkb-footer-desc-v090{
    max-width:440px;
    margin:22px 0 0;
    color:rgba(255,255,255,.72);
    font-size:13px;
    line-height:1.8;
}

.mkb-footer-column-v090 h3,
.mkb-footer-contact-v090 h3{
    margin:0 0 18px;
    color:#fff;
    font-size:15px;
}

.mkb-footer-column-v090 nav{
    display:flex;
    flex-direction:column;
    gap:11px;
}

.mkb-footer-column-v090 a,
.mkb-footer-contact-v090 a{
    color:rgba(255,255,255,.72);
    font-size:12px;
}

.mkb-footer-column-v090 a:hover,
.mkb-footer-contact-v090 a:hover{
    color:#f0ce45;
}

.mkb-contact-item-v090{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-bottom:13px;
}

.mkb-contact-item-v090 span{
    color:#d5b436;
    text-transform:uppercase;
    letter-spacing:.09em;
    font-size:9px;
    font-weight:800;
}

.mkb-contact-item-v090 strong{
    max-width:300px;
    color:rgba(255,255,255,.78);
    font-size:12px;
    font-weight:500;
    line-height:1.6;
}

.mkb-footer-social-v090{
    display:flex;
    gap:8px;
    margin-top:18px;
}

.mkb-footer-social-v090 a{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.18);
    border-radius:9px;
    color:#fff;
    font-weight:800;
}

.mkb-footer-social-v090 a:hover{
    border-color:#d5b436;
    background:#d5b436;
    color:#17392c;
}

.mkb-footer-bottom-v090{
    border-top:1px solid rgba(255,255,255,.12);
    background:#082f22;
}

.mkb-footer-bottom-inner-v090{
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    color:rgba(255,255,255,.55);
    font-size:10px;
}

@media(max-width:1000px){
    .mkb-footer-grid-v090{
        grid-template-columns:1.5fr 1fr 1fr;
    }

    .mkb-footer-contact-v090{
        grid-column:1 / -1;
    }
}

@media(max-width:720px){
    .mkb-footer-main-v090{
        padding:42px 0 32px;
    }

    .mkb-footer-grid-v090{
        grid-template-columns:1fr 1fr;
        gap:32px 22px;
    }

    .mkb-footer-brand-v090,
    .mkb-footer-contact-v090{
        grid-column:1 / -1;
    }

    .mkb-footer-bottom-inner-v090{
        padding-top:16px;
        padding-bottom:16px;
        flex-direction:column;
        align-items:flex-start;
        justify-content:center;
        gap:4px;
    }
}

@media(max-width:480px){
    .mkb-footer-grid-v090{
        grid-template-columns:1fr;
    }

    .mkb-footer-brand-v090,
    .mkb-footer-contact-v090{
        grid-column:auto;
    }

    .mkb-footer-brand-head-v090 img{
        width:45px;
        height:45px;
    }

    .mkb-footer-brand-head-v090 strong{
        font-size:19px;
    }
}


/* ============================================================
   THEME v1.0.0 — FINAL RESPONSIVE POLISH
   ============================================================ */

/* Hindari layout melebar keluar viewport */
html,
body{
    max-width:100%;
    overflow-x:hidden;
}

.mkb-headbar-brand,
.mkb-headbar-copy,
.mkb-nav{
    min-width:0;
}

/* Perbaikan hero agar CTA lebih cepat terlihat */
@media(min-width:861px){
    .mkb-hero-v060{
        min-height:500px;
    }

    .mkb-hero-grid-v060{
        padding-top:48px;
        padding-bottom:48px;
    }

    .mkb-hero-copy-v060 h1{
        font-size:clamp(40px,3.85vw,58px);
    }
}

/* Perbaikan section berita berdasarkan tampilan nyata */
@media(min-width:1001px){
    .mkb-featured-news-image-v070{
        aspect-ratio:auto;
        height:430px;
    }

    .mkb-featured-news-content-v070 h3{
        font-size:27px;
    }

    .mkb-latest-news-copy-v070 h4{
        display:-webkit-box;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
}

/* WordPress admin bar sticky offset */
@media(min-width:783px){
    .admin-bar .mkb-main-header{
        top:32px;
    }
}

@media(max-width:782px){
    .admin-bar .mkb-main-header{
        top:46px;
    }
}

/* Focus accessibility */
.mkb-main-header a:focus-visible,
.mkb-main-header button:focus-visible,
.mkb-footer-v090 a:focus-visible,
.mkb-btn:focus-visible{
    outline:3px solid #d3ad32;
    outline-offset:3px;
}

/* Print: buang elemen navigasi yang tidak diperlukan */
@media print{
    .mkb-headbar,
    .mkb-main-header,
    .mkb-footer-v090{
        display:none!important;
    }

    body{
        color:#000;
        background:#fff;
    }
}

/* ============================================================
   HOMEPAGE v1.0.1 — POLISH & CONTENT READINESS
   ============================================================ */

/* Hero lebih ringkas pada desktop tanpa mengubah struktur */
@media(min-width:861px){
    .mkb-hero-v060{min-height:470px}
    .mkb-hero-grid-v060{padding-top:38px;padding-bottom:38px;gap:46px}
    .mkb-hero-copy-v060 h1{font-size:clamp(40px,3.65vw,56px);line-height:1.04}
    .mkb-hero-copy-v060 .mkb-hero-lead{margin-top:17px;line-height:1.65}
    .mkb-buttons-v060{margin-top:22px}
    .mkb-hero-meta-v060{margin-top:18px}
    .mkb-hero-card-v060{padding:24px}
    .mkb-hero-card-badge{margin-bottom:10px}
    .mkb-hero-card-v060 h2{font-size:27px}
    .mkb-hero-card-v060 > p{margin:8px 0 15px}
    .mkb-hero-service-list{gap:7px}
    .mkb-hero-service-list a{padding:9px 11px}
    .mkb-hero-card-footer-link{margin-top:12px}
}

/* Featured image berita konsisten */
.mkb-featured-news-image-v070{aspect-ratio:16/9;height:auto;overflow:hidden}
.mkb-featured-news-image-v070 img,
.mkb-latest-news-thumb-v070 img{width:100%;height:100%;object-fit:cover}
.mkb-latest-news-copy-v070 h4{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

@media(min-width:1001px){
    .mkb-featured-news-image-v070{height:auto;aspect-ratio:16/9}
}

/* Empty states tidak lagi menciptakan ruang kosong besar */
.mkb-empty,
.mkb-empty-large-v070{min-height:0!important;padding:22px 28px!important}
.mkb-achievement-grid-v080 > .mkb-empty{max-width:570px}
.mkb-gallery-section-v080 .mkb-empty{width:100%}

/* Micro interaction: formal dan ringan */
.mkb-service-card,
.mkb-quick-card-v080,
.mkb-achievement-card-v080,
.mkb-featured-news-card-v070,
.mkb-latest-news-card-v070{
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
@media(hover:hover){
    .mkb-service-card:hover,
    .mkb-quick-card-v080:hover,
    .mkb-achievement-card-v080:hover{
        transform:translateY(-3px);
        border-color:rgba(9,100,66,.28);
        box-shadow:0 14px 34px rgba(10,55,39,.08);
    }
}

/* Section kosong: tetap terlihat bagi admin, disembunyikan dari publik.
   Browser lama yang belum mendukung :has tetap menampilkan empty-state. */
@supports selector(section:has(.mkb-empty)){
    body:not(.logged-in) .mkb-achievement-section-v080:has(.mkb-empty),
    body:not(.logged-in) .mkb-gallery-section-v080:has(.mkb-empty){display:none}
}

/* Spacing akhir antarseksi */
.mkb-achievement-section-v080,
.mkb-gallery-section-v080,
.mkb-quick-section-v080{scroll-margin-top:120px}

@media(max-width:860px){
    .mkb-featured-news-image-v070{aspect-ratio:16/10}
    .mkb-empty,.mkb-empty-large-v070{padding:20px!important}
}

@media(max-width:560px){
    .mkb-hero-card-v060{padding:20px}
    .mkb-hero-service-list a{padding:10px}
    .mkb-featured-news-image-v070{aspect-ratio:4/3}
}


/* ============================================================
   THEME v1.1.0 — RESPONSIVE & MOBILE OPTIMIZATION
   ============================================================ */

/* ---------- GLOBAL ---------- */
img,
video,
iframe{
    max-width:100%;
}

body{
    overflow-x:hidden;
}

.mkb-section-heading h2{
    text-wrap:balance;
}

/* ---------- TABLET HEADER ---------- */
@media(max-width:1024px){

    .mkb-headbar-inner{
        min-height:82px;
        gap:18px;
    }

    .mkb-headbar-contact{
        gap:14px;
    }

    .mkb-contact-item strong{
        font-size:11px;
    }

    .mkb-social-links{
        display:none;
    }

    .mkb-main-header-inner{
        gap:10px;
    }

    .mkb-header-actions{
        gap:6px;
    }

    .mkb-action-button{
        padding-inline:10px;
    }
}

/* ---------- MOBILE HEADER ---------- */
@media(max-width:900px){

    .mkb-headbar{
        position:relative;
        z-index:1100;
    }

    .mkb-headbar-inner{
        min-height:72px;
        padding-top:8px;
        padding-bottom:8px;
    }

    .mkb-headbar-contact{
        display:none;
    }

    .mkb-headbar-brand{
        gap:10px;
    }

    .mkb-headbar-logos{
        gap:6px;
    }

    .mkb-head-logo-kemenag,
    .mkb-head-logo-man{
        width:38px;
        height:38px;
    }

    .mkb-head-logo-sep{
        height:28px;
    }

    .mkb-headbar-school{
        font-size:17px;
    }

    .mkb-headbar-sub{
        max-width:240px;
        font-size:10px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .mkb-main-header{
        position:sticky;
        top:0;
    }

    .admin-bar .mkb-main-header{
        top:46px;
    }

    .mkb-main-header-inner{
        min-height:54px;
    }

    .mkb-menu-toggle{
        display:flex;
        order:1;
    }

    .mkb-nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:54px;
        max-height:calc(100vh - 54px);
        overflow-y:auto;
        background:#fff;
        border-top:1px solid #e2e9e5;
        box-shadow:0 18px 35px rgba(20,45,35,.14);
    }

    .mkb-nav.is-open{
        display:block;
    }

    .mkb-primary-menu-v050{
        display:block;
        padding:10px 14px 18px;
    }

    .mkb-menu-item{
        display:block!important;
    }

    .mkb-menu-item > a,
    .mkb-submenu-toggle{
        width:100%;
        min-height:46px;
        padding:10px 12px;
        justify-content:space-between;
        border-radius:8px;
        font-size:14px;
        white-space:normal;
    }

    .mkb-menu-item > a:hover,
    .mkb-submenu-toggle:hover,
    .mkb-has-submenu.is-submenu-open > .mkb-submenu-toggle{
        background:#f3f8f5;
    }

    .mkb-menu-item > a::after,
    .mkb-submenu-toggle::after{
        display:none;
    }

    .mkb-sub-menu{
        position:static;
        width:auto;
        display:none;
        margin:0 0 6px 12px;
        padding:4px 0 4px 10px;
        border:0;
        border-left:2px solid #dce8e1;
        border-radius:0;
        box-shadow:none;
    }

    .mkb-has-submenu:hover > .mkb-sub-menu{
        display:none;
    }

    .mkb-has-submenu.is-submenu-open > .mkb-sub-menu{
        display:block;
    }

    .mkb-sub-menu a{
        padding:9px 10px;
        font-size:13px;
    }

    .mkb-header-actions{
        order:2;
        margin-left:auto;
    }

    .mkb-action-button{
        min-height:34px;
        padding:0 9px;
        font-size:11px;
    }

    .mkb-search-toggle{
        width:34px;
        height:34px;
    }

    .mkb-search-panel{
        padding:12px 0;
    }
}

/* ---------- MOBILE HERO ---------- */
@media(max-width:860px){

    .mkb-hero-v060{
        min-height:auto;
        background-position:center center;
    }

    .mkb-hero-grid-v060{
        grid-template-columns:1fr;
        gap:26px;
        padding-top:42px;
        padding-bottom:42px;
    }

    .mkb-hero-copy-v060{
        max-width:none;
    }

    .mkb-hero-copy-v060 h1{
        max-width:720px;
        font-size:clamp(36px,7vw,52px);
        line-height:1.06;
    }

    .mkb-hero-copy-v060 .mkb-hero-lead{
        max-width:640px;
        font-size:15px;
        line-height:1.65;
    }

    .mkb-buttons-v060{
        margin-top:22px;
    }

    .mkb-hero-card-v060{
        width:100%;
        max-width:none;
        padding:22px;
    }

    .mkb-hero-card-v060 h2{
        font-size:25px;
    }

    .mkb-hero-service-list a{
        padding:10px;
    }
}

/* ---------- SMALL MOBILE ---------- */
@media(max-width:560px){

    .container{
        width:min(calc(100% - 24px),var(--mkb-container));
    }

    .mkb-head-logo-kemenag,
    .mkb-head-logo-sep{
        display:none;
    }

    .mkb-headbar-school{
        font-size:16px;
    }

    .mkb-headbar-sub{
        max-width:205px;
    }

    .mkb-action-psb{
        display:none;
    }

    .mkb-hero-grid-v060{
        padding-top:34px;
        padding-bottom:34px;
    }

    .mkb-hero-copy-v060 h1{
        font-size:36px;
    }

    .mkb-eyebrow{
        font-size:10px;
        letter-spacing:.11em;
    }

    .mkb-buttons-v060{
        flex-direction:column;
        align-items:stretch;
    }

    .mkb-buttons-v060 .mkb-btn{
        width:100%;
    }

    .mkb-hero-meta-v060{
        display:none;
    }

    .mkb-hero-card-v060{
        padding:18px;
        border-radius:16px;
    }

    .mkb-hero-card-badge{
        margin-bottom:10px;
    }

    .mkb-hero-service-list{
        gap:6px;
    }

    .mkb-hero-service-list a{
        grid-template-columns:34px minmax(0,1fr) auto;
        gap:10px;
        padding:9px;
    }

    .mkb-hero-service-icon{
        width:34px;
        height:34px;
    }

    .mkb-section{
        padding:46px 0;
    }

    .mkb-section-heading{
        margin-bottom:22px;
    }

    .mkb-section-heading h2{
        font-size:30px;
    }

    .mkb-section-heading p{
        font-size:14px;
    }
}

/* ---------- LAYANAN ---------- */
@media(max-width:900px){
    .mkb-services{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:560px){
    .mkb-services{
        grid-template-columns:1fr;
    }

    .mkb-service-card{
        min-height:170px;
    }
}

/* ---------- BERITA ---------- */
@media(max-width:1000px){
    .mkb-news-layout-v070{
        grid-template-columns:1fr;
    }

    .mkb-latest-news-list-v070{
        grid-template-columns:1fr 1fr;
        gap:0 18px;
    }
}

@media(max-width:680px){
    .mkb-featured-news-image-v070{
        height:auto;
        aspect-ratio:16/10;
    }

    .mkb-featured-news-content-v070{
        padding:18px;
    }

    .mkb-featured-news-content-v070 h3{
        font-size:23px;
    }

    .mkb-latest-news-v070{
        padding:16px;
    }

    .mkb-latest-news-list-v070{
        grid-template-columns:1fr;
    }

    .mkb-latest-news-card-v070{
        grid-template-columns:88px minmax(0,1fr);
        gap:12px;
    }

    .mkb-latest-news-copy-v070 h4{
        font-size:14px;
    }
}

/* ---------- PENGUMUMAN & AGENDA ---------- */
@media(max-width:820px){
    .mkb-info-grid-v070{
        grid-template-columns:1fr;
    }
}

@media(max-width:560px){
    .mkb-info-panel-head-v070{
        min-height:auto;
        padding:14px;
    }

    .mkb-info-panel-icon-v070{
        width:42px;
        height:42px;
    }

    .mkb-announcement-list-v070,
    .mkb-agenda-list-v070{
        padding-inline:14px;
    }

    .mkb-announcement-item-v070,
    .mkb-agenda-item-v070{
        grid-template-columns:52px minmax(0,1fr);
        gap:12px;
    }

    .mkb-announcement-date-v070,
    .mkb-agenda-date-v070{
        width:52px;
        height:52px;
    }
}

/* ---------- PRESTASI ---------- */
@media(max-width:1000px){
    .mkb-achievement-grid-v080{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:680px){
    .mkb-achievement-grid-v080{
        grid-template-columns:1fr;
    }
}

/* ---------- GALERI ---------- */
@media(max-width:900px){
    .mkb-gallery-grid-v080{
        grid-template-columns:1.2fr 1fr;
        grid-template-rows:230px 180px 180px;
    }
}

@media(max-width:680px){
    .mkb-gallery-grid-v080{
        grid-template-columns:1fr;
        grid-template-rows:none;
    }

    .mkb-gallery-item-v080,
    .mkb-gallery-featured-v080{
        grid-row:auto;
        min-height:210px;
    }
}

/* ---------- LINK PENTING ---------- */
@media(max-width:900px){
    .mkb-quick-grid-v080{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:560px){
    .mkb-quick-grid-v080{
        grid-template-columns:1fr;
    }

    .mkb-quick-card-v080{
        min-height:78px;
    }
}

/* ---------- FOOTER ---------- */
@media(max-width:900px){
    .mkb-footer-grid-v090{
        grid-template-columns:1.3fr 1fr 1fr;
    }

    .mkb-footer-contact-v090{
        grid-column:1 / -1;
    }
}

@media(max-width:680px){
    .mkb-footer-grid-v090{
        grid-template-columns:1fr 1fr;
        gap:28px 20px;
    }

    .mkb-footer-brand-v090,
    .mkb-footer-contact-v090{
        grid-column:1 / -1;
    }

    .mkb-footer-bottom-inner-v090{
        flex-direction:column;
        align-items:flex-start;
        justify-content:center;
        gap:4px;
        padding-top:15px;
        padding-bottom:15px;
    }
}

@media(max-width:480px){
    .mkb-footer-grid-v090{
        grid-template-columns:1fr;
    }

    .mkb-footer-brand-v090,
    .mkb-footer-contact-v090{
        grid-column:auto;
    }

    .mkb-footer-brand-head-v090 img{
        width:42px;
        height:42px;
    }
}


/* ============================================================
   THEME v1.2.0 — HALAMAN INTERNAL
   ============================================================ */

.mkb-internal-hero{
    padding:42px 0 36px;
    background:linear-gradient(135deg,#0b5d3b,#0a4a31);
    color:#fff;
}

.mkb-internal-hero h1{
    max-width:900px;
    margin:10px 0 8px;
    font-size:clamp(34px,4vw,52px);
    line-height:1.15;
}

.mkb-internal-hero p{
    max-width:720px;
    margin:0;
    color:rgba(255,255,255,.78);
}

.mkb-breadcrumbs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    font-size:11px;
}

.mkb-breadcrumbs a{
    color:#ffe47f;
}

.mkb-breadcrumbs span{
    color:rgba(255,255,255,.65);
}

.mkb-internal-section{
    padding:58px 0;
    background:#fff;
}

.mkb-article-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:34px;
    align-items:start;
}

.mkb-article-main,
.mkb-page-card{
    min-width:0;
}

.mkb-article-meta{
    display:flex;
    gap:8px;
    align-items:center;
    margin-bottom:18px;
    color:var(--mkb-muted);
    font-size:12px;
}

.mkb-article-featured,
.mkb-page-featured{
    margin:0 0 26px;
    overflow:hidden;
    border-radius:18px;
    background:#e2ebe6;
}

.mkb-article-featured img,
.mkb-page-featured img{
    width:100%;
    height:auto;
    display:block;
}

.mkb-article-content,
.mkb-page-content{
    color:#2b3832;
    font-size:16px;
    line-height:1.9;
}

.mkb-article-content h2,
.mkb-page-content h2{
    margin-top:34px;
    font-size:28px;
    line-height:1.25;
    color:var(--mkb-dark);
}

.mkb-article-content h3,
.mkb-page-content h3{
    margin-top:28px;
    font-size:22px;
    color:var(--mkb-dark);
}

.mkb-article-content blockquote,
.mkb-page-content blockquote{
    margin:28px 0;
    padding:18px 22px;
    border-left:4px solid var(--mkb-gold);
    background:var(--mkb-light);
    color:#425149;
}

.mkb-article-content img,
.mkb-page-content img{
    border-radius:12px;
}

.mkb-article-footer{
    margin-top:32px;
    padding-top:20px;
    border-top:1px solid var(--mkb-border);
}

.mkb-article-sidebar{
    display:grid;
    gap:18px;
    position:sticky;
    top:92px;
}

.mkb-sidebar-card{
    padding:20px;
    border:1px solid var(--mkb-border);
    border-radius:16px;
    background:#fff;
    box-shadow:var(--mkb-shadow);
}

.mkb-sidebar-card h3{
    margin:0 0 14px;
    font-size:18px;
    color:var(--mkb-dark);
}

.mkb-sidebar-news-list{
    display:grid;
}

.mkb-sidebar-news-list a{
    display:block;
    padding:12px 0;
    border-bottom:1px solid #edf1ef;
}

.mkb-sidebar-news-list a:last-child{
    border-bottom:0;
}

.mkb-sidebar-news-list span{
    display:block;
    margin-bottom:3px;
    color:var(--mkb-muted);
    font-size:10px;
}

.mkb-sidebar-news-list strong{
    display:block;
    color:var(--mkb-dark);
    font-size:13px;
    line-height:1.35;
}

.mkb-sidebar-cta{
    display:block;
    margin-top:8px;
    padding:10px 12px;
    border-radius:9px;
    background:var(--mkb-green-soft);
    font-weight:800;
}

.mkb-page-card{
    max-width:980px;
    margin:0 auto;
    padding:32px;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--mkb-shadow);
}

.mkb-archive-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.mkb-archive-card{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:16px;
    background:#fff;
    box-shadow:var(--mkb-shadow);
}

.mkb-archive-thumb{
    display:block;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#e0e9e4;
}

.mkb-archive-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.mkb-archive-body{
    padding:20px;
}

.mkb-archive-body h2{
    margin:7px 0 9px;
    font-size:20px;
    line-height:1.35;
}

.mkb-archive-body p{
    margin:0;
    color:var(--mkb-muted);
    font-size:13px;
}

.mkb-archive-readmore{
    display:inline-flex;
    margin-top:14px;
    font-size:12px;
    font-weight:800;
}

.mkb-pagination{
    margin-top:34px;
}

.mkb-pagination .nav-links{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.mkb-pagination .page-numbers{
    min-width:38px;
    height:38px;
    display:grid;
    place-items:center;
    padding:0 10px;
    border:1px solid var(--mkb-border);
    border-radius:9px;
    background:#fff;
}

.mkb-pagination .current{
    background:var(--mkb-green);
    color:#fff;
}

.mkb-search-results{
    display:grid;
    gap:14px;
}

.mkb-search-result-card{
    padding:20px;
    border:1px solid var(--mkb-border);
    border-radius:14px;
    background:#fff;
}

.mkb-search-result-card h2{
    margin:4px 0 8px;
    font-size:21px;
}

.mkb-search-result-card p{
    margin:0;
    color:var(--mkb-muted);
}

.mkb-404{
    min-height:60vh;
    display:grid;
    place-items:center;
    padding:70px 0;
    background:#f6f9f7;
}

.mkb-404-inner{
    max-width:720px;
    text-align:center;
}

.mkb-404-code{
    display:block;
    color:var(--mkb-gold);
    font-size:72px;
    font-weight:900;
    line-height:1;
}

.mkb-404 h1{
    margin:14px 0 10px;
    color:var(--mkb-dark);
    font-size:38px;
}

.mkb-404 p{
    margin:0 auto;
    max-width:560px;
    color:var(--mkb-muted);
}

.mkb-btn-outline-dark{
    background:#fff;
    color:var(--mkb-green);
    border:1px solid var(--mkb-green);
}

/* responsive internal pages */
@media(max-width:1000px){
    .mkb-article-layout{
        grid-template-columns:1fr;
    }

    .mkb-article-sidebar{
        position:static;
        grid-template-columns:1fr 1fr;
    }

    .mkb-archive-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:680px){
    .mkb-internal-hero{
        padding:34px 0 30px;
    }

    .mkb-internal-hero h1{
        font-size:34px;
    }

    .mkb-internal-section{
        padding:42px 0;
    }

    .mkb-page-card{
        padding:20px;
        border-radius:14px;
    }

    .mkb-article-sidebar{
        grid-template-columns:1fr;
    }

    .mkb-archive-grid{
        grid-template-columns:1fr;
    }

    .mkb-article-content,
    .mkb-page-content{
        font-size:15px;
    }

    .mkb-article-content h2,
    .mkb-page-content h2{
        font-size:24px;
    }

    .mkb-404-code{
        font-size:58px;
    }

    .mkb-404 h1{
        font-size:30px;
    }
}


/* ============================================================
   THEME v1.3.1 — LAMPIRAN DOKUMEN PENGUMUMAN
   ============================================================ */

.mkb-document-card{
    margin-top:30px;
    padding:22px;
    border:1px solid var(--mkb-border);
    border-radius:16px;
    background:var(--mkb-light);
}

.mkb-document-card h3{
    margin:0 0 6px;
    color:var(--mkb-dark);
    font-size:20px;
}

.mkb-document-card p{
    margin:0 0 16px;
    color:var(--mkb-muted);
    font-size:13px;
}

.mkb-document-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.mkb-document-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 14px;
    border-radius:9px;
    font-size:12px;
    font-weight:800;
}

.mkb-document-button-primary{
    background:var(--mkb-green);
    color:#fff;
}

.mkb-document-button-primary:hover{
    color:#fff;
    background:var(--mkb-green-dark);
}

.mkb-document-button-secondary{
    background:#fff;
    color:var(--mkb-green);
    border:1px solid var(--mkb-green);
}

.mkb-pdf-preview{
    margin-top:18px;
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:12px;
    background:#fff;
}

.mkb-pdf-preview iframe{
    width:100%;
    min-height:720px;
    border:0;
    display:block;
}

.mkb-document-meta{
    margin-top:10px;
    font-size:11px;
    color:var(--mkb-muted);
}

@media(max-width:680px){
    .mkb-document-card{
        padding:17px;
    }

    .mkb-document-actions{
        flex-direction:column;
    }

    .mkb-document-button{
        width:100%;
    }

    .mkb-pdf-preview iframe{
        min-height:480px;
    }
}


/* ============================================================
   THEME v1.3.3 — CATEGORY / ARCHIVE FIX
   ============================================================ */

.category .mkb-internal-hero,
.archive .mkb-internal-hero{
    padding-top:38px;
    padding-bottom:34px;
}

.category .mkb-internal-hero h1,
.archive .mkb-internal-hero h1{
    font-size:clamp(38px,4.2vw,54px);
    letter-spacing:-.02em;
}

.category .mkb-internal-hero p,
.archive .mkb-internal-hero p{
    max-width:760px;
}

.category .mkb-archive-grid,
.archive .mkb-archive-grid{
    align-items:stretch;
}

.category .mkb-archive-card,
.archive .mkb-archive-card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.category .mkb-archive-body,
.archive .mkb-archive-body{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
}

.category .mkb-archive-body p,
.archive .mkb-archive-body p{
    flex:1 1 auto;
}

.category .mkb-archive-readmore,
.archive .mkb-archive-readmore{
    margin-top:16px;
}

@media(max-width:680px){
    .category .mkb-internal-hero,
    .archive .mkb-internal-hero{
        padding-top:30px;
        padding-bottom:28px;
    }

    .category .mkb-internal-hero h1,
    .archive .mkb-internal-hero h1{
        font-size:34px;
    }
}


/* ============================================================
   THEME v1.3.4 — SAMBUTAN KEPALA MADRASAH
   ============================================================ */

.mkb-welcome-page-v134{
    background:#f7faf8;
}

.mkb-welcome-layout-v134{
    display:grid;
    grid-template-columns:330px minmax(0,1fr);
    gap:42px;
    align-items:start;
}

.mkb-welcome-profile-v134{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--mkb-shadow);
}

.mkb-welcome-photo-v134{
    aspect-ratio:4/5;
    overflow:hidden;
    background:#e5eee9;
}

.mkb-welcome-photo-v134 img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center top;
}

.mkb-welcome-photo-placeholder-v134{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:var(--mkb-muted);
    background:linear-gradient(145deg,#edf5f1,#dfeae4);
}

.mkb-welcome-photo-placeholder-v134 span{
    font-size:34px;
    font-weight:800;
    color:var(--mkb-green);
}

.mkb-welcome-photo-placeholder-v134 small{
    margin-top:4px;
}

.mkb-welcome-identity-v134{
    padding:20px;
}

.mkb-welcome-identity-v134 > span,
.mkb-welcome-heading-v134 > span{
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.mkb-welcome-identity-v134 h2{
    margin:6px 0 4px;
    color:var(--mkb-dark);
    font-size:22px;
    line-height:1.25;
}

.mkb-welcome-identity-v134 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:11px;
}

.mkb-welcome-content-v134{
    padding:34px 38px;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--mkb-shadow);
}

.mkb-welcome-heading-v134{
    padding-bottom:20px;
    margin-bottom:22px;
    border-bottom:1px solid var(--mkb-border);
}

.mkb-welcome-heading-v134 h2{
    margin:6px 0 0;
    color:var(--mkb-dark);
    font-size:32px;
    line-height:1.25;
}

.mkb-welcome-text-v134 p:first-child{
    margin-top:0;
}

.mkb-welcome-signature-v134{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:4px;
    margin-top:34px;
    padding-top:20px;
    border-top:1px solid var(--mkb-border);
    color:var(--mkb-muted);
    font-size:12px;
}

.mkb-welcome-signature-v134 strong{
    color:var(--mkb-dark);
    font-size:15px;
}

@media(max-width:900px){
    .mkb-welcome-layout-v134{
        grid-template-columns:260px minmax(0,1fr);
        gap:26px;
    }

    .mkb-welcome-content-v134{
        padding:28px;
    }
}

@media(max-width:680px){
    .mkb-welcome-layout-v134{
        grid-template-columns:1fr;
    }

    .mkb-welcome-profile-v134{
        max-width:320px;
        margin:0 auto;
    }

    .mkb-welcome-content-v134{
        padding:22px;
    }

    .mkb-welcome-heading-v134 h2{
        font-size:27px;
    }

    .mkb-welcome-signature-v134{
        align-items:flex-start;
    }
}


/* ============================================================
   THEME v1.4.0 — DETAIL BERITA / NEWS GALLERY
   ============================================================ */

.mkb-news-head-v140{
    padding:34px 0 38px;
    background:#f7faf8;
    border-bottom:1px solid var(--mkb-border);
}

.mkb-news-head-v140 .mkb-breadcrumbs{
    margin-bottom:20px;
}

.mkb-news-head-v140 .mkb-breadcrumbs a{
    color:var(--mkb-green);
}

.mkb-news-head-v140 .mkb-breadcrumbs span{
    color:var(--mkb-muted);
}

.mkb-news-head-inner-v140{
    max-width:1080px;
}

.mkb-news-category-v140{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:0 11px;
    border-radius:999px;
    background:#e7f2ec;
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.mkb-news-head-v140 h1{
    max-width:1050px;
    margin:12px 0 14px;
    color:var(--mkb-dark);
    font-size:clamp(34px,4vw,54px);
    line-height:1.13;
    letter-spacing:-.025em;
}

.mkb-news-meta-v140{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    color:var(--mkb-muted);
    font-size:12px;
}

.mkb-news-detail-section-v140{
    padding:44px 0 64px;
    background:#fff;
}

.mkb-news-layout-v140{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:36px;
    align-items:start;
}

.mkb-news-article-v140{
    min-width:0;
}

.mkb-news-gallery-v140{
    margin-bottom:30px;
}

.mkb-news-gallery-stage-v140{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    background:#e7ede9;
    box-shadow:0 10px 30px rgba(20,50,35,.08);
}

.mkb-news-gallery-stage-v140 > img{
    width:100%;
    aspect-ratio:16/9;
    display:block;
    object-fit:cover;
    transition:opacity .18s ease;
}

.mkb-news-gallery-stage-v140 > img.is-changing{
    opacity:.32;
}

.mkb-news-gallery-arrow-v140{
    position:absolute;
    top:50%;
    z-index:2;
    width:44px;
    height:56px;
    display:grid;
    place-items:center;
    transform:translateY(-50%);
    border:0;
    border-radius:10px;
    background:rgba(7,44,30,.72);
    color:#fff;
    font-size:34px;
    line-height:1;
    cursor:pointer;
    transition:.18s ease;
}

.mkb-news-gallery-arrow-v140:hover{
    background:var(--mkb-green);
}

.mkb-news-gallery-prev-v140{left:14px}
.mkb-news-gallery-next-v140{right:14px}

.mkb-news-gallery-count-v140{
    position:absolute;
    right:14px;
    bottom:14px;
    padding:6px 9px;
    border-radius:999px;
    background:rgba(7,44,30,.78);
    color:#fff;
    font-size:10px;
    font-weight:800;
}

.mkb-news-gallery-caption-v140{
    margin:10px 4px 0;
    color:var(--mkb-muted);
    font-size:12px;
    line-height:1.55;
}

.mkb-news-gallery-thumbs-v140{
    display:flex;
    gap:9px;
    margin-top:14px;
    padding:2px 0 6px;
    overflow-x:auto;
    scrollbar-width:thin;
}

.mkb-news-gallery-thumb-v140{
    width:112px;
    min-width:112px;
    padding:0;
    overflow:hidden;
    border:2px solid transparent;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    opacity:.68;
    transition:.18s ease;
}

.mkb-news-gallery-thumb-v140 img{
    width:100%;
    aspect-ratio:16/10;
    display:block;
    object-fit:cover;
}

.mkb-news-gallery-thumb-v140:hover,
.mkb-news-gallery-thumb-v140.is-active{
    opacity:1;
    border-color:var(--mkb-gold);
    transform:translateY(-1px);
}

.mkb-news-content-v140{
    max-width:820px;
    color:#2f3b35;
    font-size:18px;
    line-height:1.88;
}

.mkb-news-content-v140 p{
    margin:0 0 22px;
}

.mkb-news-content-v140 p:first-child::first-letter{
    float:left;
    margin:7px 8px 0 0;
    color:var(--mkb-green);
    font-size:52px;
    font-weight:800;
    line-height:.82;
}

.mkb-news-content-v140 h2{
    margin:36px 0 15px;
    color:var(--mkb-dark);
    font-size:30px;
    line-height:1.25;
}

.mkb-news-content-v140 h3{
    margin:30px 0 12px;
    color:var(--mkb-dark);
    font-size:24px;
}

.mkb-news-content-v140 img{
    max-width:100%;
    height:auto;
    border-radius:14px;
}

.mkb-news-content-v140 figure{
    margin:28px 0;
}

.mkb-news-content-v140 figcaption{
    margin-top:8px;
    color:var(--mkb-muted);
    font-size:11px;
    line-height:1.5;
}

.mkb-news-content-v140 blockquote{
    margin:28px 0;
    padding:20px 24px;
    border-left:4px solid var(--mkb-gold);
    border-radius:0 12px 12px 0;
    background:#f7faf8;
    color:#405047;
}

.mkb-news-share-v140{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-top:38px;
    padding:18px 0;
    border-top:1px solid var(--mkb-border);
    border-bottom:1px solid var(--mkb-border);
}

.mkb-news-share-v140 > strong{
    color:var(--mkb-dark);
    font-size:13px;
}

.mkb-news-share-buttons-v140{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.mkb-news-share-buttons-v140 a,
.mkb-news-share-buttons-v140 button{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    border:1px solid var(--mkb-border);
    border-radius:9px;
    background:#fff;
    color:var(--mkb-green);
    font:inherit;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}

.mkb-news-share-buttons-v140 a:hover,
.mkb-news-share-buttons-v140 button:hover{
    border-color:var(--mkb-green);
    background:#f1f7f4;
}

.mkb-news-sidebar-v140{
    position:sticky;
    top:92px;
    display:grid;
    gap:18px;
}

.mkb-news-sidebar-card-v140{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,50,35,.06);
}

.mkb-sidebar-heading-v140{
    padding:18px 18px 14px;
    border-bottom:1px solid var(--mkb-border);
}

.mkb-sidebar-heading-v140 span{
    color:var(--mkb-gold-dark, #a47f08);
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.mkb-sidebar-heading-v140 h2{
    margin:3px 0 0;
    color:var(--mkb-dark);
    font-size:22px;
}

.mkb-sidebar-news-v140{
    padding:4px 16px 8px;
}

.mkb-sidebar-news-item-v140{
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    gap:12px;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid #edf1ef;
}

.mkb-sidebar-news-item-v140:last-child{
    border-bottom:0;
}

.mkb-sidebar-news-thumb-v140{
    display:block;
    overflow:hidden;
    aspect-ratio:4/3;
    border-radius:8px;
    background:#e7ede9;
}

.mkb-sidebar-news-thumb-v140 img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.mkb-sidebar-news-text-v140{
    min-width:0;
}

.mkb-sidebar-news-text-v140 small,
.mkb-sidebar-simple-list-v140 small{
    display:block;
    margin-bottom:4px;
    color:var(--mkb-muted);
    font-size:9px;
}

.mkb-sidebar-news-text-v140 strong{
    display:-webkit-box;
    overflow:hidden;
    color:var(--mkb-dark);
    font-size:12px;
    line-height:1.35;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
}

.mkb-sidebar-simple-list-v140{
    padding:5px 17px 8px;
}

.mkb-sidebar-simple-list-v140 a{
    display:block;
    padding:12px 0;
    border-bottom:1px solid #edf1ef;
}

.mkb-sidebar-simple-list-v140 a:last-child{
    border-bottom:0;
}

.mkb-sidebar-simple-list-v140 strong{
    display:block;
    color:var(--mkb-dark);
    font-size:12px;
    line-height:1.4;
}

.mkb-news-service-card-v140{
    padding:22px;
    background:linear-gradient(145deg,#0d5a3d,#0a4630);
    color:#fff;
}

.mkb-news-service-card-v140 > span{
    color:#f0ce45;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.mkb-news-service-card-v140 h2{
    margin:6px 0 8px;
    color:#fff;
    font-size:23px;
    line-height:1.2;
}

.mkb-news-service-card-v140 p{
    margin:0 0 14px;
    color:rgba(255,255,255,.72);
    font-size:12px;
    line-height:1.6;
}

.mkb-news-service-card-v140 a{
    display:inline-flex;
    color:#f0ce45;
    font-size:11px;
    font-weight:900;
}

.mkb-related-news-v140{
    margin-top:42px;
}

.mkb-news-section-title-v140{
    margin-bottom:18px;
}

.mkb-news-section-title-v140 span{
    color:var(--mkb-green);
    font-size:9px;
    font-weight:900;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.mkb-news-section-title-v140 h2{
    margin:4px 0 0;
    color:var(--mkb-dark);
    font-size:28px;
}

.mkb-related-news-grid-v140{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.mkb-related-news-card-v140{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:13px;
    background:#fff;
}

.mkb-related-news-image-v140{
    display:block;
    overflow:hidden;
    aspect-ratio:16/10;
    background:#e7ede9;
}

.mkb-related-news-image-v140 img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .25s ease;
}

.mkb-related-news-card-v140:hover img{
    transform:scale(1.035);
}

.mkb-related-news-body-v140{
    padding:13px;
}

.mkb-related-news-body-v140 small{
    color:var(--mkb-muted);
    font-size:9px;
}

.mkb-related-news-body-v140 h3{
    margin:5px 0 0;
    font-size:14px;
    line-height:1.38;
}

.mkb-related-news-body-v140 h3 a{
    color:var(--mkb-dark);
}

/* ---------- Tablet ---------- */
@media(max-width:1040px){
    .mkb-news-layout-v140{
        grid-template-columns:minmax(0,1fr) 285px;
        gap:26px;
    }

    .mkb-news-content-v140{
        font-size:17px;
    }
}

@media(max-width:900px){
    .mkb-news-layout-v140{
        grid-template-columns:1fr;
    }

    .mkb-news-sidebar-v140{
        position:static;
        grid-template-columns:repeat(2,1fr);
    }

    .mkb-news-service-card-v140{
        grid-column:1 / -1;
    }
}

/* ---------- Mobile ---------- */
@media(max-width:680px){
    .mkb-news-head-v140{
        padding:26px 0 30px;
    }

    .mkb-news-head-v140 h1{
        font-size:32px;
    }

    .mkb-news-meta-v140{
        font-size:10px;
    }

    .mkb-news-detail-section-v140{
        padding:28px 0 48px;
    }

    .mkb-news-gallery-stage-v140{
        border-radius:12px;
    }

    .mkb-news-gallery-stage-v140 > img{
        aspect-ratio:4/3;
    }

    .mkb-news-gallery-arrow-v140{
        width:38px;
        height:48px;
        font-size:30px;
    }

    .mkb-news-gallery-prev-v140{left:8px}
    .mkb-news-gallery-next-v140{right:8px}

    .mkb-news-gallery-thumb-v140{
        width:90px;
        min-width:90px;
    }

    .mkb-news-content-v140{
        font-size:16px;
        line-height:1.82;
    }

    .mkb-news-content-v140 p:first-child::first-letter{
        font-size:44px;
    }

    .mkb-news-share-v140{
        align-items:flex-start;
        flex-direction:column;
    }

    .mkb-news-share-buttons-v140{
        width:100%;
    }

    .mkb-news-share-buttons-v140 a,
    .mkb-news-share-buttons-v140 button{
        flex:1 1 auto;
    }

    .mkb-news-sidebar-v140{
        grid-template-columns:1fr;
    }

    .mkb-related-news-grid-v140{
        grid-template-columns:1fr;
    }

    .mkb-related-news-image-v140{
        aspect-ratio:16/9;
    }
}


/* ============================================================
   THEME v1.4.1 — VISI & MISI
   ============================================================ */

.mkb-vm-page-v141{
    background:#f7faf8;
}

.mkb-vm-intro-v141{
    max-width:820px;
    margin-bottom:30px;
}

.mkb-vm-intro-v141 > span{
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.mkb-vm-intro-v141 h2{
    margin:6px 0 8px;
    color:var(--mkb-dark);
    font-size:36px;
    line-height:1.2;
}

.mkb-vm-intro-v141 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:15px;
    line-height:1.7;
}

.mkb-vm-vision-card-v141{
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    gap:26px;
    align-items:start;
    padding:32px;
    border:1px solid rgba(214,172,36,.55);
    border-radius:18px;
    background:linear-gradient(135deg,#0c5a3b,#08462f);
    color:#fff;
    box-shadow:0 14px 34px rgba(10,58,40,.12);
}

.mkb-vm-number-v141{
    width:62px;
    height:62px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:rgba(225,184,45,.16);
    border:1px solid rgba(240,206,69,.34);
    color:#f0ce45;
    font-size:18px;
    font-weight:900;
}

.mkb-vm-label-v141{
    color:#f0ce45;
    font-size:10px;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.mkb-vm-vision-card-v141 blockquote{
    margin:8px 0 0;
    padding:0;
    border:0;
    background:none;
    color:#fff;
    font-size:clamp(24px,3vw,38px);
    line-height:1.35;
    font-weight:750;
}

.mkb-vm-section-v141{
    margin-top:34px;
    padding:30px;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,50,35,.05);
}

.mkb-vm-section-head-v141{
    display:flex;
    gap:16px;
    align-items:center;
    margin-bottom:22px;
}

.mkb-vm-section-head-v141 > span{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#e8f2ed;
    color:var(--mkb-green);
    font-size:14px;
    font-weight:900;
}

.mkb-vm-section-head-v141 small{
    display:block;
    color:var(--mkb-muted);
    font-size:9px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.mkb-vm-section-head-v141 h2{
    margin:3px 0 0;
    color:var(--mkb-dark);
    font-size:28px;
}

.mkb-vm-list-v141{
    display:grid;
    gap:12px;
}

.mkb-vm-item-v141{
    display:grid;
    grid-template-columns:46px minmax(0,1fr);
    gap:14px;
    align-items:start;
    padding:16px 18px;
    border:1px solid #e5ebe7;
    border-radius:12px;
    background:#fbfdfc;
}

.mkb-vm-item-v141 > span{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#0c5a3b;
    color:#f0ce45;
    font-size:11px;
    font-weight:900;
}

.mkb-vm-item-v141 p{
    margin:4px 0 0;
    color:#34413a;
    font-size:14px;
    line-height:1.65;
}

.mkb-vm-goals-v141{
    background:#fdfcf7;
}

.mkb-vm-goal-grid-v141{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.mkb-vm-goal-card-v141{
    padding:20px;
    border:1px solid rgba(214,172,36,.34);
    border-radius:14px;
    background:#fff;
}

.mkb-vm-goal-card-v141 strong{
    display:inline-flex;
    margin-bottom:10px;
    color:#b58a00;
    font-size:20px;
}

.mkb-vm-goal-card-v141 p{
    margin:0;
    color:#39463f;
    font-size:13px;
    line-height:1.65;
}

.mkb-vm-extra-v141{
    margin-top:34px;
    padding:28px;
    border:1px solid var(--mkb-border);
    border-radius:16px;
    background:#fff;
}

@media(max-width:800px){
    .mkb-vm-goal-grid-v141{
        grid-template-columns:1fr;
    }
}

@media(max-width:620px){
    .mkb-vm-intro-v141 h2{
        font-size:30px;
    }

    .mkb-vm-vision-card-v141{
        grid-template-columns:1fr;
        gap:16px;
        padding:22px;
    }

    .mkb-vm-section-v141{
        padding:20px;
    }

    .mkb-vm-item-v141{
        grid-template-columns:38px minmax(0,1fr);
        padding:14px;
    }

    .mkb-vm-item-v141 > span{
        width:32px;
        height:32px;
    }
}


/* ============================================================
   THEME v1.5.0 — STRUKTUR ORGANISASI + GURU & PEGAWAI
   ============================================================ */

.mkb-org-page-v150,
.mkb-staff-page-v150{
    background:#f7faf8;
}

.mkb-org-intro-v150,
.mkb-staff-head-v150{
    margin-bottom:30px;
}

.mkb-org-intro-v150{
    max-width:820px;
}

.mkb-org-intro-v150 > span,
.mkb-staff-head-v150 > div:first-child > span{
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.mkb-org-intro-v150 h2,
.mkb-staff-head-v150 h2{
    margin:6px 0 8px;
    color:var(--mkb-dark);
    font-size:36px;
    line-height:1.2;
}

.mkb-org-intro-v150 p,
.mkb-staff-head-v150 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:15px;
    line-height:1.7;
}

/* ---------- Struktur Organisasi ---------- */

.mkb-org-level-v150{
    position:relative;
    margin-top:34px;
}

.mkb-org-level-v150 + .mkb-org-level-v150::before{
    content:"";
    display:block;
    width:1px;
    height:26px;
    margin:0 auto 8px;
    background:#b7c9bf;
}

.mkb-org-level-title-v150{
    display:flex;
    justify-content:center;
    margin-bottom:16px;
}

.mkb-org-level-title-v150 span{
    display:inline-flex;
    min-height:34px;
    align-items:center;
    padding:0 14px;
    border-radius:999px;
    background:#0b5d3b;
    color:#fff;
    font-size:10px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.mkb-org-grid-v150{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}

.mkb-org-card-v150{
    width:min(250px,100%);
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,50,35,.06);
    text-align:center;
}

.mkb-org-level-kepala-v150 .mkb-org-card-v150{
    width:min(300px,100%);
    border-color:rgba(214,172,36,.45);
}

.mkb-org-photo-v150{
    position:relative;
    aspect-ratio:4/4.5;
    overflow:hidden;
    background:#e4ede8;
}

.mkb-org-photo-v150 img,
.mkb-staff-photo-v150 img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center top;
}

.mkb-org-body-v150{
    padding:18px;
}

.mkb-org-body-v150 h3{
    margin:0 0 5px;
    color:var(--mkb-dark);
    font-size:17px;
    line-height:1.3;
}

.mkb-org-body-v150 strong{
    display:block;
    color:var(--mkb-green);
    font-size:11px;
    line-height:1.45;
}

.mkb-org-body-v150 p{
    margin:7px 0 0;
    color:var(--mkb-muted);
    font-size:11px;
}

.mkb-org-body-v150 small{
    display:block;
    margin-top:8px;
    color:#7c8982;
    font-size:9px;
}

/* ---------- Guru & Pegawai ---------- */

.mkb-staff-head-v150{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:28px;
    align-items:end;
}

.mkb-staff-search-v150 label{
    display:block;
    margin-bottom:7px;
    color:var(--mkb-dark);
    font-size:10px;
    font-weight:800;
}

.mkb-staff-search-v150 input{
    width:100%;
    height:46px;
    padding:0 14px;
    border:1px solid var(--mkb-border);
    border-radius:11px;
    outline:none;
    background:#fff;
    color:var(--mkb-dark);
}

.mkb-staff-search-v150 input:focus{
    border-color:var(--mkb-green);
    box-shadow:0 0 0 3px rgba(11,93,59,.08);
}

.mkb-staff-filter-v150{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:22px;
}

.mkb-staff-filter-v150 button{
    min-height:38px;
    padding:0 16px;
    border:1px solid var(--mkb-border);
    border-radius:999px;
    background:#fff;
    color:var(--mkb-dark);
    font:inherit;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}

.mkb-staff-filter-v150 button.is-active,
.mkb-staff-filter-v150 button:hover{
    border-color:var(--mkb-green);
    background:var(--mkb-green);
    color:#fff;
}

.mkb-staff-grid-v150{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.mkb-staff-card-v150{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,50,35,.05);
}

.mkb-staff-card-v150[hidden]{
    display:none !important;
}

.mkb-staff-photo-v150{
    position:relative;
    aspect-ratio:4/4.7;
    overflow:hidden;
    background:#e4ede8;
}

.mkb-staff-badge-v150{
    position:absolute;
    left:12px;
    bottom:12px;
    display:inline-flex;
    min-height:27px;
    align-items:center;
    padding:0 10px;
    border-radius:999px;
    background:rgba(8,70,47,.88);
    color:#fff;
    font-size:9px;
    font-weight:900;
}

.mkb-staff-body-v150{
    padding:17px;
}

.mkb-staff-body-v150 h3{
    margin:0 0 5px;
    color:var(--mkb-dark);
    font-size:17px;
    line-height:1.3;
}

.mkb-staff-body-v150 strong{
    display:block;
    color:var(--mkb-green);
    font-size:11px;
    line-height:1.45;
}

.mkb-staff-body-v150 p{
    margin:7px 0 0;
    color:#56635c;
    font-size:11px;
    line-height:1.5;
}

.mkb-staff-body-v150 small{
    display:block;
    margin-top:6px;
    color:var(--mkb-muted);
    font-size:9px;
}

.mkb-person-photo-placeholder-v150{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#eaf2ee,#dce8e1);
    color:var(--mkb-green);
    font-size:28px;
    font-weight:900;
}

/* ---------- Responsive ---------- */

@media(max-width:1080px){
    .mkb-staff-grid-v150{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:820px){
    .mkb-staff-head-v150{
        grid-template-columns:1fr;
        align-items:start;
    }

    .mkb-staff-search-v150{
        max-width:520px;
    }

    .mkb-staff-grid-v150{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:560px){
    .mkb-org-intro-v150 h2,
    .mkb-staff-head-v150 h2{
        font-size:30px;
    }

    .mkb-org-grid-v150{
        display:grid;
        grid-template-columns:1fr;
    }

    .mkb-org-card-v150,
    .mkb-org-level-kepala-v150 .mkb-org-card-v150{
        width:100%;
    }

    .mkb-org-card-v150{
        display:grid;
        grid-template-columns:120px minmax(0,1fr);
        text-align:left;
    }

    .mkb-org-photo-v150{
        aspect-ratio:auto;
        min-height:150px;
    }

    .mkb-org-body-v150{
        align-self:center;
        padding:16px;
    }

    .mkb-staff-grid-v150{
        grid-template-columns:1fr;
    }

    .mkb-staff-card-v150{
        display:grid;
        grid-template-columns:130px minmax(0,1fr);
    }

    .mkb-staff-photo-v150{
        aspect-ratio:auto;
        min-height:170px;
    }

    .mkb-staff-body-v150{
        align-self:center;
    }
}


/* ============================================================
   THEME v1.5.1 — HEADER STICKY / FIXED
   ============================================================ */

:root{
    --mkb-fixed-headbar-height:92px;
    --mkb-fixed-nav-height:58px;
    --mkb-fixed-header-total:150px;
}

.mkb-headbar{
    position:fixed !important;
    top:0;
    left:0;
    right:0;
    z-index:5000;
    width:100%;
}

.mkb-main-header{
    position:fixed !important;
    top:var(--mkb-fixed-headbar-height) !important;
    left:0;
    right:0;
    z-index:4990;
    width:100%;
    overflow:visible !important;
}

body{
    padding-top:var(--mkb-fixed-header-total);
}

.admin-bar .mkb-headbar{
    top:32px;
}

.admin-bar .mkb-main-header{
    top:calc(32px + var(--mkb-fixed-headbar-height)) !important;
}

.mkb-nav,
.mkb-primary-menu-v050,
.mkb-menu-item,
.mkb-has-submenu,
.mkb-main-header .container,
.mkb-main-header-inner{
    overflow:visible !important;
}

.mkb-sub-menu{
    z-index:5200 !important;
}

.mkb-hero-v060,
.mkb-internal-hero,
.mkb-news-head-v140,
[id]{
    scroll-margin-top:calc(var(--mkb-fixed-header-total) + 20px);
}

html.mkb-lock-scroll-v151,
body.mkb-lock-scroll-v151{
    overflow:hidden !important;
}

@media(max-width:900px){
    :root{
        --mkb-fixed-headbar-height:72px;
        --mkb-fixed-nav-height:54px;
        --mkb-fixed-header-total:126px;
    }

    .mkb-main-header{
        top:var(--mkb-fixed-headbar-height) !important;
    }

    .admin-bar .mkb-headbar{
        top:46px;
    }

    .admin-bar .mkb-main-header{
        top:calc(46px + var(--mkb-fixed-headbar-height)) !important;
    }

    .mkb-nav{
        position:fixed !important;
        top:var(--mkb-fixed-header-total) !important;
        left:0;
        right:0;
        bottom:0;
        max-height:none !important;
        overflow-y:auto !important;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
        z-index:5210 !important;
        background:#fff;
    }

    .admin-bar .mkb-nav{
        top:calc(46px + var(--mkb-fixed-header-total)) !important;
    }

    .mkb-sub-menu{
        position:static !important;
        z-index:auto !important;
        max-height:none;
        overflow:visible !important;
    }

    .mkb-search-panel{
        position:absolute;
        left:0;
        right:0;
        top:100%;
        z-index:5220;
        background:#f8faf9;
    }
}

@media(max-width:782px){
    .admin-bar .mkb-headbar{
        top:46px;
    }

    .admin-bar .mkb-main-header{
        top:calc(46px + var(--mkb-fixed-headbar-height)) !important;
    }
}


/* ============================================================
   THEME v1.6.0 — MODUL AKADEMIK
   ============================================================ */

.mkb-academic-page-v160{
    background:#f7faf8;
}

.mkb-academic-heading-v160{
    max-width:850px;
    margin-bottom:30px;
}

.mkb-academic-heading-v160 > span{
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.mkb-academic-heading-v160 h2{
    margin:6px 0 8px;
    color:var(--mkb-dark);
    font-size:36px;
    line-height:1.2;
}

.mkb-academic-heading-v160 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:15px;
    line-height:1.7;
}

/* Kurikulum */
.mkb-curriculum-summary-v160{
    display:grid;
    grid-template-columns:220px minmax(0,1fr);
    overflow:hidden;
    border:1px solid rgba(214,172,36,.45);
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 32px rgba(20,50,35,.06);
}

.mkb-curriculum-primary-v160{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:30px;
    background:linear-gradient(145deg,#0c5a3b,#08462f);
    color:#fff;
}

.mkb-curriculum-primary-v160 span{
    color:#f0ce45;
    font-size:10px;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.mkb-curriculum-primary-v160 strong{
    margin-top:6px;
    font-size:32px;
    line-height:1.1;
}

.mkb-curriculum-content-v160{
    padding:30px;
}

.mkb-curriculum-content-v160 small{
    color:var(--mkb-green);
    font-size:9px;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.mkb-curriculum-content-v160 h3{
    margin:5px 0 10px;
    color:var(--mkb-dark);
    font-size:28px;
}

.mkb-curriculum-content-v160 p{
    margin:0;
    color:var(--mkb-muted);
    line-height:1.7;
}

.mkb-academic-content-card-v160,
.mkb-academic-detail-v160{
    margin-top:28px;
    padding:30px;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,50,35,.05);
}

.mkb-academic-actions-v160{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:18px;
}

.mkb-academic-btn-primary-v160,
.mkb-academic-btn-secondary-v160{
    display:inline-flex;
    min-height:40px;
    align-items:center;
    justify-content:center;
    padding:0 15px;
    border-radius:9px;
    font-size:11px;
    font-weight:900;
}

.mkb-academic-btn-primary-v160{
    background:var(--mkb-green);
    color:#fff;
}

.mkb-academic-btn-primary-v160:hover{color:#fff}

.mkb-academic-btn-secondary-v160{
    border:1px solid var(--mkb-green);
    background:#fff;
    color:var(--mkb-green);
}

/* Program */
.mkb-program-grid-v160{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.mkb-program-card-v160{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,50,35,.05);
}

.mkb-program-image-v160{
    display:block;
    overflow:hidden;
    aspect-ratio:16/10;
    background:#e4ede8;
}

.mkb-program-image-v160 img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .25s ease;
}

.mkb-program-card-v160:hover .mkb-program-image-v160 img{
    transform:scale(1.035);
}

.mkb-program-body-v160{
    padding:20px;
}

.mkb-program-body-v160 small{
    color:#aa8200;
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.mkb-program-body-v160 h3{
    margin:6px 0 8px;
    font-size:21px;
    line-height:1.3;
}

.mkb-program-body-v160 h3 a{color:var(--mkb-dark)}

.mkb-program-body-v160 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:12px;
    line-height:1.65;
}

.mkb-program-target-v160{
    margin-top:12px;
    padding:9px 11px;
    border-radius:8px;
    background:#edf5f1;
    color:var(--mkb-green);
    font-size:10px;
    font-weight:800;
}

.mkb-academic-readmore-v160{
    display:inline-flex;
    margin-top:14px;
    color:var(--mkb-green);
    font-size:11px;
    font-weight:900;
}

.mkb-academic-featured-v160{
    margin:0 0 26px;
    overflow:hidden;
    border-radius:15px;
}

.mkb-academic-featured-v160 img{
    width:100%;
    max-height:560px;
    display:block;
    object-fit:cover;
}

/* Kalender */
.mkb-calendar-list-v160{
    display:grid;
    gap:12px;
}

.mkb-calendar-item-v160{
    display:grid;
    grid-template-columns:105px minmax(0,1fr);
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:14px;
    background:#fff;
}

.mkb-calendar-item-v160.is-past{
    opacity:.64;
}

.mkb-calendar-date-v160{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:120px;
    padding:16px;
    background:#0b5d3b;
    color:#fff;
}

.mkb-calendar-date-v160 strong{
    color:#f0ce45;
    font-size:31px;
    line-height:1;
}

.mkb-calendar-date-v160 span{
    margin-top:5px;
    font-size:10px;
    text-transform:uppercase;
}

.mkb-calendar-body-v160{
    padding:18px 20px;
}

.mkb-calendar-meta-v160{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}

.mkb-calendar-meta-v160 span{
    color:var(--mkb-green);
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
}

.mkb-calendar-meta-v160 small{
    color:var(--mkb-muted);
    font-size:9px;
}

.mkb-calendar-body-v160 h3{
    margin:5px 0 6px;
    font-size:20px;
}

.mkb-calendar-body-v160 h3 a{color:var(--mkb-dark)}

.mkb-calendar-body-v160 p{
    margin:4px 0 0;
    color:var(--mkb-muted);
    font-size:11px;
}

/* Informasi Akademik */
.mkb-academic-filter-v160{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:22px;
}

.mkb-academic-filter-v160 button{
    min-height:38px;
    padding:0 14px;
    border:1px solid var(--mkb-border);
    border-radius:999px;
    background:#fff;
    color:var(--mkb-dark);
    font:inherit;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}

.mkb-academic-filter-v160 button.is-active,
.mkb-academic-filter-v160 button:hover{
    border-color:var(--mkb-green);
    background:var(--mkb-green);
    color:#fff;
}

.mkb-info-grid-v160{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.mkb-info-card-v160{
    overflow:hidden;
    border:1px solid var(--mkb-border);
    border-radius:15px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,50,35,.05);
}

.mkb-info-card-v160[hidden]{
    display:none !important;
}

.mkb-info-image-v160{
    display:block;
    overflow:hidden;
    aspect-ratio:16/9;
}

.mkb-info-image-v160 img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.mkb-info-body-v160{
    padding:19px;
}

.mkb-info-body-v160 > small{
    color:var(--mkb-green);
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.mkb-info-body-v160 h3{
    margin:5px 0 8px;
    font-size:19px;
    line-height:1.35;
}

.mkb-info-body-v160 h3 a{color:var(--mkb-dark)}

.mkb-info-body-v160 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:12px;
    line-height:1.65;
}

.mkb-info-actions-v160{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-top:14px;
}

.mkb-info-actions-v160 a{
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
}

.mkb-academic-document-v160,
.mkb-academic-meta-box-v160{
    margin:28px 0;
    padding:20px;
    border:1px solid var(--mkb-border);
    border-radius:13px;
    background:#f8fbf9;
}

.mkb-academic-document-v160{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.mkb-academic-document-v160 small{
    color:var(--mkb-green);
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
}

.mkb-academic-document-v160 h3{
    margin:3px 0 0;
    color:var(--mkb-dark);
}

/* Responsive */
@media(max-width:980px){
    .mkb-program-grid-v160,
    .mkb-info-grid-v160{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:680px){
    .mkb-academic-heading-v160 h2{
        font-size:30px;
    }

    .mkb-curriculum-summary-v160{
        grid-template-columns:1fr;
    }

    .mkb-curriculum-primary-v160,
    .mkb-curriculum-content-v160{
        padding:22px;
    }

    .mkb-program-grid-v160,
    .mkb-info-grid-v160{
        grid-template-columns:1fr;
    }

    .mkb-calendar-item-v160{
        grid-template-columns:82px minmax(0,1fr);
    }

    .mkb-calendar-date-v160{
        min-height:110px;
        padding:12px;
    }

    .mkb-calendar-date-v160 strong{
        font-size:27px;
    }

    .mkb-academic-document-v160{
        align-items:flex-start;
        flex-direction:column;
    }

    .mkb-academic-content-card-v160,
    .mkb-academic-detail-v160{
        padding:21px;
    }
}


/* ============================================================
   THEME v1.7.0 — MENU PENGADUAN + HALAMAN PENGADUAN
   ============================================================ */

.mkb-menu-complaint-v170 > a{
    position:relative;
    color:#8a210f !important;
    font-weight:900 !important;
}

.mkb-menu-complaint-v170 > a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-8px;
    width:6px;
    height:6px;
    transform:translateX(-50%);
    border-radius:50%;
    background:#d9ad27;
}

.mkb-complaint-page-v170{
    background:#f7faf8;
}

.mkb-complaint-intro-v170{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:28px;
    align-items:start;
    margin-bottom:28px;
}

.mkb-complaint-intro-v170 > div > span,
.mkb-complaint-check-info-v170 > span{
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.mkb-complaint-intro-v170 h2,
.mkb-complaint-check-info-v170 h2{
    margin:6px 0 10px;
    color:var(--mkb-dark);
    font-size:36px;
    line-height:1.2;
}

.mkb-complaint-intro-v170 p,
.mkb-complaint-check-info-v170 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:15px;
    line-height:1.72;
}

.mkb-complaint-guide-v170{
    padding:22px;
    border-radius:16px;
    background:linear-gradient(145deg,#0d5a3d,#08472f);
    color:#fff;
    box-shadow:0 12px 30px rgba(20,50,35,.10);
}

.mkb-complaint-guide-v170 strong{
    display:block;
    margin-bottom:10px;
    font-size:18px;
}

.mkb-complaint-guide-v170 ul{
    margin:0 0 14px;
    padding-left:20px;
    color:rgba(255,255,255,.78);
    font-size:12px;
    line-height:1.7;
}

.mkb-complaint-guide-v170 a{
    color:#f0ce45;
    font-size:11px;
    font-weight:900;
}

.mkb-complaint-form-card-v170{
    padding:28px;
    border:1px solid var(--mkb-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,50,35,.05);
}

.mwm-complaint-form,
.mwm-complaint-check-form{
    display:grid;
    gap:16px;
}

.mwm-complaint-form p,
.mwm-complaint-check-form p{
    margin:0;
}

.mwm-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.mwm-complaint-form label,
.mwm-complaint-check-form label{
    display:block;
    margin-bottom:7px;
    color:var(--mkb-dark);
    font-size:11px;
    font-weight:800;
}

.mwm-complaint-form input[type="text"],
.mwm-complaint-form input[type="email"],
.mwm-complaint-form input[type="file"],
.mwm-complaint-form select,
.mwm-complaint-form textarea,
.mwm-complaint-check-form input[type="text"]{
    width:100%;
    padding:11px 13px;
    border:1px solid var(--mkb-border);
    border-radius:10px;
    background:#fff;
    color:var(--mkb-dark);
    font:inherit;
    font-size:13px;
    outline:none;
}

.mwm-complaint-form textarea{
    min-height:160px;
    resize:vertical;
}

.mwm-complaint-form input:focus,
.mwm-complaint-form select:focus,
.mwm-complaint-form textarea:focus,
.mwm-complaint-check-form input:focus{
    border-color:var(--mkb-green);
    box-shadow:0 0 0 3px rgba(11,93,59,.08);
}

.mwm-complaint-form small{
    display:block;
    margin-top:6px;
    color:var(--mkb-muted);
    font-size:9px;
}

.mwm-checkbox{
    display:flex !important;
    align-items:flex-start;
    gap:8px;
    font-weight:500 !important;
    line-height:1.55;
}

.mwm-checkbox input{
    margin-top:3px;
}

.mwm-complaint-form button[type="submit"],
.mwm-complaint-check-form button{
    min-height:44px;
    padding:0 18px;
    border:0;
    border-radius:10px;
    background:var(--mkb-green);
    color:#fff;
    font:inherit;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
}

.mwm-honeypot{
    position:absolute !important;
    left:-9999px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}

.mwm-complaint-success,
.mwm-complaint-status-result,
.mwm-complaint-status-error{
    margin-bottom:18px;
    padding:18px;
    border-radius:12px;
}

.mwm-complaint-success{
    border:1px solid #b7d8c6;
    background:#edf7f1;
    color:#174b35;
}

.mwm-complaint-success strong{
    display:block;
    margin-bottom:6px;
    font-size:16px;
}

.mwm-complaint-success p{
    margin:4px 0;
}

.mwm-complaint-success a{
    display:inline-flex;
    margin-top:8px;
    color:var(--mkb-green);
    font-weight:900;
}

.mkb-complaint-check-layout-v170{
    display:grid;
    grid-template-columns:minmax(0,1fr) 520px;
    gap:32px;
    align-items:start;
}

.mkb-complaint-status-list-v170{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin-top:24px;
}

.mkb-complaint-status-list-v170 span{
    min-height:40px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#e9f3ee;
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
}

.mwm-complaint-status-result{
    margin-top:18px;
    border:1px solid #b7d8c6;
    background:#f2f9f5;
}

.mwm-complaint-status-result small{
    color:var(--mkb-muted);
    font-size:9px;
    text-transform:uppercase;
}

.mwm-complaint-status-result h3{
    margin:4px 0 12px;
    color:var(--mkb-green);
    font-size:22px;
}

.mwm-complaint-status-result p{
    margin:7px 0;
    color:#35433b;
    font-size:12px;
    line-height:1.6;
}

.mwm-complaint-status-error{
    margin-top:18px;
    border:1px solid #e8c0bb;
    background:#fff3f1;
    color:#8a2d20;
}

@media(max-width:980px){
    .mkb-complaint-intro-v170,
    .mkb-complaint-check-layout-v170{
        grid-template-columns:1fr;
    }

    .mkb-complaint-guide-v170{
        max-width:620px;
    }
}

@media(max-width:680px){
    .mkb-complaint-intro-v170 h2,
    .mkb-complaint-check-info-v170 h2{
        font-size:30px;
    }

    .mwm-form-grid{
        grid-template-columns:1fr;
    }

    .mkb-complaint-form-card-v170{
        padding:20px;
    }

    .mkb-complaint-status-list-v170{
        grid-template-columns:repeat(2,1fr);
    }
}


/* ============================================================
   THEME v1.7.1 — PENGADUAN MENU FIX
   Pengaduan berdiri sendiri, tidak lagi di submenu Layanan.
   ============================================================ */

.mkb-menu-complaint-v171 > a{
    position:relative;
    font-weight:900 !important;
    color:#8a210f !important;
}

.mkb-menu-complaint-v171 > a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-8px;
    width:6px;
    height:6px;
    transform:translateX(-50%);
    border-radius:50%;
    background:#d9ad27;
}


/* ============================================================
   THEME v1.7.2 — PENGADUAN STANDALONE MENU
   ============================================================ */

.mkb-menu-complaint-v172 > a{
    position:relative;
    color:#8a210f !important;
    font-weight:900 !important;
}

.mkb-menu-complaint-v172 > a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-8px;
    width:6px;
    height:6px;
    transform:translateX(-50%);
    border-radius:50%;
    background:#d9ad27;
}

@media(max-width:900px){
    .mkb-menu-complaint-v172 > a::after{
        left:auto;
        right:14px;
        top:50%;
        bottom:auto;
        transform:translateY(-50%);
    }
}


/* ============================================================
   THEME v1.7.3 — PENGADUAN TIMELINE DINAMIS
   ============================================================ */

.mkb-complaint-timeline-wrap-v173{
    margin-top:26px;
}

.mwm-complaint-progress-live{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin-bottom:24px;
}

.mwm-complaint-progress-live span{
    min-height:42px;
    display:grid;
    place-items:center;
    padding:7px 8px;
    border:1px solid #dbe6df;
    border-radius:10px;
    background:#eef5f1;
    color:#789086;
    font-size:10px;
    font-weight:900;
    text-align:center;
}

.mwm-complaint-progress-live span.is-done{
    border-color:#b8d9c6;
    background:#dff0e7;
    color:#0b6845;
}

.mwm-complaint-timeline-empty{
    padding:18px;
    border:1px dashed #bfd1c7;
    border-radius:12px;
    background:#fbfdfc;
    color:var(--mkb-muted);
    font-size:12px;
    line-height:1.65;
}

.mwm-complaint-timeline{
    position:relative;
    padding:20px;
    border:1px solid var(--mkb-border);
    border-radius:15px;
    background:#fff;
    box-shadow:0 8px 24px rgba(20,50,35,.05);
}

.mwm-complaint-timeline-heading{
    margin-bottom:18px;
}

.mwm-complaint-timeline-heading small{
    color:var(--mkb-green);
    font-size:9px;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.mwm-complaint-timeline-heading h3{
    margin:4px 0 0;
    color:var(--mkb-dark);
    font-size:22px;
}

.mwm-complaint-timeline-item{
    position:relative;
    display:grid;
    grid-template-columns:18px minmax(0,1fr);
    gap:12px;
    padding-bottom:20px;
}

.mwm-complaint-timeline-item:not(:last-of-type)::before{
    content:"";
    position:absolute;
    left:7px;
    top:16px;
    bottom:-2px;
    width:2px;
    background:#d9e6df;
}

.mwm-complaint-timeline-dot{
    position:relative;
    z-index:2;
    width:16px;
    height:16px;
    margin-top:3px;
    border:4px solid #dff0e7;
    border-radius:50%;
    background:var(--mkb-green);
}

.mwm-complaint-timeline-meta{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:8px;
    align-items:center;
}

.mwm-complaint-timeline-meta strong{
    color:var(--mkb-dark);
    font-size:12px;
}

.mwm-complaint-timeline-meta time{
    color:var(--mkb-muted);
    font-size:9px;
}

.mwm-complaint-timeline-content p{
    margin:7px 0 0;
    padding:10px 12px;
    border-radius:9px;
    background:#f7faf8;
    color:#48574f;
    font-size:11px;
    line-height:1.6;
}

.mwm-complaint-timeline-content > small{
    display:block;
    margin-top:6px;
    color:#809087;
    font-size:8px;
}

.mwm-complaint-terminal-status{
    margin-top:2px;
    padding:11px 13px;
    border-radius:9px;
    background:#fff4ef;
    color:#8a2d20;
    font-size:10px;
}

@media(max-width:680px){
    .mwm-complaint-progress-live{
        grid-template-columns:repeat(2,1fr);
    }

    .mwm-complaint-timeline{
        padding:16px;
    }

    .mwm-complaint-timeline-meta{
        align-items:flex-start;
        flex-direction:column;
        gap:3px;
    }
}


/* ============================================================
   THEME v1.7.4 — 6 STATUS PENGADUAN
   ============================================================ */

.mwm-complaint-progress-v174{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
    margin-bottom:12px;
}

.mwm-progress-step-v174{
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:8px 9px;
    border:1px solid #dfe8e3;
    border-radius:11px;
    background:#f2f6f4;
    color:#8b9992;
    font-size:9px;
    font-weight:900;
    text-align:center;
    line-height:1.2;
}

.mwm-progress-icon-v174{
    width:20px;
    height:20px;
    flex:0 0 20px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#e5ece8;
    color:#708078;
    font-size:11px;
    font-weight:900;
}

.mwm-progress-step-v174.is-done{
    border-color:#b7d9c6;
    background:#e1f1e8;
    color:#0b6845;
}

.mwm-progress-step-v174.is-done .mwm-progress-icon-v174{
    background:#0b6845;
    color:#fff;
}

.mwm-progress-step-v174.is-active{
    border-color:#dbb135;
    background:#fff7da;
    color:#7a5a00;
    box-shadow:0 0 0 2px rgba(219,177,53,.12);
}

.mwm-progress-step-v174.is-active .mwm-progress-icon-v174{
    background:#dbb135;
    color:#2e2600;
}

.mwm-progress-step-v174.status-ditolak.is-active{
    border-color:#d66a5a;
    background:#fff0ed;
    color:#9a2f22;
}

.mwm-progress-step-v174.status-ditolak.is-active .mwm-progress-icon-v174{
    background:#c84534;
    color:#fff;
}

.mwm-progress-step-v174.status-ditutup.is-active{
    border-color:#8e9893;
    background:#eef1ef;
    color:#3d4742;
}

.mwm-progress-step-v174.status-ditutup.is-active .mwm-progress-icon-v174{
    background:#4e5953;
    color:#fff;
}

.mwm-complaint-progress-note-v174{
    display:flex;
    flex-wrap:wrap;
    gap:8px 18px;
    margin-bottom:22px;
    padding:10px 12px;
    border-radius:9px;
    background:#f8faf9;
    color:#6f7d76;
    font-size:9px;
    line-height:1.5;
}

.mwm-complaint-progress-note-v174 strong{
    color:var(--mkb-dark);
}

@media(max-width:1100px){
    .mwm-complaint-progress-v174{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:680px){
    .mwm-complaint-progress-v174{
        grid-template-columns:repeat(2,1fr);
    }

    .mwm-progress-step-v174{
        min-height:48px;
        justify-content:flex-start;
        padding:8px 10px;
        text-align:left;
    }

    .mwm-complaint-progress-note-v174{
        flex-direction:column;
        gap:5px;
    }
}


/* ============================================================
   THEME v1.7.5 — STATISTIK PENGADUAN
   ============================================================ */

.mkb-complaint-stats-section-v175{
    margin:30px 0;
}

.mkb-complaint-stats-heading-v175{
    max-width:760px;
    margin-bottom:18px;
}

.mkb-complaint-stats-heading-v175 > span{
    color:var(--mkb-green);
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.mkb-complaint-stats-heading-v175 h2{
    margin:5px 0 7px;
    color:var(--mkb-dark);
    font-size:30px;
}

.mkb-complaint-stats-heading-v175 p{
    margin:0;
    color:var(--mkb-muted);
    font-size:13px;
    line-height:1.65;
}

.mwm-complaint-stats{
    display:grid;
    gap:14px;
}

.mwm-complaint-stats-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:10px;
}

.mwm-complaint-stat-card{
    min-height:104px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:14px 10px;
    border:1px solid #dfe8e3;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 24px rgba(20,50,35,.04);
    text-align:center;
}

.mwm-complaint-stat-label{
    color:#6f7d76;
    font-size:9px;
    font-weight:900;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.mwm-complaint-stat-card strong{
    display:block;
    margin-top:5px;
    color:var(--mkb-dark);
    font-size:30px;
    line-height:1;
}

.mwm-complaint-stat-card.status-diterima{
    border-top:4px solid #2f7a5b;
}

.mwm-complaint-stat-card.status-diverifikasi{
    border-top:4px solid #8aa23c;
}

.mwm-complaint-stat-card.status-diproses{
    border-top:4px solid #d7a91d;
}

.mwm-complaint-stat-card.status-selesai{
    border-top:4px solid #0b6845;
}

.mwm-complaint-stat-card.status-ditolak{
    border-top:4px solid #c84534;
}

.mwm-complaint-stat-card.status-ditutup{
    border-top:4px solid #4e5953;
}

.mwm-complaint-stats-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.mwm-complaint-stats-summary > div{
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:16px 18px;
    border:1px solid var(--mkb-border);
    border-radius:12px;
    background:#f8fbf9;
}

.mwm-complaint-stats-summary span{
    color:var(--mkb-muted);
    font-size:11px;
    font-weight:800;
}

.mwm-complaint-stats-summary strong{
    color:var(--mkb-green);
    font-size:24px;
}

@media(max-width:1100px){
    .mwm-complaint-stats-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:680px){
    .mwm-complaint-stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .mwm-complaint-stats-summary{
        grid-template-columns:1fr;
    }

    .mwm-complaint-stat-card{
        min-height:92px;
    }

    .mwm-complaint-stat-card strong{
        font-size:26px;
    }
}


/* ============================================================
   HOMEPAGE v1.9.1 — STATISTIK PESERTA DIDIK
   BASE: Theme MAN Kota Blitar v1.7.5
   ============================================================ */

.mkb-student-stats-v191{
    position:relative;
    overflow:hidden;
    padding-top:34px;
    padding-bottom:68px;
    background:#fff;
}

.mkb-student-stats-shell-v191{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
    gap:34px;
    align-items:center;
    padding:34px;
    border:1px solid var(--mkb-border);
    border-radius:22px;
    background:
        radial-gradient(circle at 7% 10%,rgba(211,173,50,.11),transparent 24%),
        linear-gradient(135deg,#f8fbf9,#fff);
    box-shadow:0 14px 36px rgba(18,55,40,.065);
}

.mkb-student-stats-shell-v191::after{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    right:-120px;
    top:-140px;
    border-radius:50%;
    background:rgba(11,93,59,.045);
    pointer-events:none;
}

.mkb-student-stats-copy-v191{
    position:relative;
    z-index:2;
}

.mkb-student-stats-copy-v191 h2{
    margin:4px 0 9px;
    color:var(--mkb-dark);
    font-size:clamp(30px,3.3vw,44px);
    line-height:1.12;
    letter-spacing:-.02em;
}

.mkb-student-stats-copy-v191 p{
    max-width:430px;
    margin:0;
    color:var(--mkb-muted);
    font-size:14px;
    line-height:1.7;
}

.mkb-student-stats-source-v191{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:18px;
    color:#76837c;
    font-size:10px;
    font-weight:700;
}

.mkb-student-stats-dot-v191{
    width:8px;
    height:8px;
    flex:0 0 8px;
    border-radius:50%;
}

.mkb-student-stats-dot-v191.is-live{
    background:#15915d;
    box-shadow:0 0 0 4px rgba(21,145,93,.10);
}

.mkb-student-stats-dot-v191.is-snapshot{
    background:var(--mkb-gold);
    box-shadow:0 0 0 4px rgba(211,173,50,.10);
}

.mkb-student-stats-grid-v191{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.mkb-student-stat-v191{
    min-height:160px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:21px;
    border:1px solid #dfe8e3;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 20px rgba(18,55,40,.045);
}

.mkb-student-stat-level-v191{
    color:var(--mkb-green);
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.mkb-student-stat-v191 strong{
    display:block;
    margin:7px 0 4px;
    color:var(--mkb-dark);
    font-size:clamp(34px,3vw,48px);
    line-height:1;
    letter-spacing:-.035em;
}

.mkb-student-stat-v191 small{
    color:var(--mkb-muted);
    font-size:10px;
    font-weight:650;
}

.mkb-student-stat-total-v191{
    border-color:#0b6541;
    background:linear-gradient(145deg,var(--mkb-green-dark),var(--mkb-green));
}

.mkb-student-stat-total-v191 .mkb-student-stat-level-v191{
    color:#f2d765;
}

.mkb-student-stat-total-v191 strong{
    color:#fff;
}

.mkb-student-stat-total-v191 small{
    color:rgba(255,255,255,.70);
}

@media(max-width:1050px){
    .mkb-student-stats-shell-v191{
        grid-template-columns:1fr;
    }

    .mkb-student-stats-copy-v191{
        max-width:720px;
    }
}

@media(max-width:760px){
    .mkb-student-stats-grid-v191{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:520px){
    .mkb-student-stats-v191{
        padding-top:22px;
        padding-bottom:48px;
    }

    .mkb-student-stats-shell-v191{
        padding:22px;
        border-radius:18px;
    }

    .mkb-student-stats-copy-v191 h2{
        font-size:29px;
    }

    .mkb-student-stats-grid-v191{
        grid-template-columns:1fr 1fr;
        gap:9px;
    }

    .mkb-student-stat-v191{
        min-height:130px;
        padding:17px;
        border-radius:14px;
    }

    .mkb-student-stat-v191 strong{
        font-size:34px;
    }
}


/* ============================================================
   THEME v1.9.2 — IMAGE STANDARD & NO RANDOM CROP
   ============================================================
   Standar upload yang direkomendasikan:
   - Berita / featured image : 1200 x 675 px (16:9)
   - Foto kepala/guru/staf   : 800 x 1000 px (4:5)
   - Galeri landscape        : 1600 x 1067 px (3:2)
   - Prestasi                : 1200 x 750 px (16:10)
   - Hero                    : 1920 x 1080 px; subjek utama di area tengah.
   ============================================================ */

/* ------------------------------------------------------------
   1. BERITA — satu rasio 16:9 pada desktop/tablet/mobile
   ------------------------------------------------------------ */
.mkb-post-thumb,
.mkb-featured-news-image-v070,
.mkb-latest-news-thumb-v070,
.mkb-news-related-image-v140,
.mkb-news-sidebar-thumb-v140{
    aspect-ratio:16/9 !important;
}

/* Kartu berita tetap penuh. Bila sumber 16:9, tidak ada bagian terpotong. */
.mkb-post-thumb img,
.mkb-featured-news-image-v070 img,
.mkb-latest-news-thumb-v070 img,
.mkb-news-related-image-v140 img,
.mkb-news-sidebar-thumb-v140 img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
}

/* ------------------------------------------------------------
   2. DETAIL BERITA — foto utama SELALU terlihat utuh
   ------------------------------------------------------------ */
.mkb-news-gallery-stage-v140{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:0;
    background:#eef3f0;
}

.mkb-news-gallery-stage-v140 > img{
    width:100% !important;
    height:auto !important;
    max-height:78vh;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:#eef3f0;
}

/* Thumbnail galeri detail tetap seragam 16:9. */
.mkb-news-gallery-thumb-v140 img{
    aspect-ratio:16/9 !important;
    object-fit:cover !important;
    object-position:center center !important;
}

/* Gambar yang dimasukkan ke isi artikel tidak dipotong. */
.mkb-news-content-v140 img,
.mkb-article-featured img,
.mkb-page-featured img{
    width:auto;
    max-width:100%;
    height:auto !important;
    object-fit:contain !important;
}

/* ------------------------------------------------------------
   3. FOTO ORANG — standar 4:5 dan wajah aman di bagian atas
   ------------------------------------------------------------ */
.mkb-welcome-photo-v134,
.mkb-org-photo-v150,
.mkb-staff-photo-v150{
    aspect-ratio:4/5 !important;
    background:#e6eee9;
}

.mkb-welcome-photo-v134 img,
.mkb-org-photo-v150 img,
.mkb-staff-photo-v150 img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center 18% !important;
}

/* ------------------------------------------------------------
   4. PRESTASI — rasio konsisten 16:10
   ------------------------------------------------------------ */
.mkb-achievement-image-v080{
    aspect-ratio:16/10 !important;
}
.mkb-achievement-image-v080 img{
    object-position:center center !important;
}

/* ------------------------------------------------------------
   5. GALERI — tetap artistik, tetapi fokus gambar di tengah
   ------------------------------------------------------------ */
.mkb-gallery-item-v080 img{
    object-position:center center !important;
}

/* Halaman detail galeri: gambar konten tidak dipotong */
.single-galeri .mkb-article-content img,
.single-galeri .mkb-page-content img{
    max-width:100%;
    height:auto !important;
    object-fit:contain !important;
}

/* ------------------------------------------------------------
   6. HERO — cover diperlukan agar banner penuh.
      Titik fokus dibuat stabil pada seluruh breakpoint.
   ------------------------------------------------------------ */
.mkb-hero,
.mkb-hero-v060{
    background-position:center 45% !important;
}

/* ------------------------------------------------------------
   7. MOBILE — jangan lagi mengubah berita menjadi 4:3 / 16:10
   ------------------------------------------------------------ */
@media(max-width:900px){
    .mkb-featured-news-image-v070,
    .mkb-latest-news-thumb-v070,
    .mkb-post-thumb,
    .mkb-news-related-image-v140,
    .mkb-news-sidebar-thumb-v140{
        aspect-ratio:16/9 !important;
    }

    .mkb-news-gallery-stage-v140 > img{
        aspect-ratio:auto !important;
        width:100% !important;
        height:auto !important;
        max-height:72vh;
        object-fit:contain !important;
    }
}

@media(max-width:600px){
    .mkb-featured-news-image-v070,
    .mkb-latest-news-thumb-v070,
    .mkb-post-thumb,
    .mkb-news-related-image-v140,
    .mkb-news-sidebar-thumb-v140{
        aspect-ratio:16/9 !important;
    }

    .mkb-news-gallery-stage-v140 > img{
        aspect-ratio:auto !important;
        width:100% !important;
        height:auto !important;
        max-height:68vh;
        object-fit:contain !important;
    }

    .mkb-welcome-photo-v134,
    .mkb-org-photo-v150,
    .mkb-staff-photo-v150{
        aspect-ratio:4/5 !important;
    }
}


/* ============================================================
   THEME v1.9.3 — FEATURED IMAGE HIDDEN ON DETAIL PAGES
   ============================================================
   Featured image tetap aktif sebagai:
   - thumbnail frontpage
   - kartu berita/pengumuman
   - archive/search
   - related content
   Tetapi tidak ditampilkan sebagai gambar utama pada halaman detail.
   ============================================================ */

body.single .mkb-page-featured,
body.single .mkb-article-featured,
body.single .mkb-academic-featured-v160,
body.page .mkb-page-featured,
body.page .mkb-article-featured{
    display:none !important;
}

/* Jangan sisakan margin kosong bila featured wrapper tidak ada. */
body.single .mkb-page-content:first-child,
body.page .mkb-page-content:first-child{
    margin-top:0 !important;
}


/* ============================================================
   THEME v1.9.4 — FEATURED IMAGE DETAIL BERITA ONLY
   ============================================================
   Aturan:
   - Featured Image TAMPIL hanya pada detail BERITA (single post).
   - Featured Image TIDAK tampil pada:
     Beranda, archive, daftar berita, search, related cards,
     pengumuman, agenda, prestasi, galeri, halaman dan subhalaman.
   - Foto yang dimasukkan manual ke isi konten tetap tampil normal.
   ============================================================ */

/* ------------------------------------------------------------
   A. SEMBUNYIKAN FEATURED IMAGE PADA FRONTPAGE / LISTING / ARCHIVE
   ------------------------------------------------------------ */
body:not(.single-post) .mkb-post-thumb,
body:not(.single-post) .mkb-featured-news-image-v070,
body:not(.single-post) .mkb-latest-news-thumb-v070,
body:not(.single-post) .mkb-news-related-image-v140,
body:not(.single-post) .mkb-news-sidebar-thumb-v140,
body:not(.single-post) .mkb-page-featured,
body:not(.single-post) .mkb-article-featured,
body:not(.single-post) .mkb-academic-featured-v160,
body:not(.single-post) .mkb-achievement-image-v080{
    display:none !important;
}

/* Pengumuman/agenda/prestasi/galeri cards yang punya wrapper image generik */
body:not(.single-post) .mkb-card-image,
body:not(.single-post) .mkb-announcement-image,
body:not(.single-post) .mkb-agenda-image,
body:not(.single-post) .mkb-gallery-cover{
    display:none !important;
}

/* Rapikan kartu berita/listing setelah area gambar dihilangkan */
body:not(.single-post) .mkb-post-card,
body:not(.single-post) .mkb-featured-news-card-v070,
body:not(.single-post) .mkb-latest-news-card-v070,
body:not(.single-post) .mkb-news-related-card-v140{
    overflow:visible !important;
}

/* ------------------------------------------------------------
   B. DETAIL BERITA: FEATURED IMAGE TAMPIL UTUH
   ------------------------------------------------------------ */
body.single-post .mkb-news-gallery-stage-v140{
    display:flex !important;
    align-items:center;
    justify-content:center;
    background:#eef3f0;
}

body.single-post .mkb-news-gallery-stage-v140 > img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-height:78vh;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center center !important;
}

/* Thumbnail galeri detail berita tetap aktif */
body.single-post .mkb-news-gallery-thumb-v140,
body.single-post .mkb-news-gallery-thumb-v140 img{
    display:block !important;
}

/* ------------------------------------------------------------
   C. DETAIL SELAIN BERITA: FEATURED IMAGE SELALU DISEMBUNYIKAN
   ------------------------------------------------------------ */
body.single:not(.single-post) .mkb-page-featured,
body.single:not(.single-post) .mkb-article-featured,
body.single:not(.single-post) .mkb-academic-featured-v160,
body.page .mkb-page-featured,
body.page .mkb-article-featured,
body.page .mkb-academic-featured-v160{
    display:none !important;
}

/* ------------------------------------------------------------
   D. FOTO MANUAL DI ISI KONTEN TETAP TAMPIL
   ------------------------------------------------------------ */
.mkb-news-content-v140 img,
.mkb-article-content img,
.mkb-page-content img,
.entry-content img{
    display:inline-block;
    max-width:100%;
    height:auto !important;
}


/* ============================================================
   THEME v1.9.5 — FEATURED IMAGE: BERANDA + DETAIL BERITA
   ============================================================
   Tampil:
   1) Beranda/frontpage (kartu/berita)
   2) Detail berita
   Tidak tampil:
   halaman/subhalaman dan detail jenis konten selain berita.
   ============================================================ */

/* Kembalikan featured image pada BERANDA yang sebelumnya disembunyikan v1.9.4 */
body.home .mkb-post-thumb,
body.home .mkb-featured-news-image-v070,
body.home .mkb-latest-news-thumb-v070,
body.home .mkb-news-related-image-v140,
body.home .mkb-news-sidebar-thumb-v140,
body.front-page .mkb-post-thumb,
body.front-page .mkb-featured-news-image-v070,
body.front-page .mkb-latest-news-thumb-v070,
body.front-page .mkb-news-related-image-v140,
body.front-page .mkb-news-sidebar-thumb-v140{
    display:block !important;
    aspect-ratio:16/9 !important;
    overflow:hidden !important;
}

body.home .mkb-post-thumb img,
body.home .mkb-featured-news-image-v070 img,
body.home .mkb-latest-news-thumb-v070 img,
body.front-page .mkb-post-thumb img,
body.front-page .mkb-featured-news-image-v070 img,
body.front-page .mkb-latest-news-thumb-v070 img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
}

/* Detail berita tetap tampil */
body.single-post .mkb-news-gallery-stage-v140{
    display:flex !important;
}

/* Halaman/subhalaman tetap tanpa featured image */
body.page:not(.home):not(.front-page) .mkb-page-featured,
body.page:not(.home):not(.front-page) .mkb-article-featured,
body.page:not(.home):not(.front-page) .mkb-academic-featured-v160{
    display:none !important;
}


/* ============================================================
   THEME v1.9.6 — FIX FEATURED IMAGE DETAIL BERITA
   ============================================================ */
body.single-post .mkb-news-gallery-v140,
body.single-post .mkb-news-gallery-stage-v140,
body.single-post .mkb-news-gallery-stage-v140 > img,
body.single-post .mkb-news-gallery-main-v140{
    display:block !important;
}

body.single-post .mkb-news-gallery-stage-v140{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:0 !important;
    background:#eef3f0 !important;
}

body.single-post .mkb-news-gallery-stage-v140 > img{
    width:100% !important;
    height:auto !important;
    max-height:78vh !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center center !important;
}
