.home-market {
  min-width: 0;
}

.home-market-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-block-end: 4px;
}

.home-market-heading h2 {
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 740;
  overflow-wrap: anywhere;
}

.home-market-heading > a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  max-inline-size: 44%;
  min-block-size: 44px;
  font-size: 13px;
  line-height: 1.25;
  color: var(--gold);
}

.home-market-strip {
  --home-market-bleed: var(--gutter, 16px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 43.5%;
  gap: 10px;
  margin: 0;
  margin-inline-end: calc(-1 * var(--home-market-bleed));
  padding-block: 1px 6px;
  padding-inline: 0 var(--home-market-bleed);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-market-strip::-webkit-scrollbar {
  display: none;
}

.home-market-strip > li {
  min-inline-size: 0;
  scroll-snap-align: start;
}

.home-market-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border: 1px solid #66537486;
  border-radius: 13px;
  background: linear-gradient(153deg, #2d2436, #211b2b 70%);
  box-shadow: 0 5px 8px #09071030;
  overflow: hidden;
}

.home-market-card:focus-visible {
  outline-offset: -2px;
}

.home-market-card:active {
  border-color: #e2bc82;
}

.home-market-picture {
  position: relative;
  aspect-ratio: 1.8;
  background: #211d28;
  overflow: hidden;
}

.home-market-picture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, #1009162e);
  content: "";
  pointer-events: none;
}

.home-market-picture img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.home-market-details {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  gap: 5px;
  padding: 9px 9px 10px;
}

.home-market-details h3 {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.018em;
  overflow-wrap: anywhere;
}

.home-market-capacity {
  font-size: 12px;
  line-height: 1.3;
  color: #c3b6ce;
}

.home-market-capacity bdi {
  color: #ebe5ef;
  font-variant-numeric: tabular-nums;
}

.home-market-price {
  display: flex;
  align-items: center;
  min-inline-size: 0;
  gap: 4px;
  margin-block-start: auto;
  line-height: 1.11;
  color: var(--gold);
}

.home-market-price strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.home-market-price small {
  font-size: 11px;
  color: inherit;
}
