/* DroneTrader's shared US and Canadian marketplace homepage. */
.dt-marketplace-home .dt-flight-hero {
  --hero-sand: #f8f3ea;
  background: #fff;
  overflow: clip;
}
.dt-marketplace-home .dt-flight-hero__grid {
  display: block;
  padding-block: clamp(14px, 1.8vw, 26px) 0;
}
.dt-marketplace-home .dt-home-hero .dt-hero-heading {
  --fl-meta: var(--fl-ink-700);
  --fl-muted: var(--fl-ink-700);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  padding: clamp(30px, 3vw, 44px) clamp(24px, 3.2vw, 46px);
  background: var(--hero-sand);
}
.dt-marketplace-home .dt-hero-heading::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 57%;
  aspect-ratio: 3 / 2;
  max-height: calc(100% - 28px);
  border-radius: 9px;
  background-image:
    linear-gradient(90deg, var(--hero-sand), rgba(248, 243, 234, .92) 7%, rgba(248, 243, 234, .58) 18%, transparent 40%),
    url("../img/dronetrader/flightline/next-flight.webp");
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
}
.dt-marketplace-home .dt-hero-heading h1 {
  max-width: 48%;
}
.dt-marketplace-home .dt-hero-heading .dt-hero-lede {
  max-width: min(47%, 530px);
}
.dt-marketplace-home .dt-hero-models {
  padding-block: 26px;
}
.dt-marketplace-home .dt-hero-models__heading {
  margin-bottom: 14px;
}
.dt-marketplace-home .dt-home-hero .dt-hero-models__heading .dt-section-kicker {
  font: 600 clamp(20px, 2vw, 24px)/1.25 var(--fl-font);
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--fl-ink);
}
.dt-marketplace-home .dt-hero-models__heading > a {
  font-size: 14px;
}
.dt-marketplace-home .dt-model-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  overflow: visible;
}
.dt-marketplace-home .dt-model-tile {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 14px 13px;
  background: var(--fl-bone);
}
.dt-marketplace-home .dt-model-tile img {
  width: 100%;
  max-width: none;
  height: clamp(112px, 11vw, 145px);
  object-fit: contain;
  margin: 0 0 3px;
  padding: 5px 0;
}
.dt-marketplace-home .dt-model-tile__name {
  font-size: 16px;
  font-weight: 600;
}
.dt-marketplace-home .dt-model-tile__count {
  margin-top: 3px;
  font-size: 12px;
}

@media (max-width: 1099px) {
  .dt-marketplace-home .dt-model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 549px) {
  .dt-marketplace-home .dt-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .dt-marketplace-home .dt-home-hero .dt-hero-heading {
    padding: 22px 16px;
    border-radius: 12px;
  }
  .dt-marketplace-home .dt-hero-heading::after {
    position: static;
    display: block;
    transform: none;
    width: auto;
    max-height: none;
    background-image:
      linear-gradient(90deg, var(--hero-sand), transparent 24%),
      url("../img/dronetrader/flightline/next-flight-480.webp");
  }
  .dt-marketplace-home .dt-hero-heading h1 {
    max-width: none;
  }
  .dt-marketplace-home .dt-hero-heading .dt-hero-lede {
    max-width: 550px;
  }
  .dt-marketplace-home .dt-hero-models {
    padding-block: 20px;
  }
}

@media (min-width: 550px) and (max-width: 767px) {
  .dt-marketplace-home .dt-home-hero .dt-hero-heading {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    column-gap: 16px;
  }
  .dt-marketplace-home .dt-hero-heading::after {
    grid-area: 1 / 2 / 3 / 3;
    align-self: center;
    aspect-ratio: 1.85;
    margin-bottom: 12px;
  }
  .dt-marketplace-home .dt-hero-heading .dt-section-kicker { align-self: end; }
  .dt-marketplace-home .dt-hero-heading .dt-hero-lede,
  .dt-marketplace-home .dt-hero-actions,
  .dt-marketplace-home .dt-hero-trust { grid-column: 1 / -1; }
}

@media (max-width: 549px) {
  .dt-marketplace-home .dt-home-hero .dt-hero-heading {
    padding-bottom: 0;
  }
  .dt-marketplace-home .dt-hero-heading::after {
    aspect-ratio: 2.55;
    margin: 12px -16px 0;
    border-radius: 0;
    background-image:
      linear-gradient(to bottom, var(--hero-sand), transparent 30%),
      url("../img/dronetrader/flightline/next-flight-480.webp");
    background-position: center, center 64%;
  }
  .dt-marketplace-home .dt-hero-heading .dt-hero-actions {
    flex-wrap: wrap;
  }
  .dt-marketplace-home .dt-hero-heading .dt-hero-actions .dt-flight-button {
    flex: 1 1 auto;
    white-space: nowrap;
  }
}
