/* D-050 / D-051: CSS for the V4 site chrome (header template 8000, footer template 8020) on EVERY page where the V4 header
   is active, V3 pages included. Loaded by inc/v4-header.php in <head>. Page-level V4 styles stay in v4.css. */

/* icons on Elementor containers: .e-con::before is the background overlay (absolute); keep our icon masks in the flow */
[class*="mgg-i-"]::before{margin-right:.5em}
.elementor .e-con[class*="mgg-i-"]::before{position:static;inset:auto;z-index:auto;opacity:1;mix-blend-mode:normal;border-radius:0;transition:none}

/* fixed header: reserve its height on pages without a dark hero under it (body class set in inc/v4-header.php) */
.elementor .mgg-hdr-wrap{height:80px}
.mgg-hdr-overlay .elementor .mgg-hdr-wrap{height:0}
@media (max-width:1024px){.elementor .mgg-hdr-wrap{height:72px}.mgg-hdr-overlay .elementor .mgg-hdr-wrap{height:0}}

/* ---------- footer: Forminator 5396 newsletter on the dark V4 footer (form markup is Forminator's, flat design) ---------- */
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui{display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:0!important;padding:0!important;background:none!important}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-row{flex:1 1 150px;margin:0!important}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-row-last{flex:0 0 auto}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-col{padding:0!important;margin:0!important}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-label{display:block;margin:0 0 8px!important;padding:0!important;color:rgba(255,255,255,.84)!important;font:600 14px/1.3 var(--mgg-font,"Schibsted Grotesk"),sans-serif!important}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-required{color:var(--mgg-yellow,#FFDE59)!important}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-input{height:52px!important;margin:0!important;padding:0 16px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:12px!important;background:rgba(255,255,255,.06)!important;color:#fff!important;font:400 15.5px/1 var(--mgg-font,"Schibsted Grotesk"),sans-serif!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-input::placeholder{color:rgba(255,255,255,.5)!important}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-input:focus{border-color:var(--mgg-yellow,#FFDE59)!important;box-shadow:0 0 0 3px rgba(255,222,89,.22)!important;outline:none!important}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-button-submit{height:52px!important;margin:0!important;padding:0 22px!important;border:0!important;border-radius:12px!important;background:var(--mgg-yellow,#FFDE59)!important;color:var(--mgg-ink,#161B1B)!important;font:600 15px/1 var(--mgg-font,"Schibsted Grotesk"),sans-serif!important;box-shadow:none!important;cursor:pointer;transition:background-color .2s,transform .2s}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-button-submit:hover{background:var(--mgg-yellow-600,#F3CC33)!important;transform:translateY(-1px)}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-button-submit:focus-visible{outline:3px solid #fff!important;outline-offset:3px}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-error-message{margin-top:6px!important;padding:0!important;background:none!important;color:#FFB8B8!important;font-size:13px!important}
.elementor .mgg-ftr-news #forminator-module-5396.forminator-ui .forminator-response-message{flex:1 0 100%;margin:0 0 6px!important;border-radius:10px!important;font-size:14px!important}
.elementor .mgg-ftr .e-con[class*="mgg-i-"]::before,.elementor .mgg-ftr [class*="mgg-i-"]::before{margin:0}
.elementor .mgg-ftr a:focus-visible,.elementor .mgg-ftr .e-con:focus-visible{outline:3px solid var(--mgg-yellow,#FFDE59);outline-offset:3px;border-radius:8px}

/* skip link (inc/a11y.php) in the V4 font, so V4 pages need no Poppins */
.mgg-skip{font-family:var(--mgg-font,"Schibsted Grotesk"),system-ui,sans-serif!important}
