/*
Theme Name: Maler Hvidt – Reference V2
Theme URI: https://www.malerhvidt.dk/
Author: Maler Hvidt
Description: Astra child theme with custom header, reference-inspired homepage, SEO metadata and Google Ads landing page structure.
Version: 2.0.0
Template: astra
Text Domain: maler-hvidt
*/
:root{--mh-green:#174f3f;--mh-green-dark:#103b30;--mh-lime:#d6e83f;--mh-cream:#f7f6f0;--mh-ink:#20352e;--mh-muted:#64716b;--mh-border:#e4e8df;--mh-radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--mh-cream);color:var(--mh-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
#page,.site,.site-content,.content-area,#primary,main{width:100%;max-width:none!important;margin:0!important;padding:0!important}.ast-container,.site-content .ast-container{max-width:none!important;width:100%;padding:0!important}.entry-header{display:none!important}.entry-content{margin:0!important;max-width:none!important}
.mh-header{background:#fff;border-bottom:1px solid var(--mh-border);position:relative;z-index:5}.mh-header-inner{max-width:1240px;margin:auto;padding:12px 24px;display:flex;align-items:center;gap:24px;justify-content:space-between}.mh-brand{display:flex;align-items:center;flex-shrink:0}.mh-brand img{display:block;width:145px;height:70px;object-fit:contain}.mh-nav{display:flex;align-items:center;gap:22px}.mh-nav a{color:#263b33;text-decoration:none;font-size:14px;font-weight:700}.mh-nav a:hover{color:var(--mh-green)}.mh-nav .mh-nav-cta{background:var(--mh-green);color:#fff;padding:12px 16px;border-radius:6px}
.mh-site{max-width:1240px;margin:0 auto;padding:28px 24px 56px}.mh-hero{display:grid;grid-template-columns:.92fr 1.08fr;gap:28px;align-items:stretch;background:#fff;border-radius:16px;overflow:hidden;min-height:380px}.mh-hero-copy{padding:42px 0 40px 40px;align-self:center}.mh-eyebrow{font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--mh-green);margin:0 0 12px;text-transform:uppercase}.mh-hero h1{font-size:clamp(36px,4.1vw,57px);line-height:1.02;letter-spacing:-.045em;font-weight:800;color:#1d2d27;margin:0 0 16px;max-width:550px}.mh-hero h1 span{color:var(--mh-green)}.mh-lead{font-size:15px;line-height:1.65;color:#59665f;max-width:510px;margin:0 0 22px}.mh-button{display:inline-flex;align-items:center;gap:12px;background:var(--mh-green);color:#fff!important;padding:13px 18px;border-radius:5px;text-decoration:none;font-weight:800;font-size:13px;transition:background .2s}.mh-button:hover{background:var(--mh-green-dark)}.mh-hero-image{min-height:380px;background-image:url('assets/hero-interior.jpg');background-size:cover;background-position:center}
.mh-trust{display:grid;grid-template-columns:repeat(4,1fr);background:var(--mh-green);color:#fff;margin:14px 0 38px;padding:16px 18px;border-radius:6px}.mh-trust>div{display:grid;grid-template-columns:34px 1fr;column-gap:8px;align-items:center;padding:4px 12px;border-right:1px solid #ffffff38}.mh-trust>div:last-child{border-right:0}.mh-trust span{grid-row:span 2;color:var(--mh-lime);font-size:24px;font-weight:800}.mh-trust b{font-size:13px;line-height:1.25}.mh-trust small{font-size:11px;color:#e4ece7;margin-top:3px}
.mh-section{margin:0 0 40px}.mh-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 18px}.mh-section-heading h2,.mh-why h2,.mh-cta h2{font-size:clamp(27px,3vw,38px);line-height:1.1;letter-spacing:-.035em;color:#1c3229;margin:0;font-weight:800}.mh-section-heading>p{max-width:420px;color:var(--mh-muted);line-height:1.55;margin:0 0 3px;font-size:14px}.mh-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mh-service{display:block;min-width:0;background:#fff;border:1px solid var(--mh-border);border-radius:8px;overflow:hidden;padding:0 0 18px;text-decoration:none!important;color:inherit!important;box-shadow:0 3px 12px #20352e0a}.mh-service img{display:block;width:100%;height:190px;object-fit:cover;margin:0 0 14px}.mh-service h3{font-size:20px;color:var(--mh-green-dark);margin:0 17px 5px;font-weight:800}.mh-service p{font-size:13px;line-height:1.55;color:var(--mh-muted);margin:0 17px 10px}.mh-service span{font-size:12px;font-weight:800;color:var(--mh-green);margin:0 17px}
.mh-why{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:center;background:#e9eee5;border-radius:8px;padding:26px;margin:0 0 28px}.mh-why-points{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mh-why-points span{background:#fff;border-radius:5px;padding:12px;font-size:12px;font-weight:700;color:var(--mh-green)}.mh-cta{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;background:var(--mh-green-dark);color:white;border-radius:8px;overflow:hidden}.mh-van-image{min-height:240px;background-image:url('assets/van.jpg');background-size:cover;background-position:center}.mh-cta-copy{padding:24px 30px 24px 0}.mh-cta .mh-eyebrow{color:var(--mh-lime)}.mh-cta h2{color:#fff;margin-bottom:10px;font-size:30px}.mh-cta p:not(.mh-eyebrow){color:#dce7e0;line-height:1.6;font-size:14px}.mh-cta .mh-button{background:var(--mh-lime);color:var(--mh-green-dark)!important;margin-top:5px}
.mh-footer{background:#102f26;color:#eaf0ec;padding:28px 24px}.mh-footer-inner{max-width:1192px;margin:auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px}.mh-footer a{color:#fff}.mh-page{max-width:1000px;margin:0 auto;padding:45px 24px 70px}.mh-page h1{font-size:clamp(34px,4vw,52px);color:var(--mh-green-dark);line-height:1.08}.mh-page .mh-page-intro{font-size:18px;color:var(--mh-muted);max-width:780px}.mh-page-cta{margin-top:24px}
@media(max-width:850px){.mh-header-inner{flex-wrap:wrap;gap:10px}.mh-brand img{width:115px;height:55px}.mh-nav{gap:12px;flex-wrap:wrap}.mh-nav a{font-size:12px}.mh-site{padding:16px 14px 38px}.mh-hero{grid-template-columns:1fr;gap:0}.mh-hero-copy{padding:28px 24px 24px}.mh-hero h1{font-size:42px}.mh-hero-image{min-height:240px}.mh-trust{grid-template-columns:repeat(2,1fr);gap:5px;padding:12px}.mh-trust>div{padding:9px 5px}.mh-trust>div:nth-child(2){border-right:0}.mh-section-heading{display:block}.mh-section-heading>p{margin-top:10px}.mh-services{grid-template-columns:1fr;gap:14px}.mh-service img{height:220px}.mh-why{grid-template-columns:1fr;padding:20px;gap:18px}.mh-cta{grid-template-columns:1fr;gap:0}.mh-van-image{min-height:220px}.mh-cta-copy{padding:22px}.mh-footer-inner{display:block}.mh-footer-inner>*{margin-bottom:8px}}

body:not(.page-id-78) main.mh-page{width:100%;max-width:1120px!important;margin:0 auto!important;padding:48px 24px 64px!important}
body:not(.page-id-78) .mh-page .mh-page-intro{max-width:860px;color:var(--mh-ink);font-size:17px;line-height:1.7}
body:not(.page-id-78) .mh-page h1{font-size:clamp(32px,4vw,48px);margin:12px 0 24px;line-height:1.15}
body:not(.page-id-78) .mh-page h2{font-size:clamp(25px,3vw,34px);line-height:1.25;margin:36px 0 14px}
body:not(.page-id-78) .mh-page h3{font-size:23px;line-height:1.3;margin:28px 0 12px}
body:not(.page-id-78) .mh-page p{margin:0 0 20px}
body:not(.page-id-78) .mh-page a:not(.mh-button):not(.wp-block-button__link){color:var(--mh-green);text-decoration:underline;text-underline-offset:3px}
.mh-nav a:focus-visible,.mh-button:focus-visible,.mh-page a:focus-visible{outline:3px solid var(--mh-lime);outline-offset:4px}
@media(max-width:600px){body:not(.page-id-78) main.mh-page{padding:32px 20px 48px!important}.mh-header-inner{padding:12px 20px}.mh-nav{width:100%;gap:12px 16px}.mh-nav .mh-nav-cta{padding:10px 14px}}

@media(max-width:850px){
.mh-nav{gap:4px 8px;justify-content:center}
.mh-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:8px 6px;font-size:14px;line-height:1.3;box-sizing:border-box}
.mh-nav .mh-nav-cta{min-height:44px;padding:10px 14px}
}

.mh-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
.mh-page .forminator-custom-form .forminator-input{min-height:44px;font-size:16px}
.mh-page .forminator-custom-form .forminator-button-submit{min-height:44px;background-color:var(--mh-green);color:#fff;border-radius:6px}

.mh-page #forminator-module-237 .forminator-input,.mh-page #forminator-module-237 .forminator-button-submit{min-height:44px!important}

/* Keep the quote link legible on hover and keyboard focus. */
.mh-nav a.mh-nav-cta:hover,.mh-nav a.mh-nav-cta:focus-visible{color:#fff;background:var(--mh-green-dark)}

/* Approved wide Maler Hvidt logo, responsive header. */
.mh-header-inner{padding-top:16px;padding-bottom:16px}.mh-brand{max-width:100%}.mh-brand img{width:300px;height:auto;max-width:100%;aspect-ratio:2/1;object-fit:contain}.mh-nav{min-width:0}
@media(max-width:1100px){.mh-header-inner{flex-wrap:wrap;gap:12px;justify-content:center}.mh-brand img{width:240px;height:auto}.mh-nav{width:100%;flex-wrap:wrap;justify-content:center;gap:6px 16px}.mh-nav a{min-height:44px}}
@media(max-width:600px){.mh-header-inner{padding:12px 16px}.mh-brand img{width:200px;height:auto}.mh-nav{gap:4px 10px}.mh-nav a{font-size:14px}}

/* Larger touch targets for cookie-policy details. */
@media(max-width:1100px){.mh-page #cmplz-manage-consent-container .cmplz-category-toggle{min-width:44px;min-height:44px;width:44px;height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center}}
