/* Inheritance also covers inline text and embedded calendar content that loads this file.
 * Short words may split into two-character fragments at dictionary-approved boundaries to
 * reduce wide word spacing in justified prose.
 */
html {
    --report-frame-border-width: 10px;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 4 2 2;
    hyphenate-limit-last: none;
}

p, li, .mainSliderContainer .greenBorder {
    text-align: justify;
}

/* Give justified testimonials room for a short prefix at their fixed 300px width. */
.mainSliderContainer .greenBorder > div:first-child > em {
    letter-spacing: -0.008em;
}

@supports not (hyphenate-limit-last: none) {
    /* A zero-width separator lets the browser consider dictionary breaks in the last
     * word. Generated content leaves the source text and its accessible name intact.
     */
    :where(p, li, .formhelptext, .maintext, .maintextlarge, .privacynotice):not(:has(> :is(div, p, ul, ol, table, h1, h2, h3)))::after,
    :where(p, li, .formhelptext, .maintext, .maintextlarge, .privacynotice) > :where(a, b, em, i, small, span, strong):last-child::after,
    .mainSliderContainer .greenBorder > div:first-child > em::after {
        content: " \2063" / "";
        font-size: 0;
        line-height: 0;
        letter-spacing: normal;
    }

    /* A separator creates a blank line after a block menu link. Match :last-child
     * here too so the menu rule wins over the prose rule for a terminal link.
     */
    :where(.cssm1, .site-navigation, #subMenusContainer, .jaxcore-combobox-menu) li::after,
    :where(.cssm1, .site-navigation, #subMenusContainer, .jaxcore-combobox-menu) li > a:last-child::after {
        content: none;
    }
}

/* Matching the frame borders with padding centers content on the visible frame while
 * preserving the prose width inside its narrower parent column.
 */
.report-downloads {
    width: 100%;
    padding-inline: var(--report-frame-border-width);
}

.report-downloads h2 {
    text-align: center;
}

.report-downloads > table {
    border-spacing: 50px 0;
    margin-inline: auto;
}

/* Account for the inner cell inset to retain the existing calendar-to-title gap. */
.report-downloads .maintextlarge > p:last-child {
    margin-bottom: 0.8em;
}
