/* Final Public Home / Locked Guide Preview Corrections Sprint, item 4:
 * the ad-hoc `.sr-roadmap-preview__header` / `.sr-roadmap-header__title`
 * / `.sr-roadmap-header__overview` rules that used to style this page's
 * own hand-built header markup were removed -- the header is now the
 * real, reusable Roadmap Hero component (components/roadmap-hero),
 * which owns its own styling (including the `max-width: 820px;
 * margin-inline: auto` centering that fixes this item's "content too
 * far left on desktop" bug) and is already used identically by the
 * unlocked roadmap page. See roadmap-preview-page.js's buildHeader.
 */

.sr-roadmap-preview__outline {
  margin-bottom: var(--sr-space-8, 2rem);
}

.sr-roadmap-preview__outline-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sr-space-4, 1rem);
}

.sr-roadmap-preview__outline-section-title {
  font-weight: 700;
  margin-bottom: var(--sr-space-2, 0.5rem);
}

.sr-roadmap-preview__outline-step-list {
  list-style: disc;
  padding-left: var(--sr-space-6, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--sr-space-1, 0.25rem);
  color: var(--sr-color-muted, #4a463f);
}

/* Final Public Home / Locked Guide Preview Corrections Sprint, item 6:
 * non-clickable resource teasers (components/resource-teaser owns the
 * card's own styling -- this is only the section-level spacing, same
 * pattern as the outline above).
 */
.sr-roadmap-preview__resource-teasers {
  margin-bottom: var(--sr-space-8, 2rem);
}

.sr-roadmap-preview__resource-teasers-hint {
  color: var(--sr-color-muted, #4a463f);
  font-size: 0.875rem;
  margin-top: 0;
  margin-bottom: var(--sr-space-4, 1rem);
}

.sr-roadmap-preview__unlock {
  display: flex;
  flex-direction: column;
  gap: var(--sr-space-4, 1rem);
  margin-bottom: var(--sr-space-10, 2.5rem);
}

@media (min-width: 768px) {
  .sr-roadmap-preview__unlock {
    flex-direction: row;
  }
  .sr-roadmap-preview__unlock > * {
    flex: 1;
  }
}
