
/* Authoritative final width cap for the Weekend Edition ONLY.
   Match The Coast Line: 1240px outer rail including responsive gutters.
   The dark-blue header remains full bleed; footer background can remain
   full width but its CONTENT stays on the same centred rail. */
body:has(.wp-block-post-content .cco.weekend-edition)
 .wp-block-post-content>.cco.weekend-edition {
  --we-rail:1240px;
  --we-gutter:clamp(16px,4vw,50px);
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
/* Cover ALL standalone editorial blocks, regardless of Gutenberg position,
   section tone, or whether they were authored as section or aside. */
body:has(.wp-block-post-content .cco.weekend-edition)
 .wp-block-post-content>.cco.weekend-edition> :is(section,aside).cco-section {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1240px!important;
  min-width:0!important;
  margin-inline:auto!important;
  padding-inline:clamp(16px,4vw,50px)!important;
}
body:has(.wp-block-post-content .cco.weekend-edition)
 .wp-block-post-content>.cco.weekend-edition>.we-issue-nav {
  box-sizing:border-box!important;
  width:100%!important;max-width:1240px!important;
  margin-inline:auto!important;
}
body:has(.wp-block-post-content .cco.weekend-edition)
 .wp-block-post-content>.cco.weekend-edition>.we-issue-nav>.we-inner {
  box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;
  margin-inline:auto!important;
  padding-inline:clamp(16px,4vw,50px)!important;
}
/* All image-backed panels and card grids are children of the bounded rail.
   They may fill that parent, but never expand beyond it. */
.wp-block-post-content .cco.weekend-edition
 :is(.we-magazine-layout,.we-magazine-stories,.we-feature-grid,.we-brief,
 .cco-grid,.we-spotlight,.we-footer-cta,.we-events-panel,.we-magazine-lead,
 .we-story,.we-quiet,.cco-card) {
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
}
.wp-block-post-content .cco.weekend-edition :is(.we-magazine-layout,
 .we-magazine-stories,.we-feature-grid,.we-brief,.cco-grid,.we-spotlight,
 .we-footer-cta) {
  width:100%!important;
}
.wp-block-post-content .cco.weekend-edition img {
  max-width:100%!important;
}
body:has(.wp-block-post-content .cco.weekend-edition)
 .wp-block-post-content>.cco.weekend-edition>footer.ln-foot-grid {
  width:100%!important;max-width:none!important;
}
body:has(.wp-block-post-content .cco.weekend-edition)
 .wp-block-post-content>.cco.weekend-edition>footer.ln-foot-grid>.ln-wrap {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1240px!important;
  margin-inline:auto!important;
  padding-inline:clamp(16px,4vw,50px)!important;
}
/* The hero's BLUE field remains full width, while image+title stay within
   their own 1240px inner frame. Keep existing hero rules unchanged. */

/* Preserve a readable 20px inset between the newly constrained pale-blue
   surface and its content, just like the bordered panel above it. */
body:has(.wp-block-post-content .cco.weekend-edition)
 .wp-block-post-content>.cco.weekend-edition > :is(section,aside).cco-section.cco-tone-tint {
   padding-inline:calc(clamp(16px,4vw,50px) + clamp(12px,1.2vw,20px))!important;
}
@media(max-width:600px){
 body:has(.wp-block-post-content .cco.weekend-edition)
 .wp-block-post-content>.cco.weekend-edition > :is(section,aside).cco-section.cco-tone-tint{
   padding-inline:calc(clamp(16px,4vw,50px) + 6px)!important;
 }
}
