.themes-hero {
  max-width: 720px;
}

.themes-hero__eyebrow {
  margin-bottom: var(--space-3);
}

.themes-hero__lead {
  font-size: var(--font-size-lg);
}

.themes-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

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

.themes-overview__list {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.themes-overview__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.themes-overview__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.themes-grid__header {
  max-width: 720px;
  margin-bottom: var(--space-8);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.themes-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.themes-card__media {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) 0;
}

.themes-card__media img {
  width: 100%;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.themes-card__bullets {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.themes-card__bullets li + li {
  margin-top: 0.25rem;
}

.themes-card .card-footer {
  margin-top: var(--space-6);
}

.themes-card--wide {
  grid-column: span 3;
}

.themes-card--wide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: var(--space-6);
  align-items: center;
}

.themes-card--wide__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.themes-cta {
  padding-top: var(--space-12);
  padding-bottom: var(--space-20);
}

.themes-cta__box {
  max-width: 800px;
  margin: 0 auto;
}

.themes-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

@media (max-width: 1024px) {
  .themes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .themes-card--wide {
    grid-column: span 2;
  }

  .themes-card--wide__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 768px) {
  .themes-hero__lead {
    font-size: var(--font-size-base);
  }

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

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

  .themes-card--wide {
    grid-column: span 1;
  }

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

  .themes-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
