/* Shared visual language. Layouts and editorial fields remain in their templates. */
body.mb-design-v3{--mb-surface:#fff;--mb-panel:#f4f7fb;--mb-border:#dce2e9;--mb-ink:#202020;--mb-muted:#505050}
html body.mb-design-v3.home .mb-h3 :is(.mb-h3-tasks a,.mb-h3-photo-brand,.mb-h3-offer,.mb-h3-brands a){background:var(--mb-surface)!important;border-color:var(--mb-border)!important}
html body.mb-design-v3.home .mb-h3 .mb-h3-tasks a:first-child{background:var(--mb-panel)!important;border-color:#aab6c3!important}
html body.mb-design-v3.home .mb-h3 :is(.mb-h3-tasks a,.mb-h3-photo-brand,.mb-h3-offer,.mb-h3-brands a):hover{background:#e8eef5!important;border-color:#8494a5!important}
html body.mb-design-v3 :is(.mb-button,.mb-info-button,.mb-used-button,.wp-block-button__link):hover{background:#e8eef5!important}
html body.mb-design-v3.single-avdeling .gruppe :is(.mb-dept-group-grid,.ansatte,.mb-dept-staff-grid,.ansatt,.ansatt *){box-sizing:border-box!important;min-width:0}
html body.mb-design-v3.single-avdeling .gruppe .ansatte>.mb-dept-staff-grid{gap:16px!important}
html body.mb-design-v3.single-avdeling .gruppe .ansatte>.mb-dept-staff-grid>.ansatt{width:100%!important;max-width:100%!important;padding:16px!important}
html body.mb-design-v3.single-avdeling .gruppe .ansatt .info{overflow-wrap:anywhere}
html body.mb-design-v3.single-avdeling .gruppe .ansatt img{max-width:100%!important}

html body.mb-design-v3 :is(.mb-brand,.mb-model-edit){--soft:var(--mb-panel);--line:var(--mb-border);--ink:var(--mb-ink);--muted:var(--mb-muted)}
/* Quiet navigation cards; booking/form actions keep a clear boundary. */
html body.mb-design-v3 :is(.mb-brand-card,.mb-brand-campaign-card,.merke-card,.mb-dept-card,.mb-info-cards>article,.mb-used-departments>article){background:var(--mb-surface)!important;border:1px solid var(--mb-border)!important;border-radius:7px!important;box-shadow:none!important;overflow:hidden}
html body.mb-design-v3 :is(.mb-brand-card__body,.mb-brand-campaign-card__body){padding:16px!important;gap:8px!important;background:var(--mb-surface)!important}
html body.mb-design-v3 .mb-brand-card__body h2{font-size:20px!important;line-height:1.3!important;margin:0 0 4px!important}
html body.mb-design-v3 .mb-brand-card__body p{font-size:15px;line-height:1.55;margin:0 0 8px!important;color:var(--mb-muted)}
html body.mb-design-v3 .mb-brand :is(.mb-brand-card__link,.mb-brand-campaign-card__link){display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px!important;margin-top:auto!important;padding:10px 0!important;background:transparent!important;border:0!important;border-radius:0!important;color:var(--mb-ink)!important;font-size:15px!important;line-height:1.4!important;font-weight:600!important;text-decoration:none!important;box-shadow:none!important}
html body.mb-design-v3 .mb-brand :is(.mb-brand-card__link,.mb-brand-campaign-card__link):hover{text-decoration:underline!important;text-underline-offset:4px}
html body.mb-design-v3 .mb-brand__grid{gap:18px}
html body.mb-design-v3 .mb-newcars .mb-newcars__logo{justify-content:center!important;margin:0!important}
html body.mb-design-v3 .mb-newcars .mb-newcars__logo img{object-position:center!important}
html body.mb-design-v3 :is(.mb-brand__contact,.mb-pro-page-nav,.mb-pro-support,.mb-ford-sellers,.mb-used-help,.mb-dept-info-card,.mb-mobile-fold,.verksted-kontaktkort,.mb-info-cards>article,.mb-model-edit__form,.mb-model-edit__specs){background:var(--mb-panel)!important;border-color:var(--mb-border)!important;border-radius:7px}
html body.mb-design-v3 :is(.mb-button,.mb-info-button,.mb-used-button,.wp-block-button__link){background:var(--mb-surface)!important;color:var(--mb-ink)!important;border:1px solid #b9b9b3!important;border-radius:6px!important;box-shadow:none!important;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 18px!important;font-weight:600!important;line-height:1.4!important;text-decoration:none!important}
html body.mb-design-v3 :is(.mb-button,.mb-info-button,.mb-used-button,.wp-block-button__link):hover{background:#e8eef5!important;border-color:#777!important}
html body.mb-design-v3 .wpforms-container:is(#wpforms-8742,#wpforms-8764,#wpforms-8766,#wpforms-8813){background:var(--mb-panel)!important;border-color:var(--mb-border)!important;border-radius:7px!important}
html body.mb-design-v3 .wpforms-container button.wpforms-submit{background:#202020!important;color:#fff!important;border-radius:6px!important;min-height:50px}
html body.mb-design-v3 :is(.mb-brand,.mb-model-edit,.mb-info,.mb-used-contact,.single-avdeling,.archive-avdeling,.archive) :is(a,button,summary):focus-visible{outline:3px solid #555!important;outline-offset:4px}
html body.mb-design-v3 :is(.mb-brand__intro,.mb-brand-campaigns__head){padding-top:12px;padding-bottom:20px}
html body.mb-design-v3 :is(.mb-text-link,.mb-dept-card-cta){color:var(--mb-ink)!important;min-height:44px}
html body.mb-design-v3 .archive :is(.item-link,.item-content){border-radius:7px;box-shadow:none}
html body.mb-design-v3 .archive .item-content{background:var(--mb-surface)!important;color:var(--mb-ink)!important}
html body.mb-design-v3 .archive :is(.item-title,.item-description){color:var(--mb-ink)!important}
html body.mb-design-v3 :is(.about-card,.about-end){background:var(--mb-surface)!important;border-color:var(--mb-border)!important;border-radius:7px}
html body.mb-design-v3 .single-avdeling .grupper>.gruppe{background:var(--mb-panel)!important;border-color:var(--mb-border)!important;border-radius:7px}
html body.mb-design-v3 .archive-avdeling .mb-dept-card{background:var(--mb-surface)!important}
html body.mb-design-v3 .archive-avdeling .mb-dept-card-body{gap:8px;padding:18px}
html body.mb-design-v3 .archive-avdeling .mb-dept-card-cta{font-size:15px!important;line-height:1.4!important}
html body.mb-design-v3 .merke-filter .merke-card:hover{border-color:#777!important}
html body.mb-design-v3 .mb-brand :is(.mb-brand-card,.mb-brand-campaign-card):hover{border-color:#777!important}
/* A single visible action in brand campaign cards. */
html body.mb-design-v3 .merke-filter .merke-card:after,
html body.mb-design-v3 .merke-filter .merke-card-logo:after{display:none!important;content:none!important}
html body.mb-design-v3 .merke-filter .merke-card-logo{justify-content:center!important;background:var(--mb-surface)!important}
html body.mb-design-v3 .merke-filter .mb-campaign-brand-status{padding:0 16px 12px!important;margin-top:auto}
html body.mb-design-v3 .mb-campaign-brand-status>span{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:48px;background:transparent!important;color:var(--mb-ink)!important;padding:10px 0!important;font-size:15px;line-height:1.4}
html body.mb-design-v3 .mb-campaign-brand-status>p{font-size:14px!important;line-height:1.4;margin:0!important;color:var(--mb-muted)}
/* Brand marks use optically balanced sizes rather than one misleading pixel size. */
html body.mb-design-v3 .mb-newcars .mb-newcars__logo-link{display:flex!important;align-items:center!important;justify-content:center!important;min-height:88px!important;padding:8px 10px!important;text-decoration:none!important}
html body.mb-design-v3 .mb-newcars .mb-newcars__logo{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:72px!important;min-height:72px!important;max-height:72px!important;margin:0!important;padding:0!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .merke-card .merke-card-logo{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 84px!important;height:84px!important;min-height:84px!important;max-height:84px!important;padding:6px 10px!important;margin:0!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card) :is(.mb-newcars__logo-image,.merke-card-logo img){display:block!important;width:132px!important;height:56px!important;max-width:88%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;transform:none!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card).mb-logo-ford-personbil :is(.mb-newcars__logo-image,.merke-card-logo img){width:118px!important;height:48px!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card).mb-logo-ford-nyttekjoretoy :is(.mb-newcars__logo-image,.merke-card-logo img){width:110px!important;height:68px!important;transform:scale(1.12)!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card):is(.mb-logo-ford-f-150,.mb-logo-f-150) :is(.mb-newcars__logo-image,.merke-card-logo img){width:145px!important;height:50px!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card).mb-logo-byd :is(.mb-newcars__logo-image,.merke-card-logo img){width:134px!important;height:46px!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card).mb-logo-alpine :is(.mb-newcars__logo-image,.merke-card-logo img){width:124px!important;height:68px!important;transform:scale(1.22)!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card).mb-logo-renault :is(.mb-newcars__logo-image,.merke-card-logo img){width:142px!important;height:54px!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card).mb-logo-dacia :is(.mb-newcars__logo-image,.merke-card-logo img){width:145px!important;height:50px!important}
html body.mb-design-v3 :is(.mb-newcars__card,.merke-card).mb-logo-kia :is(.mb-newcars__logo-image,.merke-card-logo img){width:112px!important;height:44px!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-campaign-brand-status{display:flex!important;align-items:flex-start!important;justify-content:center!important;flex:0 0 40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 12px 10px!important;margin:0!important;text-align:center;box-sizing:border-box!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-campaign-brand-status>p{font-size:12px!important;line-height:1.35!important;margin:0!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-logo-ford-personbil .merke-card-logo img{width:132px!important;height:54px!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-logo-ford-nyttekjoretoy .merke-card-logo img{width:118px!important;height:72px!important;transform:scale(1.12)!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter :is(.mb-logo-ford-f-150,.mb-logo-f-150) .merke-card-logo img{width:160px!important;height:54px!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-logo-byd .merke-card-logo img{width:150px!important;height:50px!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-logo-alpine .merke-card-logo img{width:132px!important;height:72px!important;transform:scale(1.22)!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-logo-renault .merke-card-logo img{width:158px!important;height:58px!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-logo-dacia .merke-card-logo img{width:160px!important;height:54px!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter .mb-logo-kia .merke-card-logo img{width:126px!important;height:48px!important}
html body.mb-design-v3 .mb-nav3-toggle{min-width:48px}
html body.mb-design-v3 #mb-footer-v2 .mb-footer-mobile :is(a,summary){min-height:48px!important}
html body.mb-design-v3 .merke-filter .merke-card{display:flex!important;flex-direction:column!important;min-width:48px;min-height:48px}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
html body.mb-design-v3.post-type-archive-kampanje .merke-filter>.col-12{width:100%!important;max-width:none!important;padding:0!important}
@media(max-width:900px){html body.mb-design-v3.post-type-archive-kampanje .merke-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){html body.mb-design-v3.post-type-archive-kampanje .merke-filter{grid-template-columns:1fr!important}}
/* Footer columns align to the logo's top edge. */
html body.mb-design-v3 #mb-footer-v2 .v2-footer .v2-inner{align-items:start;padding-top:30px!important;padding-bottom:30px!important;gap:24px}
html body.mb-design-v3 #mb-footer-v2 .v2-footer h2{margin:0 0 14px!important;padding:0!important;font-size:15px!important;line-height:1.3!important}
html body.mb-design-v3 #mb-footer-v2 .v2-footer .v2-logo{display:block;margin:0!important}
html body.mb-design-v3 #mb-footer-v2 .v2-footer a{line-height:1.4;padding:8px 0}
html body.mb-design-v3 #mb-footer-v2 .v2-social{margin-top:14px}
@media(min-width:1024px){html body.mb-design-v3 .mb-newcars .mb-brand__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:767px){
html body.mb-design-v3 :is(.mb-brand-card__body,.mb-brand-campaign-card__body){padding:12px!important;gap:6px!important}
html body.mb-design-v3 .mb-brand-card__body h2{font-size:18px!important}
html body.mb-design-v3 .mb-brand-card__body p{font-size:15px}
html body.mb-design-v3 #mb-footer-v2 .v2-footer .v2-inner{padding:24px 16px!important;gap:12px}
html body.mb-design-v3 .mb-campaign-brand-status>span{font-size:15px}
}
