/* All desktop slides share a responsive frame capped at 630px. */
.market-banners {
  align-items: start !important;
}

.market-banner.hero-fit-ready,
.market-banner.hero-fit-ready.banner-mode-image,
.market-banner.hero-fit-ready[style*="--banner-image"],
.market-banner.hero-fit-ready.banner-mode-image[style*="--banner-image"] {
  display: block !important;
  align-self: start !important;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background-image: none !important;
  background-color: #18202a !important;
}

.market-banner.hero-fit-ready .hero-fit-media,
.market-banner.hero-fit-ready .hero-fit-media img {
  display: block;
  width: 100%;
}

.market-banner.hero-fit-ready .hero-fit-media img {
  height: auto;
  max-height: none;
  object-fit: initial;
}

@media (min-width: 821px) {
  .market-banner.hero-fit-ready .hero-fit-media,
  .market-banner.hero-fit-ready .hero-fit-media img {
    height: 100%;
  }
  .market-banner.hero-fit-ready .hero-fit-media img {
    object-fit: cover;
    object-position: center center;
  }
}

.market-banner.hero-fit-ready::before {
  display: block !important;
  inset: 0 !important;
  z-index: 1 !important;
  opacity: 1 !important;
  background: linear-gradient(90deg, rgba(10,13,20,.7), rgba(10,13,20,.05) 75%) !important;
  pointer-events: none;
}

.market-banner.hero-fit-ready.banner-mode-image::before,
.market-banner.hero-fit-ready::after {
  display: none !important;
}

.market-banner.hero-fit-ready .banner-copy {
  position: absolute !important;
  top: 50%;
  left: clamp(98px,8vw,124px);
  z-index: 3;
  transform: translateY(-50%);
}

@media (min-width: 821px) {
  .market-banners .market-banner:not(.hero-fit-ready) {
    padding-left: 110px !important;
    padding-right: 90px !important;
  }
}

@media (max-width: 820px) {
  .market-banner.hero-fit-ready::before { display: none !important; }
  .market-banner.hero-fit-ready .banner-copy {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 100%;
    max-width: none !important;
    padding: 20px 22px 24px;
    background: #18202a;
    color: #fff;
  }
}

.market-banners[style*="--hero-uniform-height"] .market-banner,
.market-banners[style*="--hero-uniform-height"] .market-banner.hero-fit-ready {
  height: var(--hero-uniform-height) !important;
  min-height: var(--hero-uniform-height) !important;
}
