/* Studio controls: isolated from V5 layout rules */
.mbx-custom-header,.mbx-custom-footer{width:100%;position:relative;z-index:12}
.mbx-popup-shell[hidden],.mbx-cookie-banner[hidden],.mbx-cookie-custom[hidden]{display:none!important}
body.mbx-modal-open{overflow:hidden}
.mbx-popup-shell{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;z-index:200000}
.mbx-popup-overlay{position:absolute;inset:0;background:rgba(15,28,53,.76);backdrop-filter:blur(4px)}
.mbx-popup-dialog{position:relative;background:#fff;color:#1e2e5c;border-radius:18px;box-shadow:0 25px 100px rgba(0,0,0,.24);width:min(100%,var(--mbx-popup-width,560px));max-height:min(90vh,950px);overflow-y:auto;animation:mbx-enter .26s ease-out;padding:30px}
.mbx-popup-body img,.mbx-popup-body video{max-width:100%;height:auto}
.mbx-popup-close{position:absolute;right:12px;top:12px;border:0;background:#eff2f5;border-radius:50%;width:36px;height:36px;font-size:25px;line-height:1;color:#1e2e5c;cursor:pointer;z-index:10}
.mbx-popup-trigger{background:#4d712f;color:white;border:0;padding:12px 22px;border-radius:8px;cursor:pointer}
@keyframes mbx-enter{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.mbx-cookie-banner{position:fixed;bottom:16px;left:16px;right:16px;z-index:300000;background:#fff;color:#24324a;box-shadow:0 12px 55px rgba(0,0,0,.23);border:1px solid #d4dcd0;border-radius:14px;padding:20px 22px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;max-width:1200px;margin:0 auto}
.mbx-cookie-main h2{margin:0 0 8px;font-size:1.2rem!important;color:#1e2e5c!important}
.mbx-cookie-main p{margin:0;line-height:1.5;font-size:14px}
.mbx-cookie-main a{color:#4d712f;text-decoration:underline}
.mbx-cookie-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.mbx-cookie-actions button,.mbx-cookie-custom button{border:1px solid #4d712f;background:#fff;color:#1e2e5c;padding:11px 16px;border-radius:8px;font-weight:600;cursor:pointer;font-size:14px}
.mbx-cookie-actions button.mbx-cookie-accept,.mbx-cookie-custom button{background:#4d712f;color:#fff}
.mbx-cookie-custom{grid-column:1/-1;border-top:1px solid #e1e6e0;padding-top:12px}
.mbx-cookie-custom p{margin:8px 0}
.mbx-cookie-custom input{margin-right:8px}
#mbx-cookie-privacy-link{position:relative;z-index:5;text-align:center;padding:8px;background:#f5f7f8}
#mbx-cookie-privacy-link button,.mbx-cookie-link{border:0;background:transparent;text-decoration:underline;cursor:pointer;color:#1e2e5c;font-size:12px}
@media(max-width:767px){.mbx-cookie-banner{bottom:6px;left:6px;right:6px;display:block;padding:15px;border-radius:12px;max-height:85vh;overflow:auto}.mbx-cookie-actions{margin-top:14px;display:grid;grid-template-columns:1fr 1fr}.mbx-cookie-actions button{padding:11px 7px}.mbx-cookie-accept{grid-column:1/-1}.mbx-popup-dialog{padding:22px 18px;max-height:86vh}}
@media(prefers-reduced-motion:reduce){.mbx-popup-dialog{animation:none!important}}
/* 1.1.0 — Visual header/footer and cookies */
.mbx-native-header{position:relative;z-index:100;background:#fff;box-shadow:0 1px 0 #e4e9ed}
.mbx-native-header-inner{max-width:1240px;margin-inline:auto}
.mbx-native-header .elementor-widget-image img{width:auto;max-width:215px;height:auto}
.mbx-native-footer{background:#f4f7fa;color:#1e2e5c}
.mbx-native-footer .elementor-widget-heading h1,.mbx-native-footer .elementor-widget-heading h2,.mbx-native-footer .elementor-widget-heading h3{color:#1e2e5c;font-weight:700}
.mbx-native-footer .elementor-widget-text-editor{color:#526076;line-height:1.65}
.mbx-native-footer a{color:#1e2e5c}
.mbx-native-footer-grid>.e-con{min-width:160px;flex:1}
.mbx-native-footer-bottom{border-top:1px solid #d9e1e4;margin-top:28px}
.mbx11-nav{position:relative;z-index:120}
.mbx11-nav-items{display:flex;align-items:center;flex-wrap:wrap;gap:22px}
.mbx11-nav-link{font-size:14px;font-weight:650;text-decoration:none!important;white-space:nowrap;transition:color .18s}
.mbx11-nav-link:hover,.mbx11-nav-link:focus-visible{color:#4d712f}
.mbx11-nav-toggle{display:none;background:#4d712f;color:#fff;border:0;border-radius:9px;padding:10px 15px;font-weight:700;cursor:pointer}
.mbx-default-promo .mbx-promo-kicker{font-size:12px;letter-spacing:.15em;font-weight:800;color:#4d712f}
.mbx-default-promo h2{color:#1e2e5c;font-size:clamp(23px,3vw,34px);line-height:1.18;margin:12px 0}
.mbx-default-promo>p{font-size:15px;line-height:1.6}
.mbx-default-promo .mbx-promo-cta{display:inline-flex;background:#4d712f;color:#fff;text-decoration:none;padding:12px 21px;border-radius:10px;font-weight:750}
.mbx-cookie-banner{background:var(--mbx-cookie-bg,#fff);color:var(--mbx-cookie-ink,#24324a);border-radius:var(--mbx-cookie-radius,16px)}
.mbx-cookie-main h2{color:var(--mbx-cookie-ink,#1e2e5c)!important}
.mbx-cookie-main a{color:var(--mbx-cookie-accent,#4d712f)}
.mbx-cookie-actions button,.mbx-cookie-custom button{border-color:var(--mbx-cookie-accent,#4d712f);color:var(--mbx-cookie-ink,#1e2e5c)}
.mbx-cookie-actions button.mbx-cookie-accept,.mbx-cookie-custom button{background:var(--mbx-cookie-accent,#4d712f);color:#fff}
.mbx-cookie--strip{max-width:none;border-radius:0;left:0;right:0;bottom:0;width:100%;margin:0}
.mbx-cookie--center{position:fixed;top:50%;bottom:auto;left:50%;right:auto;transform:translate(-50%,-50%);width:min(94vw,760px);max-width:760px;display:flex;flex-direction:column;align-items:stretch;gap:20px;box-shadow:0 0 0 100vmax rgba(10,22,44,.55),0 24px 70px rgba(0,0,0,.2)}
.mbx11-cookie-preview{max-width:780px;background:#fff;border:1px solid #cbd7cf;border-radius:15px;padding:22px;color:#1e2e5c;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.mbx11-cookie-preview p{margin:10px 0 15px}
.mbx11-cookie-preview button{border:1px solid #4d712f;padding:10px 14px;background:white;color:#1e2e5c;border-radius:8px}
.mbx11-cookie-preview button.green{background:#4d712f;color:white}
.mbx11-layout-intro{background:#fff;border-left:4px solid #4d712f;padding:12px 20px;margin:20px 0;max-width:1000px}
.mbx11-ready-layouts{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
@media(max-width:940px){
 .mbx11-nav-toggle{display:inline-flex;align-items:center;gap:8px}
 .mbx11-nav-items{display:none;position:absolute;top:calc(100% + 8px);right:0;min-width:215px;max-width:min(90vw,360px);padding:14px;flex-direction:column;align-items:stretch;gap:0;background:#fff;box-shadow:0 8px 36px rgba(0,0,0,.15);border-radius:12px;border:1px solid #e5e9ed}
 .mbx11-nav-items.is-open{display:flex}
 .mbx11-nav-link{padding:11px 10px;white-space:normal}
 .mbx-native-footer-grid>.e-con{width:calc(50% - 18px)!important;flex:0 1 calc(50% - 18px)}
}
@media(max-width:600px){
 .mbx-native-footer-grid>.e-con{width:100%!important;flex:1 0 100%}
 .mbx-cookie--center{max-height:85vh;overflow-y:auto}
}
/* 1.2 : pop-up visual position, per-popup colors and motion */
.mbx-popup-shell{--mbx-popup-bg:#fff;--mbx-popup-ink:#1e2e5c;--mbx-popup-radius:18px;--mbx-overlay-opacity:.65}
.mbx-popup-shell .mbx-popup-overlay{background:rgba(15,28,53,var(--mbx-overlay-opacity))}
.mbx-popup-shell .mbx-popup-dialog{background:var(--mbx-popup-bg);color:var(--mbx-popup-ink);border-radius:var(--mbx-popup-radius);width:min(100%,var(--mbx-popup-width,560px))}
.mbx-popup-pos-bottom-right{justify-content:flex-end;align-items:flex-end}
.mbx-popup-pos-bottom-left{justify-content:flex-start;align-items:flex-end}
.mbx-popup-pos-top{align-items:flex-start}
.mbx-popup-pos-top .mbx-popup-dialog{width:100%;max-width:none;border-radius:0}
.mbx-popup-motion-none .mbx-popup-dialog{animation:none!important}
.mbx-popup-motion-zoom .mbx-popup-dialog{animation:mbx12-zoom .25s ease-out}
.mbx-popup-motion-slide .mbx-popup-dialog{animation:mbx12-slide .32s ease-out}
@keyframes mbx12-zoom{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
@keyframes mbx12-slide{from{opacity:0;transform:translateY(55px)}to{opacity:1;transform:translateY(0)}}
.mbx-cookie--floating{max-width:720px;width:calc(100% - 32px);margin:0}
.mbx-cookie--floating.mbx-cookie-side-right{left:auto;right:16px}
.mbx-cookie--floating.mbx-cookie-side-left{left:16px;right:auto}
.mbx-cookie--strip,.mbx-cookie--center{margin:0}
.mbx-cookie--strip{max-width:none;width:100%;right:0;left:0}
.mbx-cookie--center{width:min(94vw,760px)}
/* Provide comparable visual prominence to consent and refusal. */
.mbx-cookie-actions button[data-mbx-consent-action="reject"],.mbx-cookie-actions button[data-mbx-consent-action="accept"]{font-weight:700;min-height:42px}
.mbx-cookie-actions button[data-mbx-consent-action="reject"]{border:2px solid var(--mbx-cookie-accent,#4d712f)}
.mbx-cookie-actions button[data-mbx-consent-action="accept"]{border:2px solid var(--mbx-cookie-accent,#4d712f)}
@media(max-width:767px){
 .mbx-cookie--floating.mbx-cookie-side-right,.mbx-cookie--floating.mbx-cookie-side-left{left:6px;right:6px;width:auto;max-width:none}
 .mbx-popup-pos-bottom-right,.mbx-popup-pos-bottom-left{justify-content:center}
 .mbx-popup-pos-top .mbx-popup-dialog{max-height:85vh}
}
@media(prefers-reduced-motion:reduce){.mbx-popup-shell .mbx-popup-dialog{animation:none!important}}
/* Cookie consent: equally easy, equally visible acceptance and rejection. */
.mbx-cookie-actions button[data-mbx-consent-action="reject"]{background:var(--mbx-cookie-accent,#4d712f);color:#fff;border-color:var(--mbx-cookie-accent,#4d712f)}
@media(max-width:767px){
 .mbx-cookie-actions button[data-mbx-consent-action="reject"]{order:1;grid-column:1/2}
 .mbx-cookie-actions button[data-mbx-consent-action="accept"]{order:2;grid-column:2/3}
 .mbx-cookie-actions button[data-mbx-consent-action="custom"]{order:3;grid-column:1/-1}
}
