market-feature-block {
  --split-hero-muted: color-mix(in srgb, var(--background), var(--text) 62%);
  --media-radius: 10px;
  position: relative;
  width: 100%;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* min-height: 550px;
  max-height: calc(100vh - var(--topbar-height));
  height: calc(100vh - var(--topbar-height)); */
  align-items: center;
}

market-feature-block[flipped] {
  direction: rtl;
}

@media (max-width: 1200px) {
  market-feature-block {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  market-feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

market-feature-block [media] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  height: 100%;
}

market-feature-block [media]:empty {
  display: none;
}

market-feature-block [media] figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--media-radius);
  background: color-mix(in srgb, var(--background), var(--text) 8%);
  max-width: 600px;
      max-height: 600px;
  width: 50vw;
  aspect-ratio: 1/1;
}

@media (max-width: 1200px) {
  market-feature-block [media] figure {
    /* min-height: 420px;
    max-height: 420px; */
  }
}

@media (max-width: 768px) {
  market-feature-block [media] figure {
    /* min-height: 320px;
    max-height: 320px; */
    width: 100%;

  }
}

market-feature-block [media] figure :is(img, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

market-feature-block [media] figure:only-child {
  grid-column: span 2;
}

market-feature-block [content] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 15px;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0px;
  width: 65%;
}
market-feature-block[flipped] [content] {
  align-items: flex-end;
}

@media (max-width: 1200px) {
  market-feature-block [content] {
    align-items: center;
    text-align: center;
  }
  market-feature-block[flipped] [content] {
    align-items: center;
  }
}

@media (max-width: 768px) {
  market-feature-block [content] {
    padding: 30px 15px;
    width: 100%;
    padding: 30px;
  }
}

market-feature-block [content] > *:empty {
  display: none;
}

market-feature-block [kicker] {
  margin: 0;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--split-hero-muted);
}

market-feature-block [kicker]:empty {
  display: none;
}

market-feature-block [headline] {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
}

market-feature-block [headline]:empty {
  display: none;
}

market-feature-block [copy] {
  margin: 0;
  max-width: 44rem;
  font-size: 16px;
  line-height: 1.35;
  color: color-mix(in srgb, var(--background), var(--text) 82%);
}

market-feature-block [copy]:empty {
  display: none;
}

market-feature-block [cta] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 1rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--text);
  color: var(--background);
  transition: all ease 300ms;
  cursor: pointer;
}

market-feature-block [cta]:hover {
  background: color-mix(in srgb, var(--text), var(--background) 18%);
}

market-feature-block [cta]:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  market-feature-block [cta] {
    transition: none;
  }
}
