/* Open desktop composition: remove nested paper-width constraints.
   Paragraph measures and the original video/reading sequence are preserved. */
@media screen {
  body[data-sar-finish] #thera-sar-editoriale {max-width:none;margin-inline:0}
  body[data-sar-finish] #thera-sar-editoriale .sar-study {
    --gutter:clamp(20px,4.3vw,88px);
  }
  body[data-sar-finish] #thera-sar-editoriale[data-reading=continuous] :is(.atlas-book,.atlas-reader) {
    max-width:1680px;
  }
  body[data-sar-finish] #thera-sar-editoriale .sar-page-header,
  body[data-sar-finish] #thera-sar-editoriale .sar-floating-slot.sar-topbar,
  body[data-sar-finish] #thera-sar-editoriale .site-footer {max-width:1680px;margin-inline:auto}
  body[data-sar-finish] #thera-sar-editoriale .site-completion {width:100%}
  body[data-sar-finish] #thera-sar-editoriale[data-reading=continuous] .atlas-reader>.info-section {
    padding-bottom:12px;
  }
  body[data-sar-finish] #thera-sar-editoriale[data-reading=continuous] .atlas-reader>.info-section+.info-section {
    margin-top:22px;padding-top:42px;
  }
  body[data-sar-finish] #thera-sar-editoriale[data-reading=continuous] .atlas-reader>.info-section[data-reading-number]::before {top:11px}
  body[data-sar-finish] #thera-sar-editoriale .section-title {margin-bottom:26px!important}
  body[data-sar-finish] #thera-sar-editoriale .recovery-paths.v2-paths:not(.info-section) {margin-bottom:0}
  body[data-sar-finish] #thera-sar-editoriale .recovery-route-links {margin-bottom:0;padding-bottom:14px;border-bottom:0}
  body[data-sar-finish] #thera-sar-editoriale .atlas-book {padding-bottom:24px}

  @media(min-width:1100px) {
    /* Use the broad field for groups, while prose keeps its readable line length. */
    body[data-sar-finish] #thera-sar-editoriale .sar-page-header {
      grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);
      padding-block:25px 28px;
    }
    body[data-sar-finish] #thera-sar-editoriale .recovery-principle {
      padding-block:26px;margin-bottom:24px;
    }
    body[data-sar-finish] #thera-sar-editoriale .recovery-principle>div {
      grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:clamp(32px,4vw,72px);
    }
    body[data-sar-finish] #thera-sar-editoriale .filo-frame-scenario {
      grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
    }
    body[data-sar-finish] #thera-sar-editoriale .thermal-hero-grid {gap:clamp(32px,4vw,72px)}
    body[data-sar-finish] #thera-sar-editoriale .target-confirmation {
      width:min(100%,1280px);margin-block:30px;
    }
    body[data-sar-finish] #thera-sar-editoriale .target-confirmation .v2-reading {
      margin-top:24px;margin-bottom:28px;max-width:none;
    }
    body[data-sar-finish] #thera-sar-editoriale .target-confirmation .v2-reading-instrument {max-width:1160px}
    body[data-sar-finish] #thera-sar-editoriale .target-confirmation .v2-player {max-width:1160px}
    body[data-sar-finish] #thera-sar-editoriale .recovery-paths[data-path=capture] .v2-route-steps>.recovery-route-step {
      display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:12px clamp(32px,4vw,72px);
    }
    body[data-sar-finish] #thera-sar-editoriale .v2-route-steps>.recovery-route-step:has(>.v2-capture-film)>h4 {grid-column:1;grid-row:1}
    body[data-sar-finish] #thera-sar-editoriale .v2-route-steps>.recovery-route-step:has(>.v2-capture-film)>p {grid-column:1;grid-row:2}
    body[data-sar-finish] #thera-sar-editoriale .v2-route-steps>.recovery-route-step:has(>.v2-capture-film)>.v2-capture-film {
      grid-column:2;grid-row:1 / span 3;max-width:none;margin:0;padding:0;border:0;
    }
    body[data-sar-finish] #thera-sar-editoriale .recovery-analysis {margin-block:24px}
    body[data-sar-finish] #thera-sar-editoriale .season-grid {margin-bottom:28px}
    body[data-sar-finish] #thera-sar-editoriale .operations-clean-section {margin-top:26px;padding-top:24px}

    /* Other SAR pages use the same width; their article text remains bounded. */
    body.tp-site[data-sar-finish] {--tp-gutter:clamp(32px,4.3vw,88px)}
    body.tp-site[data-sar-finish][data-sar-sections=ready] .tp-shell {
      max-width:1856px;padding-top:24px;
    }
    body.tp-site[data-sar-finish] .sar-floating-slot {max-width:1680px}
  }
  @media(max-width:699px) {
    body[data-sar-finish] #thera-sar-editoriale[data-reading=continuous] .atlas-reader>.info-section+.info-section {
      margin-top:18px;padding-top:36px;
    }
    body[data-sar-finish] #thera-sar-editoriale .section-title {margin-bottom:24px!important}
  }
}
