#result {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

.af-vehicle-s-wrapper {
  width: 95%;
  margin: 0 auto 10px;
}

.af-vehicle-result-container {
  padding: 0 10px;
}

.af-vehicle-result {
  border: 1px solid #C2C2C2;
  box-shadow: 0px 3px 6px #00000033;
}

.af-vehicle-header {
  background: #fff;
  padding: 15px 10px 0;
}

.af-vehicle-result .af-vehicle-image {
  background: #fff;
  position: relative;
}

.af-vehicle-image>a {
  position: relative;
}

.af-vehicle-image .af-reduced-price {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #F4D522;
  color: #02095B;
  font-weight: 700;
  padding: 5px;
  text-align: center;
  width: 100%;
}

.af-vehicle-image .af-img {
  height: calc((95vw - 20px) * .65);
  /* results are 95% of screen width with 10px padding both sides, times height:width ratio */
}

.af-vehicle-detail {
  background: #fff;
  padding: 5px 10px;
}

.af-additional-text,
.residency-disclaimer {
  display: none;
}

.af-vehicle-type {
  text-transform: capitalize;
}

.af-vehicle-name {
  font-size: 21px;
  font-weight: 700;
}

.af-vehicle-trim {
  font-size: 14px;
  font-weight: 400;
}

.af-vehicle-details-container {
  padding: 5px 10px 0;
}

.af-stock-location {
  color: #797979;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.af-vehicle-location {
  color: #000;
}

.af-vehicle-details {
  color: #000;
  font-size: 14px;
  padding: 5px 0;
}
.af-vehicle-spec-group {
  display: flex;
  gap: 25px;
  line-height: 18px;
}
.af-vehicle-spec-label {
  width: 60px;
}
.af-vehicle-spec-value {
  font-weight: 700;
}

.af-badges-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.af-badge {
  width: 50%;
}
.af-badge img {
  display: block;
  margin: 0 auto;
}
.af-vehicle-carfax img {
  max-height: 70px;
}
.af-drcs img {
  width: 80px;
}

.af-vehicle-result-body .af-cta-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  background-color: #fff;
  padding: 5px 10px 10px;
  margin-bottom: 15px;
}
.af-vehicle-result-body .af-cta-container .af-btn {
  width: 100%;
  max-width: none;
  border: 1px solid #355789;
  border-radius: 0;
  color: #000;
  font-family: 'Lato', sans-serif;
}
.af-vehicle-result-body .af-cta-container .af-brand-btn:hover {
  cursor: pointer;
  background-color: #BCE31F;
}
.af-vehicle-result-body .af-cta-container .af-blue-btn {
  color: #fff;
}



.af-vehicle-cash table td {
  font-size: 14px;
}

.af-vehicle-cash table tr.af-final-price-row {
  display: table-row;
}

.af-order-tile {
  height: 100%;
}

.af-order-tile-body {
  /* background-color: #4161A1; */
  background-image: url(/images/localized/customorder-srp-tile.avif);
  box-shadow: inset 0 0 0 1000px rgba(65, 97, 161, .85);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 15px;
  height: 100%;
}

.af-order-tile-body h2 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 320px;
}

.af-order-tile-body h3 {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 320px;
}

.af-order-tile-body button {
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 40px;
  width: 215px;
  background-color: #F6F6F8;
  color: #02095B;
  border: 1px solid #C2C2C2;
}

.af-order-tile-body button:hover {
  background-color: #02095B;
  color: #fff;
}

.af-promo-tile a {
  display: block;
  height: 100%;
}

.af-promo-tile-body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F5F6F6;
  height: 100%;
}

@media (max-width: 767px) {
  .af-order-tile-body {
    min-height: 585px;
  }
}

@media (min-width: 768px) {
  .af-vehicle-s-wrapper {
    width: 50%;
    margin: 0 0 10px;
  }

  .af-vehicle-image .af-img {
    height: calc((50vw - 20px) * .65);
    /* results are 50% of screen width minus 20px padding each, times height:width ratio */
  }
}

@media (min-width: 992px) {
  .af-vehicle-image .af-img {
    height: calc((50vw - 150px) * .65);
    /* results are 50% of screen width (minus 50% of menu width (260px) and result padding (20px)), times height:width ratio */
  }

  .af-vehicle-detail {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    padding-top: 15px;
    align-items: flex-start;
  }

  .af-vehicle-cash table tr.af-final-price-row {
    border-top: 1px solid #bbb;
  }

  .af-vehicle-cash table td.af-final-price-value {
    padding: 10px 0;
  }
}

/* @media (min-width: 1600px) { */
@media (min-width: 1440px) {
  .af-vehicle-s-wrapper {
    width: 33.3333%;
  }

  .af-vehicle-image .af-img {
    height: calc((33.3333vw - 160px) * .65);
    /* results are 33% of screen width (minus 33% of menu width (420px) and result padding (20px)), times height:width ratio */
  }
}

/* @media (min-width:1920px) { */
@media (min-width: 1600px) {
  .af-vehicle-s-wrapper {
    width: 25%;
  }

  .af-vehicle-image .af-img {
    height: calc((25vw - 160px) * .65);
  }
}



/* CarFax tiles */
/* .af-carfax-tile {
  height: 100%;
  padding: 10px 15px;
} */
.af-carfax-tile h2 {
  font-size: 38px;
  line-height: 42px;
  margin: 30px 0 15px;
}
.af-carfax-tile p {
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  margin-bottom: 30px;
}
.af-carfax-tile-arrow {
  margin-bottom: 30px;
}
.af-get-prequalified-tile a {
  background-color: #b5f20d;
  color: #000;
  display: block;
  height: 100%;
}
.af-get-prequalified-tile h2 {
  color: #000;
}
.af-get-approved-tile a {
  background-color: #426EA2;
  color: #fff;
  display: block;
  height: 100%;
}
.af-get-approved-tile h2 {
  color: #fff;
}
.af-carfax-tile-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  margin: 0 auto;
  height: 100%;
  min-height: 679px;
  max-width: 430px;
}