.train-hero.page-hero { padding: calc(var(--header-h, 76px) + 28px) 0 20px; }
.train-hero.page-hero > .wrap,
.train-answers > .wrap {
  box-sizing: border-box;
  width: min(42rem, calc(100% - 40px));
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.train-hero, .train-hero h1, .train-hero p, .train-hero a, .train-hero .eyebrow { color: #f6eff0; }
.train-hero h1,
.train-hero .lead,
.train-hero .train-byline,
.train-hero .train-bio {
  max-width: none;
  text-align: left;
  overflow-wrap: break-word;
}
.train-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.train-answers { background: #fff; color: #1b0f13; }
.train-answers h2 { margin: 1.4rem 0 .35rem; font-size: 1.35rem; color: #1b0f13; text-align: left; }
.train-answers p, .train-answers li { color: #1b0f13; line-height: 1.6; max-width: none; text-align: left; overflow-wrap: break-word; }
.train-answers ul, .train-answers ol { margin: 0 0 1rem 1.2rem; }
.train-answers li { margin: .3rem 0; }
.train-cards { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 800px) { .train-cards { grid-template-columns: 1fr 1fr; } }
.train-cards a {
  display: block; text-decoration: none; color: #1b0f13; background: #fff;
  border: 1px solid rgba(122, 31, 46, .2); border-radius: 16px; padding: 16px;
}
.train-cards strong { display: block; color: #7a1f2e; margin-bottom: 6px; }
.train-photo { display: block; width: 100%; height: min(42vw, 320px); object-fit: cover; border-radius: 16px; }
.tc-board { margin-top: 16px; background: #fff; color: #1b0f13; border: 1px solid rgba(122, 31, 46, .2); border-radius: 16px; padding: 14px; }
.tc-board p { margin: 0 0 8px; }
.tc-lesson { margin: 0 0 12px; padding: 12px 14px; border-left: 4px solid #7a1f2e; background: #f7f1f2; line-height: 1.55; }
.tc-ask { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.3; }
.tc-choice, .tc-primary, .tc-hint {
  font: inherit; width: 100%; min-height: 48px; margin-top: 8px; text-align: left;
  border-radius: 12px; border: 1px solid rgba(122, 31, 46, .28); background: #fff; color: #1b0f13; padding: 12px 14px; cursor: pointer;
}
.tc-primary { text-align: center; background: #7a1f2e; color: #fff; font-weight: 800; }
.tc-choice.is-bad { background: #fff6e8; border-color: #a15c12; }
.tc-reply { margin: 8px 0; padding: 12px; border-radius: 12px; background: #fff6e8; }
.tc-hint-line { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #f3e6e8; }
.tc-cheer { display: grid; justify-items: center; gap: 8px; width: 100%; padding: 16px; border: 2px solid #7a1f2e; border-radius: 16px; background: #fff; cursor: pointer; font: inherit; }
.tc-face { width: 120px; height: 120px; }
button:disabled { opacity: .45; cursor: not-allowed; }
.course-catalog { background: #f6f1f2; color: #1b0f13; }
.course-catalog > .wrap {
  box-sizing: border-box;
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.course-catalog h2 { color: #1b0f13; margin: 0 auto .4rem; width: min(42rem, 100%); max-width: 42rem; text-align: left; }
.course-catalog > .wrap > p { color: #1b0f13; width: min(42rem, 100%); max-width: 42rem; margin-left: auto; margin-right: auto; text-align: left; }
.course-grid { display: grid; gap: 10px; margin-top: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .course-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 900px) { .course-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
@media (min-width: 1200px) { .course-grid { grid-template-columns: repeat(5, 1fr); } }
.course-tile {
  display: flex; flex-direction: column; background: #fff; color: #1b0f13;
  text-decoration: none; border-radius: 10px; overflow: hidden; min-height: 44px;
  border: 1px solid rgba(122, 31, 46, .22);
}
.course-tile img { display: block; width: 100%; height: 72px; min-height: 72px; object-fit: cover; flex: 0 0 auto; }
.course-tile-body { display: flex; flex-direction: column; gap: 2px; padding: 8px; flex: 1; }
.course-tile-kicker, .course-tile-by, .course-tile-go {
  font-size: 11px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.course-tile-kicker { font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #7a1f2e; }
.course-tile-title {
  font-size: 14px; line-height: 1.2; font-weight: 800; color: #7a1f2e;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.course-tile-by { color: #1b0f13; }
.course-tile-go { font-weight: 700; color: #7a1f2e; }
.course-tile:hover, .course-tile:focus-visible { border-color: #7a1f2e; }
.train-byline { font-weight: 700; margin: .7rem 0 .2rem; }
.train-bio { margin-top: 0; }
