/* partials/content_learn.html — "What you'll learn" box. */

.lesson-learn {
  margin-top: 1.75rem;
  padding: 0.9rem 1rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--color-learn-background);
}

/* Class beats the element h2 scale in base.css. */
.lesson-learn__title {
  margin: 0;
  font-size: var(--type-callout-heading-size);
  font-weight: var(--type-callout-heading-weight);
  line-height: var(--type-callout-heading-leading);
  letter-spacing: normal;
}

.lesson-learn ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

/* Ink, not Secondary: Secondary text on Sage is below contrast for body text. */
.lesson-learn li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: var(--type-support-size);
  line-height: 1.45;
}

.lesson-check {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  color: var(--color-text);
}

.lesson-check path {
  stroke: var(--color-surface);
}
