/*
 * Temporary bridge for the current believe_tcd122 child theme (v2).
 * Keeps the shared site header/footer and the theme breadcrumb, while allowing
 * migrated fixed pages to use a full-width canvas inside the default 900px page
 * template. Replace this bridge with a dedicated full-width page template
 * before broad rollout.
 *
 * v1 targeted .hs-strengths only. v2 adds the shared .hs-page marker so that a
 * new page only needs `class="hs-ui hs-page hs-<name>"` on its root element.
 * .hs-strengths is kept because the published strengths page does not carry
 * .hs-page yet.
 */
.l-contents:has(:is(.hs-strengths, .hs-page)) {
  display: block;
  max-width: none;
  width: 100%;
}

.l-main:has(:is(.hs-strengths, .hs-page)) {
  display: block;
  max-width: none;
  width: 100%;
}

.p-page:has(:is(.hs-strengths, .hs-page)) {
  padding-top: 0;
  width: 100%;
}

.p-page:has(:is(.hs-strengths, .hs-page)) > .p-page-header {
  display: none;
}

.p-page:has(:is(.hs-strengths, .hs-page)) > .p-single-content {
  max-width: none;
  width: 100%;
}

.p-page:has(:is(.hs-strengths, .hs-page)) .tcdce-body {
  font-size: inherit;
  line-height: inherit;
}

.p-page:has(:is(.hs-strengths, .hs-page)) .tcdce-body > :is(.hs-strengths, .hs-page) {
  margin-inline: 0;
  max-width: none;
  width: 100%;
}

/* The current theme already renders a breadcrumb above the page article. */
.p-page:has(:is(.hs-strengths, .hs-page)) .hs-block--breadcrumb {
  display: none;
}
