/* Home refinements: preserve the cover art and give each hero sentence its own line. */
@media (max-width:760px) {
 .r-home .r-hero-preserved .hero h1 {
  font-size:clamp(1.625rem,8.1vw,3.75rem);
  line-height:1.15;
  letter-spacing:-.045em;
  max-width:none;
 }
 .r-home .r-hero-preserved .hero h1 > :is(span,strong) {
  display:block;
  text-wrap:balance;
 }
 .r-home .r-hero-preserved .hero h1 strong {margin-top:.12em}
 .r-home .r-hero-preserved .hero-lower {margin-top:22px}
}
/* Labels may wrap at increased text sizes without squeezing their companions. */
.r-home .panel-head,.r-home .surface-heading {flex-wrap:wrap}
.r-home .ix-context {max-width:28ch;text-wrap:balance}
.r-home .ix-choice-caption {text-transform:none;letter-spacing:normal}
.r-home .question-study .r-term-help {margin-block:0 18px}
.r-home .stage-summary {text-wrap:pretty}

/* Balance only the quote; the block label must not participate in its line layout. */
.r-home .ix-quote-text {display:block;text-wrap:balance}

/* Keep semantic endings together when they fit; allow reflow under text enlargement. */
.r-home .h-phrase-pair {display:inline-block;max-width:100%;text-wrap:balance;vertical-align:baseline}
.r-home .noteboard-text {text-wrap:balance}

.r-home .map-vocabulary #map-term-meaning {text-wrap:balance}

/* Keep the named topic together, with emergency reflow for enlarged text. */
.map-vocabulary #map-term-meaning{overflow-wrap:anywhere}

/* Give each evidence quotation a useful measure on narrow phones. */
@media (max-width:480px) {
 .r-home .ix-paired-evidence {grid-template-columns:minmax(0,1fr);gap:18px}
 .r-home .ix-paired-evidence .ix-evidence-quote + .ix-evidence-quote {
  border-top:1px solid var(--rule);padding-top:18px;
 }
}

/* Tablet workbench: preserve a readable evidence measure before adding columns. */
@media (min-width:761px) and (max-width:1050px) {
 .r-home .ix-workbench {display:block}
 .r-home .ix-inspector {border-left:0;padding:24px 0 0}
 .r-home .ix-tabs {grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:18px}
 .r-home .ix-proof {grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:18px}
 .r-home .ix-gap {grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:center;gap:10px}
 .r-home .ix-gap svg {width:46px;height:26px}
 .r-home .ix-added-claim {border-left:0;padding-left:0}
}
/* A speaker label should not consume the quote's measure in a narrow specimen. */
@container home-pattern (max-width:24em) {
 .r-home .speaker-evidence>div {grid-template-columns:1fr;gap:8px}
}
