/* Eslövs Bilcenter – CMS-knappar, Figma-palett. Produktens mått och storleksklasser bevaras. */
.bo-btn {
  border-radius: 999px;
  --bo-btn-shadow: none;
  --bo-btn-shadow-hover: 0 6px 18px rgba(1, 12, 37, .14);
  --bo-btn-shadow-active: none;
  --bo-btn-disabled-bg: #e3e8f0;
  --bo-btn-disabled-color: #68758a;
  --bo-btn-disabled-border: #d1dae8;
}
.bo-btn:focus-visible {
  outline: 3px solid #b4c9ff;
  outline-offset: 2px;
  box-shadow: var(--bo-btn-shadow-hover);
}
.bo-btn.bo-btn--primary, .bo-btn-group--primary .bo-btn {
  --bo-btn-bg: #0f1a36;
  --bo-btn-color: #fff;
  --bo-btn-border: #222f46;
  --bo-btn-hover-bg: #223453;
  --bo-btn-hover-color: #fff;
  --bo-btn-hover-border: #324463;
  --bo-btn-active-bg: #010c25;
  --bo-btn-active-color: #fff;
  --bo-btn-active-border: #010c25;
}
.bo-btn.bo-btn--secondary, .bo-btn-group--secondary .bo-btn {
  --bo-btn-bg: #fff;
  --bo-btn-color: #010c25;
  --bo-btn-border: #c7d0e2;
  --bo-btn-hover-bg: #eef2fa;
  --bo-btn-hover-color: #010c25;
  --bo-btn-hover-border: #b4c9ff;
  --bo-btn-active-bg: #dce6fa;
  --bo-btn-active-color: #010c25;
  --bo-btn-active-border: #9eb8f0;
}
.bo-btn.bo-btn--outline, .bo-btn-group--outline .bo-btn {
  --bo-btn-bg: transparent;
  --bo-btn-color: #010c25;
  --bo-btn-border: #010c25;
  --bo-btn-hover-bg: #0f1a36;
  --bo-btn-hover-color: #fff;
  --bo-btn-hover-border: #0f1a36;
  --bo-btn-active-bg: #010c25;
  --bo-btn-active-color: #fff;
  --bo-btn-active-border: #010c25;
  --bo-btn-shadow: none;
  --bo-btn-shadow-active: none;
}
.bo-btn.bo-btn--ghost, .bo-btn-group--ghost .bo-btn {
  --bo-btn-bg: transparent;
  --bo-btn-color: #010c25;
  --bo-btn-border: transparent;
  --bo-btn-hover-bg: #eef2fa;
  --bo-btn-hover-color: #010c25;
  --bo-btn-hover-border: transparent;
  --bo-btn-active-bg: #dce6fa;
  --bo-btn-active-color: #010c25;
  --bo-btn-active-border: transparent;
  --bo-btn-shadow: none;
  --bo-btn-shadow-hover: none;
  --bo-btn-shadow-active: none;
}

/* Kundens grundtypografi. Bilonline-komponenter ärver typsnittet. */
body {
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Fullbreddssektioner: använd innehållsbredden i stället för 100vw,
   som inkluderar utrymmet för den vertikala rullisten. */
body .ebc-home-hero,
body .ebc-home-services,
body .ebc-home-trust,
body .main-container7,
body .ebc-home-latest-more,
body .ebc-home-reco,
body .ebc-workshop-hero,
body .ebc-workshop-contact,
body .ebc-tires-hero,
body .ebc-tires-contact,
body .ebc-windshield-hero,
body .ebc-windshield-contact,
body #container10.main-container10,
body .ebc-about-hero,
body .ebc-timeline,
body .ebc-staff-hero,
body .ebc-staff-grid,
body .ebc-environment-hero,
body .ebc-finance-hero,
body .ebc-assurance-hero,
body .ebc-sell-hero,
body .ebc-sell-process,
body .ebc-contact-hero {
  left: 0;
  width: 100%;
  box-sizing: border-box;
  transform: none;
}

/* Gemensamt Figma-grid för redaktionell text och bild. */
body .ebc-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: 3.75rem;
  row-gap: 2.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 82.5rem;
  margin-inline: auto;
  font-family: Outfit, sans-serif;
}
body .ebc-editorial-grid:is(.ebc-about-intro, .ebc-tires-info) {
  width: min(82.5rem, calc(100% - 2.5rem));
}
body .ebc-editorial-grid > .ebc-editorial-copy { grid-column: 1; grid-row: 1; min-width: 0; }
body .ebc-editorial-grid > .ebc-editorial-media { grid-column: 2; grid-row: 1; min-width: 0; }
body .ebc-editorial-grid--image-left > .ebc-editorial-copy { grid-column: 2; }
body .ebc-editorial-grid--image-left > .ebc-editorial-media { grid-column: 1; }
body .ebc-editorial-grid > img.ebc-editorial-media,
body .ebc-editorial-grid > .ebc-editorial-media {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border-radius: 1.5rem;
}
body .ebc-editorial-grid > img.ebc-editorial-media { display: block; object-fit: cover; }
body .ebc-editorial-copy .bo-btn { display: inline-flex; width: auto; text-decoration: none; }
body .ebc-editorial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
body .ebc-editorial-actions .bo-btn { margin: 0; }
body .ebc-editorial-actions__primary::after { content: ""; display: block; width: 20px; height: 20px; margin-left: 4px; flex: none; background: url('/images/sektioner/uploads/arrow-circle-right-light.svg') center/contain no-repeat; }
@media (max-width: 47.9375rem) {
  body .ebc-editorial-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
  body .ebc-editorial-grid > .ebc-editorial-media,
  body .ebc-editorial-grid--image-left > .ebc-editorial-media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  body .ebc-editorial-grid > .ebc-editorial-copy,
  body .ebc-editorial-grid--image-left > .ebc-editorial-copy { grid-column: 1; grid-row: 2; }
}

