/* Editorial photography only on Milestone 2 pages. No homepage or shared-shell rules. */
body.cr-subpage .cr-image-story { margin: 0; min-width: 0; }
body.cr-subpage .cr-image-story img {
  display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover;
  border-radius: 8px; background: var(--cr-sage);
}
body.cr-subpage .cr-image-story figcaption {
  margin: 0; padding: 17px 2px 0; color: var(--cr-muted); font-size: 14px;
  line-height: 1.7; max-width: 58ch;
}
body.cr-subpage .cr-image-product img { aspect-ratio: 1 / 1; object-position: 50% 38%; }
body.cr-subpage.cr-page-product .cr-image-product-map-row { margin-top: 44px; }
body.cr-subpage.cr-page-product .cr-image-product-map { padding: 21px 26px 16px; }
body.cr-subpage.cr-page-product .cr-image-product-map ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.cr-subpage.cr-page-product .cr-image-product-map li { border-bottom: 0; border-right: 1px solid var(--cr-line); padding-inline: 22px; }
body.cr-subpage.cr-page-product .cr-image-product-map li:first-child { padding-left: 0; }
body.cr-subpage.cr-page-product .cr-image-product-map li:last-child { border-right: 0; padding-right: 0; }
body.cr-subpage.cr-page-product .cr-image-product-map li a { padding-block: 12px; gap: 10px; grid-template-columns: 24px minmax(0, 1fr); }
body.cr-subpage.cr-page-product .cr-image-product-map strong { font-size: 25px; line-height: 1.35; }
body.cr-subpage.cr-page-product .cr-image-product-map .cr-pp-map-copy { font-size: 15px; line-height: 1.65; margin-top: 7px; }
body.cr-subpage.cr-page-product .cr-image-product-map .cr-pp-map-foot { border-top: 1px solid var(--cr-line); margin-top: 16px; padding: 15px 0 0; }
body.cr-subpage .cr-image-features { margin-top: 30px; }
body.cr-subpage .cr-image-features img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
body.cr-subpage .cr-image-how { margin-top: 28px; }
body.cr-subpage .cr-image-how img { aspect-ratio: 16 / 9; }
body.cr-subpage .cr-image-accessibility { margin-top: 30px; }
body.cr-subpage .cr-image-accessibility img { aspect-ratio: 16 / 8; object-position: 50% 40%; }
body.cr-subpage .cr-image-progress img { aspect-ratio: 4 / 5; max-height: 610px; object-position: 50% 15%; }
body.cr-subpage.cr-page-assessments-progress .cr-image-learning-notes { margin-top: 32px; padding: 26px; }
body.cr-subpage.cr-page-assessments-progress .cr-image-learning-notes h2 { font-size: 23px; line-height: 1.4; }
body.cr-subpage.cr-page-assessments-progress .cr-image-learning-notes dl > div { grid-template-columns: 1fr; gap: 5px; padding-block: 16px; }
body.cr-subpage .cr-image-about { margin-block: 40px 48px; }
body.cr-subpage .cr-image-about img { aspect-ratio: 16 / 9; object-position: center; }
body.cr-subpage .cr-image-contact img { aspect-ratio: 4 / 5; max-height: 540px; object-position: 50% 12%; }
body.cr-subpage .cr-image-trial img { aspect-ratio: 4 / 3; object-position: 50% 45%; }
body.cr-subpage.cr-page-book-a-trial .cr-image-trial-card { margin-top: 30px; padding: 26px 22px; }
body.cr-subpage.cr-page-book-a-trial .cr-image-trial-card .cr-cp-month-display { margin-block: 14px 20px; }
body.cr-subpage.cr-page-book-a-trial .cr-image-trial-card .cr-cp-month-number { font-size: 62px; }
body.cr-subpage.cr-page-book-a-trial .cr-image-trial-card dl > div { grid-template-columns: 1fr; gap: 4px; }
body.cr-subpage .cr-cp-contact-context { padding-bottom: 27px; margin-bottom: 28px; border-bottom: 1px solid var(--cr-line); }
body.cr-subpage .cr-cp-contact-context h2 { font-size: 26px; line-height: 1.35; }
@media (max-width: 849px) {
  body.cr-subpage .cr-image-product img { aspect-ratio: 4 / 3; object-position: 50% 43%; }
  body.cr-subpage .cr-image-contact img { aspect-ratio: 4 / 3; max-height: 470px; object-position: 50% 30%; }
  body.cr-subpage .cr-image-progress img { aspect-ratio: 4 / 3; max-height: 500px; object-position: 50% 25%; }
  body.cr-subpage .cr-image-features img { aspect-ratio: 4 / 3; max-height: 430px; object-position: 50% 25%; }
  body.cr-subpage.cr-page-product .cr-image-product-map ol { grid-template-columns: 1fr; }
  body.cr-subpage.cr-page-product .cr-image-product-map li { border-right: 0; border-bottom: 1px solid var(--cr-line); padding: 0; }
  body.cr-subpage.cr-page-product .cr-image-product-map li:last-child { border-bottom: 0; }
  body.cr-subpage .cr-image-about img { aspect-ratio: 16 / 9; }
}
@media (max-width: 549px) {
  body.cr-subpage .cr-image-story figcaption { font-size: 13px; padding-top: 13px; }
  body.cr-subpage .cr-image-product img { aspect-ratio: 1 / 1; object-position: 50% 38%; }
  body.cr-subpage .cr-image-contact img { aspect-ratio: 4 / 5; object-position: 50% 12%; }
  body.cr-subpage .cr-image-progress img { aspect-ratio: 4 / 5; object-position: 50% 15%; }
  body.cr-subpage.cr-page-product .cr-image-product-map { padding: 22px; }
  body.cr-subpage.cr-page-product .cr-image-product-map strong { font-size: 24px; }
  body.cr-subpage.cr-page-product .cr-image-product-map-row { margin-top: 30px; }
}
/* Accessibility: a concise introduction, followed by a balanced image/control pair. */
body.cr-subpage.cr-page-accessibility .cr-lp-accessibility-opening { align-items: flex-start !important; }
body.cr-subpage.cr-page-accessibility .cr-lp-accessibility-opening h1 { max-width: 10ch; margin-bottom: 0; }
body.cr-subpage.cr-page-accessibility .cr-lp-accessibility-context .cr-lp-next { margin-top: 0; }
body.cr-subpage.cr-page-accessibility .cr-lp-workshop-pair { margin-top: 40px; align-items: stretch !important; }
body.cr-subpage.cr-page-accessibility .cr-lp-workshop-photo > .col-inner { display: flex; height: 100%; }
body.cr-subpage.cr-page-accessibility .cr-lp-workshop-photo .ux-html { display: flex; flex: 1; }
body.cr-subpage.cr-page-accessibility .cr-lp-workshop-photo .cr-image-accessibility { display: flex; flex-direction: column; width: 100%; margin: 0; }
body.cr-subpage.cr-page-accessibility .cr-lp-workshop-photo img { flex: 1 1 0; height: 0; min-height: 320px; aspect-ratio: auto; object-position: center; }
body.cr-subpage.cr-page-accessibility .cr-lp-workshop-photo figcaption { flex: 0 0 auto; }
@media (max-width: 849px) {
  body.cr-subpage.cr-page-accessibility .cr-lp-accessibility-opening h1 { max-width: 100%; margin-bottom: 24px; }
  body.cr-subpage.cr-page-accessibility .cr-lp-accessibility-context { padding-left: 0 !important; }
  body.cr-subpage.cr-page-accessibility .cr-lp-workshop-pair { margin-top: 30px; }
  body.cr-subpage.cr-page-accessibility .cr-lp-workshop-photo img { flex: none; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
/* Keep the supporting material alongside the content it illustrates. */
body.cr-subpage.cr-page-how-it-works .cr-lp-bring-intro { align-items: center !important; }
body.cr-subpage.cr-page-how-it-works .cr-lp-bring-photo .cr-image-how { margin-top: 0; }
body.cr-subpage.cr-page-how-it-works .cr-lp-bring-footer { margin-top: 20px !important; }
body.cr-subpage.cr-page-how-it-works .cr-lp-bring-footer .cr-lp-caption { margin-top: 0; }
body.cr-subpage.cr-page-assessments-progress .cr-lp-notebook-wide { max-width: none; margin: 24px 0 0; }
body.cr-subpage.cr-page-assessments-progress .cr-lp-notebook-wide dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
body.cr-subpage.cr-page-assessments-progress .cr-lp-notebook-wide dl > div { grid-template-columns: 1fr; align-content: start; padding-block: 21px; }
body.cr-subpage.cr-page-book-a-trial .cr-cp-planning-heading-row { margin-bottom: 30px !important; }
body.cr-subpage.cr-page-book-a-trial .cr-cp-planning-heading-row h2 { max-width: 27ch; }
body.cr-subpage.cr-page-book-a-trial .cr-cp-planning-heading-row p { max-width: 65ch; }
body.cr-subpage.cr-page-book-a-trial .cr-cp-planning-balanced-row { align-items: flex-start !important; }
body.cr-subpage.cr-page-book-a-trial .cr-cp-planning-card-col .cr-image-trial-card { margin-top: 0; }
body.cr-subpage.cr-page-contact .cr-cp-contact-context { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 850px) {
  body.cr-subpage.cr-page-features .cr-pp-language-guide .cr-image-features { max-width: 280px; }
}
@media (max-width: 849px) {
  body.cr-subpage.cr-page-how-it-works .cr-lp-bring-pair > .col + .col { margin-top: 0; }
  body.cr-subpage.cr-page-assessments-progress .cr-lp-notebook-wide dl { grid-template-columns: 1fr; gap: 0; }
  body.cr-subpage.cr-page-assessments-progress .cr-lp-notebook-wide { margin-top: 12px; }
  body.cr-subpage.cr-page-book-a-trial .cr-cp-planning-heading-row { margin-bottom: 0 !important; }
}
