/* MTsN 1 Bangka Tengah | Premium Institutional Theme */
:root{--emerald:#123d2d;--green:#1f684b;--green-soft:#eaf2ed;--gold:#c9a45c;--gold-light:#e4cc96;--ink:#20352c;--muted:#718078;--paper:#fff;--line:#e5ebe7;--surface:#f6f8f6;--shadow:0 16px 42px rgba(18,61,45,.08)}
html{scroll-behavior:smooth}body{font-family:"Inter","Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;font-size:15px;line-height:1.7}a{color:var(--green);transition:color .2s ease,background .2s ease,transform .2s ease}a:hover{color:var(--gold);text-decoration:none}img{max-width:100%;height:auto}
.container{max-width:1200px}.topline{background:var(--emerald);color:#e9f0eb;font-size:12px;letter-spacing:.02em}.top-line-inner{display:flex;align-items:center;justify-content:space-between;min-height:38px}.top-contact,.top-tools{display:flex;align-items:center;gap:24px}.topline i{color:var(--gold-light);margin-right:7px}.topline a{color:#e9f0eb}.topline a:hover{color:var(--gold-light)}
.brand-row{background:#fff}.brand-inner{min-height:104px;display:flex;align-items:center;justify-content:space-between}.brand-lockup{display:flex;align-items:center;gap:16px;color:var(--emerald)}.brand-lockup img{width:66px;height:66px;object-fit:contain}.brand-copy{display:flex;flex-direction:column;line-height:1.35}.brand-copy strong{font-size:21px;font-weight:800;letter-spacing:-.04em;text-transform:uppercase}.brand-copy small{font-size:12px;color:var(--muted);margin-top:5px}.brand-note{text-align:right;border-left:1px solid var(--line);padding-left:25px}.brand-note span{font-size:10px;letter-spacing:.2em;color:var(--gold);font-weight:800}.brand-note p{font-size:12px;color:var(--muted);margin:5px 0 0}.mobile-menu-toggle{display:none;border:0;background:var(--emerald);color:#fff;border-radius:6px;padding:10px 13px}
.nav-wrap{background:var(--emerald);position:relative;z-index:1000}.nav-wrap.sticky.is-sticky{position:fixed;top:0;left:0;right:0;box-shadow:0 8px 24px rgba(0,0,0,.12)}.nav-container{min-height:54px}.navbar{min-height:54px}.sm-clean{background:transparent;padding:0}.sm-clean a{font-family:inherit;font-size:11px;font-weight:700;letter-spacing:.045em;text-transform:uppercase;color:#f6f8f6;padding:19px 14px}.sm-clean a:hover,.sm-clean a:focus,.sm-clean a.highlighted{background:rgba(255,255,255,.09);color:var(--gold-light)}.sm-clean ul{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:0 0 8px 8px;padding:8px}.sm-clean ul a{color:var(--ink);font-size:11px;padding:11px 14px;text-transform:none;letter-spacing:0}.sm-clean ul a:hover{background:var(--green-soft);color:var(--green)}
.hero{position:relative;background:var(--emerald);overflow:hidden}.hero .carousel-item{height:470px;position:relative}.hero .carousel-item>img{width:100%;height:100%;object-fit:cover;object-position:center 42%;display:block}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,35,25,.88) 0%,rgba(8,35,25,.64) 45%,rgba(8,35,25,.12) 100%)}.hero-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;color:#fff}.hero-kicker{font-size:10px;font-weight:800;letter-spacing:.24em;color:var(--gold-light);margin-bottom:18px}.hero h1{font-size:clamp(34px,5vw,62px);line-height:1.08;letter-spacing:-.045em;font-weight:800;text-transform:uppercase;max-width:850px;margin:0 0 18px}.hero p{font-size:17px;color:rgba(255,255,255,.88);max-width:650px;margin-bottom:26px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{font-size:12px;font-weight:700;border-radius:4px;padding:12px 19px}.btn-gold{background:var(--gold);color:#173629;border:1px solid var(--gold)}.btn-gold:hover{background:var(--gold-light);color:#173629}.hero .btn-outline-light{border-color:rgba(255,255,255,.65);color:#fff}.hero .btn-outline-light:hover{background:#fff;color:var(--emerald)}.hero .carousel-control-prev,.hero .carousel-control-next{width:7%;z-index:3}.hero-fallback{min-height:400px;display:flex;align-items:center}.hero-fallback .hero-content{position:relative;top:auto;left:auto;transform:none;padding-top:90px;padding-bottom:90px}
.quote-strip{background:#f5f6f1;border-bottom:1px solid var(--line);padding:16px 0}.quote-strip .container{display:flex;align-items:center;gap:16px}.quote-strip>div>i{font-size:22px;color:var(--gold)}.quote-text{display:flex;gap:26px;flex-wrap:wrap;color:var(--muted);font-size:12px}.quote-text b{color:var(--green)}
.site-main{padding:54px 0 76px}.home-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,.9fr);gap:42px;align-items:start}.section-block{margin-bottom:58px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.eyebrow{display:block;font-size:10px;line-height:1.4;letter-spacing:.2em;font-weight:800;color:#a9823d;margin-bottom:8px}.section-heading h2{font-size:27px;line-height:1.2;letter-spacing:-.04em;color:var(--emerald);font-weight:800;margin:0 0 7px}.section-heading p{color:var(--muted);font-size:13px;margin:0}.section-link{font-size:11px;font-weight:800;white-space:nowrap;padding-bottom:4px}.section-link i,.read-link i{color:var(--gold);margin-left:6px}
.featured-news{display:grid;grid-template-columns:1.05fr 1fr;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;box-shadow:var(--shadow);margin-bottom:20px}.featured-image{position:relative;min-height:300px;background:var(--green-soft);display:block;overflow:hidden}.featured-image img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;transition:transform .5s}.featured-image:hover img,.news-card-image:hover img{transform:scale(1.04)}.image-label{position:absolute;top:18px;left:18px;background:var(--gold);color:#19382a;padding:7px 11px;border-radius:3px;font-size:9px;letter-spacing:.1em;font-weight:800}.featured-copy{padding:30px;display:flex;flex-direction:column;justify-content:center}.post-meta{font-size:10px;color:#89968e;margin-bottom:12px}.post-meta i{color:var(--gold);margin-right:5px}.post-meta span{margin:0 7px}.featured-copy h3{font-size:23px;line-height:1.3;letter-spacing:-.035em;font-weight:800;margin:0 0 13px}.featured-copy h3 a,.news-card h3 a{color:var(--emerald)}.featured-copy p,.news-card p{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:18px}.read-link{font-size:11px;font-weight:800;margin-top:auto}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.news-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;transition:transform .25s,box-shadow .25s}.news-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.news-card-image{height:172px;display:block;overflow:hidden;background:var(--green-soft)}.news-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.news-card-body{padding:18px 19px 20px}.news-card .post-meta{margin-bottom:7px}.news-card h3{font-size:15px;line-height:1.45;font-weight:800;margin:0 0 10px}.news-card p{font-size:12px;margin-bottom:14px}
.image-placeholder{display:flex;align-items:center;justify-content:center;height:100%;min-height:160px;color:#9aaa9f;font-size:35px;background:linear-gradient(135deg,#edf4ef,#dce9df)}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:180px;gap:14px}.gallery-tile{position:relative;display:block;border-radius:8px;overflow:hidden;background-size:cover;background-position:center;min-height:160px}.gallery-tile:first-child{grid-row:span 2}.gallery-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:20px;color:#fff;background:linear-gradient(180deg,transparent 20%,rgba(7,30,21,.82) 100%);transition:background .25s}.gallery-tile:hover .gallery-overlay{background:linear-gradient(180deg,rgba(7,30,21,.12),rgba(7,30,21,.92))}.gallery-overlay strong{font-size:14px;line-height:1.4}.gallery-overlay small{font-size:10px;color:var(--gold-light);margin-top:7px}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.video-frame{position:relative;aspect-ratio:16/9;background:#102c21;border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.home-sidebar{display:flex;flex-direction:column;gap:22px}.sidebar-panel{border:1px solid var(--line);border-radius:9px;padding:23px;background:#fff;box-shadow:0 8px 28px rgba(18,61,45,.045)}.sidebar-panel h3{font-size:19px;line-height:1.3;font-weight:800;color:var(--emerald);margin:0 0 17px;letter-spacing:-.025em}.principal-panel{padding:0;overflow:hidden}.principal-photo{width:100%;height:245px;object-fit:cover;object-position:center 20%;display:block;background:var(--green-soft)}.principal-body{padding:24px}.principal-body h3{margin-bottom:2px}.principal-role{display:block;color:var(--gold);font-size:11px;font-weight:800;margin-bottom:14px}.principal-body p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:14px}.quick-links a,.archive-list a{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px;color:#596a60}.quick-links a:last-child,.archive-list a:last-child{border-bottom:0}.quick-links i{font-size:10px;color:var(--gold)}.archive-list b{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:27px;border-radius:50%;background:var(--green-soft);color:var(--green);font-size:10px}.popular-list a{display:block;padding:12px 0;border-bottom:1px solid var(--line)}.popular-list a:last-child{border:0}.popular-list strong{display:block;font-size:12px;line-height:1.5;color:var(--ink)}.popular-list small{display:block;font-size:10px;color:#93a097;margin-top:5px}
.site-footer{background:var(--emerald);color:#d4e1d8}.footer-main{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:60px;padding-top:58px;padding-bottom:52px}.footer-brand{display:flex;align-items:center;gap:12px;color:#fff;margin-bottom:20px}.footer-brand img{width:55px;height:55px;object-fit:contain;background:rgba(255,255,255,.08);padding:7px;border-radius:8px}.footer-brand span{display:flex;flex-direction:column}.footer-brand strong{font-size:14px;color:#fff}.footer-brand small{font-size:10px;color:#aebfb4}.footer-about p{font-size:12px;line-height:1.9;color:#b7c9be;max-width:330px}.footer-main h3{font-size:13px;color:#fff;font-weight:800;margin:7px 0 20px}.footer-contact p{font-size:12px;color:#b7c9be;display:flex;gap:12px;margin-bottom:12px}.footer-contact i{color:var(--gold);width:14px;margin-top:4px}.social-links{display:flex;gap:10px;margin-bottom:27px}.social-links a{width:38px;height:38px;border:1px solid rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}.social-links a:hover{background:var(--gold);border-color:var(--gold);color:var(--emerald)}.footer-topic-title{margin-bottom:12px!important}.footer-tags{display:flex;flex-wrap:wrap;gap:7px}.footer-tags a{font-size:10px;color:#d4e1d8;border:1px solid rgba(255,255,255,.18);border-radius:4px;padding:5px 8px}.footer-tags a:hover{background:rgba(255,255,255,.1);color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);font-size:10px;color:#a9bdb0;padding:15px 0}.footer-bottom .container{display:flex;justify-content:space-between;gap:15px}
#search_form{z-index:999999;position:fixed;inset:0;background:rgba(7,28,20,.96);transform:translateY(-100%);opacity:0;transition:all .35s;display:flex;align-items:center;justify-content:center}#search_form.open{transform:translateY(0);opacity:1}#search_form form{width:min(760px,90%);text-align:center}#search_form input[type=search]{width:100%;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.4);padding:18px 5px;color:#fff;font-size:clamp(22px,4vw,42px);outline:none;margin-bottom:25px}#search_form input::placeholder{color:rgba(255,255,255,.55)}#return-to-top{z-index:10000;position:fixed;right:22px;bottom:22px;width:42px;height:42px;border-radius:50%;background:var(--gold);color:var(--emerald);display:none;text-align:center;line-height:42px;box-shadow:0 5px 18px rgba(0,0,0,.15)}#return-to-top:hover{background:var(--emerald);color:#fff}
.content .card,.content .list-group-item{border-color:var(--line)!important;border-radius:8px!important}.content .card{box-shadow:0 8px 25px rgba(18,61,45,.045);overflow:hidden}.content .card-body{padding:24px}.content .card-title{font-weight:800;color:var(--emerald)}.content .card-footer{background:#fafcfb;border-color:var(--line)}.content .page-title{font-size:22px;color:var(--emerald);font-weight:800;border:0;padding:0;margin:0 0 22px}.content .page-title:after{display:none}.content .action-button{background:var(--emerald);color:#fff;border:0;border-radius:4px}.content .action-button:hover{background:var(--gold);color:var(--emerald)}
/* legacy widgets and form compatibility */
.tag a{border:1px solid rgba(255,255,255,.2);padding:7px 9px;color:#dce8df;display:inline-block;font-size:10px;margin:0 4px 5px 0;border-radius:4px}.social-icon{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;margin-right:8px}.facebook{background:#3b5998}.twitter{background:#1da1f2}.instagram{background:#c13584}.youtube{background:#e62117}
@media(max-width:991.98px){.container{max-width:94%}.home-layout{grid-template-columns:minmax(0,1.7fr) minmax(245px,.9fr);gap:24px}.brand-note{display:none}.sm-clean a{padding-left:10px;padding-right:10px;font-size:10px}.hero .carousel-item{height:410px}.featured-news{grid-template-columns:1fr}.featured-image{min-height:260px}.footer-main{gap:30px}}
@media(max-width:767.98px){.top-line-inner{min-height:36px}.top-contact{gap:12px}.top-contact span{font-size:10px}.top-contact span:first-child{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-tools{gap:12px}.top-tools a{font-size:10px}.brand-inner{min-height:82px}.brand-lockup{gap:10px}.brand-lockup img{width:50px;height:50px}.brand-copy strong{font-size:14px;max-width:220px}.brand-copy small{font-size:10px}.mobile-menu-toggle{display:block}.nav-container{max-width:100%;padding:0}.navbar{padding:0 3%}.navbar-collapse{background:var(--emerald);padding:0 3% 12px}.sm-clean{width:100%}.sm-clean a{padding:12px 10px;border-top:1px solid rgba(255,255,255,.08)}.sm-clean ul{background:#194b38}.sm-clean ul a{color:#fff}.hero .carousel-item{height:390px}.hero .carousel-item>img{object-position:center}.hero-shade{background:linear-gradient(90deg,rgba(8,35,25,.86),rgba(8,35,25,.38))}.hero h1{font-size:34px}.hero p{font-size:14px}.hero-kicker{font-size:9px}.site-main{padding:36px 0 48px}.home-layout{display:block}.home-sidebar{margin-top:45px}.section-block{margin-bottom:42px}.section-heading{align-items:flex-start}.section-heading h2{font-size:23px}.section-heading p{font-size:12px}.section-link{font-size:10px}.featured-copy{padding:22px}.featured-copy h3{font-size:20px}.news-grid{gap:12px}.news-card-image{height:135px}.news-card-body{padding:14px}.news-card h3{font-size:13px}.news-card p{font-size:11px}.gallery-grid{grid-auto-rows:145px;gap:10px}.gallery-overlay{padding:13px}.gallery-overlay strong{font-size:12px}.video-grid{gap:12px}.footer-main{grid-template-columns:1fr 1fr;gap:28px;padding-top:42px;padding-bottom:36px}.footer-about{grid-column:1/-1}.footer-bottom .container{flex-direction:column;text-align:center}}
@media(max-width:480px){.top-contact span:nth-child(2){display:none}.hero .carousel-item{height:350px}.hero h1{font-size:29px}.hero p{font-size:13px}.btn{padding:10px 13px;font-size:10px}.quote-strip .container{align-items:flex-start}.quote-text{display:block}.quote-text span{display:block;margin-bottom:5px}.section-heading{display:block}.section-link{display:inline-block;margin-top:12px}.featured-image{min-height:210px}.featured-copy{padding:18px}.featured-copy h3{font-size:18px}.news-grid{grid-template-columns:1fr}.news-card-image{height:190px}.gallery-grid{grid-template-columns:1fr;grid-auto-rows:190px}.gallery-tile:first-child{grid-row:span 1}.video-grid{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr}.footer-about{grid-column:auto}.footer-bottom .container{font-size:9px}}

/* ==========================================================
   MTsN 1 Bangka Tengah — Premium V9 consolidated refinements
   ========================================================== */

/* Institutional header */
.brand-row{
	position:relative;isolation:isolate;
	background-image:linear-gradient(100deg,rgba(8,43,31,.79) 0%,rgba(13,65,46,.66) 44%,rgba(18,61,45,.49) 100%),url("images/sekolahmts.png");
	background-size:cover;background-position:center 52%;background-repeat:no-repeat;
	border-top:2px solid #c9a45c;border-bottom:1px solid rgba(255,255,255,.16);
}
.brand-row:before{
	content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
	background:linear-gradient(180deg,rgba(5,31,22,.04),rgba(5,31,22,.16));
}
.brand-inner{position:relative;z-index:1;min-height:106px;gap:22px}
.brand-lockup{gap:15px;min-width:0;color:#fff}
.brand-lockup img{
	width:64px;height:64px;padding:5px;object-fit:contain;border-radius:12px;
	background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.52);
	box-shadow:0 4px 14px rgba(0,0,0,.13)
}
.brand-copy strong{font-size:19px;line-height:1.22;color:#fff;letter-spacing:-.025em;text-shadow:0 2px 7px rgba(0,0,0,.24)}
.brand-copy small{margin-top:5px;font-size:11px;color:rgba(255,255,255,.88)}
.brand-note{
	min-width:270px;padding:11px 16px;text-align:right;
	background:rgba(8,43,31,.43);border:1px solid rgba(255,255,255,.24);
	border-right:3px solid #c9a45c;border-radius:9px;box-shadow:0 5px 18px rgba(0,0,0,.10);
	-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)
}
.brand-note span{font-size:9px;letter-spacing:.17em;color:#e8c77d}
.brand-note p{font-size:11px;color:rgba(255,255,255,.94);margin:5px 0 0}
.nav-wrap{border-top:1px solid rgba(255,255,255,.09);box-shadow:0 4px 14px rgba(7,35,25,.12)}

/* Full-width identity and vision section, placed directly after hero */
.home-identity-section{margin:0 0 58px}
.identity-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px}
.identity-heading h2{font-size:27px;line-height:1.2;letter-spacing:-.04em;color:var(--emerald);font-weight:800;margin:0 0 7px}
.identity-heading p{font-size:13px;color:var(--muted);margin:0;max-width:680px}
.identity-document{
	display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
	padding:8px 12px;border:1px solid var(--line);border-radius:999px;
	background:#f8faf8;color:#728078;font-size:10px;font-weight:700
}
.identity-document i{color:var(--gold)}
.vision-feature{
	position:relative;display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:25px;align-items:center;
	overflow:hidden;padding:30px 34px;border-radius:15px;color:#fff;
	background:linear-gradient(115deg,#0c3829 0%,#15563d 58%,#1d6848 100%);
	box-shadow:0 14px 34px rgba(10,55,38,.13)
}
.vision-feature:after{
	content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-95px;top:-160px;
	border:1px solid rgba(255,255,255,.13);box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.025)
}
.vision-feature-copy{position:relative;z-index:1}
.vision-label{display:flex;align-items:center;gap:9px;color:#e8c77e;font-size:10px;font-weight:900;letter-spacing:.18em}
.vision-label i{font-size:18px}
.vision-feature h3{max-width:920px;margin:15px 0 10px;color:#fff;font-size:25px;line-height:1.45;font-weight:800;letter-spacing:-.025em}
.vision-feature-copy p{margin:0;color:rgba(255,255,255,.78);font-size:12px}
.vision-feature-side{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:0;color:rgba(255,255,255,.12)}
.vision-side-word{font-size:25px;line-height:1.18;font-weight:900;letter-spacing:-.04em}
.vision-feature-side i{margin-top:8px;font-size:35px;color:#e8c77e}
.value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}
.value-card{
	display:flex;align-items:center;gap:12px;min-height:78px;padding:14px 15px;
	border:1px solid var(--line);border-radius:10px;background:#fff;
	box-shadow:0 6px 18px rgba(18,61,45,.035)
}
.value-icon{
	display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;
	border-radius:11px;background:#edf4ee;color:#1c6849;font-size:16px
}
.value-card strong{display:block;color:var(--emerald);font-size:12px;font-weight:800;line-height:1.35}
.value-card small{display:block;margin-top:4px;color:#89958d;font-size:10px;line-height:1.4}
.mission-details{margin-top:15px;border:1px solid var(--line);border-radius:11px;background:#fbfcfb;overflow:hidden}
.mission-details summary{
	display:flex;justify-content:space-between;align-items:center;gap:18px;
	padding:17px 20px;cursor:pointer;list-style:none
}
.mission-details summary::-webkit-details-marker{display:none}
.mission-details summary>span:first-child strong{display:block;color:var(--emerald);font-size:13px;font-weight:800}
.mission-details summary>span:first-child small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.mission-summary-action{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#987638;font-size:10px;font-weight:800}
.mission-details[open] .mission-summary-action i{transform:rotate(180deg)}
.mission-summary-action i{transition:transform .2s}
.mission-detail-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:0 16px 16px}
.mission-group{padding:16px;border:1px solid #e9efea;border-radius:9px;background:#fff}
.mission-group h3{display:flex;align-items:center;gap:9px;margin:0 0 11px;color:var(--emerald);font-size:13px;font-weight:800}
.mission-group h3 span{
	display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;
	border-radius:8px;background:#edf4ee;color:#1b6848;font-size:9px
}
.mission-group ol{margin:0;padding-left:20px}
.mission-group li{padding-left:3px;margin:0 0 8px;color:#5e6d63;font-size:11px;line-height:1.65}
.mission-group li:last-child{margin-bottom:0}
.mission-group li::marker{color:#b18a43;font-weight:800}

/* Main content rhythm */
.home-layout{margin-top:0}
.news-section,.gallery-section,.video-section{scroll-margin-top:80px}
.section-heading{margin-bottom:20px}
.featured-news{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.featured-image{min-height:280px}
.featured-copy{padding:25px}
.news-card{height:100%;display:flex;flex-direction:column}
.news-card-body{display:flex;flex:1;flex-direction:column}
.news-card-body .read-link{margin-top:auto}
.home-sidebar{gap:20px}

/* Full principal portrait: preserve the complete original image */
.principal-panel{background:#fff}
.principal-panel .principal-photo{
	display:block;width:100%!important;height:auto!important;max-height:none!important;
	aspect-ratio:auto!important;object-fit:contain!important;object-position:center center!important;
	background:#f3f5f2;border-radius:0
}
.principal-body{padding:22px 23px}
.principal-body h3{font-size:20px}
.principal-role{margin-bottom:12px}

/* Small screens */
@media(max-width:991.98px){
	.identity-heading{align-items:flex-start}
	.vision-feature{grid-template-columns:minmax(0,1fr) 130px;padding:26px}
	.vision-feature h3{font-size:22px}
	.value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767.98px){
	.brand-inner{min-height:82px;gap:10px}
	.brand-lockup{gap:10px}
	.brand-lockup img{width:52px;height:52px;padding:4px;border-radius:10px}
	.brand-copy strong{font-size:14px;line-height:1.25;max-width:230px}
	.brand-copy small{font-size:10px;margin-top:4px}
	.brand-note{display:none}
	.brand-row{background-image:linear-gradient(100deg,rgba(8,43,31,.82),rgba(18,61,45,.62)),url("images/sekolahmts.png")}
	.home-identity-section{margin-bottom:42px}
	.identity-heading{display:block;margin-bottom:16px}
	.identity-heading h2{font-size:23px}
	.identity-heading p{font-size:12px}
	.identity-document{margin-top:12px}
	.vision-feature{grid-template-columns:1fr;padding:23px 21px}
	.vision-feature h3{font-size:19px;line-height:1.5}
	.vision-feature-side{display:none}
	.value-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
	.value-card{min-height:74px;padding:11px 10px;gap:9px}
	.value-icon{width:33px;height:33px;flex-basis:33px;font-size:14px}
	.value-card strong{font-size:10px}
	.value-card small{font-size:9px}
	.mission-details summary{padding:14px}
	.mission-detail-content{grid-template-columns:1fr;padding:0 10px 10px;gap:9px}
	.mission-group{padding:13px}
	.mission-group li{font-size:10px}
	.home-layout{display:block}
	.home-sidebar{margin-top:38px}
	.featured-news{grid-template-columns:1fr}
	.featured-image{min-height:230px}
}
@media(max-width:480px){
	.value-grid{grid-template-columns:1fr}
	.value-card{min-height:66px}
	.mission-details summary{align-items:flex-start}
	.mission-summary-action{font-size:9px}
	.featured-copy{padding:18px}
}


/* ==========================================================
   V10 — Art Direction: Gerbang Madrasah Digital
   Warm editorial palette, real campus photography, less UI chrome
   ========================================================== */
:root{
  --emerald:#123d2d;
  --green:#236447;
  --green-soft:#e7eee5;
  --gold:#c69a4b;
  --gold-light:#ecd7a5;
  --ink:#23362d;
  --muted:#6f7d74;
  --paper:#fffdf8;
  --line:#e6e0d3;
  --surface:#f2efe6;
  --shadow:0 12px 32px rgba(36,52,41,.075);
}
body{background:#f2efe6;color:#26382f}
.site-main{background:#f2efe6;padding-top:48px}
.topline{background:#102f25;border-bottom:2px solid #c69a4b}
.topline a:hover{color:#f2d99f}

/* Campus image: no gradient wash. Crop is deliberately shifted up to reveal the gate. */
.brand-row{
  position:relative;isolation:isolate;
  min-height:132px;
  background-color:#214c39;
  background-image:url("images/sekolahmts.png");
  background-size:cover;
  background-position:center 62%;
  background-repeat:no-repeat;
  border-top:0;border-bottom:3px solid #c69a4b;
}
.brand-row:before{display:none!important;content:none!important}
.brand-inner{min-height:129px;gap:20px}
.brand-lockup{
  position:relative;z-index:1;gap:14px;padding:10px 18px 10px 10px;
  border-left:3px solid #d1a452;border-radius:0 12px 12px 0;
  background:rgba(12,48,35,.84);
  box-shadow:0 7px 24px rgba(0,0,0,.16);
  color:#fff;
}
.brand-lockup img{
  width:62px;height:62px;padding:4px;object-fit:contain;
  border-radius:10px;background:#fff;border:1px solid rgba(255,255,255,.8);
  box-shadow:0 3px 10px rgba(0,0,0,.15)
}
.brand-copy strong{font-size:19px;line-height:1.2;color:#fff;letter-spacing:-.025em;text-shadow:none}
.brand-copy small{font-size:11px;color:#f1e8d5;margin-top:5px}
.brand-note{
  position:relative;z-index:1;min-width:290px;text-align:right;
  padding:13px 17px;border:1px solid rgba(235,207,151,.58);
  border-right:4px solid #d0a34e;border-radius:9px;
  background:rgba(12,48,35,.91);
  box-shadow:0 7px 24px rgba(0,0,0,.16);
  -webkit-backdrop-filter:none;backdrop-filter:none
}
.brand-note span{font-size:10px;letter-spacing:.16em;color:#f0cf87;font-weight:900}
.brand-note p{font-size:11px;color:#fff;margin:5px 0 0}
.nav-wrap{background:#123d2d;border-top:1px solid rgba(255,255,255,.12);box-shadow:0 5px 14px rgba(17,47,35,.12)}
.nav-container,.navbar{min-height:56px}
.sm-clean a{padding-top:20px;padding-bottom:20px}
.sm-clean a:hover,.sm-clean a:focus,.sm-clean a.highlighted{background:#245a42;color:#f0cf87}

/* Stronger, less generic section rhythm */
.home-identity-section{
  position:relative;margin:0 0 54px;padding:30px;
  border:1px solid #e5ddcd;border-radius:16px;
  background:#fbf8ef;
  box-shadow:0 12px 30px rgba(55,54,39,.045)
}
.identity-heading{align-items:flex-end;margin-bottom:22px}
.identity-heading h2{color:#183e2e;font-size:29px}
.identity-heading .eyebrow{color:#a36e2c}
.identity-document{background:#f1eadb;border-color:#e2d4b8;color:#735d37}
.vision-feature{
  border-radius:13px;
  background:
    radial-gradient(circle at 88% 20%,rgba(203,164,88,.22),transparent 28%),
    linear-gradient(112deg,#153e2e 0%,#1d5a40 70%,#285f43 100%);
  box-shadow:0 13px 28px rgba(19,62,45,.16)
}
.vision-feature h3{font-size:24px;max-width:880px}
.vision-feature-side{color:rgba(255,255,255,.16)}
.vision-feature-side i{color:#e8c77e}
.value-grid{gap:13px}
.value-card{
  min-height:82px;background:#fffdf8;border:1px solid #e8e0d0;
  box-shadow:0 5px 14px rgba(63,55,38,.035);transition:transform .2s,box-shadow .2s
}
.value-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px rgba(63,55,38,.09)}
.value-icon{background:#f3ead8;color:#936d32}
.value-card strong{color:#1b4633}
.mission-details{background:#f6f0e3;border-color:#e6dac2}
.mission-details summary>span:first-child strong{color:#1b4633}
.mission-summary-action{color:#936d32}
.mission-group{background:#fffdf8;border-color:#e9e0d0}
.mission-group h3{color:#1b4633}
.mission-group h3 span{background:#f3ead8;color:#936d32}
.mission-group li::marker{color:#b47b36}

/* News becomes editorial: warm canvas, photography and a clear lead story */
.section-heading h2{color:#183e2e}
.section-heading .eyebrow{color:#a36e2c}
.section-heading p{color:#777c70}
.section-link,.read-link{color:#9a7136}
.featured-news,.news-card{
  border:1px solid #e7dfd0;background:#fffdf8;
  box-shadow:0 8px 24px rgba(44,54,42,.055)
}
.featured-news{border-radius:13px;overflow:hidden}
.featured-image{min-height:290px}
.featured-image img{transition:transform .5s}
.featured-news:hover .featured-image img{transform:scale(1.035)}
.image-label{background:#c79a4d;color:#183c2d}
.featured-copy{padding:27px}
.featured-copy h3 a,.news-card h3 a{color:#183e2e}
.featured-copy h3 a:hover,.news-card h3 a:hover{color:#9a7136}
.post-meta{color:#8a887b}
.news-grid{gap:17px}
.news-card{border-radius:11px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.news-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(44,54,42,.10)}
.news-card-image{height:180px;overflow:hidden}
.news-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.news-card:hover .news-card-image img{transform:scale(1.04)}
.news-card-body{padding:18px}
.news-card h3{font-size:16px;line-height:1.4}

/* Supporting panels: ivory, olive and warm ochre instead of endless white */
.home-sidebar .sidebar-widget,.home-sidebar .principal-panel,.home-sidebar .widget{
  background:#fffdf8;border:1px solid #e6dece;border-radius:12px;
  box-shadow:0 8px 22px rgba(44,54,42,.05);overflow:hidden
}
.principal-panel .principal-photo{
  display:block;width:100%!important;height:auto!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;
  background:#eee8da;border-radius:0
}
.principal-body{background:#fffdf8}
.gallery-section,.video-section{padding:24px;border-radius:13px;background:#e8eee6;border:1px solid #dce6db}
.gallery-tile{border-radius:9px;overflow:hidden}
.gallery-overlay{background:linear-gradient(0deg,rgba(12,44,31,.91),rgba(12,44,31,0) 80%)}
.video-frame{border:5px solid #fffdf8;border-radius:10px;box-shadow:var(--shadow);overflow:hidden}

/* Link, button and footer accents */
.btn-gold{background:#c99d51;border-color:#c99d51;color:#173629}
.btn-gold:hover{background:#e0bd78;border-color:#e0bd78}
button,.btn{transition:all .2s ease}
footer,.site-footer{background:#102f25;color:#e9eee8}
footer a,.site-footer a{color:#e5c783}
footer a:hover,.site-footer a:hover{color:#fff}

/* Responsive art direction */
@media(max-width:767.98px){
  .brand-row{min-height:88px;background-position:center 60%}
  .brand-inner{min-height:85px}
  .brand-lockup{padding:7px 10px 7px 7px;gap:9px}
  .brand-lockup img{width:48px;height:48px}
  .brand-copy strong{font-size:13px;max-width:230px}
  .brand-copy small{font-size:9px}
  .brand-note{display:none}
  .home-identity-section{padding:17px;margin-bottom:38px}
  .identity-heading h2{font-size:23px}
  .vision-feature{padding:22px 19px}
  .vision-feature h3{font-size:19px}
  .gallery-section,.video-section{padding:16px}
}


/* ==========================================================
   V11 — Global internal-page grid and sidebar correction
   ========================================================== */
.internal-page-layout{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    margin-left:-12px;
    margin-right:-12px;
}
.internal-page-layout > .col-lg-8,
.internal-page-layout > .col-md-8,
.internal-page-layout > .internal-sidebar{
    padding-left:12px;
    padding-right:12px;
    min-width:0;
}
.internal-page-layout > .internal-sidebar{
    display:flex;
    flex-direction:column;
    gap:18px;
}
.internal-page-layout > .internal-sidebar .sidebar-panel{
    width:100%;
    min-width:0;
    margin-bottom:0;
}
.internal-page-layout > .internal-sidebar .principal-panel{
    overflow:hidden;
}
.internal-page-layout > .internal-sidebar .principal-photo{
    display:block;
    width:100%;
    height:auto;
    max-height:390px;
    object-fit:contain;
    object-position:center top;
    background:#eee8da;
}
.internal-page-layout > .internal-sidebar .principal-body{
    padding:20px 21px;
}
.internal-page-layout > .internal-sidebar .principal-body p{
    line-height:1.7;
}
.internal-page-layout > .col-lg-8:only-child,
.internal-page-layout > .col-md-8:only-child{
    flex:0 0 100%;
    max-width:100%;
}
@media(max-width:991.98px){
    .internal-page-layout > .col-lg-8,
    .internal-page-layout > .col-md-8{
        flex:0 0 66.666667%;
        max-width:66.666667%;
    }
    .internal-page-layout > .internal-sidebar{
        flex:0 0 33.333333%;
        max-width:33.333333%;
    }
}
@media(max-width:767.98px){
    .internal-page-layout{
        display:block;
        margin-left:0;
        margin-right:0;
    }
    .internal-page-layout > .col-lg-8,
    .internal-page-layout > .col-md-8,
    .internal-page-layout > .internal-sidebar{
        display:block;
        width:100%;
        max-width:100%;
        flex:0 0 100%;
        padding-left:0;
        padding-right:0;
    }
    .internal-page-layout > .internal-sidebar{
        margin-top:26px;
    }
    .internal-page-layout > .internal-sidebar .principal-photo{
        width:100%;
        height:auto;
        max-height:480px;
        object-fit:contain;
    }
}


/* V12 — restore the original CMS Bootstrap grid contract */
.internal-page-layout{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    margin-left:-15px;
    margin-right:-15px;
}
.internal-page-layout > [class*="col-"]{
    min-width:0;
}
.internal-page-layout > .internal-sidebar{
    display:block;
    width:100%;
}
.internal-page-layout .internal-sidebar .sidebar-panel{
    width:100%;
    margin-bottom:18px;
}
.internal-page-layout .principal-panel{
    overflow:hidden;
}
.internal-page-layout .principal-photo{
    display:block;
    width:100%;
    height:auto;
    max-height:360px;
    object-fit:contain;
    object-position:center top;
    background:#f0eee7;
}
.internal-page-layout .principal-body{
    padding:18px 20px;
}
@media(max-width:767.98px){
    .internal-page-layout{
        display:block;
        margin-left:-15px;
        margin-right:-15px;
    }
    .internal-page-layout > .internal-sidebar{
        margin-top:24px;
    }
    .internal-page-layout .principal-photo{
        max-height:460px;
    }
}


/* V13 — stable menu hover: eliminate micro-movement and layout reflow */
a{
    transition-property:color,background-color,border-color;
    transition-duration:.14s;
    transition-timing-function:ease;
}
.sm-clean,
.sm-clean ul,
.sm-clean li{
    box-sizing:border-box;
}
.sm-clean li{
    position:relative;
}
.sm-clean a,
.sm-clean a:hover,
.sm-clean a:focus,
.sm-clean a.highlighted,
.sm-clean ul a,
.sm-clean ul a:hover,
.sm-clean ul a:focus{
    box-sizing:border-box;
    transform:none!important;
    translate:none!important;
    animation:none!important;
    text-decoration:none!important;
}
.sm-clean a{
    display:block;
    transition:color .14s ease,background-color .14s ease!important;
    will-change:auto;
}
.sm-clean a:hover,
.sm-clean a:focus,
.sm-clean a.highlighted{
    padding-top:20px;
    padding-bottom:20px;
    margin:0;
    border-width:0;
}
.sm-clean ul{
    margin-top:0!important;
    transform:none!important;
}
.sm-clean ul a,
.sm-clean ul a:hover,
.sm-clean ul a:focus{
    padding:11px 14px!important;
    margin:0!important;
    border:0!important;
    transition:color .12s ease,background-color .12s ease!important;
}
@media(max-width:767.98px){
    .sm-clean a,
    .sm-clean a:hover,
    .sm-clean a:focus,
    .sm-clean a.highlighted{
        padding:12px 10px!important;
        border-top:1px solid rgba(255,255,255,.08);
    }
    .sm-clean ul a,
    .sm-clean ul a:hover,
    .sm-clean ul a:focus{
        padding:11px 14px!important;
        border:0!important;
    }
}
/* Keep sidebar and quick-navigation links from shifting on hover */
.quick-links a,
.archive-list a,
.popular-list a,
.footer-tags a{
    transform:none!important;
    transition:color .14s ease,background-color .14s ease,border-color .14s ease!important;
}


/* ==========================================================
   V14 — Motion layer only
   Subtle entrance, hover and hero animations; no layout redesign.
   ========================================================== */
.motion-ready .motion-reveal{
    opacity:0;
    transform:translate3d(0,22px,0);
    transition:
        opacity .68s cubic-bezier(.2,.65,.3,1),
        transform .68s cubic-bezier(.2,.65,.3,1);
    transition-delay:var(--motion-delay,0ms);
    will-change:opacity,transform;
}
.motion-ready .motion-reveal.is-visible{
    opacity:1;
    transform:translate3d(0,0,0);
    will-change:auto;
}
.hero .hero-content > *{
    opacity:0;
    transform:translate3d(0,18px,0);
    animation:heroContentIn .72s cubic-bezier(.2,.65,.3,1) forwards;
}
.hero .hero-content > *:nth-child(1){animation-delay:.12s}
.hero .hero-content > *:nth-child(2){animation-delay:.24s}
.hero .hero-content > *:nth-child(3){animation-delay:.36s}
.hero .hero-content > *:nth-child(4){animation-delay:.48s}
.hero-fallback .hero-content > *{
    opacity:0;
    transform:translate3d(0,18px,0);
    animation:heroContentIn .72s cubic-bezier(.2,.65,.3,1) forwards;
}
.hero-fallback .hero-content > *:nth-child(1){animation-delay:.12s}
.hero-fallback .hero-content > *:nth-child(2){animation-delay:.24s}
.hero-fallback .hero-content > *:nth-child(3){animation-delay:.36s}
.hero-fallback .hero-content > *:nth-child(4){animation-delay:.48s}
@keyframes heroContentIn{
    to{opacity:1;transform:translate3d(0,0,0)}
}

/* Photos gain depth on hover without affecting their box size. */
.featured-image img,
.news-card-image img,
.gallery-tile,
.principal-photo{
    transition:transform .55s cubic-bezier(.2,.65,.3,1),filter .45s ease;
}
.featured-image,
.news-card-image,
.gallery-tile{overflow:hidden}
.featured-image:hover img,
.news-card-image:hover img,
.gallery-tile:hover{
    transform:scale(1.035);
}
.news-card,
.value-card,
.mission-group,
.sidebar-panel,
.featured-news{
    transition:box-shadow .32s ease,border-color .32s ease;
}
.news-card:hover,
.value-card:hover,
.mission-group:hover,
.sidebar-panel:hover{
    box-shadow:0 12px 28px rgba(18,61,45,.09);
    border-color:rgba(201,164,92,.42);
}
.btn-gold,.section-link,.read-link,.social-links a{
    transition:background-color .25s ease,color .25s ease,box-shadow .25s ease;
}
.btn-gold:hover{box-shadow:0 7px 18px rgba(201,164,92,.25)}

/* Header scroll state is intentionally restrained to avoid menu jitter. */
.site-header .brand-row{
    transition:background-color .25s ease;
}
.site-header.has-scrolled .brand-row{
    filter:saturate(1.04);
}

/* Do not animate menu geometry: SmartMenus hover/focus remains stable. */
#main-menu > li > a,
#main-menu ul a,
.navbar,
.nav-wrap{
    transition:none!important;
    transform:none!important;
}
@media(hover:hover){
    #main-menu > li > a:hover,
    #main-menu ul a:hover{
        filter:brightness(1.12);
    }
}
@media(prefers-reduced-motion:reduce){
    *,*::before,*::after{
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }
    .motion-ready .motion-reveal{opacity:1!important;transform:none!important}
}


/* ==========================================================
   V15 — Visible submenu indicators
   Clear chevrons for every menu item that opens a child menu.
   ========================================================== */
#main-menu > li > a.has-submenu,
#main-menu ul a.has-submenu{
    position:relative!important;
    padding-right:34px!important;
}
#main-menu > li > a.has-submenu::after{
    content:"";
    position:absolute;
    right:13px;
    top:50%;
    width:7px;
    height:7px;
    border-right:1.8px solid #e7c77e;
    border-bottom:1.8px solid #e7c77e;
    transform:translateY(-68%) rotate(45deg);
    opacity:.95;
    pointer-events:none;
}
#main-menu ul a.has-submenu::after{
    content:"";
    position:absolute;
    right:13px;
    top:50%;
    width:7px;
    height:7px;
    border-top:1.8px solid #55705f;
    border-right:1.8px solid #55705f;
    transform:translateY(-50%) rotate(45deg);
    opacity:.9;
    pointer-events:none;
}
#main-menu a.has-submenu > .sub-arrow{
    display:none!important;
}
#main-menu ul a.has-submenu{
    padding-right:34px!important;
}
@media(max-width:991.98px){
    #main-menu > li > a.has-submenu::after{
        right:16px;
    }
    #main-menu ul a.has-submenu::after{
        right:16px;
    }
}


/* ==========================================================
   V16 — Smooth campus background motion (Ken Burns drift)
   Animate the image layer only; keep logo, text and header
   geometry completely stationary.
   ========================================================== */
.brand-row{
    overflow:hidden;
    isolation:isolate;
    background-image:none!important;
    background-color:#214c39;
    contain:paint;
}
.brand-row:before{
    display:block!important;
    content:""!important;
    position:absolute;
    z-index:-1;
    inset:-4%;
    pointer-events:none;
    background-image:url("images/sekolahmts.png");
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center 62%;
    transform:translate3d(0,0,0) scale(1.075);
    transform-origin:center center;
    backface-visibility:hidden;
    will-change:transform;
    animation:campusBackgroundDrift 34s cubic-bezier(.45,0,.55,1) infinite alternate;
}
@keyframes campusBackgroundDrift{
    0%{
        transform:translate3d(-1.1%,0,0) scale(1.075);
    }
    50%{
        transform:translate3d(0,.25%,0) scale(1.095);
    }
    100%{
        transform:translate3d(1.1%,0,0) scale(1.075);
    }
}
.brand-row > .container,
.brand-row .brand-inner{
    position:relative;
    z-index:1;
}
@media(max-width:767.98px){
    .brand-row:before{
        background-position:center 60%;
        animation-duration:38s;
        transform:translate3d(0,0,0) scale(1.09);
    }
    @keyframes campusBackgroundDrift{
        0%{transform:translate3d(-.7%,0,0) scale(1.09)}
        50%{transform:translate3d(0,.15%,0) scale(1.105)}
        100%{transform:translate3d(.7%,0,0) scale(1.09)}
    }
}
@media(prefers-reduced-motion:reduce){
    .brand-row:before{
        animation:none!important;
        transform:scale(1.075)!important;
        will-change:auto;
    }
}


/* ==========================================================
   V17 — Single-row adaptive desktop navigation
   Top-level menu items stay on one line and scale down gently.
   Mobile menu keeps its existing collapsible vertical layout.
   ========================================================== */
@media(min-width:992px){
    .nav-container,
    .nav-container .navbar,
    .nav-container .navbar-collapse{
        min-width:0;
        width:100%;
    }
    .nav-container .navbar{
        display:flex;
        flex-wrap:nowrap;
    }
    .nav-container .navbar-collapse{
        display:flex!important;
        flex:1 1 auto;
        min-width:0;
        overflow:visible;
    }
    #main-menu{
        display:flex!important;
        flex-flow:row nowrap!important;
        align-items:stretch;
        justify-content:space-between;
        width:100%;
        min-width:0;
        margin:0;
        padding:0;
        white-space:nowrap;
    }
    #main-menu > li{
        display:block;
        flex:0 1 auto;
        min-width:0;
        white-space:nowrap;
    }
    #main-menu > li > a{
        display:flex;
        align-items:center;
        justify-content:center;
        min-height:54px;
        height:100%;
        white-space:nowrap;
        padding-left:calc(14px * var(--menu-scale, 1))!important;
        padding-right:calc(14px * var(--menu-scale, 1))!important;
        font-size:calc(11px * var(--menu-scale, 1))!important;
        letter-spacing:calc(.045em * var(--menu-scale, 1));
    }
    #main-menu > li > a.has-submenu{
        padding-right:calc(29px * var(--menu-scale, 1))!important;
    }
    #main-menu.menu-fit-scroll{
        justify-content:flex-start;
        overflow-x:auto;
        overflow-y:visible;
        scrollbar-width:none;
    }
    #main-menu.menu-fit-scroll::-webkit-scrollbar{
        display:none;
    }
    #main-menu.menu-fit-scroll > li{
        flex:0 0 auto;
    }
    #main-menu > li > ul{
        white-space:normal;
    }
}
@media(max-width:991.98px){
    #main-menu{
        display:block;
        width:100%;
    }
    #main-menu > li{
        display:block;
        width:100%;
    }
}
