.section-themes-hero {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

.section-themes-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-20);
  align-items: center;
}

.section-themes-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

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

.section-themes-hero__visual {
  display: grid;
  grid-template-rows: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
}

.section-themes-hero__visual-main {
  min-height: 260px;
}

.section-themes-hero__visual-secondary {
  align-self: stretch;
}

.section-themes-hero__visual-text {
  color: var(--color-text-muted);
}

.section-themes-intro__header {
  max-width: 720px;
  margin: 0 auto var(--space-24);
}

.section-themes-intro__lead {
  color: var(--color-text-muted);
}

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

.section-themes-intro__card {
  height: 100%;
}

.section-themes-list {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 55%),
              linear-gradient(145deg, #050608, #101218);
}

.section-themes-list__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: var(--space-20);
}

.section-themes-list__sidebar {
  position: sticky;
  top: var(--space-24);
  align-self: flex-start;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: rgba(8, 9, 12, 0.98);
  box-shadow: var(--shadow-soft);
}

.section-themes-list__sidebar-title {
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-4);
}

.section-themes-list__sidebar-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.section-themes-list__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.section-themes-list__nav a {
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.section-themes-list__nav a:hover {
  color: var(--color-accent-gold);
}

.section-themes-list__sidebar-cta {
  margin-top: var(--space-4);
}

.section-themes-list__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.theme-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr);
  gap: var(--space-12);
  align-items: stretch;
}

.theme-block__grid--reverse {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.15fr);
}

.theme-block__media {
  min-height: 220px;
}

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

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

.theme-block__title {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.theme-block__features {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-text-muted);
}

.theme-block__features li::before {
  content: "•";
  margin-right: var(--space-2);
  color: var(--color-accent-gold);
}

.theme-block__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.theme-block__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.theme-block__media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.theme-block__media-placeholder--gatsby {
  background-image: radial-gradient(circle at top left, rgba(212, 175, 55, 0.4), transparent 55%),
                    linear-gradient(135deg, #171924, #6b1224);
}

.theme-block__media-placeholder--monte {
  background-image: radial-gradient(circle at top right, rgba(212, 175, 55, 0.45), transparent 55%),
                    linear-gradient(135deg, #101218, #0f6b4a);
}

.theme-block__media-placeholder--hollywood {
  background-image: radial-gradient(circle at 20% 0, rgba(212, 175, 55, 0.55), transparent 55%),
                    linear-gradient(135deg, #171924, #6b1224);
}

.theme-block__media-placeholder--retro {
  background-image: radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.35), transparent 55%),
                    linear-gradient(135deg, #1f1a18, #514840);
}

.section-themes-bottom-cta {
  padding-top: var(--space-32);
  padding-bottom: var(--space-40);
}

.section-themes-bottom-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
  align-items: center;
}

.section-themes-bottom-cta__text {
  flex: 1 1 260px;
}

.section-themes-bottom-cta__text p {
  color: var(--color-text-muted);
}

.section-themes-bottom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

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

  .section-themes-hero__visual {
    order: -1;
  }

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

  .section-themes-list__sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .section-themes-hero {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }

  .section-themes-bottom-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
