/* Page-specific styles consolidated from sell-car.html. */

/* Generated from inline style attributes in sell-car.html. */
.landmark-page-inline-style-001:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  display: none;
}

.landmark-page-inline-style-002:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  border-bottom: 1px solid white;
}

.landmark-page-inline-style-003:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  background: #f1f1f1;
}

.landmark-page-inline-style-004:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  height: 100px;
}

.landmark-page-inline-style-005:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  position: absolute;
  text-align: start;
  margin-top: 30px;
  margin-left: -20px;
}

.landmark-page-inline-style-006:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  width: 15px;
  height: 15px;
  border: 1px solid gray;
}

.landmark-page-inline-style-007:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  text-align: start;
}

.landmark-page-inline-style-008:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  border: 2px solid #d9d8d6;
}

.landmark-page-inline-style-009:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  padding: 0px 27px;
}

/* Extracted from sell-car.html. */
.dropdown-menu.show {
  max-height: 300px !important;
}

.ui_kit_select_search button.btn {
  background: #f7f7f7 !important;
}

#scroll-to-form {
  scroll-margin-top: 100px;
}

/* Preserve every source image's natural proportions at all viewport widths.
   The HTML width/height attributes reserve layout space, but must not become
   fixed rendered heights after responsive CSS reduces the image width. */
.home-one .item,
.home-one .img-fluid-main {
  width: 100%;
  max-width: 100%;
}

.home-one .img-fluid-main {
  display: block;
  height: auto !important;
  object-fit: contain;
}

img[src$="exchange-sell-1.png"] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
}

.exchange-img-sell {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}

/* The shared desktop hero rule pulls .home-one upward by 126px. On this page
   that hides the top of the artwork behind the fixed header/breadcrumb and
   moves the text baked into the banner above its visual centre. */
@media (min-width: 992px) {
  .home-one {
    margin-top: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .home-one,
  .home-one .item {
    overflow: hidden;
  }

  .home-one .img-fluid-main {
    height: auto !important;
  }

  .exchange-img-sell {
    width: calc(100% - 32px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Consistent heading and body rhythm for the car valuation benefit cards. */
.sell-car-why-section .choose-header {
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1.25;
  margin-bottom: 10px;
}

.sell-car-why-section .choose-header-2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.2;
  margin: 0 auto 14px;
  max-width: 960px;
}

.sell-car-why-section .choose-header-3 {
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 980px;
}

.sell-car-why-section .row.mt-5 {
  align-items: stretch;
  row-gap: 8px;
}

.sell-car-why-section .card-custom {
  align-items: stretch;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  min-height: 350px;
  padding: 26px 24px 24px;
  text-align: center;
}

.sell-car-why-section .sell-img {
  flex: 0 0 82px;
  height: 82px;
  margin: 0 auto 10px;
  object-fit: contain;
  width: 82px;
}

.sell-car-why-section .card-title {
  align-items: center;
  display: flex;
  font-size: clamp(18px, 1.5vw, 21px);
  justify-content: center;
  line-height: 1.3;
  margin: 0 0 12px;
  min-height: 56px;
  padding: 0;
  text-align: center;
  width: 100%;
}

.sell-car-why-section .card-text {
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  text-align: left;
  width: 100%;
}

@media (max-width: 767.98px) {
  .sell-car-why-section .row.mt-5 {
    margin-top: 28px !important;
  }

  .sell-car-why-section .card-custom {
    min-height: 0;
    padding: 24px 22px;
  }

  .sell-car-why-section .choose-header-3 {
    font-size: 16px;
  }

  .sell-car-why-section .card-text {
    font-size: 15px;
    line-height: 1.6;
  }
}
