/*
 * WebDrive Blue component layer.
 * Color values live only in the semantic tokens declared in style.css.
 * A future dealer theme can replace those tokens without forking components.
 */
body{background:var(--wd-color-background);color:var(--wd-color-text)}
.site-header{background:var(--wd-color-background);backdrop-filter:none}
.site-header nav,.webdrive-primary-menu .sub-menu,.nav-submenu__panel{background:var(--wd-color-background)}
.site-header nav a:hover,.site-header nav button:hover,.webdrive-primary-menu a:hover,.text-link:hover,.service-context:hover{color:var(--wd-color-interactive)}
:where(.header-cta:not([hidden]),.button:not([hidden])){display:inline-flex;align-items:center;justify-content:center;column-gap:.25em}
.submenu-toggle,.mobile-nav-cta{display:none}
.site-header .header-brand-marks{--wd-header-marks-width:400px;display:block;flex:0 1 var(--wd-header-marks-width);min-width:0;width:auto;max-width:100%;height:30px;max-height:100%;object-fit:scale-down;object-position:right center}
@media(min-width:1152px){
  .webdrive-primary-menu>.webdrive-mobile-only{display:none}
  .site-header .header-brand-marks{--wd-header-marks-width:clamp(250px,calc(86vw - 740px),430px)}
  .site-header nav{flex-shrink:0}
  .webdrive-primary-menu{flex-wrap:nowrap}
  .webdrive-primary-menu>li>a,.site-header>.site-shell>.header-cta{white-space:nowrap}
}
@media(max-width:1151px),(max-width:1440px) and (hover:none) and (pointer:coarse){
  .site-header{background:#F9FBFD;border-bottom:0;box-shadow:none;--wd-menu-top:60px}
  .site-header>.site-shell{height:60px;gap:8px}
  .site-header .custom-logo-link,.site-header .site-brand{min-width:0;max-width:45%;overflow-wrap:anywhere}
  .site-header .custom-logo{width:auto;max-width:100%;height:38px}
  .site-header .header-brand-marks{--wd-header-marks-width:400px;margin-left:auto}
  .site-header .mobile-menu{display:block;flex:0 0 44px;width:44px;height:44px;padding:10px;margin-left:auto}
  .site-header .header-brand-marks+.mobile-menu{margin-left:0}
  .site-header .mobile-menu span{width:24px}
  .webdrive-primary-menu>.webdrive-mobile-only{display:list-item}
  body.menu-open{overflow:hidden}
  .site-header nav{position:fixed;inset:var(--wd-menu-top,60px) 0 0;display:none;width:100%;height:calc(100dvh - var(--wd-menu-top,60px));max-height:none;margin:0;align-items:stretch;gap:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px var(--wd-gutter) calc(18px + env(safe-area-inset-bottom));border-bottom:1px solid var(--wd-line);background:#F9FBFD;box-shadow:none}
  .site-header nav.is-open{display:flex;flex-direction:column}
  .site-header nav a,.site-header nav button{padding:14px 0;border-bottom:1px solid var(--wd-line);text-align:left;font-size:15px}
  .site-header>.site-shell>.header-cta{display:none}
  .mobile-menu[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
  .mobile-menu[aria-expanded="true"] span:nth-child(2){opacity:0}
  .mobile-menu[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}
  .site-header nav .webdrive-primary-menu{display:grid;width:100%;flex:0 0 auto;gap:0}
  .webdrive-primary-menu .sub-menu{position:static;display:grid;min-width:0;padding:4px 0 4px 14px;border:0;border-top:1px solid var(--wd-line);box-shadow:none}
  .webdrive-primary-menu .sub-menu a{font-size:14px}
  .nav-submenu__panel{position:static;display:grid;box-shadow:none;border:0;border-top:1px solid var(--wd-line);padding:4px 0 4px 14px}
  .has-js .webdrive-primary-menu>.menu-item-has-children{display:grid;grid-template-columns:minmax(0,1fr) 44px}
  .has-js .webdrive-primary-menu>.menu-item-has-children>a{min-width:0;grid-column:1;grid-row:1}
  .has-js .webdrive-primary-menu>.menu-item-has-children>a:after{display:none}
  .site-header nav .submenu-toggle{display:grid;width:44px;min-height:44px;grid-column:2;grid-row:1;place-items:center;padding:0;border:0;border-bottom:1px solid var(--wd-color-border);background:transparent;color:var(--wd-color-text);font:700 18px/1 var(--wd-font)}
  .site-header nav .submenu-toggle[hidden]{display:none}
  .submenu-toggle span{width:12px;height:7px;font-size:0;background:currentColor;clip-path:polygon(0 0,50% 71%,100% 0,100% 29%,50% 100%,0 29%);transition:transform var(--wd-ease)}
  .submenu-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
  .has-js .webdrive-primary-menu>.menu-item-has-children>.sub-menu{grid-column:1/-1}
  .has-js .webdrive-primary-menu>.menu-item-has-children>.sub-menu[hidden]{display:none!important}
  .has-js .webdrive-primary-menu>.menu-item-has-children.is-submenu-open>.sub-menu:not([hidden]){display:grid}
  .site-header nav .mobile-nav-cta{display:inline-flex;width:100%;min-height:44px;flex:0 0 auto;align-items:center;justify-content:center;margin-top:auto;padding:11px 16px;border:1px solid var(--wd-color-primary);background:var(--wd-color-primary);color:var(--wd-color-brand-contrast);font:800 13px var(--wd-font);text-align:center}
  .site-header nav .mobile-nav-cta:hover{border-color:var(--wd-color-interactive);background:var(--wd-color-interactive);color:var(--wd-color-brand-contrast)}
}
.header-brand-bar{display:none}
@media(max-width:599px),(max-width:1151px) and (max-height:599px) and (hover:none) and (pointer:coarse){
  .site-header{position:sticky;top:0;--wd-menu-top:52px}
  .site-header>.site-shell{height:52px;width:calc(100% - 24px)}
  .site-header .custom-logo-link,.site-header .site-brand{flex:0 1 clamp(90px,25vw,100px)}
  .site-header .custom-logo{width:100%;height:auto;max-height:38px}
  .site-header .header-brand-marks{--wd-header-marks-width:195px;height:24px}
}
select,input,textarea{border-color:var(--wd-color-border-strong);background:var(--wd-color-surface);color:var(--wd-color-text)}
select:disabled,input:disabled,textarea:disabled{border-color:var(--wd-color-border);background:var(--wd-color-surface-alt);color:var(--wd-color-text-muted);opacity:1}
select:focus,input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline-color:var(--wd-color-focus)}
/* Canonical CTA roles: one palette across templates and Gutenberg content. */
.header-cta,.button,.editorial-content .wp-block-button__link{border-color:var(--wd-color-primary);background:var(--wd-color-primary);color:var(--wd-color-brand-contrast)}
.header-cta:hover,.button:hover,.editorial-content .wp-block-button__link:hover{border-color:var(--wd-color-interactive);background:var(--wd-color-interactive);color:var(--wd-color-brand-contrast)}
.header-cta:focus-visible,.button:focus-visible,.editorial-content .wp-block-button__link:focus-visible{outline-color:var(--wd-color-focus)}
.button--secondary{border-color:var(--wd-color-primary);background:var(--wd-color-surface);color:var(--wd-color-primary)}
.button--secondary:hover{border-color:var(--wd-color-interactive);background:var(--wd-color-surface-alt);color:var(--wd-color-interactive)}
.button--quiet{border-color:transparent;background:transparent;color:var(--wd-color-primary)}
.button--quiet:hover{border-color:var(--wd-color-border);background:var(--wd-color-surface-alt);color:var(--wd-color-primary)}
/* Design System: native WebDrive selects use one small, consistently inset chevron. */
.site-main select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23243746' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:10px 6px}
.vehicle-filters,.vehicle-filters--grouped,.vehicle-card,.technical-specs div,.mobile-actions,.gallery-thumbs button,.wanted-dialog,.lab-card,.lab-tools button,.lab-tools select{background:var(--wd-color-surface)}
.zero-results,.technical-specs div,.equipment section,.home-reasons{--wd-muted:var(--wd-color-text-muted-on-alt)}
.vehicle-card__image,.gallery-main,.lab-photo,.service-hero{background:var(--wd-color-surface-alt)}
.vehicle-card__facts,.equipment ul{color:var(--wd-color-text)}
.vehicle-card__facts li+li:before{background:var(--wd-color-accent)}
.wd-icon{color:var(--wd-color-text-muted)}
.filter-group .wd-icon,.service-card .wd-icon,.service-detail>.wd-icon,.service-benefits .wd-icon,.home-reasons__list .wd-icon{color:var(--wd-color-interactive)}
.availability{color:var(--wd-color-success)}
.filter-head,.filter-actions{background:var(--wd-color-surface-alt)}
.vehicle-filters--grouped .filter-actions{padding:12px;gap:8px}
@media(max-width:599px){.vehicle-filters--grouped .filter-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}}
.active-filters a{background:var(--wd-color-surface-alt);color:var(--wd-color-text)}
.site-footer{border-top:1px solid var(--wd-color-primary);background:var(--wd-color-primary);color:var(--wd-color-surface-alt)}
.site-footer a{color:var(--wd-color-background)}
.site-footer__column h2{color:var(--wd-color-background)}
.site-footer__address,.site-footer__legal{color:var(--wd-color-border)}
.site-footer__address a,.site-footer__nav a,.site-footer__link{color:var(--wd-color-background)}
.site-footer__address a:hover,.site-footer__nav a:hover,.site-footer__link:hover{color:var(--wd-color-accent)}
.site-footer .site-footer__address a:focus-visible,.site-footer .site-footer__nav a:focus-visible,.site-footer .site-footer__link:focus-visible{outline:3px solid var(--wd-color-accent);outline-offset:3px}
.site-footer__legal{border-top-color:rgb(216 227 234 / .28)}
.site-footer{padding:36px 0 0}
.site-footer .site-footer__grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:32px;padding-bottom:24px}
.site-footer .site-footer__grid--no-socials{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.site-footer__dealer-name{font-weight:600}
.site-footer__quick-actions{display:grid;gap:0;margin-top:8px}
.site-footer__quick-actions a{display:flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;overflow-wrap:anywhere;min-width:0}
.site-footer svg{display:block;flex:0 0 22px;width:22px;height:22px}
.site-footer__action-label{display:none}
.site-footer__quick-actions .site-footer__mobile-directions,.site-footer__directions-label{display:none}
.site-footer__action-detail{min-width:0}
.site-footer__hours summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:none}
.site-footer__hours summary::-webkit-details-marker{display:none}
.site-footer__hours summary:after{content:'⌄';font-size:18px}
.site-footer__hours[open] summary:after{content:'⌃'}
.site-footer__hours h3{margin:12px 0 6px;font-size:13px;font-weight:600;color:inherit;letter-spacing:0}
.site-footer__hours p{display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:space-between;margin:4px 0;font-size:12px}
.site-footer__information-links{list-style:none;margin:0;padding:0}
.site-footer__information-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.site-footer__blog-title a{font:inherit}
.site-footer__social-links{display:flex;flex-wrap:wrap;gap:8px}
.site-footer__social-links a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;text-decoration:none}
.site-footer__social-links span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.site-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:24px;border-top:1px solid rgb(216 227 234 / .28);padding:12px 0}
.site-footer .site-footer__legal{border:0;padding:0;font-size:12px;line-height:1.7}
.site-footer__legal-group{display:inline-block;max-width:100%;vertical-align:top;overflow-wrap:anywhere;margin-inline-end:.5em}
.site-footer__policies{display:flex;flex-wrap:wrap;gap:4px 16px}
.site-footer__policies a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;text-decoration:none}
.site-footer a:focus-visible,.site-footer summary:focus-visible{outline:2px solid var(--wd-color-accent);outline-offset:3px}
.site-footer .site-footer__grid--wide{display:none}
.site-footer__grid--narrow .site-footer__latest-article{display:inline-flex;align-items:center;gap:8px;max-width:100%;overflow-wrap:anywhere}
.site-footer__grid--narrow .site-footer__latest-article img{flex:none;width:44px;height:32px;object-fit:cover}
.site-footer .site-footer__grid--narrow{grid-template-columns:repeat(2,minmax(0,1fr))}
.site-footer__discover ul{display:grid;list-style:none;margin:0;padding:0}
.site-footer__discover a{display:inline-flex;align-items:center;min-height:32px;margin:0;text-decoration:none}
.site-footer__discover a:hover{text-decoration:none}
@media(min-width:600px){
  .site-footer{padding:20px 0 0}
  .site-footer .site-footer__grid--narrow{display:none}
  .site-footer .site-footer__grid--wide{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-bottom:12px}
  .site-footer__grid--wide .site-footer__column h2{margin-bottom:8px}
  .site-footer__grid--wide a{margin:0;overflow-wrap:anywhere;text-decoration:none}
  .site-footer__grid--wide h2 a{font:inherit}
  .site-footer__grid--wide .site-footer__address{gap:3px}
  .site-footer__grid--wide .site-footer__quick-actions{margin-top:0;justify-items:start}
  .site-footer__grid--wide .site-footer__address + .site-footer__quick-actions{margin-top:4px}
  .site-footer__grid--wide .site-footer__quick-actions a{min-height:32px;max-width:100%}
  .site-footer__grid--wide .site-footer__hours{inline-size:fit-content;max-inline-size:100%}
  .site-footer__grid--wide .site-footer__hours summary{width:max-content;max-width:100%;justify-content:flex-start;gap:8px;min-height:36px}
  .site-footer__grid--wide .site-footer__hours summary::after{content:"";width:7px;height:7px;flex:none;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
  .site-footer__grid--wide .site-footer__hours[open] summary::after{transform:translateY(2px) rotate(225deg)}
  .site-footer__grid--wide .site-footer__hours h3{margin:6px 0 2px}
  .site-footer__grid--wide .site-footer__hours p{gap:2px 10px;justify-content:flex-start;margin:2px 0;line-height:1.4}
  .site-footer__latest-article{display:inline-flex;align-items:center;gap:10px;min-height:32px;max-width:100%}
  .site-footer__latest-article img{flex:none;width:64px;height:44px;object-fit:cover}
  .site-footer__social-group{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-top:12px}
  .site-footer__social-group h3{margin:0;font-size:13px;font-weight:600;line-height:1.4;color:inherit;letter-spacing:0}
  .site-footer__social-group .site-footer__social-links{gap:12px}
  .site-footer__bottom{padding:6px 0}
}
@media(min-width:600px) and (max-width:1023px),(min-width:1024px) and (max-width:1151px) and (orientation:portrait),(min-width:600px) and (max-width:1366px) and (pointer:coarse){
  .site-footer .site-footer__grid--wide{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
}
@media(max-width:599px){
  .site-footer{padding:20px 0}
  .site-footer .site-footer__grid--narrow{grid-template-columns:minmax(0,1fr) auto}
  .site-footer__discover{grid-column:1/-1;order:5;border-top:1px solid rgb(216 227 234 / .28);padding-top:var(--wd-footer-mobile-gap)}
  .site-footer__discover ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
  .site-footer__discover a{min-height:44px}
  .site-footer>.site-shell{width:calc(100% - 32px)}
  .site-footer a{margin:0}
  .site-footer .site-footer__grid,.site-footer .site-footer__grid--no-socials{--wd-footer-mobile-gap:12px;grid-template-columns:minmax(0,1fr) auto;gap:var(--wd-footer-mobile-gap) 8px;padding-bottom:12px}
  .site-footer__column>h2{display:none}
  .site-footer__discover>h2,.site-footer__column .site-footer__blog-title{display:block;margin-bottom:4px}
  .site-footer__blog-title a{align-items:start;min-height:30px}
  .site-footer__grid--narrow .site-footer__latest-article{margin-top:0}
  .site-footer__column:first-child{grid-column:1/-1;order:1}
  .site-footer__information{display:contents}
  .site-footer__hours{grid-column:1/-1;order:2;border-block:1px solid rgb(216 227 234 / .28)}
  .site-footer__hours[open]{padding-bottom:12px}
  .site-footer__hours summary::after{transform:translateY(-5px)}
  .site-footer__hours[open] summary::after{transform:translateY(3px)}
  .site-footer__address{font-size:13px;line-height:1.4;gap:4px;text-align:left}
  .site-footer__dealer-name{font-size:15px}
  .site-footer__quick-actions{display:flex;gap:4px;margin-top:12px}
  .site-footer__quick-actions a{flex:1 1 0;flex-direction:column;justify-content:center;gap:2px;min-width:44px;min-height:44px;font-size:12px;line-height:18px}
  .site-footer__action-label{display:block}
  .site-footer__quick-actions .site-footer__mobile-directions{display:flex}
  .site-footer__directions-label{display:block}
  .site-footer__action-label:has(+.site-footer__directions-label){display:none}
  .site-footer__action-detail{display:none}
  .site-footer__information-links{grid-column:1;order:3;display:flex;flex-direction:column;align-items:flex-start;font-size:13px;min-width:0}
  .site-footer__grid--no-socials .site-footer__information-links{grid-column:1/-1}
  .site-footer__social{grid-column:2;order:3;display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0}
  .site-footer__social>h2{display:block;margin:0;font-size:12px;font-weight:600;line-height:1.4;letter-spacing:0;text-transform:none}
  .site-footer__social-links{justify-content:flex-end;gap:0}
  .site-footer__social--expanded{grid-column:1/-1;order:4}
  .site-footer__bottom{flex-direction:column;gap:0;justify-content:center;text-align:center;padding:0;border-top:1px solid rgb(216 227 234 / .28)}
  .site-footer__policies{order:1;justify-content:center;flex-wrap:nowrap;gap:16px}
  .site-footer .site-footer__legal{order:2;width:100%;margin:0;font-size:11.5px;line-height:1.5}
  .site-footer__legal-group{display:inline;margin-inline-end:0}
  body:has(.mobile-actions) .site-footer{padding-bottom:82px}
}
.webdrive-back-to-top{display:none}
@media(hover:hover) and (pointer:fine){
  .webdrive-back-to-top:not([hidden]){position:fixed;inset:auto 24px 24px auto;z-index:3;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:4px;background:var(--wd-color-primary,#17324D);color:#fff;cursor:pointer}
  .webdrive-back-to-top:hover{background:var(--wd-color-interactive,#32658A)}
  .webdrive-back-to-top:focus-visible{outline:2px solid var(--wd-color-interactive,#32658A);outline-offset:3px}
  body.menu-open .webdrive-back-to-top:not([hidden]),body:has(dialog[open]) .webdrive-back-to-top:not([hidden]){display:none}
}
.wanted-dialog::backdrop{background:rgb(23 50 77 / .68)}
.lab-card--b .lab-copy p,.lab-card--b .lab-copy small,.listing-lab--b>header>p:not(.kicker){color:var(--wd-color-border)}
.lab-card--b .lab-copy strong{color:var(--wd-color-accent)}

.service-hero.service-hero--editorial{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}

/* Gutenberg-native promotion cards for the dealer service page. */
.wd-service-promotions{width:min(var(--wd-container),calc(100vw - (var(--wd-gutter) * 2)));margin:32px 0 26px}
.wd-service-promotions__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}
.wd-service-promotion-card{display:flex;min-width:0;min-height:220px;align-items:center;padding:24px 22px;border:1px solid var(--wd-color-border);border-top:3px solid var(--wd-color-interactive);background:var(--wd-color-surface)}
.wd-service-promotion-card__inner{display:grid!important;width:100%;grid-template-columns:62px minmax(0,1fr);gap:20px;align-items:center}
.wd-service-promotion-card__icon{display:grid!important;width:62px;min-height:72px;place-items:center;border-right:1px solid var(--wd-color-border)}
.wd-service-promotion-card__icon:before{display:block;width:42px;height:42px;background:var(--wd-color-interactive);content:"";-webkit-mask:var(--wd-promotion-icon) center/contain no-repeat;mask:var(--wd-promotion-icon) center/contain no-repeat}
.wd-service-promotion-card--car{--wd-promotion-icon:url("../icons/phosphor/car.svg")}
.wd-service-promotion-card--brake{--wd-promotion-icon:url("../icons/phosphor/disc.svg")}
.wd-service-promotion-card--oil{--wd-promotion-icon:url("../icons/phosphor/gas-can.svg")}
.wd-service-promotion-card__copy{min-width:0}
.editorial-content .wd-service-promotion-card__label{margin:0;color:var(--wd-color-primary);font-size:20px;font-weight:700;line-height:1.18;letter-spacing:-.025em}
.editorial-content .wd-service-promotion-card__value{margin:14px 0 0;color:var(--wd-color-interactive);font-size:48px;font-weight:850;line-height:.9;letter-spacing:-.055em;text-transform:uppercase}
.wd-service-promotions__footer{display:flex!important;width:min(var(--wd-container),calc(100vw - (var(--wd-gutter) * 2)));align-items:center;justify-content:space-between;gap:22px;margin:30px 0 0;padding-top:26px;border-top:1px solid var(--wd-color-border)}
.editorial-content .wd-service-promotions__footer-text{max-width:590px;margin:0;color:var(--wd-color-text-muted);font-size:19px;line-height:1.45}
.editorial-content .wd-service-promotions__cta{flex:0 0 auto;margin:0}
@media(max-width:1199px){
  .wd-service-promotions{width:100%;margin:25px 0 22px}
  .wd-service-promotions__grid{grid-template-columns:1fr;gap:10px}
  .wd-service-promotion-card{min-height:150px;padding:22px}
  .wd-service-promotion-card__inner{grid-template-columns:68px minmax(0,1fr)}
  .wd-service-promotion-card__icon{width:68px}
  .wd-service-promotions__footer{width:100%;align-items:flex-start;flex-direction:column;margin-top:25px;padding-top:22px}
  .editorial-content .wd-service-promotions__cta{margin:0}
}
@media(max-width:599px){
  .wd-service-promotion-card{min-height:132px;padding:19px 17px}
  .wd-service-promotion-card__inner{grid-template-columns:54px minmax(0,1fr);gap:16px}
  .wd-service-promotion-card__icon{width:54px;min-height:62px}
  .wd-service-promotion-card__icon:before{width:36px;height:36px}
  .editorial-content .wd-service-promotion-card__label{font-size:18px}
  .editorial-content .wd-service-promotion-card__value{margin-top:10px;font-size:42px}
  .editorial-content .wd-service-promotions__footer-text{font-size:17px}
  .editorial-content .wd-service-promotions__cta,.editorial-content .wd-service-promotions__cta .wp-block-button{width:100%}
  .editorial-content .wd-service-promotions__cta .wp-block-button__link{width:100%}
}

/* Home Lab consumes the same canonical tokens as the public components. */
.home-lab-page .site-main{padding-bottom:0}
.home-lab-page .home-lab{--home-ink:#fff;--home-panel:var(--wd-color-background);--home-line:var(--wd-color-border);background:var(--wd-color-background)}
[data-home-search]{padding-top:5px;padding-bottom:23px}
[data-home-search] .home-search__fields{grid-template-columns:minmax(0,.75fr) minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.35fr) auto}
[data-home-search] .home-search__fields label{min-width:0}
@media(max-width:1199px){[data-home-search]{padding-top:9px;padding-bottom:27px}[data-home-search] .home-search__fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){[data-home-search]{padding-top:13px;padding-bottom:31px}[data-home-search] .home-search__fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){[data-home-search]{padding-top:24px;padding-bottom:40px}[data-home-search] .home-search__fields{grid-template-columns:1fr}}
.home-lab-page .home-hero{background:var(--wd-color-primary)}
.home-lab-page .home-hero__scrim{background:linear-gradient(90deg,rgb(23 50 77/.84) 0%,rgb(23 50 77/.54) 42%,rgb(23 50 77/.12) 76%),linear-gradient(0deg,rgb(23 50 77/.44),transparent 48%)}
.home-lab-page .home-hero__controls{border-color:rgb(237 244 248/.42);background:rgb(23 50 77/.72)}
.home-lab-page .home-hero__controls>button:hover{background:rgb(142 188 211/.18)}
.home-lab-page .home-hero__controls>button:last-child{border-left-color:rgb(237 244 248/.38)}
.home-lab-page .home-hero__dots button::after{background:rgb(142 188 211/.72)}
.home-lab-page .home-search__box{background:var(--wd-color-background);box-shadow:0 16px 38px rgb(23 50 77/.16)}
.home-lab-page .home-search__fields select,.home-lab-page .home-stock .vehicle-card{background:var(--wd-color-surface)}
.home-lab-page .home-stock .vehicle-card{border-color:var(--wd-color-border)}
.home-lab-page .home-stock .vehicle-card__image{background:var(--wd-color-surface-alt)}
.home-lab-page .home-stock .vehicle-card__facts{color:var(--wd-color-text)}

.home-lab-page .home-reasons{--wd-muted:var(--wd-color-text-muted-on-alt);--home-reasons-surface:var(--wd-color-surface-alt);--home-reasons-media:var(--wd-color-border);--home-reasons-muted:var(--wd-color-text-muted-on-alt);background:var(--wd-color-surface-alt)}
.home-lab-page .home-reasons__placeholder{background:linear-gradient(145deg,var(--wd-color-border) 0 48%,var(--wd-color-background) 48% 100%)}
.home-lab-page .home-reasons__intro{color:var(--wd-color-text)}
.home-lab-page .home-reasons__list,.home-lab-page .home-reasons__list li{border-color:rgb(23 50 77/.16)}
.home-lab-page .home-trade{background:var(--wd-color-primary)}
.home-lab-page .home-trade__eyebrow{color:var(--wd-color-accent)}
.home-lab-page .home-trade__content>p:last-child{color:var(--wd-color-border)}
.home-lab-page .home-trade__cta{border-color:var(--wd-color-surface);background:var(--wd-color-surface);color:var(--wd-color-primary)}
.home-lab-page .home-trade__cta:hover{border-color:var(--wd-color-surface-alt);background:var(--wd-color-surface-alt);color:var(--wd-color-primary)}

/* HOME-06 — services and aftersales. */
.home-services{padding:clamp(64px,7vw,96px) 0;background:var(--wd-color-background)}
.home-services__header{max-width:720px;margin:0 auto 34px;text-align:center}
.home-services__header .kicker{color:var(--wd-color-interactive)}
.home-services__header h2{margin:0;font-size:clamp(34px,3.5vw,48px)}
.home-services__header>p:last-child{margin:13px 0 0;color:var(--wd-color-text-muted);font-size:17px}
.home-services__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.home-service-card{display:flex;min-width:0;min-height:244px;grid-column:span 2;flex-direction:column;padding:24px;border:1px solid var(--wd-color-border);background:var(--wd-color-surface);color:var(--wd-color-text);text-decoration:none;transition:border-color var(--wd-ease),box-shadow var(--wd-ease),transform var(--wd-ease)}
.home-service-card:nth-child(4){grid-column:2/span 2}
.home-service-card:nth-child(5){grid-column:4/span 2}
.home-service-card:hover{border-color:var(--wd-color-interactive);box-shadow:0 12px 28px rgb(23 50 77/.09);transform:translateY(-3px)}
.home-service-card .wd-icon{width:25px;height:25px;color:var(--wd-color-interactive)}
.home-service-card .wd-icon--service,.service-card .wd-icon--service{width:28px;height:28px;color:var(--wd-color-primary)}
.home-service-card h3{margin:30px 0 8px;font-size:21px;letter-spacing:-.025em}
.home-service-card p{margin:0;color:var(--wd-color-text-muted);font-size:14px;line-height:1.5}
.home-service-card span{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:20px;color:var(--wd-color-interactive);font-size:12px;font-weight:850}
.home-service-card b{font-size:15px;transition:transform var(--wd-ease)}
.home-service-card:hover b{transform:translateX(3px)}
.home-services__actions{display:flex;justify-content:center;margin-top:32px}
.home-services__actions .button{display:inline-flex;align-items:center;gap:10px}
@media(max-width:1119px){.home-services__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-service-card,.home-service-card:nth-child(4){grid-column:auto}.home-service-card:nth-child(5){width:calc(50% - 8px);grid-column:1/-1;justify-self:center}}
@media(max-width:599px){.home-services{padding:54px 0 66px}.home-services__header{margin-bottom:25px;text-align:left}.home-services__header>p:last-child{font-size:15px}.home-services__grid{grid-template-columns:1fr;gap:12px}.home-service-card,.home-service-card:nth-child(5){width:100%;min-height:0;grid-column:auto;padding:21px}.home-service-card h3{margin-top:22px}.home-service-card span{padding-top:17px}.home-services__actions{margin-top:24px}.home-services__actions .button{width:100%;justify-content:center}}

/* HOME-08 — dealer location and opening hours. */
.home-location{padding:clamp(64px,7vw,96px) 0;background:var(--wd-color-surface-alt);border-top:1px solid var(--wd-color-border)}
.home-location__layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:clamp(44px,6vw,88px);align-items:stretch}
.home-location__content{align-self:center;min-width:0}
.home-location__eyebrow{margin:0 0 10px;color:var(--wd-color-interactive);font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.home-location__content h2{margin:0;font-size:clamp(38px,4vw,54px)}
.home-location__address{display:grid;gap:5px;margin:22px 0 0;font-style:normal}
.home-location__address>strong{font-size:18px}
.home-location__address>span:not(.home-location__contacts){color:var(--wd-color-text-muted-on-alt)}
.home-location__contacts{display:flex;flex-wrap:wrap;gap:5px 22px;margin-top:9px}
.home-location__contacts a{display:inline-flex;min-height:44px;align-items:center;color:var(--wd-color-interactive);font-size:15px;font-weight:800;text-decoration-thickness:1px;text-underline-offset:4px}
.home-location__contacts a:hover{color:var(--wd-color-primary)}
.home-location__hours{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:25px}
.home-location__hours section{padding:17px 18px;border:1px solid var(--wd-color-border);background:var(--wd-color-surface)}
.home-location__hours h3{margin:0 0 10px;color:var(--wd-color-text-muted);font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.home-location__hours p{display:grid;gap:3px;margin:0;font-size:13px}
.home-location__hours p+p{margin-top:10px}
.home-location__hours strong{font-size:14px;line-height:1.45}
.home-location__cta{display:inline-flex;align-items:center;gap:10px;margin-top:26px}
.home-location__preview{position:relative;display:flex;min-width:0;min-height:410px;flex-direction:column;justify-content:flex-end;overflow:hidden;padding:34px;border:1px solid var(--wd-color-primary);border-radius:var(--wd-radius);background:var(--wd-color-primary) url('../images/mappa.webp') center/cover no-repeat;color:#fff;isolation:isolate}
.home-location__marker{position:absolute;top:34px;left:34px;display:grid;width:54px;height:54px;place-items:center;border:1px solid rgb(237 244 248/.28);background:rgb(249 251 253/.08)}
.home-location__marker .wd-icon{width:28px;height:28px;color:var(--wd-color-accent)}
.home-location__map-consent{display:flex;min-height:340px;flex-direction:column;justify-content:flex-end}
.home-location__map-heading{display:contents}
.home-location__map-heading>p{margin:0 0 7px;color:var(--wd-color-accent);font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.home-location__place h3{margin:0;color:#fff;font-size:clamp(30px,3vw,42px)}
.home-location__place>span{display:block;margin-top:5px;color:var(--wd-color-border);font-size:15px}
.home-location__map-load{display:inline-flex;min-height:48px;align-items:center;justify-content:space-between;gap:18px;margin-top:28px;padding:0 17px;border:1px solid rgb(237 244 248/.5);background:transparent;color:#fff;font:850 13px var(--wd-font);cursor:pointer}
.home-location__map-load:hover{border-color:var(--wd-color-surface);background:var(--wd-color-surface);color:var(--wd-color-primary)}
.home-location__map-load:disabled{cursor:wait;opacity:.68}
.home-location__map-notice{max-width:36ch;margin:10px 0 0;color:var(--wd-color-border);font-size:11px;line-height:1.45}
.home-location__map-status{position:absolute;z-index:2;inset:50% auto auto 50%;margin:0;color:#fff;font-size:13px;font-weight:800;transform:translate(-50%,-50%)}
.home-location__map-frame{position:absolute;z-index:1;inset:0;display:block;width:100%;height:100%;border:0;background:var(--wd-color-surface-alt);touch-action:pan-y pinch-zoom}
.home-location__preview.is-map-loaded{padding:0;background:var(--wd-color-surface-alt)}
.home-location__map-noscript{margin:14px 0 0;color:var(--wd-color-border);font-size:12px}
.home-location__cta span{transition:transform var(--wd-ease)}
.home-location__cta:hover span{transform:translate(2px,-2px)}
@media(max-width:899px){.home-location__layout{grid-template-columns:1fr;gap:38px}.home-location__content{max-width:720px}.home-location__preview{min-height:320px}.home-location__hours{max-width:720px}}
@media(max-width:599px){.home-location{padding:54px 0}.home-location__layout{gap:30px}.home-location__content h2{font-size:35px}.home-location__address{margin-top:17px}.home-location__address>strong{font-size:16px}.home-location__contacts{display:grid;gap:0;margin-top:7px}.home-location__contacts a{max-width:100%;overflow-wrap:anywhere}.home-location__hours{grid-template-columns:1fr;gap:10px;margin-top:19px}.home-location__hours section{padding:15px 16px}.home-location__cta{width:100%;min-height:48px;justify-content:center;margin-top:20px}.home-location__preview{min-height:280px;padding:25px}.home-location__map-consent{min-height:228px}.home-location__marker{top:25px;left:25px;width:48px;height:48px}.home-location__marker .wd-icon{width:25px;height:25px}.home-location__place h3{font-size:32px}.home-location__map-load{width:100%;margin-top:23px}.home-location__map-notice{font-size:10px}}

@media(max-width:599px){.home-location__map-heading{display:flex;align-items:center;gap:12px;min-width:0;margin-bottom:7px}.home-location__map-heading>p{min-width:0;margin:0;overflow-wrap:anywhere}.home-location__marker{position:static;flex:0 0 32px;width:32px;height:32px}.home-location__marker .wd-icon{width:22px;height:22px}}

.home-hero__content .home-hero__title{max-width:660px;margin:0;color:#fff}

@media(prefers-reduced-motion:reduce){.home-service-card,.home-service-card b,.home-location__map-load span,.home-location__cta span{transition:none}.home-service-card:hover{transform:none}.home-location__map-load:hover span,.home-location__cta:hover span{transform:none}}