/* Återanvänd typografi för tvåspaltiga text- och bildblock. */
body .ebc-editorial-copy h2 {
  margin: 0 0 .75rem;
  color: #1e1e1c;
  font: 700 1.625rem/1.3 Outfit, sans-serif;
}
body .ebc-editorial-copy > .ebc-editorial-copy__subtitle {
  display: block;
  margin: 0 0 .75rem;
  color: #010c25;
  font: 600 1rem/1.4 Outfit, sans-serif;
}
body .ebc-editorial-copy > p:not(.ebc-editorial-copy__subtitle) {
  max-width: 38.75rem;
  margin: 0 0 1.5rem;
  color: #1e1e1c;
  font: 400 1rem/1.875 Outfit, sans-serif;
}

/* CMS-brödsmulor: fullbreddsremsa med samma innehållsbredd som navbaren. */
body:has(.ebc-site-header) .bo-breadcrumb-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: .625rem 1.5rem;
  border-top: 1px solid #222f46;
  background: #010c25;
}
body:has(.ebc-site-header) .bo-breadcrumb {
  width: 100%;
  max-width: 107.5rem;
  margin-inline: auto;
  color: #b2b2b2;
  font: 400 .875rem/1.25 Outfit, sans-serif;
}
body:has(.ebc-site-header) .bo-breadcrumb__link {
  color: #fff;
  font-weight: 600;
}
body:has(.ebc-site-header) .bo-breadcrumb__item:first-child .bo-breadcrumb__link::before {
  content: "\f015";
  display: inline-block;
  margin-right: .375rem;
  font: 900 .75rem/1 "Font Awesome 5 Free";
}
body:has(.ebc-site-header) .bo-breadcrumb__current {
  color: #b2b2b2;
  font-weight: 400;
}

/* Gemensamma Figma-fält för CMS-kontaktformulär på kundsidorna. */
body .main-container10 #mailForm .row.g-3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.25rem;
  margin: 0;
}
body .main-container10 #mailForm .row.g-3 > .col-12 {
  grid-column: 1 / -1;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
body .main-container10 #mailForm .row.g-3 > .col-12:has(#InputTel) { grid-column: 1; }
body .main-container10 #mailForm .row.g-3 > .col-12:has(#InputEmail) { grid-column: 2; }
body .main-container10 #mailForm .row.g-3 > .col-12:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body :is(.main-container10 #mailForm, .ebc-sell-form) .form-floating > .form-control {
  min-height: 3.125rem;
  height: 3.125rem;
  padding: .875rem 1rem;
  border: 1px solid #f1f2f2;
  border-radius: .5rem;
  background: #f3f5f9;
  color: #191919;
  font: 400 .9375rem/1.4 Outfit, sans-serif;
  box-shadow: none;
}

/* Floating labels: reserve a separate line for the entered value. */
body :is(.main-container10 #mailForm, .ebc-sell-form) .form-floating > input.form-control:is(:focus, :not(:placeholder-shown)) {
  padding-top: 1.5rem;
  padding-bottom: .1875rem;
}
body :is(.main-container10 #mailForm, .ebc-sell-form) .form-floating > label::after {
  background: transparent;
  box-shadow: none;
}

body :is(.main-container10 #mailForm, .ebc-sell-form) .form-floating > textarea.form-control {
  min-height: 7.8125rem;
  height: 7.8125rem !important;
  resize: vertical;
}
body :is(.main-container10 #mailForm, .ebc-sell-form) .form-floating > textarea.form-control:not(:placeholder-shown),
body :is(.main-container10 #mailForm, .ebc-sell-form) .form-floating > textarea.form-control:focus {
  padding-top: 2rem;
}
body :is(.main-container10 #mailForm, .ebc-sell-form) .form-floating > label {
  padding: .875rem 1rem;
  color: #515151;
  font: 400 .9375rem/1.4 Outfit, sans-serif;
}
body :is(.main-container10 #mailForm, .ebc-sell-form) .form-floating > .form-control:focus {
  border-color: #5674ae;
  box-shadow: 0 0 0 .1875rem rgba(86,116,174,.15);
}
body .main-container10:has(#mailForm) #mailForm .ebc-enquiry-field {
  grid-column: 1 / -1;
  border: 1px solid #f1f2f2;
  border-radius: .5rem;
  background: #f3f5f9;
}
body .main-container10:has(#mailForm) #mailForm .ebc-enquiry-field select {
  display: block;
  width: calc(100% - .75rem);
  min-height: 3.125rem;
  padding: .875rem 1rem;
  border: 0;
  border-radius: .5rem;
  appearance: auto;
  background: transparent;
  color: #191919;
  font: 400 .9375rem/1.4 Outfit, sans-serif;
}
body .main-container10:has(#mailForm) #mailForm .ebc-enquiry-field:focus-within {
  outline: 3px solid rgba(86,116,174,.25);
  outline-offset: 2px;
  border-color: #5674ae;
}
body .main-container10:has(#mailForm) #mailForm .ebc-enquiry-field select:focus-visible { outline: none; }
body .main-container10 #mailForm .row.g-3 > .col-12:has(#InputConsent) {
  align-items: center !important;
  gap: .3125rem !important;
  padding-block: .75rem;
}
body .main-container10 #mailForm #InputConsent,
body .ebc-sell-form #ebc-sell-consent {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 !important;
  border-radius: .625rem;
  background-color: #f3f5f9;
}
body .main-container10 #mailForm #InputConsent:checked,
body .ebc-sell-form #ebc-sell-consent:checked { background-color: #010c25; }
body .main-container10 #mailForm #InputConsent + label,
body .ebc-sell-form #ebc-sell-consent + label {
  color: #191919;
  font: 400 .875rem/1.5 Outfit, sans-serif;
}
body .main-container10 #mailForm #InputConsent + label a,
body .ebc-sell-form #ebc-sell-consent + label a { color: #010c25; font-weight: 600; }
body :is(.main-container10 #mailForm, .ebc-sell-form) .bo-lead-submit {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  width: auto;
  max-width: 100%;
  min-height: 0;
}
/* CMS adds py-3 to the submit button; restore the theme button's own padding. */
body :is(.main-container10 #mailForm, .ebc-sell-form) .bo-lead-submit::after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  background: url('/images/sektioner/uploads/arrow-circle-right-light.svg') center/contain no-repeat;
}
@media (max-width: 47.9375rem) {
  body .main-container10 #mailForm .row.g-3 { grid-template-columns: minmax(0, 1fr); }
  body .main-container10 #mailForm .row.g-3 > .col-12:has(#InputTel),
  body .main-container10 #mailForm .row.g-3 > .col-12:has(#InputEmail) { grid-column: 1; }
}

