/* Future Earth by V. Sarela, licensed under CC BY-ND 3.0. */
@font-face {
  font-display: swap;
  font-family: "Future Earth";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/future-earth/future-earth.ttf") format("truetype");
}

.autotradingsxm-home .wp-site-blocks,
.autotradingsxm-home main,
.autotradingsxm-home .entry-content {
  margin: 0;
  padding: 0;
}

.autotradingsxm-home {
  --auto-section-content: 1360px;
  overflow-x: clip;
  overflow-y: visible;
}

body.autotradingsxm-home {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 600px) {
  html {
    max-width: 100%;
    overflow-x: hidden;
  }
}

.autotradingsxm-home .wp-site-blocks,
.autotradingsxm-home main,
.autotradingsxm-home .entry-content,
.autotradingsxm-home .auto-hero .wp-block-cover__inner-container,
.autotradingsxm-home .auto-hero__content,
.autotradingsxm-home .auto-search,
.autotradingsxm-home .auto-search__panel,
.autotradingsxm-home .auto-search__grid {
  overflow: visible !important;
}

.autotradingsxm-home .auto-hero.wp-block-cover {
  contain: none !important;
  isolation: auto !important;
  overflow: visible !important;
  z-index: 1000 !important;
}

.autotradingsxm-home .auto-header {
  isolation: isolate;
  z-index: 2000 !important;
}

.autotradingsxm-home .auto-search {
  z-index: 1100 !important;
}

.autotradingsxm-home .auto-search__panel,
.autotradingsxm-home .auto-search__grid,
.autotradingsxm-home .auto-search__field:has(.auto-custom-select.is-open),
.autotradingsxm-home .auto-custom-select.is-open,
.autotradingsxm-home .auto-custom-select.is-open .auto-custom-select__list {
  z-index: 1200 !important;
}

.autotradingsxm-home .auto-featured {
  isolation: auto !important;
  z-index: 0 !important;
}

.autotradingsxm-home .wp-site-blocks > *,
.autotradingsxm-home main > *,
.autotradingsxm-home .entry-content > * {
  margin-block: 0;
}

.autotradingsxm-home :where(.auto-header, .auto-hero, .auto-services, .auto-featured, .auto-story, .auto-footer) {
  box-sizing: border-box;
  margin-inline: 0 !important;
  max-width: none !important;
  width: 100%;
}

.auto-header {
  background: #000;
  box-sizing: border-box;
  color: #fff;
  margin-inline: 0 !important;
  max-width: none !important;
  min-height: 88px;
  overflow: visible;
  padding: 10px var(--ws-gutter);
  position: relative;
  width: 100%;
  z-index: 20;
}

.auto-header__inner {
  align-items: center;
  box-sizing: content-box !important;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--ws-content);
  min-height: 68px;
  padding-left: 0;
  position: relative;
}

.auto-logo {
  box-sizing: border-box;
  display: block;
  height: 70px;
  margin: 0;
  width: 70px;
}

.auto-header .auto-logo {
  flex: 0 0 auto;
  height: 98px;
  margin-block: -17px;
  top: 10px;
  position: relative;
  width: 260px;
  z-index: 22;
}

