.model-detail-tabs__controls--hidden {
  display: none !important;
}

.model-test-drive-host {
  background: var(--color-bg, #0e1718);
}

.model-test-drive {
  min-height: min(760px, 72vw);
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.46) 28%, rgba(0, 0, 0, 0.08) 62%, rgba(0, 0, 0, 0.04) 100%),
    var(--test-drive-image-desktop) !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.model-test-drive[hidden] {
  display: none !important;
}

.model-test-drive > .bg-transparent {
  width: 100%;
}

.model-test-drive .text-component {
  max-width: 31rem;
}

.model-test-drive h1 {
  text-wrap: balance;
}

@media (min-width: 48rem) {
  .model-test-drive > .bg-transparent > .container {
    max-width: 72rem;
  }
}

@media (max-width: 47.99rem) {
  .model-test-drive {
    min-height: 900px;
    display: block;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.48) 30%, rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0.08) 100%),
      var(--test-drive-image-mobile) !important;
    background-position: center bottom !important;
  }

  .model-test-drive .text-component {
    max-width: 22rem;
  }

  .model-test-drive h1 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    line-height: 1.08;
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-test-drive {
    transition: none;
  }
}
