/* Limit the centered heading treatment to the three resource detail heroes. */
@layer dbc-resource-hero-center {
  #main-content .resource-download-hero-inner > :is(#tds-hero-title, #brochure-hero-title, #reports-hero-title) {
    box-sizing: border-box;
    display: block !important;
    inline-size: 100% !important;
    max-inline-size: 56rem !important;
    min-inline-size: 0 !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    grid-column: 1 / -1;
    justify-self: center;
    font-size: clamp(1.5rem, 1.125rem + 2vw, 3.125rem) !important;
    line-height: 1.16 !important;
    transition: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    text-wrap: balance !important;
  }

  #main-content .resource-download-hero-inner > :is(#tds-hero-title, #brochure-hero-title) .resource-download-title-part {
    display: inline-block !important;
    max-inline-size: 100%;
    margin: 0 !important;
    font: inherit !important;
    transition: none !important;
    white-space: normal !important;
  }

  #main-content .resource-download-hero-inner > #brochure-hero-title .resource-download-title-qualifier {
    display: inline !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }
}
