/* A panorama page already has a responsive inter-section gap (24–42px).
   Plain editorial chapters must not add another 64px on either side.
   Coloured sections keep their own comfortable internal padding. Without a
   panorama gap, the former larger chapter padding remains necessary. */
.website-chapters:has(> .website-layout-panorama) > .website-chapter.chapter-bg-plain > .chapter-padding {
  padding-block:clamp(20px,1.8vw,24px);
}
/* A standard block in this mixed layout already has a 24px outer margin.
   When it leads into a plain chapter, retain a balanced transition rather
   than stacking the full margin, inter-section gap and chapter padding. */
.website-chapters:has(> .website-layout-panorama) > .website-section:not(.website-chapter,.website-hero):has(+ .website-chapter.chapter-bg-plain):not([data-website-spacing-bottom]) {
  margin-block-end:0;
}
