.themes-hero {
  position: relative;
}

.themes-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.themes-hero__content p {
  max-width: 34rem;
}

.themes-hero__actions {
  margin-top: var(--space-4);
}

.themes-hero__meta {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.themes-hero__media {
  max-width: 480px;
  margin-left: auto;
}

.themes-intro {
  max-width: 44rem;
  margin-inline: auto;
}

.themes-overview {
  margin-top: var(--space-8);
}

.themes-overview__card p {
  font-size: var(--font-size-sm);
}

.themes-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.themes-feature--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.themes-feature__media {
  max-width: 520px;
}

.themes-feature__chips {
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.themes-duo__card p {
  font-size: var(--font-size-sm);
}

.themes-retro__grid,
.themes-atmosphere__grid {
  margin-top: var(--space-6);
}

.themes-atmosphere__cta p {
  max-width: 40rem;
  margin-inline: auto;
}

@media (max-width: 960px) {
  .themes-hero__grid,
  .themes-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .themes-feature--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .themes-hero__media,
  .themes-feature__media {
    margin: 0 auto;
  }

  .themes-hero__content {
    order: 1;
  }

  .themes-hero__media {
    order: 2;
  }
}

@media (max-width: 640px) {
  .themes-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .themes-hero__meta {
    gap: var(--space-1);
  }

  .themes-duo {
    gap: var(--space-4);
  }
}