.auto-logo img { background: #000; display: block; height: 100%; object-fit: contain; width: 100%; }
.auto-header .auto-logo img { border-radius: 32px; }

.auto-nav { align-items: center; display: flex; flex: 1; gap: clamp(16px, 2.4vw, 34px); justify-content: center; }
.auto-nav a { color: #fff; font-size: 12px; font-weight: 700; padding-block: 8px; position: relative; text-decoration: none; text-transform: uppercase; }
.auto-nav a::after { background: var(--ws_rouge); bottom: 2px; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; width: 100%; }
.auto-nav a:hover::after,
.auto-nav a:focus-visible::after,
.auto-nav a[aria-current="page"]::after,
.auto-nav a.is-current::after,
.auto-nav .current-menu-item > a::after { transform: scaleX(1); }
.autotradingsxm-home:has(#vehicules:target) .auto-nav a[href="#vehicules"]::after,
.autotradingsxm-home:has(#services:target) .auto-nav a[href="#services"]::after,
.autotradingsxm-home:has(#apropos:target) .auto-nav a[href="#apropos"]::after,
.autotradingsxm-home:has(#contact:target) .auto-nav a[href="#contact"]::after { transform: scaleX(1); }
.auto-header__actions { align-items: center; display: flex; gap: 14px; }
.auto-header__cta .wp-block-button__link { min-height: 42px; padding: 8px 16px; }
.auto-header-contact { background: var(--ws_rouge); color: #fff; font-size: 12px; font-weight: 800; padding: 13px 18px; text-decoration: none; text-transform: uppercase; }
.auto-language { background: #07090b; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 11px; font-weight: 800; height: 42px; padding: 0 24px 0 10px; text-transform: uppercase; }
.auto-language:focus-visible { border-color: var(--ws_rouge); outline: 2px solid var(--ws_rouge); outline-offset: 2px; }
.auto-menu-toggle { align-items: center; background: transparent; border: 1px solid rgba(255,255,255,.35); cursor: pointer; display: none; flex-direction: column; gap: 5px; height: 42px; justify-content: center; padding: 0; width: 44px; }
.auto-menu-toggle > span:not(.screen-reader-text) { background: #fff; display: block; height: 2px; transition: transform .2s ease, opacity .2s ease; width: 20px; }
.auto-menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.auto-menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.auto-menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

.auto-hero {
  background: #080b0e url("../images/hero-marigot-jeep-day.webp") center / cover no-repeat;
  min-height: 640px;
}

.auto-hero .wp-block-cover__image-background { height: calc(100% + 52px); object-position: center center; top: -52px; transform: translateY(-24px) scale(1.045); transform-origin: center center; }
.auto-hero::before {
  background: linear-gradient(180deg, #000 0, #000 62px, rgba(0,0,0,.82) 118px, rgba(0,0,0,.46) 188px, rgba(0,0,0,.16) 258px, transparent 320px);
  content: "";
  height: 320px;
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 140px), rgba(0,0,0,.55) calc(100% - 70px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 140px), rgba(0,0,0,.55) calc(100% - 70px), transparent 100%);
  pointer-events: none;
  position: absolute;
  top: 0;
  width: calc(max(var(--ws-gutter), calc((100% - var(--ws-content)) / 2)) + 276px);
  z-index: 1;
}
.auto-hero::after {
  background:
    linear-gradient(0deg, #000 0, rgba(0,0,0,.84) 24%, rgba(0,0,0,.52) 52%, rgba(0,0,0,.2) 76%, transparent 100%),
    radial-gradient(ellipse 62% 125% at 16% 100%, #000 0, rgba(0,0,0,.94) 23%, rgba(0,0,0,.68) 46%, rgba(0,0,0,.3) 64%, transparent 82%);
  bottom: 0;
  content: "";
  height: 300px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 2;
}
.auto-hero .wp-block-cover__background {
  background:
    radial-gradient(ellipse 115% 500px at 100% 0, rgba(0,0,0,.96) 0, rgba(0,0,0,.88) 12%, rgba(0,0,0,.72) 28%, rgba(0,0,0,.52) 45%, rgba(0,0,0,.32) 62%, rgba(0,0,0,.16) 78%, rgba(0,0,0,.06) 90%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,.97) 0, rgba(0,0,0,.78) 58px, rgba(0,0,0,.46) 132px, rgba(0,0,0,.18) 215px, transparent 300px),
    linear-gradient(90deg, rgba(2,4,6,.9) 0%, rgba(2,4,6,.56) 42%, rgba(2,4,6,.05) 72%) !important;
  opacity: 1 !important;
}
.auto-hero .wp-block-cover__inner-container { height: 100%; min-height: inherit; position: relative; width: 100%; z-index: 3; }
.auto-hero__content { box-sizing: border-box; margin-inline: 0 !important; max-width: none !important; padding: 92px clamp(28px, 7vw, 110px) 150px; position: relative; text-align: left; width: 100%; z-index: 3; }
.auto-hero__copy { align-items: flex-start; margin-left: 0 !important; margin-right: auto !important; max-width: 540px !important; text-align: left; }
.auto-hero__copy > * { margin-left: 0 !important; margin-right: 0 !important; }
.auto-hero__copy p { margin-inline: 0 !important; }
.auto-hero__copy .wp-block-buttons { justify-content: flex-start; }
.auto-hero h1 { color: #fff; font-size: clamp(48px, 6vw, 82px); margin: 14px 0 16px; max-width: 760px; }
.auto-hero__kicker { align-items: center; color: #fff; display: flex; font-size: 13px; font-weight: 700; gap: 12px; letter-spacing: .32em; text-align: left; text-transform: uppercase; }
.auto-hero__kicker::before { background: var(--ws_rouge); content: ""; flex: 0 0 32px; height: 2px; }
.auto-hero__text { color: rgba(255,255,255,.86); font-size: 17px; max-width: 440px; }
.auto-hero__place { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .32em; margin: 0; text-transform: uppercase; }

.auto-search {
  background: transparent;
  border: 0;
  box-shadow: none;
  box-sizing: border-box;
  bottom: 44px;
  left: 0;
  margin: 0 !important;
  max-width: none !important;
  padding: 14px max(14px, calc((100% - var(--ws-content)) / 2));
  position: absolute;
  width: 100%;
  z-index: 10;
}

.auto-search__panel {
  background: #0d0d0f;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px;
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  box-sizing: border-box;
  margin-inline: auto !important;
  max-width: var(--ws-content) !important;
  padding: 12px;
  width: 80%;
}
.auto-search__grid { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr) 1.05fr; min-width: 0; }
.auto-search__field { background: #000; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; box-sizing: border-box; color: #fff; display: flex; flex-direction: column; margin: 0; min-height: 52px; min-width: 0; padding: 7px 12px; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; width: 100%; }
.auto-search__field:hover { background: #101012; border-color: rgba(var(--ws_rouge-rgb),.7); box-shadow: 0 7px 20px rgba(var(--ws_rouge-rgb),.14); transform: translateY(-1px); }
.auto-search__field:focus-within { background: #101012; border-color: var(--ws_rouge); box-shadow: 0 0 0 2px rgba(var(--ws_rouge-rgb),.2), 0 7px 20px rgba(var(--ws_rouge-rgb),.14); transform: translateY(-1px); }
.auto-search__field:hover .auto-search__label,
.auto-search__field:focus-within .auto-search__label { color: #fff; }
.auto-search__label { color: #fff; display: block; font-size: 11px; font-weight: 700; line-height: 1.2; }
.auto-search__field select { appearance: none; background: transparent; border: 0; color: rgba(255,255,255,.74); cursor: pointer; font: inherit; font-size: 13px; height: 28px; outline: 0; padding: 0 22px 0 0; width: 100%; }
.auto-search__field select { background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.65) 50%), linear-gradient(135deg, rgba(255,255,255,.65) 50%, transparent 50%); background-position: calc(100% - 8px) 12px, calc(100% - 3px) 12px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
.auto-search__field:hover select,
.auto-search__field:focus-within select { background-image: linear-gradient(45deg, transparent 50%, var(--ws_rouge) 50%), linear-gradient(135deg, var(--ws_rouge) 50%, transparent 50%); color: #fff; }
.auto-search__field option { background: #111; color: #fff; }
.auto-search__field option:checked { background: var(--ws_rouge); color: #fff; }
.auto-search__submit { align-items: center; border: 0; border-radius: 5px; cursor: pointer; display: flex; gap: 9px; height: 100%; justify-content: center; min-height: 54px; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; width: 100%; }
.auto-search__submit svg { flex: 0 0 auto; transition: transform .2s ease; }
.auto-search__submit:hover { background: var(--ws_rouge); box-shadow: 0 9px 24px rgba(var(--ws_rouge-rgb),.3); transform: translateY(-2px); }
.auto-search__submit:hover svg { transform: translateX(2px) scale(1.06); }
.auto-search__submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.auto-search__submit:active { box-shadow: 0 4px 12px rgba(var(--ws_rouge-rgb),.22); transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .auto-search__submit,
  .auto-search__submit svg,
  .auto-search__field { transition: none; }
  .auto-search__submit:hover,
  .auto-search__submit:hover svg,
  .auto-search__field:hover,
  .auto-search__field:focus-within { transform: none; }
}

.auto-services { background: #000; color: #fff; padding: 34px var(--ws-gutter); }
.auto-services__grid { display: grid; gap: 0; grid-template-columns: repeat(5, 1fr); margin-inline: auto; max-width: var(--ws-content); }
.auto-service { border-right: 1px solid rgba(255,255,255,.16); padding: 8px 24px; text-align: center; }
.auto-service:last-child { border-right: 0; }
.auto-service__index { color: var(--ws_rouge); font: 600 28px/1 Georgia, serif; margin: 0 0 10px; }
.auto-service h3 { color: #fff; font-family: inherit; font-size: 13px; font-weight: 800; margin: 0 0 5px; text-transform: uppercase; }
.auto-service p:last-child { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.45; margin: 0; }

.auto-featured { background: #f5f5f4; color: #121417; }
.auto-featured__head { align-items: end; display: flex; justify-content: space-between; margin-bottom: 26px; }
.auto-featured h2 { font-size: clamp(34px, 4vw, 54px); margin: 0; }
.auto-featured h2::before { background: var(--ws_rouge); content: ""; display: block; height: 3px; margin-bottom: 14px; width: 42px; }
.auto-featured__link { color: #121417; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.auto-vehicles { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.auto-vehicle { min-height: 390px; overflow: hidden; }
.auto-vehicle .wp-block-cover__image-background { object-fit: cover; }
.auto-vehicle--one .wp-block-cover__image-background { object-position: 4% center; }
.auto-vehicle--two .wp-block-cover__image-background { object-position: 50% center; }
.auto-vehicle--three .wp-block-cover__image-background { object-position: 96% center; }
.auto-vehicle .wp-block-cover__background { background: linear-gradient(0deg, rgba(0,0,0,.92), rgba(0,0,0,.05) 72%) !important; opacity: 1 !important; }
.auto-vehicle__body { align-self: end; color: #fff; padding: 24px; width: 100%; }
.auto-vehicle h3 { color: #fff; font-family: inherit; font-size: 16px; font-weight: 800; margin: 0 0 6px; }
.auto-vehicle__meta { color: rgba(255,255,255,.8); font-size: 12px; margin: 0 0 10px; }
.auto-vehicle__price { color: var(--ws_rouge); font-size: 20px; font-weight: 900; margin: 0; }

.auto-story { background: #000; color: #fff; }
.auto-story .wp-block-media-text__media img { min-height: 520px; object-fit: cover; }
.auto-story .wp-block-media-text__content { padding: clamp(38px, 6vw, 86px); }
.auto-story h2 { color: #fff; font-size: clamp(38px, 4vw, 58px); margin: 0 0 20px; }
.auto-story__text { color: rgba(255,255,255,.76); line-height: 1.8; }

.auto-footer { background: #000; color: rgba(255,255,255,.72); padding: 58px var(--ws-gutter) 22px; }
.auto-footer__inner { align-items: start; display: grid; gap: clamp(34px, 5vw, 72px); grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(145px, 1fr)); margin-inline: auto; max-width: var(--ws-content); }
.auto-footer p { font-size: 12px; line-height: 1.65; margin: 0; }
.auto-footer a { color: rgba(255,255,255,.76); text-decoration: none; transition: color .2s ease; }
.auto-footer a:hover, .auto-footer a:focus-visible { color: var(--ws_rouge); }
.auto-footer__brand { max-width: 300px; }
.auto-footer__logo { display: block; margin-bottom: 18px; width: 210px; }
.auto-footer__logo img { display: block; height: auto; max-width: 100%; width: 100%; }
.auto-footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.auto-footer__socials a { align-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: inline-flex; height: 34px; justify-content: center; width: 34px; }
.auto-footer__socials a:hover { background: var(--ws_rouge); border-color: var(--ws_rouge); color: #fff; }
.auto-footer__column { display: flex; flex-direction: column; gap: 9px; }
.auto-footer__column h2 { color: #fff; font-family: inherit; font-size: 12px; font-weight: 900; letter-spacing: .08em; margin: 4px 0 10px; text-transform: uppercase; }
.auto-footer__column > a,
.auto-footer__label { color: inherit; font-size: 12px; }
.auto-footer__contact p { align-items: flex-start; display: flex; gap: 10px; overflow-wrap: anywhere; }
.auto-footer__contact p > i { color: #fff; flex: 0 0 15px; line-height: 1.65; text-align: center; }
.auto-footer__cta { align-items: center; background: var(--ws_rouge); border-radius: 4px; color: #fff !important; display: inline-flex; font-size: 11px !important; font-weight: 800; gap: 10px; justify-content: center; margin-top: 10px; min-height: 44px; padding: 10px 14px; text-transform: uppercase; }
.auto-footer__bottom { align-items: center; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; margin: 42px auto 0; max-width: var(--ws-content); padding-top: 18px; }
.auto-standard-page__main { background: #f5f5f3; min-height: 60vh; padding: 0 0 64px; }
.auto-standard-page__article { margin-inline: auto; max-width: none; }
.auto-standard-page__content { line-height: 1.75; margin-inline: auto; max-width: var(--ws-content); padding: 28px var(--ws-gutter) 0; }
.auto-coming-soon { background: #fff; border: 1px solid #e4e5e6; border-radius: 5px; box-shadow: 0 8px 24px rgba(17,21,26,.04); margin: 0; max-width: none !important; padding: clamp(30px, 5vw, 58px); text-align: center; }
.auto-coming-soon > i { color: var(--ws_rouge); font-size: 38px; margin-bottom: 16px; }
.auto-coming-soon .ws-eyebrow { color: var(--ws_rouge); justify-content: center; margin-bottom: 10px; }
.auto-coming-soon h2 { color: #17191d; font-size: clamp(25px, 4vw, 38px); margin: 0 auto 16px; max-width: 760px; }
.auto-coming-soon > p:not(.ws-eyebrow) { color: #51565b; font-size: 14px; line-height: 1.6; margin: 0 auto 10px; max-width: 720px; }
.auto-coming-soon .wp-block-buttons { justify-content: center; margin-top: 22px; }
.auto-coming-soon__cta .wp-block-button__link { background: var(--ws_rouge); border: 1px solid var(--ws_rouge); border-radius: 5px; color: #fff; font-size: 12px; font-weight: 900; padding: 13px 22px; text-transform: uppercase; }
.auto-coming-soon__cta .wp-block-button__link:hover { background: var(--ws_rouge); border-color: var(--ws_rouge); box-shadow: 0 9px 24px rgba(var(--ws_rouge-rgb),.3); color: #fff; transform: translateY(-2px); }

/* Error page. */
.auto-error-card { overflow: hidden; position: relative; }
.auto-error-card > * { position: relative; z-index: 1; }
.auto-error-card__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.auto-error-card__button { align-items: center; background: var(--ws_rouge); border: 1px solid var(--ws_rouge); border-radius: 5px; color: #fff; display: inline-flex; font-size: 12px; font-weight: 900; gap: 9px; justify-content: center; min-height: 46px; padding: 12px 22px; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease; }
.auto-error-card__button:hover { background: var(--ws_rouge); border-color: var(--ws_rouge); box-shadow: 0 9px 24px rgba(var(--ws_rouge-rgb),.3); color: #fff; transform: translateY(-2px); }
.auto-error-card__button--secondary { background: #17191d; border-color: #17191d; }
.auto-error-card__button--secondary:hover { background: #2a2d31; border-color: #2a2d31; box-shadow: 0 9px 24px rgba(17,21,26,.2); }
.auto-error-card__contact { color: #6a6e72 !important; font-size: 13px !important; margin-top: 22px !important; }
.auto-error-card__contact a { color: var(--ws_rouge); font-weight: 800; text-decoration: none; }
.auto-error-card__contact a:hover { color: #b9000a; }

@media (max-width: 600px) {
  .auto-error-card { padding: 34px 18px; }
  .auto-error-card__actions { align-items: stretch; flex-direction: column; }
  .auto-error-card__button { width: 100%; }
}

/* Legal notice page. Content remains editable with native Gutenberg blocks. */
.page-mentions-legales .auto-standard-page__main { background: #f6f6f5; padding: 0 0 70px; }
.page-mentions-legales .auto-standard-page__article { max-width: none; }
.page-mentions-legales .auto-standard-page__content { box-sizing: border-box; margin-inline: auto; max-width: var(--ws-content); padding: 24px clamp(12px, 2vw, 24px) 0; }
.page-mentions-legales .auto-legal-list { display: grid; gap: 14px; max-width: none !important; width: 100%; }
.page-mentions-legales .auto-legal-card { background: #fff; border: 1px solid #e4e5e6; border-radius: 5px; box-shadow: 0 8px 24px rgba(17,21,26,.04); box-sizing: border-box; margin: 0; max-width: none !important; min-height: 88px; padding: 16px 16px 16px 76px; position: relative; width: 100%; }
.page-mentions-legales .auto-legal-card::before { align-items: center; background: #fff; border-radius: 5px; box-shadow: 0 5px 18px rgba(17,21,26,.08); color: var(--ws_rouge); display: flex; font-family: "Font Awesome 6 Free"; font-size: 25px; font-weight: 900; height: 44px; justify-content: center; left: 16px; position: absolute; top: 16px; width: 44px; }
.page-mentions-legales .auto-legal-card--company::before { content: "\f1ad"; }
.page-mentions-legales .auto-legal-card--director::before { content: "\f508"; }
.page-mentions-legales .auto-legal-card--hosting::before { content: "\f233"; }
.page-mentions-legales .auto-legal-card--copyright::before { content: "\f1f9"; }
.page-mentions-legales .auto-legal-card--privacy::before { content: "\f1c0"; }
.page-mentions-legales .auto-legal-card--cookies::before { content: "\f564"; }
.page-mentions-legales .auto-legal-card--liability::before { content: "\f24e"; }
.page-mentions-legales .auto-legal-card--law::before { content: "\f56c"; }
.page-mentions-legales .auto-legal-card h2 { color: #17191d; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.page-mentions-legales .auto-legal-card h2 strong { color: var(--ws_rouge); }
.page-mentions-legales .auto-legal-card p { color: #51565b; font-size: 13px; line-height: 1.55; margin: 0 0 8px; }
.page-mentions-legales .auto-legal-card p:last-child { margin-bottom: 0; }
.page-mentions-legales .auto-legal-card ul { color: #51565b; font-size: 13px; line-height: 1.55; margin: 8px 0 12px; padding-left: 20px; }
.page-mentions-legales .auto-legal-card li { margin-bottom: 3px; }
.page-mentions-legales .auto-legal-card a { color: var(--ws_rouge); font-weight: 800; text-decoration: none; }
.page-mentions-legales .auto-legal-card .wp-block-table { margin: 0; }
.page-mentions-legales .auto-legal-card table { border: 0; border-collapse: collapse; font-size: 13px; line-height: 1.45; width: min(100%, 660px); }
.page-mentions-legales .auto-legal-card td { border: 0; color: #51565b; padding: 2px 10px 2px 0; vertical-align: top; }
.page-mentions-legales .auto-legal-card td:first-child { width: 230px; }
.page-mentions-legales .auto-legal-pending { color: #9a5b00; font-style: italic; }

@media (max-width: 600px) {
  .page-mentions-legales .auto-standard-page__content { padding: 16px 12px 0; }
  .page-mentions-legales .auto-legal-card { min-height: 0; padding: 60px 12px 12px; }
  .page-mentions-legales .auto-legal-card::before { font-size: 22px; height: 36px; left: 12px; top: 12px; width: 36px; }
  .page-mentions-legales .auto-legal-card h2 { font-size: 20px; }
  .page-mentions-legales .auto-legal-card table,
  .page-mentions-legales .auto-legal-card tbody,
  .page-mentions-legales .auto-legal-card tr,
  .page-mentions-legales .auto-legal-card td { display: block; width: 100%; }
  .page-mentions-legales .auto-legal-card td:first-child { color: #181b1f; font-weight: 800; padding-top: 6px; width: 100%; }
}

/* Contact page. */
.page-contact .auto-standard-page__main { background: #f6f6f5; overflow: hidden; padding: 0 0 70px; }
.page-contact .auto-standard-page__article { max-width: none; }
.page-contact .auto-standard-page__content { box-sizing: border-box; margin-inline: auto; max-width: var(--ws-content); padding: 24px clamp(12px, 2vw, 24px) 0; }
.page-contact .auto-contact-layout { align-items: start; display: grid; gap: clamp(30px, 5vw, 68px); grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr); max-width: none !important; min-width: 0; width: 100%; }
.page-contact .auto-contact-panel { margin: 0; max-width: none !important; min-width: 0; width: 100%; }
.page-contact .auto-contact-panel h2 { color: #15181c; font-size: 25px; line-height: 1.2; margin: 0 0 14px; text-transform: uppercase; }
.page-contact .auto-contact-panel h2 strong { color: var(--ws_rouge); }
.page-contact .auto-contact-panel > p { color: #555b60; font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.page-contact .auto-contact-cards { display: grid; gap: 9px; max-width: none !important; min-width: 0; width: 100%; }
.page-contact .auto-contact-card { background: #fff; border: 1px solid #ececed; border-radius: 5px; box-sizing: border-box; margin: 0; max-width: none !important; min-height: 76px; min-width: 0; padding: 16px 16px 16px 76px; position: relative; width: 100%; }
.page-contact .auto-contact-card::before { align-items: center; background: rgba(var(--ws_rouge-rgb),.06); border-radius: 5px; color: var(--ws_rouge); display: flex; font-family: "Font Awesome 6 Free"; font-size: 25px; font-weight: 900; height: 44px; justify-content: center; left: 16px; position: absolute; top: 16px; width: 44px; }
.page-contact .auto-contact-card--location::before { content: "\f3c5"; }
.page-contact .auto-contact-card--phone::before { content: "\f095"; }
.page-contact .auto-contact-card--whatsapp::before { content: "\f232"; font-family: "Font Awesome 6 Brands"; font-weight: 400; }
.page-contact .auto-contact-card--email::before { content: "\f0e0"; }
.page-contact .auto-contact-cards { color: #171a1e; font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.page-contact .auto-contact-card p { color: inherit; font: inherit; letter-spacing: inherit; margin: 0; overflow-wrap: anywhere; }
.page-contact .auto-contact-card strong { color: inherit; display: block; font: inherit; font-weight: 600; margin-bottom: 4px; }
.page-contact .auto-contact-card a { color: inherit; font: inherit; letter-spacing: inherit; overflow-wrap: anywhere; text-decoration: none; }
.page-contact .auto-contact-card a:hover { color: var(--ws_rouge); }
.page-contact .auto-contact-card a:focus-visible { outline: 2px solid var(--ws_rouge); outline-offset: 3px; }
.page-contact .auto-contact-card--email a { display: block; max-width: 100%; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
.page-contact .auto-contact-form { background: #fff; border: 1px solid #ececed; border-radius: 5px; box-shadow: 0 8px 24px rgba(17,21,26,.04); padding: 24px; }
.page-contact .auto-contact-form .fluentform { margin-top: 18px; }
.page-contact .auto-recaptcha-responsive {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}
.page-contact .auto-recaptcha-responsive .ff-el-recaptcha {
  transition: transform .15s ease;
}
.page-contact .auto-contact-form .ff-el-group { margin-bottom: 15px; }
.page-contact .auto-contact-form .ff-el-input--label label { color: #171a1e; font-size: 13px; font-weight: 800; }
.page-contact .auto-contact-consent .ff-el-form-check-label { align-items: start; color: #171a1e; display: grid; font-family: inherit; font-size: 13px; font-weight: 400; gap: 8px; grid-template-columns: 16px minmax(0, 1fr); line-height: 1.3 !important; }
.page-contact .auto-contact-consent .ff-el-form-check-input { height: 16px; margin: 1px 0 0; min-height: 0 !important; width: 16px; }
.page-contact .auto-contact-consent .ff-el-form-check-label span { display: block; font: inherit; line-height: 1.3 !important; }
.page-contact .auto-contact-form :is(input, textarea, select) { background: #fff; border: 1px solid #d9dcdf; border-radius: 4px; color: #171a1e; min-height: 46px; }
.page-contact .auto-contact-form textarea { min-height: 118px; }
.page-contact .auto-contact-form :is(input, textarea, select):focus { border-color: var(--ws_rouge); box-shadow: 0 0 0 2px rgba(var(--ws_rouge-rgb),.12); outline: 0; }
.page-contact .auto-contact-form .ff-btn-submit { align-items: center; background: var(--ws_rouge) !important; border: 1px solid var(--ws_rouge) !important; border-radius: 5px !important; color: #fff !important; display: inline-flex; font-weight: 800; gap: 10px; justify-content: center; min-height: 48px; opacity: 1 !important; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; width: 100%; }
.page-contact .auto-contact-form .ff-btn-submit::before { content: "\f1d8"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.page-contact .auto-contact-form .ff-btn-submit:hover { background: var(--ws_rouge) !important; border-color: var(--ws_rouge) !important; box-shadow: 0 9px 24px rgba(var(--ws_rouge-rgb),.3); color: #fff !important; transform: translateY(-2px); }
.page-contact .auto-contact-form .ff-btn-submit:focus-visible { outline: 2px solid var(--ws_rouge); outline-offset: 3px; }
.page-contact .auto-contact-form .ff-btn-submit:active { box-shadow: 0 4px 12px rgba(var(--ws_rouge-rgb),.22); transform: translateY(0); }
.page-contact .auto-contact-form :is(.ff-message-success, .ff-errors-in-stack) { border: 1px solid #d9dcdf; border-left-width: 4px; border-radius: 4px; box-shadow: none; box-sizing: border-box; color: #555b60; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.6; margin: 18px 0 0; padding: 12px 14px; text-align: left; }
.page-contact .auto-contact-form .ff-message-success { background: #f4faf6; border-color: #cfe6d6; border-left-color: #28864b; }
.page-contact .auto-contact-form .ff-errors-in-stack { background: #fff6f6; border-color: #f0d0d2; border-left-color: var(--ws_rouge); }
.page-contact .auto-contact-form :is(.ff-message-success, .ff-errors-in-stack) :is(p, ul) { color: inherit; font: inherit; line-height: inherit; margin: 0; padding: 0; }
.page-contact .auto-contact-form .ff-errors-in-stack ul { list-style-position: inside; }
.page-contact .auto-contact-form .ff-el-is-error .ff-el-form-control { border-color: var(--ws_rouge) !important; box-shadow: 0 0 0 2px rgba(var(--ws_rouge-rgb),.1); }
.page-contact .auto-contact-form :is(.error, .text-danger, .ff-el-form-check-error) { color: #b9000a; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; margin-top: 5px; }
.page-contact .auto-contact-trust { border: 1px solid #ececed; border-radius: 5px; margin-top: 34px !important; max-width: none !important; overflow: hidden; padding: 6px 0 !important; width: 100%; }

@media (min-width: 801px) {
  .page-contact .auto-contact-details { box-sizing: border-box; padding: 24px 0 0; }
}

@media (max-width: 800px) {
  .page-contact .auto-contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page-contact .auto-standard-page__content { box-sizing: border-box; margin-inline: 0; max-width: 100vw; padding: 16px 12px 0; width: 100vw; }
  .page-contact .auto-contact-card { min-height: 60px; padding: 12px 12px 12px 60px; }
  .page-contact .auto-contact-card::before { font-size: 22px; height: 36px; left: 12px; top: 12px; width: 36px; }
  .page-contact .auto-contact-panel h2 { font-size: 22px; }
  .page-contact .auto-contact-form { padding: 18px; }
}

@media (max-width: 900px) {
  .auto-header__inner { flex-wrap: nowrap; padding-left: 0; }
  .auto-header .auto-logo { height: 78px; top: 0; width: 208px; }
  .auto-hero::before { width: calc(var(--ws-gutter) + 248px); }
  .auto-menu-toggle { display: flex; }
  .auto-nav { align-items: stretch; background: #000; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 36px rgba(0,0,0,.4); display: none; flex-direction: column; gap: 0; padding: 10px; position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); z-index: 30; }
  .auto-nav.is-open { display: flex; }
  .auto-nav a { border-bottom: 1px solid rgba(255,255,255,.1); padding: 13px 12px; width: 100%; }
  .auto-nav a:last-child { border-bottom: 0; }
  .auto-nav a::after { bottom: 7px; left: 12px; width: 34px; }
  .auto-header__actions { margin-left: auto; }
  .auto-search__grid { grid-template-columns: repeat(2, 1fr); }
  .auto-services__grid { grid-template-columns: repeat(2, 1fr); }
  .auto-service { border-bottom: 1px solid rgba(255,255,255,.16); }
  .auto-vehicles { grid-template-columns: 1fr; }
  .auto-vehicle { min-height: 440px; }
  .auto-footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .auto-hero { min-height: calc(100svh - 88px) !important; }
}

@media (max-width: 600px) {
  .auto-header { min-height: 72px; padding-inline: 16px; }
  .auto-header__inner { gap: 10px; min-height: 52px; padding-left: 0; }
  .auto-header .auto-logo { height: 62px; width: 165px; }
  .auto-header__cta { display: none; }
  .auto-header__actions { gap: 6px; margin-left: auto; }
  .auto-header-contact { font-size: 9px; padding: 11px 9px; }
  .auto-language { height: 36px; }
  .auto-menu-toggle { height: 36px; width: 38px; }
  .auto-nav { top: calc(100% + 8px); }
  .auto-nav a { font-size: 10px; }
  .auto-standard-page__main { padding-bottom: 48px; }
  .auto-hero { min-height: 600px; }
  .auto-hero .wp-block-cover__image-background { object-position: 64% center; }
  .auto-hero::before {
    background: linear-gradient(180deg, #000 0, #000 26px, rgba(0,0,0,.76) 78px, rgba(0,0,0,.3) 158px, transparent 235px);
    height: 235px;
    width: 238px;
  }
  .auto-hero::after {
    background:
      linear-gradient(0deg, #000 0, rgba(0,0,0,.84) 24%, rgba(0,0,0,.52) 52%, rgba(0,0,0,.2) 76%, transparent 100%),
      radial-gradient(ellipse 92% 120% at 12% 100%, #000 0, rgba(0,0,0,.9) 28%, rgba(0,0,0,.5) 56%, rgba(0,0,0,.14) 74%, transparent 88%);
    height: 300px;
  }
  .auto-hero .wp-block-cover__background {
    background:
      radial-gradient(ellipse 125% 340px at 100% 0, rgba(0,0,0,.92) 0, rgba(0,0,0,.8) 16%, rgba(0,0,0,.62) 34%, rgba(0,0,0,.42) 52%, rgba(0,0,0,.24) 68%, rgba(0,0,0,.1) 84%, transparent 100%),
      linear-gradient(180deg, rgba(0,0,0,.96) 0, rgba(0,0,0,.7) 52px, rgba(0,0,0,.34) 118px, rgba(0,0,0,.12) 178px, transparent 235px),
      linear-gradient(90deg, rgba(2,4,6,.9) 0%, rgba(2,4,6,.56) 58%, rgba(2,4,6,.12) 100%) !important;
    left: 0 !important;
    max-width: none !important;
    right: 0 !important;
    width: auto !important;
  }
  .auto-hero__content { padding-bottom: 135px; padding-top: 70px; }
  .auto-hero h1 { font-size: 38px; }
  .auto-search { padding-inline: 16px; }
  .auto-search__panel { padding: 10px; width: 100%; }
  .auto-search__grid { grid-template-columns: 1fr; }
  .auto-services__grid, .auto-footer__inner { grid-template-columns: 1fr; }
  .auto-service { border-right: 0; }
  .auto-featured__head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .auto-story .wp-block-media-text__media img { min-height: 360px; }
}

.editor-styles-wrapper .auto-header,
.editor-styles-wrapper .auto-hero,
.editor-styles-wrapper .auto-search,
.editor-styles-wrapper .auto-services,
.editor-styles-wrapper .auto-featured,
.editor-styles-wrapper .auto-story,
.editor-styles-wrapper .auto-footer {
  max-width: none;
}

/* Homepage direction based on the validated AutoTradingSXM specification. */
.auto-hero__copy { margin-left: clamp(20px, 4vw, 64px) !important; max-width: 720px !important; transform: translateY(20px); }
.auto-hero { align-items: flex-start; height: calc(100svh - 88px); min-height: 690px; overflow: visible; position: relative; z-index: 20; }
.auto-hero .wp-block-cover__inner-container { width: 100%; }
.auto-hero__content { padding-top: clamp(54px, 8vh, 92px); }
.auto-hero h1 { font-family: "Future Earth", Arial, sans-serif; font-size: clamp(42px, 5vw, 70px); font-weight: 400; line-height: .98; margin: 0 0 24px; text-transform: uppercase; }
.autotradingsxm-home :where(.auto-featured, .auto-services, .auto-story, .auto-tailored, .auto-brands) h2 {
  font-family: "Future Earth", Arial, sans-serif;
  font-weight: 400;
}
.auto-hero h1 span,
.auto-featured h2 span,
.auto-services h2 span,
.auto-story h2 span,
.auto-tailored h2 span { color: var(--ws_rouge); }
.auto-hero__kicker { margin: 0 0 22px; }
.auto-hero__text { font-size: clamp(17px, 1.8vw, 23px); font-weight: 600; margin: 0; max-width: 650px; }
.auto-hero__promises { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; max-width: 670px; }
.auto-hero__promises p { align-items: center; display: flex; flex-direction: column; gap: 10px; margin: 0; text-align: center; }
.auto-hero__promises svg { fill: none; flex: 0 0 36px; height: 36px; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; width: 36px; }
.auto-hero__promise-copy { border-top: 2px solid var(--ws_rouge); display: grid; gap: 3px; padding-top: 10px; width: 100%; }
.auto-hero__promises strong { color: #fff; font-size: 14px; }
.auto-hero__promises span { color: rgba(255,255,255,.7); font-size: 11px; }
.auto-mobile-carousel__dots { display: none; }

.auto-search__panel,
.auto-search__grid,
.auto-search__field { position: relative; }
.auto-search__field:hover,
.auto-search__field:focus-within { z-index: 30; }
.auto-search__all { margin: 9px auto 0 !important; max-width: var(--ws-content); width: 80%; }
.auto-search__all a { color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }

.auto-featured { padding: var(--ws-space-5) var(--ws-gutter); position: relative; z-index: 1; }
.auto-featured > * { margin-inline: auto; max-width: var(--ws-content) !important; width: 100%; }
.auto-featured__head > div { margin: 0 !important; }
.auto-featured__titles {
  flex: 1 1 760px;
  max-width: none !important;
  min-width: 0;
  width: auto !important;
}
.auto-featured__titles > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}
.auto-featured__head > p {
  flex: 0 0 auto;
  margin: 0 !important;
}
.auto-featured h2::before { display: none; }
.auto-featured__head { margin-bottom: 30px; }
.auto-featured__titles .ws-eyebrow { margin: 0 0 12px !important; }
.auto-services__content > .ws-eyebrow { margin: 0 0 12px !important; }
.auto-featured h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; margin: 0; }
.auto-vehicles { grid-template-columns: repeat(auto-fit, minmax(230px, 300px)); justify-content: center; }
.auto-vehicle-card { background: #fff; border: 1px solid #dedede; border-radius: 7px; box-shadow: 0 8px 22px rgba(17,21,26,.06); max-width: 300px; min-width: 0; overflow: hidden; position: relative; width: 100%; }
.auto-vehicle-card__media { background: #e7eaeb; display: block; height: 210px; overflow: hidden; position: relative; }
.auto-vehicle-card__media img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.auto-vehicle-card:hover .auto-vehicle-card__media img { transform: scale(1.035); }
.auto-vehicle-card__placeholder { background: linear-gradient(135deg, #dadddf, #f4f4f4); display: block; height: 100%; }
.auto-vehicle-card__status { background: #078e52; border-radius: 4px; color: #fff; font-size: 10px; font-weight: 800; left: 10px; padding: 6px 8px; position: absolute; text-transform: uppercase; top: 10px; }
.auto-vehicle-card__status--vendu { background: var(--ws_rouge); }
.auto-vehicle-card__status--reserve { background: #f0a92d; color: #111; }
.auto-vehicle-card__body { padding: 17px; }
.auto-vehicle-card h3 { font-family: inherit; font-size: 17px; margin: 0 0 12px; text-transform: uppercase; }
.auto-vehicle-card h3 a { text-decoration: none; }
.auto-vehicle-card__brand { color: #11151a; font-weight: 900; }
.auto-vehicle-card__model { color: var(--ws_rouge); font-weight: 900; }
.auto-vehicle-card__facts { color: #666; display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; margin: 0; padding: 0; }
.auto-vehicle-card__facts li { align-items: center; display: inline-flex; font-size: 11px; gap: 5px; }
.auto-vehicle-card__facts svg { fill: none; height: 15px; stroke: var(--ws_rouge); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 15px; }
.auto-vehicle-card__bottom { align-items: center; display: flex; justify-content: space-between; margin-top: 14px; padding-right: 50px; }
.auto-vehicle-card__bottom strong { color: var(--ws_rouge); font-size: 20px; }
.auto-vehicle-card__whatsapp,
.auto-vehicle-card__whatsapp:visited {
  align-items: center;
  background: #078e52;
  border: 1px solid #078e52;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 20px;
  height: 38px;
  justify-content: center;
  position: absolute;
  bottom: 17px;
  right: 17px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  width: 38px;
}
.auto-vehicle-card__whatsapp:hover {
  background: #067544;
  border-color: #067544;
  box-shadow: 0 7px 18px rgba(7,142,82,.28);
  color: #fff;
  transform: translateY(-2px);
}
.auto-vehicle-card__whatsapp:focus-visible { outline: 2px solid #11151a; outline-offset: 3px; }
.auto-featured__empty { border: 1px solid #ddd; padding: 24px; }
.auto-featured__link { align-items: center; background: var(--ws_rouge); border: 1px solid var(--ws_rouge); border-radius: 5px; color: #fff; display: inline-flex; min-height: 46px; padding: 0 18px; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.auto-featured__link:hover { background: var(--ws_rouge); box-shadow: 0 9px 24px rgba(var(--ws_rouge-rgb),.26); color: #fff; transform: translateY(-2px); }
.auto-featured__link:focus-visible { outline: 2px solid #11151a; outline-offset: 3px; }

.auto-services { background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.68) 42%, rgba(0,0,0,.28) 58%, transparent 72%), url("../images/services-red-headlights-v2.webp") right center / cover no-repeat; padding: var(--ws-space-5) var(--ws-gutter); }
.auto-services > * { box-sizing: border-box; margin-inline: auto; max-width: var(--ws-content) !important; width: 100%; }
.auto-services__content { max-width: var(--ws-content) !important; }
.auto-services__content > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
.auto-services h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; margin: 0 auto 30px; }
.auto-services__grid { grid-template-columns: repeat(3, 1fr); }
.auto-service { align-content: start; border-bottom: 1px solid rgba(255,255,255,.15); min-height: 112px; padding: 17px 28px; text-align: center; }
.auto-service:nth-child(3n) { border-right: 0; }
.auto-service:nth-last-child(-n+3) { border-bottom: 0; }
.auto-service__icon {
  align-items: center;
  background: #000;
  border-radius: 50%;
  color: var(--ws_rouge);
  display: flex;
  font-size: 28px;
  height: 54px;
  justify-content: center;
  line-height: 1;
  margin: 0 auto 12px;
  width: 54px;
}
.auto-service h3 { font-size: 14px; }
.auto-service h3,
.auto-service p:last-child { margin-left: auto; margin-right: auto; max-width: 190px; }

.auto-story { background: #fff; color: #11151a; column-gap: clamp(38px, 5vw, 76px); grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); padding: var(--ws-space-5) var(--ws-gutter); }
.auto-story .wp-block-media-text__media { -webkit-mask-image: url("../images/brush-mask.png"); -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-image: url("../images/brush-mask.png"); mask-position: center; mask-repeat: no-repeat; mask-size: 100% 100%; min-height: 520px; }
.auto-story .wp-block-media-text__content { background: #fff; padding: 0; }
.auto-section__content { box-sizing: border-box; margin: 0 !important; padding: 0 !important; }
.auto-story .ws-eyebrow { color: #11151a; }
.auto-story h2 { color: #11151a; line-height: 1.05; }
.auto-story__text { color: #41464b; }
.auto-story-values { background: #fff; display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0 var(--ws-gutter) var(--ws-space-5); }
.auto-story-values > .auto-story-value { margin-block-start: 0 !important; }
.auto-story-value { align-items: center; border-right: 1px solid #dedede; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 24px clamp(18px, 2.5vw, 34px); text-align: center; }
.auto-story-value:last-child { border-right: 0; }
.auto-story-value > i { color: var(--ws_rouge); display: block; flex: 0 0 auto; font-size: 32px; height: 36px; line-height: 36px; text-align: center; }
.auto-story-value > div { max-width: 210px; }
.auto-story-value h3 { color: #11151a; font-family: inherit; font-size: 14px; font-weight: 900; margin: 0 0 5px; }
.auto-story-value p { color: #5b6065; font-size: 11px; line-height: 1.45; margin: 0; }

.auto-tailored { background: #000 url("../images/custom-search-red-lights.webp") center / cover no-repeat; color: #fff; min-height: 410px; }
.auto-tailored__content { box-sizing: border-box; margin-left: auto !important; margin-right: clamp(28px, 7vw, 120px) !important; max-width: 680px !important; padding-block: 24px; width: calc(100% - clamp(28px, 7vw, 120px)); }
.auto-tailored__content > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}
.auto-tailored h2 { color: #fff; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; margin: 0 0 18px; }
.auto-tailored p:not(.ws-eyebrow) { color: rgba(255,255,255,.78); line-height: 1.7; }
.auto-tailored__values { border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 46px auto 0; max-width: var(--ws-content); padding-top: 24px; }
.auto-tailored__values article { align-items: center; border-right: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 12px; padding: 10px clamp(20px, 4vw, 52px); text-align: center; }
.auto-tailored__values article:last-child { border-right: 0; }
.auto-tailored__values i { color: var(--ws_rouge); font-size: 32px; height: 38px; line-height: 38px; }
.auto-tailored__values h3 { color: #fff; font-family: inherit; font-size: 14px; font-weight: 900; margin: 0 0 5px; }
.auto-tailored__values p { color: rgba(255,255,255,.7) !important; font-size: 11px; line-height: 1.45 !important; margin: 0; max-width: 220px; }

.auto-brands { background: #fff; padding-block: 42px; }
.auto-brands > .ws-eyebrow { margin-left: auto; margin-right: auto; max-width: var(--ws-content); }
.auto-brands__list { color: #60646a; font-size: clamp(13px, 1.5vw, 17px); margin: 24px 0 0; text-align: center; word-spacing: 18px; }
.auto-brands__logos { align-items: center; display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: repeat(9, minmax(60px, 1fr)); margin: 30px auto 0; max-width: var(--ws-content); }
.auto-brands__logos img { display: block; height: 48px; margin: auto; max-width: 100%; object-fit: contain; width: 82px; }
.auto-brands__logos img[alt="Audi"],
.auto-brands__logos img[alt="Jeep"],
.auto-brands__logos img[alt="Ford"] { width: 96px; }

@media (max-width: 900px) {
  .auto-hero { height: calc(100svh - 88px); min-height: 650px; }
  .auto-services { background: #000; }
  .auto-vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auto-services__grid { grid-template-columns: repeat(2, 1fr); }
  .auto-story { grid-template-columns: 1fr; }
	.auto-story-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.auto-story-value:nth-child(2) { border-right: 0; }
	.auto-story-value:nth-child(-n+2) { border-bottom: 1px solid #dedede; }
	.auto-story-value { padding-left: 24px; padding-right: 24px; }
	.auto-brands__logos { grid-template-columns: repeat(3, minmax(70px, 1fr)); }
  .auto-service:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.15); }
  .auto-service:nth-child(2n) { border-right: 0; }
  .auto-service:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .auto-service:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 600px) {
  .auto-hero { height: calc(100svh - 72px); min-height: 650px; }
  .auto-hero .wp-block-cover__image-background { transform: translateY(-12px) scale(1.03); }
  .auto-hero__content { padding-top: 28px; }
	.auto-hero__copy { margin-left: 0 !important; max-width: none !important; transform: translateY(-4px); width: 100%; }
  .auto-hero__kicker { font-size: 9px; letter-spacing: .17em; }
  .auto-hero h1 { font-size: 39px; max-width: none; text-align: center; width: 100%; }
  .auto-hero__text { max-width: none; text-align: left; width: 100%; }
  .auto-hero__promises {
    align-self: center;
    display: flex;
    gap: 0;
    margin-top: 28px;
    left: 50%;
    margin-left: 0;
    margin-right: 0;
    max-width: 290px;
    overflow-x: auto;
    position: relative;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
    transform: translateX(-50%);
    width: 290px;
  }
  .auto-hero__promises::-webkit-scrollbar { display: none; }
  .auto-hero__promises > p { align-items: center !important; flex: 0 0 100%; justify-content: center; scroll-snap-align: center; scroll-snap-stop: always; text-align: center !important; width: 100%; }
  .auto-hero__promise-copy { justify-items: center; text-align: center; }
  .auto-hero__promises svg { flex-basis: 30px; height: 30px; width: 30px; }
  .auto-hero__promises + .auto-mobile-carousel__dots { justify-content: center; left: 50%; margin: 12px 0 0; position: relative; transform: translateX(-50%); width: 290px; }
  .auto-mobile-carousel__dots { display: flex; gap: 7px; justify-content: center; }
  .auto-mobile-carousel__dot { background: rgba(255,255,255,.42); border: 0; border-radius: 50%; cursor: pointer; height: 7px; padding: 0; transition: background-color .2s ease, transform .2s ease; width: 7px; }
  .auto-mobile-carousel__dot.is-active { background: var(--ws_rouge); transform: scale(1.2); }
  .auto-featured { padding: 48px 0; }
  .auto-featured__head { box-sizing: border-box; gap: 12px; margin-bottom: 22px; padding-left: 16px; padding-right: 16px; width: 100%; }
  .auto-featured__titles { flex: 0 1 auto; width: 100% !important; }
  .auto-featured h2 { font-size: 30px; }
  .auto-featured__head > p { display: flex; justify-content: flex-end; width: 100%; }
  .auto-services { padding: 48px 16px !important; }
  .auto-section__content { box-sizing: border-box; margin: 0 !important; padding: 0 !important; }
  .auto-vehicles[data-mobile-carousel] {
    box-sizing: border-box;
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    left: 50%;
    margin-left: 0;
    margin-right: 0;
    max-width: none !important;
    overflow-x: auto;
    padding-inline: 0;
    position: relative;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
    transform: translateX(-50%);
    width: 100vw;
  }
  .auto-vehicles[data-mobile-carousel]::before,
  .auto-vehicles[data-mobile-carousel]::after {
    content: "";
    flex: 0 0 max(0px, calc((100vw - min(78vw, 300px)) / 2 - 16px));
  }
  .auto-vehicles[data-mobile-carousel]::-webkit-scrollbar { display: none; }
  .auto-vehicles[data-mobile-carousel] > .auto-vehicle-card { flex: 0 0 min(78vw, 300px); scroll-snap-align: center; scroll-snap-stop: always; }
  .auto-vehicles[data-mobile-carousel] .auto-vehicle-card img {
    -webkit-user-drag: none;
    user-select: none;
  }
  .auto-vehicles + .auto-mobile-carousel__dots { margin-top: 18px; }
  .auto-featured .auto-mobile-carousel__dot { background: #b9b9b9; }
  .auto-featured .auto-mobile-carousel__dot.is-active { background: var(--ws_rouge); }
  .auto-search { bottom: 28px; }
  .auto-search__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auto-search__submit { grid-column: 1 / -1; }
  .auto-search__all { width: 100%; }
  .auto-vehicles,
  .auto-services__grid { grid-template-columns: 1fr; }
  .auto-service,
  .auto-service:nth-child(3n),
  .auto-service:nth-last-child(-n+3),
  .auto-service:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); border-right: 0; }
  .auto-service:last-child { border-bottom: 0; }
	.auto-story { padding: 48px 16px; }
	.auto-story .wp-block-media-text__media { min-height: 330px; }
	.auto-story .wp-block-media-text__content { padding: 0; }
	.auto-story-values { grid-template-columns: 1fr; padding: 0 16px 48px; }
	.auto-story-value,
	.auto-story-value:first-child,
	.auto-story-value:last-child { border-bottom: 1px solid #dedede; border-right: 0; padding: 20px 8px; }
	.auto-story-value:last-child { border-bottom: 0; }
  .auto-tailored { padding: 48px 16px; }
  .auto-tailored__content { box-sizing: border-box; margin-left: 0 !important; margin-right: 0 !important; width: 100%; }
	.auto-tailored__values { grid-template-columns: 1fr; }
	.auto-tailored__values article { border-bottom: 1px solid rgba(255,255,255,.2); border-right: 0; padding: 22px 8px; }
	.auto-tailored__values article:last-child { border-bottom: 0; }
  .auto-brands { padding: 48px 16px; }
  .auto-brands__list { line-height: 2.2; text-align: left; word-spacing: normal; }
	.auto-brands__logos { gap: 28px 20px; grid-template-columns: repeat(3, minmax(70px, 1fr)); }
}

@media (max-width: 600px) and (max-height: 799px) {
  .auto-hero__promises,
  .auto-hero__promises + .auto-mobile-carousel__dots {
    display: none;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .auto-featured {
    padding-left: var(--ws-gutter);
    padding-right: var(--ws-gutter);
  }
  .auto-featured .auto-vehicles {
    grid-template-columns: repeat(2, minmax(230px, 300px));
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .auto-featured__head > p {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }
}

/* Section spacing is owned by sections, never by their editorial containers. */
.auto-featured,
.auto-services,
.auto-tailored,
.auto-brands {
  box-sizing: border-box;
  margin: 0 !important;
  padding: var(--ws-space-5) var(--ws-gutter) !important;
}

.auto-story {
  box-sizing: border-box;
  margin: 0 !important;
  padding: var(--ws-space-5) var(--ws-gutter) 0 !important;
}

.auto-story-values {
  box-sizing: border-box;
  margin: 0 !important;
  padding: 48px var(--ws-gutter) var(--ws-space-5) !important;
}

.auto-featured__head,
.auto-featured__titles,
.auto-services__content,
.auto-story .wp-block-media-text__content,
.auto-story__content {
  margin: 0 !important;
  padding: 0 !important;
}

@media (min-width: 601px) {
  .auto-tailored__content {
    margin: 0 clamp(28px, 7vw, 120px) 0 auto !important;
    padding: 0 !important;
  }
}

@media (min-width: 901px) {
  .auto-featured__head.auto-section__content {
    padding-bottom: 20px !important;
  }

  .auto-featured h2,
  .auto-services h2,
  .auto-story h2,
  .auto-tailored h2,
  .auto-brands h2 {
    padding-bottom: 12px;
  }

  .auto-featured,
  .auto-services,
  .auto-story,
  .auto-story-values,
  .auto-tailored,
  .auto-brands {
    padding-left: max(var(--ws-gutter), calc((100% - var(--auto-section-content)) / 2)) !important;
    padding-right: max(var(--ws-gutter), calc((100% - var(--auto-section-content)) / 2)) !important;
  }

  .auto-featured > *,
  .auto-services > *,
  .auto-brands > * {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--auto-section-content) !important;
    width: 100%;
  }

  .auto-tailored__values,
  .auto-brands__logos {
    max-width: var(--auto-section-content);
  }

  .auto-tailored__content {
    margin: 0 0 0 auto !important;
    max-width: 680px !important;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .auto-footer__brand {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    box-sizing: border-box;
    max-width: none;
    padding-bottom: 32px;
    text-align: center;
    width: 100%;
  }

  .auto-footer__logo {
    margin: 0 auto 18px;
  }

  .auto-footer__socials {
    justify-content: center;
  }

  .auto-featured,
  .auto-services,
  .auto-tailored,
  .auto-brands {
    padding: 48px 16px !important;
  }

  .auto-story {
    padding: 48px 16px 0 !important;
  }

  .auto-story-values {
    padding: 32px 16px 48px !important;
  }
}

@media (max-width: 420px) {
  .auto-header {
    padding-inline: 10px;
  }

  .auto-header__inner {
    gap: 6px;
  }

  .auto-header .auto-logo {
    height: auto;
    aspect-ratio: 8 / 3;
    width: clamp(120px, 35vw, 144px);
  }

  .auto-header__actions {
    gap: 4px;
    min-width: 0;
  }

  .auto-header-contact {
    flex: 0 1 auto;
    font-size: 8px;
    padding: 9px 6px;
    white-space: nowrap;
  }

  .auto-menu-toggle {
    flex: 0 0 34px;
    width: 34px;
  }

  .auto-hero h1 {
    font-size: clamp(32px, 9.2vw, 36px);
  }
}

/* Standard pages use custom PHP templates: keep every mobile child inside the viewport. */
@media (max-width: 600px) {
  body.auto-standard-page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .auto-standard-page :is(
    .auto-header__inner,
    .auto-standard-page__main,
    .auto-standard-page__article,
    .auto-standard-page__content,
    .auto-standard-page__content > *,
    .auto-contact-layout,
    .auto-contact-layout > *,
    .auto-contact-form,
    .auto-legal-list,
    .auto-legal-card,
    .auto-footer,
    .auto-footer__inner
  ) {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }

  .auto-standard-page .auto-page-hero h1 {
    font-size: clamp(27px, 8.3vw, 34px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .auto-standard-page .auto-standard-page__content {
    width: 100%;
  }

  .auto-standard-page .auto-contact-form :is(input, textarea, select) {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

  .auto-standard-page .auto-footer__inner {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .auto-standard-page .auto-page-hero h1 {
    font-size: clamp(24px, 7.2vw, 29px);
    max-width: 100%;
    white-space: normal;
  }
}