/* Personalsidans layout finns i sid-CSS; samma regler här ger färsk CSS-version direkt. */
body .ebc-staff-card__info {
  padding-bottom: 2rem;
  background: linear-gradient(transparent, rgba(1,12,37,.96));
  transform: translateY(calc(100% - 8.25rem));
  transition-duration: .3s;
}
body .ebc-staff-card__info a { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
body .ebc-staff-card:is(:hover, :focus-within) .ebc-staff-card__info a { opacity: 1; visibility: visible; }
body:has(.ebc-staff-grid) #container3.main-container10 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.75rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 6.25rem max(1.25rem, calc((100% - 82.5rem)/2));
}
body:has(.ebc-staff-grid) #container3.main-container10 #mailForm { display: contents; }
body:has(.ebc-staff-grid) #container3.main-container10 #kontaktformbody { grid-column: 1 / -1; text-align: center; }
body:has(.ebc-staff-grid) #container3.main-container10 #mailForm > .col-12 { grid-column: 1; min-width: 0; }
body:has(.ebc-staff-grid) #container3.main-container10::after {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
}


body .ebc-staff-form-heading h2 { margin: .625rem 0 0; font-size: 2.5rem; line-height: 1.4; }
@media (max-width: 47.9375rem) {
  body .ebc-staff-grid__cards { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  body .ebc-staff-card > img { aspect-ratio: 1024 / 1200; }
  body .ebc-staff-card__info { padding: 1.125rem; transform: none; }
  body .ebc-staff-card__info a { opacity: 1; visibility: visible; }
  body .ebc-staff-card__info h3 { font-size: 1.25rem; }
  body .ebc-staff-card__info a { font-size: .875rem; }
  body:has(.ebc-staff-grid) #container3.main-container10 { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 4rem 1.25rem; }
  body:has(.ebc-staff-grid) #container3.main-container10 #kontaktformbody,
  body:has(.ebc-staff-grid) #container3.main-container10 #mailForm > .col-12,
  body:has(.ebc-staff-grid) #container3.main-container10::after { grid-column: 1; }
  body:has(.ebc-staff-grid) #container3.main-container10 #kontaktformbody { grid-row: 1; }
  body:has(.ebc-staff-grid) #container3.main-container10::after { grid-row: 2; aspect-ratio: 4 / 3; }
  body:has(.ebc-staff-grid) #container3.main-container10 #mailForm > .col-12 { grid-row: 3; }
  
  body .ebc-staff-form-heading h2 { font-size: 2rem; }
}

/* Ett gemensamt sektionsskal för CMS-formulären på kundens undersidor.
   Formulärets originalfält, ID:n och utskick behålls. */
body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 3.75rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 6.25rem max(1.25rem, calc((100% - 82.5rem)/2));
  border-radius: 0;
  background: #fafafa;
  box-sizing: border-box;
  font-family: Outfit, sans-serif;
}
body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #mailForm { display: contents; }
body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
}
body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody > div { margin: 0; }


body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody h2 {
  margin: .625rem 0 0;
  color: #010c25;
  font: 700 2.5rem/1.4 Outfit, sans-serif;
}
body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody p:not(:first-child) {
  margin: .75rem 0 0;
  color: #515151;
  font: 400 1rem/1.5 Outfit, sans-serif;
}
body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #mailForm > .col-12 {
  grid-column: 1;
  min-width: 0;
  width: 100%;
}
body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm)::after {
  content: "";
  display: block;
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 1.5rem;
  background: url('/images/sektioner/uploads/contact-form-20261106.webp') center/cover no-repeat;
}
/* Kontakt har en äldre sidregel på .kontaktform::after som positionerar
   samma foto mot viewporten när formuläret använder display: contents. */
