/* Photo stages in the main-page learning section. */
#learning .step[type="button"] { width: 100%; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
#learning .step[type="button"]:hover:not(.step--active) { background: #eeebe5; }
#learning .step[type="button"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
#learning .step__copy { display: block; min-width: 0; }
#learning .step__title { display: block; margin-bottom: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
#learning .step__description { display: block; color: var(--muted); }
#learning .caption { z-index: 2; }
#learning .how__photo[data-learning-stage="2"] .caption,
#learning .how__photo[data-learning-stage="3"] .caption { display: none; }
#learning .learning-nav { display: none; }
@media (max-width: 720px) {
  #learning .steps .step:not(.step--active) { display: none; }
  #learning .steps .step { flex: none; min-height: 140px; padding-block: 22px; }
  #learning .step__title { font-size: 18px; }
  #learning .step__description { font-size: 16px; }
  #learning .learning-nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
  #learning .learning-nav__button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; touch-action: manipulation; }
  #learning .learning-nav__button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  #learning .learning-nav__button--previous .i { transform: rotate(180deg); }
  #learning .learning-nav__counter { min-width: 58px; color: var(--ink); font-size: 15px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
}
@media (prefers-reduced-motion: reduce) {
  #learning .step[type="button"] { transition: none; }
}
