
@media(max-width:700px){
body .ribbon.ribbon-fit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px 0;padding:12px 14px;white-space:normal;overflow:visible;font-size:11px;line-height:1.4;letter-spacing:.07em}
body .ribbon-fit>b{display:none}
body .ribbon-fit>.ribbon-label{min-width:0;align-content:center;text-align:center;overflow-wrap:anywhere;padding:0 6px}
body .ribbon-fit>.ribbon-label:nth-of-type(even){border-left:1px solid currentColor}
body.dmt .ribbon.ribbon-fit{grid-template-columns:repeat(3,minmax(0,1fr))}
body.dmt .ribbon-fit>.ribbon-label+.ribbon-label,body.dmt .ribbon-fit>.ribbon-label~.ribbon-label{border-left:1px solid currentColor}
}

/* Compact editorial headings on the digital work and classroom pages. */
.mh .mh-feature-hero .mh-feature-title {
  max-width: 25ch;
  margin: 0 0 18px;
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.13;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
.mh .mh-feature-hero .mh-feature-title em { color: #f8d15f; font-style: normal; }
.mh .mh-feature-hero .eyebrow { margin-bottom: 14px; }
.mh .mh-feature-hero .v8-hero-grid > div:first-child > p {
  max-width: 53ch; margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55;
}
.mh .mh-feature-link {
  display: inline-block; margin-top: 18px; font-weight: 700; font-size: 16px;
  line-height: 1.5; color: #c1d9ff; text-decoration: underline; text-underline-offset: .22em;
}
.mh .mh-feature-link:hover { color: #fff; }
.mh .mh-reading-title {
  max-width: 29ch; margin: 0 0 14px; font-size: clamp(23px, 2.35vw, 32px);
  line-height: 1.18; letter-spacing: -.035em;
}
.mh .mh-brief .v81-intro { margin-bottom: 24px; }
.mh .mh-classroom-link .mh-reading-title { margin: 0 auto 14px; text-align: center; }
.mh .mh-classroom-link p { max-width: 56ch; margin-inline: auto; }
.mh .mh-replay {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  align-items: center; gap: clamp(20px,5vw,70px); margin: clamp(32px,5vw,60px) auto 0;
  padding: clamp(20px,3.6vw,44px); border: 1px solid #ccd6e2; border-top: 4px solid #245fb8;
  border-radius: 8px; background: #fff; color: #171b24; scroll-margin-top: 98px;
}
.mh .mh-replay .eyebrow { color: #1754a5; margin: 0 0 12px; }
.mh .mh-replay .mh-replay-copy p { max-width: 50ch; margin: 0; color: #3b495d; font-size: 17px; line-height: 1.55; }
.mh .mh-replay-exercise { min-width: 0; background: #162232; color: #eff4ff; border-radius: 7px; overflow: hidden; }
.mh .mh-replay-control { margin: 0; border: 0; border-radius: 0; background: none; padding: 0; }
.mh .mh-replay-control summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  min-height: 46px; padding: 10px 18px; border: 0; border-radius: 0; margin: 0;
  font-size: 15px; font-weight: 700; color: #f5f8ff; background: #253952;
}
.mh .mh-replay-control summary::-webkit-details-marker { display: none; }
.mh .mh-replay-control summary::after { content: '+'; color: #f5cf67; font-size: 20px; line-height: 1; }
.mh .mh-replay-control[open] summary::after { content: '−'; }
.mh .mh-replay-control summary:hover { background: #304967; }
.mh .mh-replay-control summary:focus-visible { outline: 3px solid #ffd569; outline-offset: -4px; }
.mh .mh-replay-hide, .mh .mh-replay-control[open] .mh-replay-show, .mh .mh-replay-control[open] + .mh-replay-paused { display: none; }
.mh .mh-replay-control[open] .mh-replay-hide { display: inline; }
.mh .mh-replay-plot { padding: 15px 16px 8px; }
.mh .mh-replay-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; color: #ebf2fe; font-size: 13px; line-height: 1.35; }
.mh .mh-replay-legend span:last-child { color: #f4d476; }
.mh .mh-replay-legend span:last-child::before { content: ''; display: inline-block; width: 14px; margin: 0 6px 3px 0; border-top: 2px dashed currentColor; }
.mh .mh-replay-chart { display: block; width: 100%; height: auto; }
.mh .mh-replay-note { padding: 12px 18px 16px; border-top: 1px solid #3d5069; }
.mh .mh-replay-note strong { font-size: 14px; color: #f4d476; }
.mh .mh-replay-note p { font-size: 15px; line-height: 1.5; margin: 4px 0 0; color: #f2f6fd; }
@media (max-width: 700px) {
  .mh .mh-replay { grid-template-columns: minmax(0,1fr); gap: 18px; scroll-margin-top: 78px; }
  .mh .mh-feature-hero .mh-feature-title { max-width: 27ch; }
  .mh .mh-feature-hero::after { display: none; }
}
