/* One frame for every page (except Shop and Home, which set their own):
   on screens wider than 900px, page sections use the menu bar's side margin
   (20-48px), and on big screens their content is up to 1440px wide, the
   same width as the homepage.
   Full-width colour bands keep their background; only their content moves. */
:root{--frame:max(clamp(1.25rem,3.5vw,3rem),calc((100vw - 1440px) / 2))}

@media(min-width:901px){
  /* Page sections and bands */
  body > section:not(.about-hero):not(.story-section):not(.suite-split),
  .filter-bar,.gallery-disclaimer,.reviews-summary,.reviews-grid-section,.picks-wrap,
  .pol-hero,.onco-what-includes,.onco-note,
  body > div[style*="padding:2.5rem 2.5rem"],body > div[style*="padding:3rem 3rem"]{
    padding-left:var(--frame)!important;padding-right:var(--frame)!important}

  /* Boxes that were narrower and centered now use the full frame */
  .reviews-grid-section,.picks-wrap{margin-left:0!important;margin-right:0!important;max-width:none!important}
  .cat-inner{max-width:none!important;margin-left:0!important;margin-right:0!important}
  .picks-wrap .picks-grid{padding-left:0!important;padding-right:0!important}

  /* Treatment lists: each row's text starts on the frame edge */
  body > div[style^="border-bottom:1px solid var(--stone)"] > div > button,.svc-list .svc-trigger{padding-left:var(--frame)!important;padding-right:var(--frame)!important}

  /* Pages with a side menu (FAQ, Policies): the menu starts on the frame edge */
  .faq-wrap{grid-template-columns:calc(var(--frame) + 190px) minmax(0,1fr)!important}
  .faq-sidebar{padding-left:var(--frame)!important}
  .faq-main{padding-right:var(--frame)!important}
  .pol-layout{grid-template-columns:calc(var(--frame) + 210px) minmax(0,1fr)!important}
  .pol-sidebar{padding-left:var(--frame)!important}
  .pol-content{padding-right:var(--frame)!important}

  /* About and Wellness split sections: text on the frame edge */
  .story-section .story-sidebar{padding-left:var(--frame)!important}
  .suite-split .suite-left{padding-left:var(--frame)!important}

  /* Page heroes (hero.css) fill the same frame instead of stopping at 1400px */
  .svc-hero .svc-hero-inner{max-width:none}
}
