.header-size-options {
  display:flex; flex-wrap:wrap; align-items:center; gap:.4rem 1rem;
  margin:clamp(.6rem,1.6vw,1rem) 0 clamp(.8rem,1.8vw,1.35rem);
  font:600 .94rem/1.4 var(--sans);
}
.header-size-options > span { color:var(--muted); }
.header-size-options > div {
  display:inline-flex; flex-wrap:wrap; gap:.12rem; padding:.2rem;
  border:1px solid var(--rule); border-radius:1.5rem;
}
.header-size-options a {
  padding:.45rem .85rem; border-radius:1.2rem; color:var(--darksea);
  display:inline-flex; align-items:center; text-decoration:none;
}
.header-size-options a:hover { text-decoration:underline; }
.header-size-options a:focus-visible { outline:2px solid var(--darksea); outline-offset:2px; }
.header-size-options a[aria-current="page"] { color:var(--paper); background:var(--darksea); }

.edition-reader.header-study { width:100%; margin:0 auto; }
.header-study > .feature { margin:0 0 clamp(2.25rem,4.4vw,3.75rem); }
.header-study > :not(.feature) { width:min(100%,42rem); margin-inline:auto; }

/* Reuse the homepage card, changing the title-to-art proportions in the banner. */
.header-study[data-header="banner"] .feature { grid-template-columns:minmax(0,2.45fr) minmax(0,1fr); }
.header-study[data-header="banner"] .feature-text { padding:clamp(1.5rem,3.6vw,3.5rem); }
.header-study[data-header="banner"] h1 { font-size:clamp(2.3rem,4.5vw,4.2rem); max-width:20ch; }

.header-study[data-header="strip"] .feature { grid-template-columns:minmax(0,1fr); }
.header-study[data-header="strip"] .feature-text {
  gap:1.2rem; padding:clamp(1.6rem,4vw,3.25rem) clamp(1.5rem,4.8vw,4rem);
}
.header-study[data-header="strip"] h1 { font-size:clamp(2.65rem,6.2vw,5.3rem); max-width:24ch; }
.header-study[data-header="strip"] .four-marks {
  grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:1fr;
  grid-row:1; height:clamp(4.25rem,7.5vw,6.8rem); aspect-ratio:auto;
}
.header-study[data-header="strip"] .art-tile span { width:66%; height:62%; }

@media(max-width:760px) {
  .header-study[data-header="banner"] .feature { grid-template-columns:minmax(0,1fr) clamp(4rem,18vw,7.5rem); }
  .header-study[data-header="banner"] .feature-text { gap:1rem; padding:clamp(1rem,4vw,1.8rem); }
  .header-study[data-header="banner"] h1 { font-size:clamp(1.95rem,7.2vw,3.4rem); overflow-wrap:anywhere; }
  .header-study[data-header="banner"] .four-marks {
    grid-column:2; grid-row:1; grid-template-columns:1fr; grid-template-rows:repeat(4,minmax(0,1fr));
    align-self:stretch; min-height:12.5rem; aspect-ratio:auto;
  }
  .header-study[data-header="strip"] .four-marks { height:clamp(3.25rem,13vw,4.75rem); }
}
@media(max-width:460px) {
  .header-size-options { gap:.35rem; font-size:.85rem; }
  .header-size-options > span { width:100%; }
  .header-size-options a { min-height:40px; padding:.35rem .65rem; }
  .header-study[data-header="strip"] h1 { font-size:clamp(2.3rem,9vw,3rem); }
}
