/* Existing project titles use either a literal newline or an explicit HTML break.
   When both represent the same line break, render only the explicit break. */
main .cs-case :is(h1,h2,h3):has(br),
main [class*="case"] :is(h1,h2,h3):has(br) {
    white-space: normal !important;
}

/* Keep chapter titles close to their labels and to the content they introduce. */
main .cs-case.cs-case-web35.cs-web-art .cs-chapter {
    padding-block-start: clamp(32px, 4vw, 60px);
}
main .cs-case.cs-case-web35 .cs-chapter .cs-chapter-heading {
    padding-block-start: 0;
    margin-block-end: clamp(22px, 3vw, 40px);
    row-gap: clamp(8px, 1.5vw, 16px);
}
main .cs-case.cs-case-web35 .cs-chapter .cs-chapter-heading :is(h2, .cs-eyebrow) {
    margin-block: 0;
}
