/*
Theme Name: MTsN 5 Bojonegoro - Kadence Staging
Theme URI: https://mtsn5bojonegoro.sch.id/
Description: Child theme Kadence untuk pratinjau beranda portal MTs Negeri 5 Bojonegoro. Aktifkan hanya di staging.
Author: OpenAI
Template: kadence
Version: 1.0.0
Text Domain: mtsn5-kadence-staging
*/
:root{--m5-green:#0d563c;--m5-dark:#073b2a;--m5-mid:#16734f;--m5-gold:#dfbd68;--m5-ink:#17382d;--m5-muted:#65766d;--m5-soft:#f3f7f4;--m5-line:#e1e9e3}
.mtsn5-home{color:var(--m5-ink);background:#fff;overflow:hidden;font-family:inherit}.mtsn5-home *,.mtsn5-home *:before,.mtsn5-home *:after{box-sizing:border-box}.mtsn5-home a{text-decoration:none}.mtsn5-home img{max-width:100%}.m5-container{width:min(1160px,calc(100% - 44px));margin-inline:auto}.m5-section{padding:74px 0}.m5-soft{background:var(--m5-soft)}.m5-head{max-width:760px;margin:0 auto 32px;text-align:center}.m5-eyebrow{display:inline-flex;align-items:center;gap:9px;margin:0 0 13px;color:var(--m5-mid);font-size:.76rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.m5-eyebrow:before{content:"";width:25px;height:2px;background:var(--m5-gold)}.m5-title{margin:0 0 14px;color:var(--m5-dark);font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.15;letter-spacing:-.035em}.m5-intro{margin:0;color:var(--m5-muted);font-size:1rem;line-height:1.8}.m5-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.m5-icon svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.m5-staging{padding:10px 16px;text-align:center;color:#5e4300;background:#fff2c9;border-bottom:1px solid #efd98b;font-size:13px}.m5-staging a{color:inherit;text-decoration:underline;font-weight:800}.m5-notice{background:#f5edcf;color:#4b421f;font-size:.88rem}.m5-notice-inner{display:flex;align-items:center;gap:12px;min-height:42px}.m5-notice-label{flex:0 0 auto;padding:4px 9px;border-radius:4px;background:var(--m5-green);color:#fff;font-size:.7rem;font-weight:800}.m5-notice p{margin:0;line-height:1.5}
.m5-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:500px;overflow:hidden;color:#fff;background:linear-gradient(118deg,#073b2a,#0d563c 58%,#1b7954)}.m5-hero-media{position:absolute;z-index:-2;inset:0}.m5-hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.m5-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(4,40,28,.94),rgba(5,56,38,.82) 53%,rgba(6,57,39,.3))}.m5-hero:after{content:"";position:absolute;z-index:-1;width:420px;height:420px;right:-130px;bottom:-260px;border:1px solid #ffffff2b;border-radius:50%;box-shadow:0 0 0 38px #ffffff09,0 0 0 78px #ffffff07}.m5-hero-content{padding-top:68px;padding-bottom:76px}.m5-hero .m5-eyebrow{color:#f0d98e;margin-bottom:22px}.m5-hero h1{max-width:800px;margin:0 0 21px;color:#fff;font-size:clamp(2.4rem,5.1vw,4.3rem);line-height:1.04;letter-spacing:-.045em;text-wrap:balance}.m5-hero-desc{max-width:670px;margin:0;color:#ffffffe0;font-size:clamp(1rem,1.5vw,1.13rem);line-height:1.8}.m5-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.m5-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:7px;font-size:.9rem;font-weight:800;line-height:1.25;transition:transform .18s,background .18s,border-color .18s}.m5-btn:hover{transform:translateY(-2px)}.m5-btn-gold{color:#17382d;background:var(--m5-gold)}.m5-btn-gold:hover{color:#17382d;background:#f0d88f}.m5-btn-outline{color:#fff;border-color:#ffffff94;background:#ffffff0f}.m5-btn-outline:hover{color:#fff;border-color:#fff;background:#ffffff20}.m5-btn .m5-icon svg{width:17px;height:17px}
.m5-quick-wrap{position:relative;z-index:2;margin-top:-31px}.m5-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.m5-quick-card{display:flex;align-items:center;gap:13px;min-height:90px;padding:17px;border:1px solid var(--m5-line);border-radius:10px;background:#fff;box-shadow:0 12px 30px #0b39270c;color:var(--m5-ink)}.m5-quick-card:hover{border-color:#b5d1bf;color:var(--m5-green)}.m5-quick-icon,.m5-service-icon{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border-radius:12px;color:var(--m5-green);background:#eaf4ed}.m5-quick-icon svg,.m5-service-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.m5-quick-card strong{display:block;margin-bottom:4px;color:var(--m5-dark);font-size:.93rem;line-height:1.35}.m5-quick-card small{display:block;color:var(--m5-muted);font-size:.76rem;line-height:1.45}
.m5-about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:center}.m5-about-art{position:relative;display:flex;min-height:330px;align-items:center;justify-content:center;overflow:hidden;border-radius:18px;color:#fff;background:radial-gradient(circle at 75% 18%,#dfbd6866,transparent 26%),linear-gradient(135deg,#0b4934,#18724f)}.m5-about-art:before,.m5-about-art:after{content:"";position:absolute;border:1px solid #ffffff2b;border-radius:50%}.m5-about-art:before{width:270px;height:270px}.m5-about-art:after{width:360px;height:360px}.m5-about-art-inner{position:relative;z-index:1;max-width:270px;padding:25px;text-align:center}.m5-about-art-inner svg{width:58px;height:58px;margin-bottom:17px;fill:none;stroke:var(--m5-gold);stroke-width:1.35}.m5-about-art-inner strong{display:block;font-size:1.4rem;line-height:1.25}.m5-about-art-inner span{display:block;margin-top:9px;color:#ffffffc7;font-size:.9rem}.m5-about-copy>p:not(.m5-eyebrow){color:var(--m5-muted);line-height:1.85}.m5-pillars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:24px}.m5-pillar{display:flex;align-items:flex-start;gap:10px;font-size:.89rem;font-weight:700;line-height:1.5}.m5-pillar .m5-icon{width:28px;height:28px;border-radius:8px;color:var(--m5-green);background:#eaf4ed}.m5-pillar svg{width:17px;height:17px}
.m5-services{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.m5-service{display:flex;flex-direction:column;min-height:214px;padding:22px 19px 18px;border:1px solid var(--m5-line);border-radius:12px;background:#fff;color:var(--m5-ink);box-shadow:0 4px 16px #09372406;transition:transform .18s,box-shadow .18s,border-color .18s}.m5-service[href]:hover{transform:translateY(-4px);border-color:#a8cdb5;box-shadow:0 16px 30px #09372414;color:var(--m5-ink)}.m5-service-icon{margin-bottom:18px}.m5-service h3{margin:0 0 8px;color:var(--m5-dark);font-size:1rem;line-height:1.35}.m5-service p{flex:1;margin:0 0 16px;color:var(--m5-muted);font-size:.83rem;line-height:1.65}.m5-service-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;color:var(--m5-mid);font-size:.75rem;font-weight:800}.m5-service-bottom svg{width:16px;height:16px}.m5-service-pending{border-style:dashed;background:#fbfcfb}.m5-service-pending .m5-service-bottom{color:#8a7750;font-size:.69rem}
.m5-news-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.m5-news-head .m5-head{margin:0;text-align:left}.m5-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.m5-news-card{overflow:hidden;border:1px solid var(--m5-line);border-radius:12px;background:#fff;transition:transform .18s,box-shadow .18s}.m5-news-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px #09372414}.m5-news-image{display:block;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#dcece1,#a8cdb5)}.m5-news-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.m5-news-card:hover .m5-news-image img{transform:scale(1.035)}.m5-news-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:175px;color:#0d563c99;background:radial-gradient(circle at 70% 20%,#f2e6bb,transparent 24%),linear-gradient(135deg,#dcece1,#a8cdb5)}.m5-news-placeholder svg{width:47px;height:47px;fill:none;stroke:currentColor;stroke-width:1.25}.m5-news-body{padding:20px 21px 22px}.m5-news-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:11px;color:#738177;font-size:.74rem}.m5-category{display:inline-flex;padding:4px 8px;border-radius:4px;color:var(--m5-green);background:#eaf4ed;font-weight:800}.m5-news-card h3{margin:0 0 10px;color:var(--m5-dark);font-size:1.1rem;line-height:1.45}.m5-news-card h3 a{color:inherit}.m5-news-card h3 a:hover{color:var(--m5-mid)}.m5-news-excerpt{margin:0 0 16px;color:var(--m5-muted);font-size:.87rem;line-height:1.7}.m5-read{display:inline-flex;align-items:center;gap:8px;color:var(--m5-mid);font-size:.81rem;font-weight:800}.m5-read svg{width:16px;height:16px}.m5-empty{padding:32px;border:1px dashed #b8d1c0;border-radius:12px;background:#fff;color:var(--m5-muted);text-align:center;line-height:1.7}
.m5-cta{position:relative;overflow:hidden;color:#fff;background:linear-gradient(115deg,#073b2a,#126746)}.m5-cta:after{content:"";position:absolute;width:360px;height:360px;right:-110px;top:-180px;border:1px solid #ffffff29;border-radius:50%;box-shadow:0 0 0 35px #ffffff09,0 0 0 75px #ffffff07}.m5-cta-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:35px;padding-top:57px;padding-bottom:57px}.m5-cta h2{max-width:720px;margin:0 0 12px;color:#fff;font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.2;letter-spacing:-.025em}.m5-cta p:not(.m5-eyebrow){max-width:730px;margin:0;color:#ffffffd1;line-height:1.75}.m5-cta-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:10px}.m5-home a:focus-visible{outline:3px solid #e0b84f;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.mtsn5-home *,.mtsn5-home *:before,.mtsn5-home *:after{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1024px){.m5-section{padding:60px 0}.m5-hero{min-height:460px}.m5-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m5-about-grid{gap:32px}.m5-services{grid-template-columns:repeat(3,minmax(0,1fr))}.m5-news-grid{gap:15px}.m5-news-body{padding:17px}}
@media(max-width:767px){.m5-container{width:min(100% - 32px,620px)}.m5-section{padding:47px 0}.m5-head{margin-bottom:25px}.m5-hero{min-height:0}.m5-hero:before{background:linear-gradient(90deg,rgba(4,40,28,.94),rgba(5,56,38,.8))}.m5-hero-content{padding-top:62px;padding-bottom:72px}.m5-hero h1{font-size:clamp(2.1rem,8.7vw,3.3rem)}.m5-hero-desc{font-size:.97rem;line-height:1.75}.m5-actions{gap:9px}.m5-btn{min-height:45px;padding:11px 14px;font-size:.84rem}.m5-notice-inner{align-items:flex-start;padding-top:9px;padding-bottom:9px}.m5-quick-wrap{margin-top:-24px}.m5-quick-grid{gap:9px}.m5-quick-card{min-height:78px;gap:10px;padding:12px}.m5-quick-icon{width:39px;height:39px;flex-basis:39px}.m5-quick-icon svg{width:21px;height:21px}.m5-quick-card strong{font-size:.82rem}.m5-quick-card small{font-size:.71rem}.m5-about-grid{grid-template-columns:1fr;gap:27px}.m5-about-art{min-height:245px}.m5-about-art:before{width:220px;height:220px}.m5-about-art:after{width:300px;height:300px}.m5-pillars{gap:10px}.m5-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.m5-service{min-height:203px;padding:16px 14px}.m5-service-icon{width:42px;height:42px;flex-basis:42px;margin-bottom:15px}.m5-service h3{font-size:.92rem}.m5-service p{font-size:.8rem}.m5-news-head{display:block}.m5-news-head .m5-head{margin-bottom:17px}.m5-news-grid{grid-template-columns:1fr;gap:15px}.m5-news-image{aspect-ratio:16/9}.m5-news-body{padding:18px}.m5-cta-inner{display:block;padding-top:42px;padding-bottom:42px}.m5-cta-actions{margin-top:21px}}
@media(max-width:390px){.m5-container{width:calc(100% - 26px)}.m5-hero-content{padding-top:52px;padding-bottom:64px}.m5-hero h1{font-size:2.05rem}.m5-quick-card{align-items:flex-start;flex-direction:column}.m5-quick-icon{margin-bottom:1px}.m5-pillars{grid-template-columns:1fr}}