body #container10 .kontaktform::after { content: none; }
body #container10 .kontaktform { min-height: 0; }
/* Samma rubrikhierarki även när en äldre sid-CSS sätter lokal justering. */
body .main-container10:has(#mailForm) #kontaktformbody { text-align: center !important; }

body .main-container10:has(#mailForm) #kontaktformbody h2 { text-align: center !important; font-weight: 700 !important; }
@media (max-width: 47.9375rem) {
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding: 4rem 1.25rem;
  }
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody,
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #mailForm > .col-12,
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm)::after { grid-column: 1; }
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody { grid-row: 1; }
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm)::after { grid-row: 2; aspect-ratio: 4 / 3; }
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #mailForm > .col-12 { grid-row: 3; }
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody p { font-size: 1rem; }
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody h2 { font-size: 2rem; }
}

/* Fullbredd för formulärsektioner utan viewport-förskjutning. */
body .ebc-sell-form-section {
  left: auto;
  right: auto;
  transform: none;
  width: 100%;
  max-width: none;
}

/* Delade komponenter för länk-, personal-, partner- och informationsblock. */
@media (min-width: 768px) {
  body #container8.main-container8:has(> .bo-vehicle-listing),
  body #containerbilvisning.bo-container.main-containerbilvisning {
    box-sizing: border-box;
    width: min(calc(100% - 48px), 1720px);
    max-width: 1720px;
    margin-inline: auto;
    padding-inline: 0;
  }
  body #container8.main-container8 > .bo-vehicle-listing {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}
