/* Reversible content-only typography. The site header, footer, homepage and exports retain their original styles. */
#content.content-typography {
    font-size: 0.9rem;
}

/* Inherit through nested module components and formatted content instead of accumulating independent sizes. */
#content.content-typography :where(*):not(:where(svg, svg *, math, math *, .fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .portal-icon, .document-icon, .vtc-document-icon, .intranet-tile__icon, .intranet-tile__icon *, .management-calendar, .management-calendar *, .management-calendar-legend, .management-calendar-legend *, .management-calendar-navigation, .management-calendar-navigation *, .study-source, .study-source *, .field-hint, .field-hint *, .publication-metrics, .publication-metrics *, .badge, .badge *, .report-check, .report-check *, .notice, .notice *, .my-account-checks, .my-account-checks *, .my-account-check-success, .my-account-check-success *)) {
    font-size: inherit !important;
}

#content.content-typography h1 {
    font-size: 2.7rem !important;
    overflow-wrap: anywhere;
}

#content.content-typography h2 {
    font-size: 1.35rem !important;
}

#content.content-typography h3 {
    font-size: 1.125rem !important;
}

#content.content-typography .intranet-tile__title {
    font-size: 1rem !important;
}

#content.content-typography h4 {
    font-size: 1.0125rem !important;
}

#content.content-typography :is(h5, h6) {
    font-size: 0.9rem !important;
}

#content.content-typography th {
    font-size: .75rem !important;
}

#content.content-typography th :where(*):not(:where(svg, svg *, .fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .portal-icon, .document-icon, .vtc-document-icon, .publication-metrics, .publication-metrics *, .badge, .badge *, .report-check, .report-check *, .notice, .notice *, .my-account-checks, .my-account-checks *, .my-account-check-success, .my-account-check-success *)) {
    font-size: inherit !important;
}

#content.content-typography :is(sup, sub) {
    font-size: .75em !important;
}

@media (max-width: 640px) {
    #content.content-typography h1 {
        font-size: 1.8rem !important;
    }
}

#content.content-typography .breadcrumbs {
    font-size: .75rem !important;
}

#content.content-typography :is(.eyebrow, .card-kicker) {
    font-size: .7rem !important;
}

#content.content-typography :is(.document-file-details, .study-legend, .study-plan-legend, .report-legend, .study-map-legend) {
    font-size: .75rem !important;
}

#content.content-typography .responsible-programme-heading :is(.responsible-variants, .responsible-programme-codes) {
    font-size: .8rem !important;
}

#content.content-typography :is(.study-legend, .study-plan-legend) :is(h2, h3) {
    font-size: .75rem !important;
}

#content.content-typography .document-list-heading {
    font-size: .75rem !important;
}

#content.content-typography th h4,
#content.content-typography .hik-description-link {
    font-size: .9rem !important;
}

#content.content-typography :is(.management-calendar, .management-calendar-navigation) {
    font-size: 1rem !important;
}
