/* Canonical public footer. The unique namespace prevents retired footer CSS from altering it. */
#fleetwraps-public-footer.fleet-public-footer {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(24px, 3vw, 42px) clamp(18px, 4vw, 64px) !important;
  color: var(--fp-footer-text-color, #fff) !important;
  background: var(--fp-footer-surface-background, #a90000) !important;
  font-family: var(--font-brand, "Montserrat", Arial, sans-serif) !important;
}

#fleetwraps-public-footer *,
#fleetwraps-public-footer *::before,
#fleetwraps-public-footer *::after { box-sizing: border-box; }

#fleetwraps-public-footer .fleet-public-footer__shell {
  display: grid !important;
  width: min(100%, 1780px) !important;
  max-width: 1780px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  grid-template-columns: minmax(110px, 300px) minmax(0, 1fr) minmax(110px, 300px) !important;
  grid-template-rows: auto auto auto !important;
  gap: clamp(20px, 2.5vw, 38px) clamp(22px, 4vw, 72px) !important;
  align-items: center !important;
}

#fleetwraps-public-footer .fleet-public-footer__brand {
  display: flex !important;
  width: min(100%, 300px) !important;
  max-width: 300px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: inherit !important;
  text-align: center !important;
  text-decoration: none !important;
}

#fleetwraps-public-footer .fleet-public-footer__brand img {
  display: block !important;
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
  margin: 0 !important;
}

#fleetwraps-public-footer .fleet-public-footer__locations {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: stretch !important;
  justify-self: center !important;
}

#fleetwraps-public-footer .wj-footer-locations {
  display: grid !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  align-items: center !important;
  color: inherit !important;
  font-size: calc(var(--wj-footer-location-font-size, 12px) * var(--fp-footer-scale, 1)) !important;
}

#fleetwraps-public-footer .wj-footer-locations--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
#fleetwraps-public-footer .wj-footer-locations--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

#fleetwraps-public-footer .wj-footer-location {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 clamp(12px, 2vw, 30px) !important;
  border: 0 !important;
  color: inherit !important;
  text-align: center !important;
}

#fleetwraps-public-footer .wj-footer-location + .wj-footer-location {
  padding-top: 0 !important;
  border-top: 0 !important;
  border-left: 1px solid color-mix(in srgb, currentColor 42%, transparent) !important;
}

#fleetwraps-public-footer .wj-footer-location h2 {
  margin: 0 0 6px !important;
  color: inherit !important;
  font: 800 1em/1.2 var(--font-brand, "Montserrat", Arial, sans-serif) !important;
}

#fleetwraps-public-footer .wj-footer-location__address,
#fleetwraps-public-footer .wj-footer-location__map-link {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: inherit !important;
  text-align: center !important;
}

#fleetwraps-public-footer .wj-footer-location__map-link { text-decoration: none !important; }
#fleetwraps-public-footer .wj-footer-location address { margin: 0 !important; color: inherit !important; font: inherit !important; line-height: 1.35 !important; }
#fleetwraps-public-footer .wj-footer-location p { margin: 4px 0 0 !important; color: inherit !important; line-height: 1.3 !important; }
#fleetwraps-public-footer .wj-footer-location p a { color: inherit !important; }

#fleetwraps-public-footer .fleet-public-footer__quote {
  position: relative !important;
  top: -8px !important;
  display: flex !important;
  width: min(100%, 250px) !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  border: 3px solid var(--fp-footer-button-color, #fff) !important;
  border-radius: 14px !important;
  color: var(--fp-footer-button-color, #fff) !important;
  background: var(--fp-footer-button-background, #00244B) !important;
  font-family: var(--fp-action-font, "Oswald", Impact, sans-serif) !important;
  font-size: clamp(calc(22px * var(--fp-footer-scale, 1)), calc(2.1vw * var(--fp-footer-scale, 1)), calc(38px * var(--fp-footer-scale, 1))) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

#fleetwraps-public-footer .fleet-public-footer__quote:hover,
#fleetwraps-public-footer .fleet-public-footer__quote:focus-visible {
  color: var(--fp-footer-button-background, #00244B) !important;
  background: var(--fp-footer-button-color, #fff) !important;
}

#fleetwraps-public-footer .fleet-public-footer__legal {
  width: min(100%, var(--wj-footer-copyright-width, 70%)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  color: inherit !important;
  text-align: center !important;
}

#fleetwraps-public-footer .fleet-public-footer__legal p {
  width: min(100%, 700px) !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  color: inherit !important;
  font-size: clamp(calc(9px * var(--fp-footer-scale, 1)), calc(.78vw * var(--fp-footer-scale, 1)), calc(13px * var(--fp-footer-scale, 1))) !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  text-wrap: balance !important;
}

#fleetwraps-public-footer .fleet-public-footer__policies {
  display: flex !important;
  margin-top: 10px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px 0 !important;
}

#fleetwraps-public-footer .fleet-public-footer__policies a {
  color: inherit !important;
  font-size: clamp(calc(9px * var(--fp-footer-scale, 1)), calc(.8vw * var(--fp-footer-scale, 1)), calc(13px * var(--fp-footer-scale, 1))) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

#fleetwraps-public-footer .fleet-public-footer__policies a + a::before {
  content: "|" !important;
  margin: 0 9px !important;
  color: inherit !important;
}

#fleetwraps-public-footer .fleet-public-footer__socials {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
}