@media (min-width: 768px) and (max-width: 1360px) {
  body #container8.main-container8:has(> .bo-vehicle-listing),
  body #containerbilvisning.bo-container.main-containerbilvisning {
    width: min(calc(100% - 32px), 1720px);
  }
}
body :is(.ebc-workshop-services__grid, .ebc-tires-services__grid) a {
  display: grid; place-items: center; width: 100%; height: 100%;
  color: #010c25; text-decoration: none; border-radius: inherit;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
body :is(.ebc-workshop-services__grid, .ebc-tires-services__grid) a:is(:hover,:focus-visible) {
  color: #010c25; background: transparent;
}
body :is(.ebc-workshop-services__grid, .ebc-tires-services__grid) a:focus-visible { outline: 3px solid #b4c9ff; outline-offset: 3px; }
body :is(.ebc-workshop-services__grid, .ebc-tires-services__grid) li { transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
body :is(.ebc-workshop-services__grid, .ebc-tires-services__grid) li:is(:hover,:focus-within) { transform: translateY(-5px); background: #fafafa; box-shadow: 0 1rem 1.875rem rgba(1,12,37,.09); }
body .ebc-about-links { box-sizing: border-box; width: min(1320px,calc(100% - 40px)); max-width: 1320px; margin: 0 auto; padding: 0 20px 100px; text-align: center; }
body .ebc-about-links h2 { margin: 0 0 40px; color: #010c25; font-size: 30px; line-height: 56px; font-weight: 700; }
body .ebc-about-links .ebc-workshop-services__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin: 0; padding: 0; list-style: none; }
body .ebc-about-links .ebc-workshop-services__grid li { display: block; flex: 0 1 269px; height: 250px; padding: 0; border-radius: 24px; background: #fafafa; color: #010c25; font-size: 22px; font-weight: 700; line-height: 1.35; }
body .ebc-about-links .ebc-workshop-services__grid a { box-sizing: border-box; padding: 24px; }
body .ebc-about-links .ebc-workshop-services__grid a:is(:hover,:focus-visible) { color: #010c25; background: transparent; box-shadow: none; transform: none; }

body .ebc-staff-card { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 1024 / 1539; background: #010c25; color: #fff; }
body .ebc-staff-card > img { display: block; width: 100%; height: 100%; object-fit: cover; }
body .ebc-staff-card__info { position: absolute; inset: auto 0 0; padding: 50px 24px 32px; background: linear-gradient(transparent,rgba(1,12,37,.96)); text-align: left; transform: translateY(calc(100% - 132px)); transition: transform .3s ease; }
body .ebc-staff-card:is(:hover,:focus-within) .ebc-staff-card__info { transform: none; }
body .ebc-staff-card__info h3 { margin: 0 0 2px; color: #fff; font-size: 22px; line-height: 1.25; }
body .ebc-staff-card__info p { margin: 0 0 12px; color: #e7edff; font-size: 15px; }
body .ebc-staff-card__info a { display: block; width: fit-content; max-width: 100%; margin-top: 6px; color: #fff; font-size: 14px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
body .ebc-staff-card:is(:hover,:focus-within) .ebc-staff-card__info a { opacity: 1; visibility: visible; }
body .ebc-staff-card__info a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body .ebc-workshop-team__cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
body .ebc-workshop-team__header h2 { margin: 0 0 40px; font-size: 40px; line-height: 56px; font-weight: 700; }

body .ebc-finance-partners, body .ebc-assurance-partner { padding: 0 20px 100px; background: #fff; font-family: Outfit,sans-serif; }
body .ebc-finance-partners__inner, body .ebc-assurance-partner__inner { max-width: 1320px; margin: auto; }
body .ebc-finance-partners h2, body .ebc-assurance-partner h2 { margin: 0 0 40px; color: #1e1e1c; font-size: 26px; line-height: 36px; font-weight: 700; }
body .ebc-finance-partners h2::after, body .ebc-assurance-partner h2::after { content: none; display: none; }
body .ebc-finance-partners__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 75px; }
body .ebc-finance-partners__card { min-height: 200px; padding: 24px; display: grid; place-items: center; background: #fafafa; border-radius: 16px; transition: transform .25s ease,box-shadow .25s ease; }
body .ebc-finance-partners__card:is(:hover,:focus-visible) { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(1,12,37,.09); }
body .ebc-finance-partners__card:focus-visible { outline: 3px solid #b4c9ff; outline-offset: 3px; }
body .ebc-finance-partners__card img { display: block; width: auto; height: auto; max-width: 100%; max-height: 75px; }

body .ebc-service-info { box-sizing: border-box; width: 100%; padding: 100px 20px; background: #f3f5f9; color: #010c25; font-family: Outfit,sans-serif; }
body .ebc-service-info * { box-sizing: border-box; }
body .ebc-service-info__inner { max-width: 1320px; margin: auto; }
body .ebc-service-info__heading { max-width: 760px; margin: 0 auto 56px; text-align: center; }
body .ebc-service-info__heading p { margin: 0 0 14px; color: #586a87; font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .15em; }
body .ebc-service-info__heading h2 { margin: 0 0 16px; color: #010c25; font-size: clamp(32px,3.3vw,48px); line-height: 1.12; font-weight: 700; }
body .ebc-service-info__heading > span { display: block; color: #3b4b63; font-size: 17px; line-height: 1.6; }
body .ebc-service-info__grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 28px; align-items: stretch; }
body .ebc-service-info__copy { padding: 12px 0; }
body .ebc-service-info__topics { display: grid; gap: 12px; }
body .ebc-service-info__topics details { overflow: hidden; border: 1px solid #dce3ef; border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(1,12,37,.03); transition: border-color .2s,box-shadow .2s,transform .2s; }
body .ebc-service-info__topics details:is(:hover,:focus-within) { border-color: #aebfdf; box-shadow: 0 12px 26px rgba(1,12,37,.08); transform: translateY(-2px); }
body .ebc-service-info__topics details[open] { border-color: #aebfdf; box-shadow: 0 12px 32px rgba(1,12,37,.08); }
body .ebc-service-info__topics summary { display: grid; grid-template-columns: 48px minmax(0,1fr) 28px; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; }
body .ebc-service-info__topics summary::-webkit-details-marker { display: none; }
body .ebc-service-info__topics summary:focus-visible { outline: 3px solid #7c9de8; outline-offset: -4px; border-radius: 18px; }
body .ebc-service-info__number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eef2fb; color: #294670; font-size: 15px; font-weight: 700; }
body .ebc-service-info__topics summary strong { display: block; color: #010c25; font-size: 18px; line-height: 1.3; }
body .ebc-service-info__topics summary small { display: block; margin-top: 4px; color: #586a87; font-size: 14px; line-height: 1.4; }
body .ebc-service-info__toggle { display: grid; place-items: center; width: 28px; height: 28px; }
body .ebc-service-info__toggle::before { content: ''; display: block; width: 10px; height: 10px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s ease, margin-top .3s ease; }
body .ebc-service-info__topics details[open] .ebc-service-info__toggle::before { margin-top: 5px; transform: rotate(225deg); }
body .ebc-service-info__answer { padding: 0 28px 22px 86px; }
body .ebc-service-info__topics details[open] .ebc-service-info__answer { animation: ebc-info-reveal .3s ease both; }
@keyframes ebc-info-reveal { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
body .ebc-service-info__answer p { margin: 0; color: #35445c; font-size: 15px; line-height: 1.65; }
body .ebc-service-info__visual { display: flex; flex-direction: column; min-height: 0; padding: clamp(28px,4vw,52px); border-radius: 28px; background: #dfe8fb; }
body .ebc-service-info__visual h3 { margin: 0 0 26px; color: #010c25; font-size: 1.25rem; line-height: 1.25; font-weight: 800; }
body .ebc-service-info__visual ol { display: grid; gap: 0; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: ebc-info; }
body .ebc-service-info__visual li { position: relative; min-height: 76px; padding: 0 0 22px 50px; border-left: 1px solid #a8bae0; margin-left: 15px; counter-increment: ebc-info; }
body .ebc-service-info__visual li:last-child { border-left-color: transparent; padding-bottom: 0; }
body .ebc-service-info__visual li::before { content: counter(ebc-info); position: absolute; top: 0; left: -16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #010c25; color: #fff; font-size: 13px; font-weight: 700; }
body .ebc-service-info__visual li strong, body .ebc-service-info__visual li span { display: block; }
body .ebc-service-info__visual li strong { margin-bottom: 4px; font-size: 16px; line-height: 1.3; }
body .ebc-service-info__visual li span { color: #3b4b63; font-size: 14px; line-height: 1.5; }
body .ebc-service-info__visual > .bo-btn { display: inline-flex; align-self: flex-start; width: auto; margin-top: auto; }
@media (min-width: 768px) and (max-width: 1299px) {
  body .ebc-about-links .ebc-workshop-services__grid { max-width: 800px; margin-inline: auto; }
  body .ebc-about-links .ebc-workshop-services__grid li { flex-basis: calc(50% - 20px); }
}
@media (max-width: 900px) {
  body .ebc-finance-partners__grid { gap: 20px; }
  body .ebc-workshop-team__cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  body .ebc-about-links { padding: 0 20px 64px; }
  body .ebc-about-links h2 { margin-bottom: 28px; font-size: 28px; line-height: 1.3; }
  body .ebc-about-links .ebc-workshop-services__grid { gap: 16px; }
  body .ebc-about-links .ebc-workshop-services__grid li { flex-basis: calc(50% - 8px); height: 150px; font-size: 17px; }
  body .ebc-workshop-team__cards { grid-template-columns: minmax(0,1fr); }
  body .ebc-staff-card { aspect-ratio: auto; border-radius: 16px; }
  body .ebc-staff-card > img { height: auto; aspect-ratio: 1024 / 1200; }
  body .ebc-staff-card__info { position: static; transform: none; padding: 18px; background: #010c25; }
  body .ebc-staff-card__info a { opacity: 1; visibility: visible; }
  body .ebc-finance-partners, body .ebc-assurance-partner { padding: 0 20px 64px; }
  body .ebc-finance-partners__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body .ebc-finance-partners__card { min-height: 120px; padding: 12px; }
  body .ebc-service-info { padding: 64px 20px; }
  body .ebc-service-info__heading { margin-bottom: 36px; }
  body .ebc-service-info__heading h2 { font-size: 32px; line-height: 1.3; }
  body .ebc-service-info__grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  body .ebc-service-info__copy { padding: 0; }
  body .ebc-service-info__topics summary { grid-template-columns: 40px minmax(0,1fr) 26px; gap: 12px; padding: 16px; }
  body .ebc-service-info__number { width: 40px; height: 40px; }
  body .ebc-service-info__topics summary strong { font-size: 16px; }
  body .ebc-service-info__answer { padding: 0 18px 18px 68px; }
  body .ebc-service-info__visual { padding: 30px; }
}
/* Mobil typografi för kundens innehållssektioner; CMS-kontroller och fordonskort påverkas inte. */
@media (max-width: 47.9375rem) {
  body #bodycontainer section[class^="ebc-"] h1 { font-size: 2rem; line-height: 1.2; }
  body #bodycontainer section[class^="ebc-"] h2 { font-size: 1.75rem; line-height: 1.25; }
  body #bodycontainer section[class^="ebc-"] .ebc-editorial-copy h2 { font-size: 1.625rem; }
  body #bodycontainer section[class^="ebc-"] p:not([class*="eyebrow"]):not([class*="draft"]) { font-size: .9375rem; line-height: 1.6; }
  body #bodycontainer .ebc-service-info__heading p { font-size: .8125rem; }
  body #bodycontainer .ebc-service-info__heading > span { font-size: .9375rem; line-height: 1.55; }
  body #bodycontainer .ebc-editorial-copy > p:not(.ebc-editorial-copy__subtitle) { line-height: 1.7; }
  body #bodycontainer :is(.ebc-timeline__copy, .ebc-sell-faq__intro) h3 { font-size: 1.375rem; line-height: 1.3; }
  body:not(:has(.ebc-staff-grid)) .main-container10:has(#mailForm) #kontaktformbody h2,
  body:has(.ebc-staff-grid) #container3.main-container10 #kontaktformbody h2 { font-size: 1.75rem; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) { body .ebc-staff-card__info, body .ebc-staff-card__info a, body :is(.ebc-workshop-services__grid, .ebc-tires-services__grid) li, body .ebc-finance-partners__card, body .ebc-service-info__topics details, body .ebc-service-info__toggle::before { transition: none; } body .ebc-service-info__topics details[open] .ebc-service-info__answer { animation: none; } }


/* Verkstad: kontaktuppgifter på formulärets befintliga bild. */
body:not(:has(.ebc-staff-grid)) #container10.main-container10:has(.ebc-workshop-form-contact) #kontaktformbody{display:contents}
body:not(:has(.ebc-staff-grid)) #container10.main-container10:has(.ebc-workshop-form-contact) #kontaktformbody>div:first-child{grid-column:1/-1;grid-row:1;text-align:center}
body:not(:has(.ebc-staff-grid)) #container10.main-container10:has(.ebc-workshop-form-contact) #mailForm>.col-12{grid-column:1;grid-row:2}
body:not(:has(.ebc-staff-grid)) #container10.main-container10:has(.ebc-workshop-form-contact)::after{content:none}
body:not(:has(.ebc-staff-grid)) #container10.main-container10 #kontaktformbody>.ebc-workshop-form-contact{grid-column:2;grid-row:2;display:grid;place-items:center;min-width:0;min-height:400px;padding:20px;border-radius:24px;background:linear-gradient(rgba(7,22,59,.8),rgba(7,22,59,.8)),url('/images/sektioner/uploads/workshop-form-figma-2026-wide.webp') center/cover no-repeat;color:#fff;text-align:center;box-sizing:border-box;overflow:hidden}
body #container10 #kontaktformbody .ebc-workshop-form-contact__inner{width:min(390px,100%);padding:24px 12px;border-radius:32px;background:rgba(1,12,37,.5)}
body #container10 #kontaktformbody .ebc-workshop-form-contact h3{margin:0 0 16px;color:#fff;font:700 20px/1.3 Outfit,sans-serif}
body #container10 #kontaktformbody .ebc-workshop-form-contact p{margin:0;color:#fff;font:400 16px/1.5 Outfit,sans-serif}
body #container10 #kontaktformbody .ebc-workshop-form-contact__links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;margin:6px 0 16px}
body #container10 #kontaktformbody .ebc-workshop-form-contact__links a{color:#fff;font:500 16px/1.5 Outfit,sans-serif;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
body #container10 #kontaktformbody .ebc-workshop-form-contact__hours{display:grid;gap:6px;color:#fff;font:400 16px/1.25 Outfit,sans-serif}
body #container10 #kontaktformbody .ebc-workshop-form-contact__hours strong{color:#b4c9ff;font-size:14px}
@media(max-width:47.9375rem){body:not(:has(.ebc-staff-grid)) #container10.main-container10:has(.ebc-workshop-form-contact) #kontaktformbody>div:first-child{grid-column:1;grid-row:1}body:not(:has(.ebc-staff-grid)) #container10.main-container10 #kontaktformbody>.ebc-workshop-form-contact{grid-column:1;grid-row:2;min-height:400px}body:not(:has(.ebc-staff-grid)) #container10.main-container10:has(.ebc-workshop-form-contact) #mailForm>.col-12{grid-column:1;grid-row:3}}
body:not(:has(.ebc-staff-grid)) #container10.main-container10:has(#mailForm) #kontaktformbody .ebc-workshop-form-contact p{color:#fff !important}
/* Däcksidans formulärbild från Figma. */


/* Vindrutans Figma-bild i befintlig formulärpanel. */


/* Shared section rhythm, title scale, and hero motion. */
body { --ebc-section-space: clamp(4rem, 12vw, 7.5rem); --ebc-section-title-size: clamp(2rem, 3vw, 2.5rem); }
body #bodycontainer :is(.ebc-service-info__heading, .ebc-workshop-team__header, .ebc-timeline__heading, .ebc-sell-faq__heading, .ebc-sell-form__heading) h2,
body #bodycontainer :is(.ebc-home-services, .ebc-home-trust, .ebc-home-latest__header, .ebc-about-links, .ebc-staff-grid, .ebc-environment-responsibility, .ebc-finance-partners, .ebc-assurance-partner, .ebc-workshop-services, .ebc-tires-services, .ebc-sell-process, .ebc-sell-faq) > h2,
body #bodycontainer :is(.ebc-finance-partners, .ebc-assurance-partner) h2 { font-size: var(--ebc-section-title-size); line-height: 1.25; font-weight: 700; }
body .ebc-inventory-intro h1 { font-size: var(--ebc-section-title-size); line-height: 1.25; }
body #bodycontainer .ebc-service-info__heading { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
body #bodycontainer .ebc-service-info__heading h2 { margin-bottom: .75rem; }
body #bodycontainer .ebc-hero-cta { display: inline-flex; align-items: center; gap: .25rem; width: auto; margin-top: 1rem; }
body #bodycontainer .ebc-hero-cta::after { content: ''; display: block; flex: none; width: 1.25rem; height: 1.25rem; background: url('/images/sektioner/uploads/arrow-circle-right.svg') center/contain no-repeat; }
body #bodycontainer .ebc-hero-cta.bo-btn--primary::after { background-image: url('/images/sektioner/uploads/arrow-circle-right-light.svg'); }
body [data-ebc-hero-intro]:not(.ebc-home-hero) > img { inset: -30% 0 auto; width: 100%; height: 160%; object-fit: cover; transform: translate3d(0, var(--ebc-hero-image-y, 0px), 0); will-change: transform; }

body .ebc-home-reco .ebc-home-cta { transition: translate .25s ease, box-shadow .25s ease; }
body .ebc-home-reco .ebc-home-cta:is(:hover, :focus-visible) { translate: 0 -.25rem; }
body .main-container10 #mailForm #send.bo-btn.py-3 { padding-block: .75rem !important; }
/* Shared service banner: only the photograph varies by page. */
body #bodycontainer .ebc-service-banner { position: relative; display: flex; align-items: center; box-sizing: border-box; width: min(82.5rem, calc(100% - 2.5rem)); min-height: clamp(21.25rem, 30vw, 26.25rem); margin: 0 auto var(--ebc-section-space); padding: clamp(2rem, 6vw, 5rem); overflow: hidden; border-radius: 1.5rem; color: #fff; font-family: Outfit, sans-serif; }
body #bodycontainer .ebc-service-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
body #bodycontainer .ebc-service-banner::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.6); transition: background .45s ease; }
body #bodycontainer .ebc-service-banner:is(:hover,:focus-within) > img { transform: scale(1.04); }
body #bodycontainer .ebc-service-banner:is(:hover,:focus-within)::after { background: rgba(0,0,0,.68); }
body #bodycontainer .ebc-service-banner__content { position: relative; z-index: 1; max-width: 46.25rem; }
body #bodycontainer .ebc-service-banner__eyebrow { display: block; margin: 0 0 .75rem; color: #b4c9ff; font-size: 1rem; font-weight: 600; line-height: 1.4; }
body #bodycontainer .ebc-service-banner h2 { margin: 0 0 1rem; color: #fff; font-size: clamp(1.625rem, 2.3vw, 1.875rem); line-height: 1.25; font-weight: 700; }
body #bodycontainer .ebc-service-banner__content > p:not(.ebc-service-banner__eyebrow) { margin: 0 0 1.5rem; color: #fff; font-size: 1.125rem; line-height: 1.65; }
body #bodycontainer .ebc-service-banner .bo-btn { background: #fff; border-color: #fff; color: #010c25; }
body #bodycontainer .ebc-service-banner .bo-btn:is(:hover,:focus-visible) { background: #e7edff; border-color: #e7edff; color: #010c25; }
body #bodycontainer .ebc-windshield-body > .ebc-service-banner { width: 100%; margin-bottom: 0; }
body :is(.ebc-home-services, .ebc-home-trust, .ebc-finance-intro, .ebc-assurance-content, .ebc-environment-content, .ebc-environment-responsibility, .ebc-staff-grid, .ebc-sell-form-section, .ebc-sell-faq, .ebc-service-info) { padding-block: var(--ebc-section-space); }
body :is(.ebc-finance-partners, .ebc-assurance-partner, .ebc-about-links) { padding-bottom: var(--ebc-section-space); }
body .ebc-sell-process__inner, body .ebc-windshield-body, body .ebc-inventory-intro { padding-block: var(--ebc-section-space); }
body .ebc-windshield-body { gap: var(--ebc-section-space); }
body #container10.main-container10:has(#mailForm), body #container3.main-container10:has(#mailForm) { padding-block: var(--ebc-section-space); }
body :is(.ebc-about-intro, .ebc-tires-info, .ebc-tires-services, .ebc-workshop-services, .ebc-contact-card) { margin-block: var(--ebc-section-space); }
body .ebc-workshop-body { margin-top: var(--ebc-section-space); gap: var(--ebc-section-space); }
body .ebc-workshop-team { margin-block: var(--ebc-section-space); }
body :is(.ebc-home-latest, .ebc-timeline) { padding-block: var(--ebc-section-space); }
@media (max-width: 47.9375rem) { body { --ebc-section-title-size: 1.75rem; } body #bodycontainer .ebc-service-banner { width: calc(100% - 2.5rem); padding: 3rem 1.5rem; } body #bodycontainer .ebc-service-banner h2 { font-size: 1.625rem; } }
@media (prefers-reduced-motion: reduce) { body [data-ebc-hero-intro]:not(.ebc-home-hero) > img { transform: none; will-change: auto; } body .ebc-home-reco .ebc-home-cta, body #bodycontainer .ebc-service-banner > img, body #bodycontainer .ebc-service-banner::after { transition: none; } }
	



/* Shared form eyebrows: target only the heading, never the contact panel copy. */
body .main-container10:has(#mailForm) #kontaktformbody > div:first-child > p:first-child,
body #bodycontainer section.ebc-sell-form-section .ebc-sell-form__heading > p:first-child,
body #bodycontainer .ebc-service-info__heading > p:first-child,
body #bodycontainer .ebc-section-eyebrow,
body #bodycontainer section.ebc-timeline header.ebc-timeline__heading > p:first-child {
  display: block;
  margin: 0 0 .875rem;
  color: #586a87;
  font: 700 .8125rem/1.4 Outfit, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: center;
}
body .main-container10:has(#mailForm) #kontaktformbody > div:first-child > p:first-child::before,
body .main-container10:has(#mailForm) #kontaktformbody > div:first-child > p:first-child::after,
body #bodycontainer section.ebc-sell-form-section .ebc-sell-form__heading > p:first-child::before,
body #bodycontainer section.ebc-sell-form-section .ebc-sell-form__heading > p:first-child::after { content: none; display: none; }
/* Same form photograph for every non-workshop form, including staff and sell. */
body:has(.ebc-staff-grid) #container3.main-container10::after {
  background: url('/images/sektioner/uploads/contact-form-20261106.webp') center/cover no-repeat;
}
/* Hero lead only: do not style grid or banner paragraphs. */
body #bodycontainer [class$="-hero__content"] > h1 + p {
  color: #b4c9ff;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-weight: 600;
  line-height: 1.5;
}




/* Follow-up: same eyebrow treatment on home and timeline. */
body #bodycontainer .ebc-section-eyebrow::before,
body #bodycontainer .ebc-section-eyebrow::after,
body #bodycontainer .ebc-timeline__heading > p:first-child::before,
body #bodycontainer .ebc-timeline__heading > p:first-child::after { content: none; display: none; }
/* Smaller headings for the three link/service grids. */
body #bodycontainer :is(#ebc-about-links-title, #ebc-workshop-services-title, #ebc-tires-services-title) { font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem); line-height: 1.3; }
/* Same image radius, preserving vehicle image ratio and fit. */
body .ebc-home-latest .ebc-vehicle-card__image { border-radius: 1.5rem; overflow: hidden; }
/* Button labels only; existing sizes and icon font weights stay intact. */
body :is(.bo-btn, button, [role="button"], input[type="button"], input[type="submit"]) { font-weight: 500 !important; }


/* Shared hero lead/body spacing. Keep the following CTA spacing from each page. */
body #bodycontainer [class$="-hero__content"] > h1 + p { margin-bottom: 0; }
body #bodycontainer [class$="-hero__content"] > h1 + p + :is(p, span) {
  display: block;
  margin-top: .5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}
@media (max-width: 47.9375rem) {
  body #bodycontainer [class$="-hero__content"] > h1 + p + :is(p, span) { font-size: .9375rem; }
}


/* Hero CTA: prevent the old paragraph margin from doubling the button gap. */
body #bodycontainer :is(.ebc-sell-hero__content, .ebc-windshield-hero__content) > .ebc-hero-body { margin-bottom: 0; }


/* Match mobile hero CTA rhythm to the insurance reference. */
@media (max-width: 47.9375rem) {
  body #bodycontainer :is(.ebc-sell-hero__content, .ebc-windshield-hero__content, .ebc-sold-hero__content, .ebc-finance-hero__content, .ebc-assurance-hero__content) > p:last-of-type { margin-bottom: 0; }
  body #bodycontainer :is(.ebc-sell-hero__content, .ebc-windshield-hero__content, .ebc-sold-hero__content, .ebc-finance-hero__content, .ebc-assurance-hero__content) > a.bo-btn { margin-top: .875rem; }
}



/* Sold listing: the same uncropped 4:3 image geometry as the live inventory. */
body:has(.ebc-sold-hero) #container8 .bo-listing-card .bo-listing-card__media { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
body:has(.ebc-sold-hero) #container8 .bo-listing-card .bo-listing-card__media-link { position: relative; inset: auto; }
body:has(.ebc-sold-hero) #container8 .bo-listing-card .bo-listing-card__img { padding: 0; object-fit: cover; }

