/*! Maria-approved intentional overrides (deliberately differ from live).
 * Do not edit live JS/CSS bundles. Keep rules tightly scoped.
 */

/* 1) Course registration form width = Centers form width.
 * Cause: Course wraps the form in section#register.max-w-3xl (768px → form ~704px).
 * Centers uses div#register inside max-w-5xl (1024px → form ~960px).
 * section#register is Course-only (Centers uses div#register).
 */
section#register.max-w-3xl {
  max-width: 64rem; /* Tailwind max-w-5xl */
}

/* 2) Homepage enroll CTA centered on the same axis as the phrase above it.
 * Phrase is p.mt-6.text-center; the following a[href*="#register"] is inline-flex
 * and left-aligned. Scope: only that sibling pair inside #lessons.
 */
section#lessons p.mt-6.text-center + a[href*="#register"] {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