#fleetwraps-public-footer .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#fleetwraps-public-footer .fleet-public-footer__socials > a,
#fleetwraps-public-footer .fleet-public-footer__socials > span {
  display: grid !important;
  width: var(--wj-footer-social-icon-size, 30px) !important;
  height: var(--wj-footer-social-icon-size, 30px) !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  color: inherit !important;
}

#fleetwraps-public-footer .fleet-public-footer__social-icon {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Keep every footer link white regardless of link history or active state. */
#fleetwraps-public-footer a,
#fleetwraps-public-footer a:link,
#fleetwraps-public-footer a:visited,
#fleetwraps-public-footer a:active {
  color: #ffffff !important;
  text-decoration: none !important;
}
#fleetwraps-public-footer a:hover,
#fleetwraps-public-footer a:focus-visible {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
}
#fleetwraps-public-footer .fleet-public-footer__quote:hover,
#fleetwraps-public-footer .fleet-public-footer__quote:focus-visible {
  color: #ffffff !important;
  background: color-mix(in srgb, var(--fp-footer-button-background, #00244B) 82%, #000000) !important;
}

@media (max-width: 1100px) {
  #fleetwraps-public-footer .fleet-public-footer__shell {
    grid-template-columns: minmax(95px, 160px) minmax(0, 1fr) minmax(95px, 160px) !important;
    column-gap: clamp(12px, 2.5vw, 28px) !important;
  }
  #fleetwraps-public-footer .fleet-public-footer__brand { max-width: 160px !important; }
  #fleetwraps-public-footer .fleet-public-footer__brand img { max-width: 160px !important; }
  #fleetwraps-public-footer .fleet-public-footer__quote { min-height: 48px !important; border-width: 2px !important; font-size: clamp(calc(18px * var(--fp-footer-scale, 1)), calc(2.5vw * var(--fp-footer-scale, 1)), calc(28px * var(--fp-footer-scale, 1))) !important; }
  #fleetwraps-public-footer .wj-footer-location { padding-inline: clamp(7px, 1.4vw, 18px) !important; }
}

/* Preserve each configured address as two deliberate lines on portrait tablets. */
@media (min-width: 601px) and (max-width: 1100px) and (orientation: portrait) {
  #fleetwraps-public-footer .wj-footer-locations {
    font-size: calc(11px * var(--fp-footer-scale, 1)) !important;
  }
  #fleetwraps-public-footer .wj-footer-location address {
    overflow-wrap: normal !important;
    white-space: nowrap !important;
  }
}

/* Landscape remains a three-part first row, with addresses in side-by-side columns. */
@media (max-width: 700px) and (orientation: landscape) {
  #fleetwraps-public-footer.fleet-public-footer { padding: 18px 16px !important; }
  #fleetwraps-public-footer .fleet-public-footer__shell {
    grid-template-columns: 115px minmax(0, 1fr) 115px !important;
    row-gap: 14px !important;
    column-gap: 12px !important;
  }
  #fleetwraps-public-footer .fleet-public-footer__brand { max-width: 95px !important; }
  #fleetwraps-public-footer .fleet-public-footer__brand img { max-width: 95px !important; }
  #fleetwraps-public-footer .fleet-public-footer__quote { min-height: 38px !important; padding: 7px 8px !important; border-radius: 9px !important; font-size: calc(17px * var(--fp-footer-scale, 1)) !important; }
  #fleetwraps-public-footer .wj-footer-locations { font-size: calc(8px * var(--fp-footer-scale, 1)) !important; }
  #fleetwraps-public-footer .wj-footer-location { padding-inline: 6px !important; }
  #fleetwraps-public-footer .wj-footer-location__contacts { font-size: calc(6px * var(--fp-footer-scale, 1)) !important; }
  #fleetwraps-public-footer .fleet-public-footer__legal { width: 92% !important; }
}

/* A full one-column stack is reserved for portrait phones. */
@media (max-width: 600px) and (orientation: portrait) {
  #fleetwraps-public-footer.fleet-public-footer { padding: 28px 20px !important; }
  #fleetwraps-public-footer .fleet-public-footer__shell {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    gap: 24px !important;
  }
  #fleetwraps-public-footer .fleet-public-footer__brand,
  #fleetwraps-public-footer .fleet-public-footer__locations,
  #fleetwraps-public-footer .fleet-public-footer__quote,
  #fleetwraps-public-footer .fleet-public-footer__legal,
  #fleetwraps-public-footer .fleet-public-footer__socials {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: center !important;
  }
  #fleetwraps-public-footer .fleet-public-footer__brand,
  #fleetwraps-public-footer .fleet-public-footer__brand img { max-width: 220px !important; }
  #fleetwraps-public-footer .fleet-public-footer__locations { width: 100% !important; }
  #fleetwraps-public-footer .wj-footer-locations--2,
  #fleetwraps-public-footer .wj-footer-locations--3 { grid-template-columns: minmax(0, 1fr) !important; }
  #fleetwraps-public-footer .wj-footer-location { padding: 0 !important; }
  #fleetwraps-public-footer .wj-footer-location + .wj-footer-location {
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid color-mix(in srgb, currentColor 42%, transparent) !important;
    border-left: 0 !important;
  }
  #fleetwraps-public-footer .fleet-public-footer__quote { top: 0 !important; width: min(100%, 250px) !important; }
  #fleetwraps-public-footer .fleet-public-footer__legal { width: 100% !important; }
}
