.hero--puzzles {
  position: relative;
}
.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: var(--space-8);
  align-items: center;
}
.hero__actions {
  margin-top: var(--space-6);
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: var(--border-subtle);
  box-shadow: var(--shadow-deep);
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(3,7,18,1));
}
.hero__media-caption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  background: linear-gradient(180deg, rgba(15,23,42,0.9), rgba(5,6,10,1));
}
.puzzles-grid {
  align-items: flex-start;
}
.puzzles-grid--reverse {
  grid-auto-flow: dense;
}
.puzzles-grid--reverse > .puzzles-figure {
  order: 2;
}
.puzzles-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: var(--border-subtle);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(3,7,18,1));
}
.puzzles-figure__caption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}
.puzzles-cta {
  border-top: 1px solid rgba(148,163,184,0.3);
  border-bottom: 1px solid rgba(148,163,184,0.2);
  background: radial-gradient(circle at top, rgba(15,23,42,0.8), rgba(5,6,10,1));
}
.puzzles-cta__inner {
  gap: var(--space-6);
  align-items: center;
}
.puzzles-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__media {
    order: -1;
  }
}
@media (max-width: 768px) {
  .puzzles-grid--reverse > .puzzles-figure {
    order: 0;
  }
  .puzzles-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .puzzles-cta__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
