.themes-hero {
  padding-top: var(--space-12);
}

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

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

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

.themes-hero__image-wrapper {
  max-width: 480px;
  justify-self: center;
}

.themes-hero__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.themes-section-header {
  max-width: 46rem;
  margin-bottom: var(--space-6);
}

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

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

@media (max-width: 768px) {
  .themes-hero__grid {
    grid-template-columns: 1fr;
  }

  .themes-hero {
    padding-top: var(--space-8);
  }

  .themes-grid {
    grid-template-columns: 1fr;
  }
}

.theme-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.theme-card__header {
  margin-bottom: var(--space-2);
}

.theme-card__title {
  margin-bottom: var(--space-1);
}

.theme-card__subtitle {
  font-size: var(--font-size-sm);
}

.theme-card__body {
  font-size: var(--font-size-sm);
}

.theme-card__image {
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
}

.theme-card__list {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.themes-flexibility {
  align-items: stretch;
  gap: var(--space-8);
}

.themes-flexibility__list {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.themes-flexibility__card {
  align-self: center;
}

.themes-flexibility__cta {
  margin-top: var(--space-3);
}

.themes-help {
  max-width: 860px;
}

.themes-help__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.themes-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

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