/* Subpage shell — fill the empty right column, card loose blocks with
   existing lander card tokens. Does not restyle header, footer, or the glass bake. */
:root{
  --zatra-h1-max:min(100%,42rem);
  --zatra-h2-max:none;
}

html body:not(.insights-page):not(.post-page) main h1,
html body:not(.insights-page):not(.post-page) main .h1,
html body:not(.insights-page):not(.post-page) .it-split-hero h1,
html body:not(.insights-page):not(.post-page) .legal-hero h1,
html body:not(.insights-page):not(.post-page) .page-intro-shell h1,
html body:not(.insights-page):not(.post-page) .lp-head,
html body:not(.insights-page):not(.post-page) .lf-head,
html body:not(.insights-page):not(.post-page) .lp-head h2,
html body:not(.insights-page):not(.post-page) .lf-head h2,
html body:not(.insights-page):not(.post-page) .lp-head p,
html body:not(.insights-page):not(.post-page) .section-head,
html body:not(.insights-page):not(.post-page) .section-head h2,
html body:not(.insights-page):not(.post-page) .section-head .lede{
  max-width:none!important;
  width:100%;
}

html body.money-service-page .sm-layout,
html body.service-page .sm-layout,
html body.sector-page .sm-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:min(100% - 32px,1200px)!important;
  max-width:1200px!important;
  margin-inline:auto!important;
  gap:16px!important;
}

html body.money-service-page .sm-layout > div,
html body.service-page .sm-layout > div{
  min-width:0;
  width:100%;
}

html body.money-service-page .sm-toc{
  display:block!important;
  position:static!important;
  top:auto!important;
  grid-row:1;
  width:100%!important;
}

html body.money-service-page .sm-layout > div{
  grid-row:2;
}

html body.money-service-page .sm-toc ol{
  display:flex;
  flex-wrap:wrap;
  gap:0 18px;
}
html body.money-service-page .sm-toc ol li + li{
  border-top:0;
}
html body.money-service-page .sm-toc .sm-cta-row,
html body.money-service-page .sm-toc-contact{
  display:none;
}

html body.money-service-page .sm-geo,
html body #how-to-pick,
html body .svc-pick,
html body .svc-pick-spine{
  display:none!important;
}

html body.money-service-page .sm-layout > div > .section,
html body.money-service-page .sm-layout > div > .lp-section,
html body:is(.sector-page,.service-page,.service-lander-page) main > .section.lp-section:not(#quick-answer):not(.conversion-band):not(.byf-section):not(.it-split-hero),
html body:is(.sector-page,.service-page,.service-lander-page) main > .section.section-soft:not(#quick-answer):not(.conversion-band):not(.byf-section):not(.insights-desk),
html body main.legal-page > h2,
html body main.legal-page > p,
html body main.legal-page > .cookie-pref-controls,
html body .faq-grid details,
html body .lp-checklist,
html body .lp-timeline,
html body .sm-who-card,
html body .lp-route-snap,
html body .sm-sources,
html body .guarantee-note,
html body .insights-desk-list li,
html body .recommended-next,
html body .lp-related a{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:16px;
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 10px 26px rgba(7,17,31,.05);
}

html body.money-service-page .sm-layout > div > .section,
html body.money-service-page .sm-layout > div > .lp-section,
html body:is(.sector-page,.service-page,.service-lander-page) main > .section.lp-section > .container,
html body:is(.sector-page,.service-page,.service-lander-page) main > .section.section-soft > .container{
  max-width:none;
}

html body .lander-core,
html body .sm-prose,
html body .rich-text,
html body .service-content,
html body .sector-content,
html body main.legal-page > p,
html body main.legal-page > ul{
  max-width:none!important;
  width:100%!important;
}

html body main.legal-page{
  width:min(100% - 32px,1200px);
  max-width:1200px;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding-bottom:48px;
}
html body main.legal-page > .zatra-breadcrumbs,
html body main.legal-page > .legal-hero,
html body main.legal-page > #quick-answer{
  width:100%;
}
html body main.legal-page > h2,
html body main.legal-page > p,
html body main.legal-page > .cookie-pref-controls{
  margin:0;
  padding:18px 20px;
  box-sizing:border-box;
}
html body main.legal-page > h2{
  margin-bottom:0;
  padding-bottom:8px;
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
}
html body main.legal-page > h2 + p,
html body main.legal-page > h2 + .cookie-pref-controls{
  border-top-left-radius:0;
  border-top-right-radius:0;
  margin-top:-8px;
}

html body .faq-grid{
  display:grid;
  gap:10px;
}
html body .faq-grid details{
  padding:0 16px;
}
html body .faq-grid details summary{
  padding:14px 0;
}

html body .lp-checklist,
html body .sm-sources{
  padding:8px 18px;
}
html body .lp-timeline{
  display:grid;
  gap:10px;
  padding:12px;
}
html body .lp-related{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:12px;
}
html body .lp-related a{
  display:block;
  padding:16px 18px;
  text-decoration:none;
}
html body .insights-desk-list{
  display:grid;
  gap:10px;
  padding:0;
  list-style:none;
}
html body .insights-desk-list li{
  padding:14px 16px;
}
html body .recommended-next{
  width:min(100% - 32px,1200px);
  margin-inline:auto;
  padding:16px 18px;
  box-sizing:border-box;
}

html body header.nav,
html body .nav.zc,
html body .drawer,
html body footer.footer,
html body .footer.zc{
  max-width:none;
}
