/* Release 29: a visible distinction between a chapter and a divider within it.
   Paper washes are static, unboxed and fade into the reading surface. */
body.sections-29{
 --s29-edge:#bccbdc;
 --s29-accent:#486bd0;
 --s29-wash:#eef3fa;
}
body.sections-29 .site-header .brand{
 flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;
 padding-block:3px;text-decoration:none;
}
body.sections-29 .s29-domain{
 display:block;font:400 .6875rem/1.35 var(--ds-body);letter-spacing:.055em;
 color:#647083;text-transform:none;white-space:nowrap;
}
/* The rule spans the page; its short blue origin identifies a major opening.
   Internal rules retain their original quieter weight and contained width. */
body.sections-29.edition-27 main .s29-chapter{
 position:relative;isolation:isolate;border-top:0;
 margin-top:60px;padding-top:40px;padding-bottom:0;
 background:none;scroll-margin-top:20px;
}
body.sections-29.edition-27 main .s29-chapter::before{
 content:'';display:block;position:absolute;z-index:-1;pointer-events:none;border-left:0;
 top:0;left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2);
 height:240px;border-top:1px solid var(--s29-edge);
 background:linear-gradient(180deg,var(--s29-wash) 0%,#f7f9fcbb 36%,#ffffff00 100%);
}
body.sections-29.edition-27 main .s29-chapter::after{
 content:'';position:absolute;pointer-events:none;top:0;left:0;
 width:48px;height:3px;background:var(--s29-accent);
}
body.sections-29.edition-27 main .s29-chapter.s29-paper{
 --s29-wash:#f4f2ee;
}
/* The introduction and its worked study are one conceptual chapter. */
body.sections-29 .s29-reading{width:100%;margin-top:32px}
body.sections-29.edition-27 main .s29-reading::after{left:max(64px,calc((100% - 1152px)/2))}
body.sections-29 .s29-reading .hm-intro{padding-top:0;padding-bottom:28px}
body.sections-29 .s29-reading .rf-study{background:none}
body.sections-29 .hm-section-top>.ds-eyebrow::before{display:none}
body.sections-29 .home-page .hm-closing{padding-bottom:40px}
body.sections-29 .s29-chapter>:first-child{margin-top:0}
body.sections-29 .book-page .bk-news .bk-endpaper{padding-top:0}
/* Nested opening studies get the same boundary without changing their content. */
body.sections-29 .method-page .mt-opening{padding-bottom:0}
body.sections-29 .mt-map-lab .ml-heading{margin-top:0}
body.sections-29.edition-27 main .s29-chapter.s29-inset::before{left:-20px;right:-20px}
body.sections-29.edition-27 main .s29-inset{padding:28px 0 0;margin-top:0;border:0}
body.sections-29 .ec-layout{row-gap:0}
body.sections-29 .ec-preview .ec-current{width:100%;margin-inline:0}
/* Brief policy sections use the same cue at a smaller scale. */
body.sections-29.edition-27 main .s29-chapter.s29-compact{
 margin-top:24px;padding-block:24px 8px;border:0;
}
body.sections-29.edition-27 main .s29-compact::before{
 left:-20px;right:-20px;height:150px;border-top-color:#cbd6e2;
}
body.sections-29.edition-27 main .s29-compact::after{width:28px;height:2px}
body.sections-29 .ds-footer{
 border-top:1px solid #bdcbdc;background:linear-gradient(180deg,#f2f5fa,#fff 180px);
}
body.sections-29 .ds-footer::before{display:none}
@media(max-width:68.75rem){
 body.sections-29.edition-27 main .s29-reading::after{left:40px}
}
@media(max-width:48rem){
 body.sections-29.edition-27 main .s29-chapter{margin-top:40px;padding-top:28px}
 body.sections-29.edition-27 main .s29-chapter::before{height:220px}
 body.sections-29.edition-27 main .s29-chapter::after{width:36px}
 body.sections-29.edition-27 main .s29-reading{margin-top:28px}
 body.sections-29.edition-27 main .s29-reading::after{left:24px}
 body.sections-29 .s29-reading .hm-intro{padding-bottom:20px}
 body.sections-29.edition-27 main .s29-inset{padding-inline:0}
 body.sections-29.edition-27 main .s29-chapter.s29-inset::before{left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2)}
 body.sections-29.edition-27 main .s29-chapter.s29-compact{margin-top:22px;padding-block:22px 6px}
 body.sections-29.edition-27 main .s29-compact::before{height:150px;left:-16px;right:-16px}
 body.sections-29.edition-27 main .s29-compact::after{width:24px;height:2px}
}
@media(max-width:21.875rem){
 body.sections-29.edition-27 main .s29-reading::after{left:18px}
}
