.editor-styles-wrapper .is-root-container { --region-sans: "Region Noto Sans", Arial, sans-serif; }
/* Only prose uses this scale. Blocks such as accordions supply their own heading controls. */
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container) h1 {
    --heading-desktop: 2.375rem;
    --heading-mobile: 1.75rem;
    --heading-weight: 800;
    --heading-leading: 1.15;
}
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container) h2 {
    --heading-desktop: 2rem;
    --heading-mobile: 1.5rem;
    --heading-weight: 800;
    --heading-leading: 1.2;
}
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container) h3 {
    --heading-desktop: 1.625rem;
    --heading-mobile: 1.3125rem;
}
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container) h4 {
    --heading-desktop: 1.375rem;
    --heading-mobile: 1.1875rem;
}
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container) h5 {
    --heading-desktop: 1.1875rem;
    --heading-mobile: 1.0625rem;
}
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container) h6 {
    --heading-desktop: 1.0625rem;
    --heading-mobile: 1rem;
    --heading-weight: 600;
}
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container)
:is(h1, h2, h3, h4, h5, h6):where(.wp-block-heading, :not([class*="wp-block-"], [class*="post-title"])):where(:not([itemprop~="headline"], .rn-search-surface *, .rn-reader-card *, .wp-block-query *)) {
    font-family: var(--region-sans);
    font-size: var(--heading-size, var(--heading-desktop));
    font-weight: var(--heading-weight, 700);
    line-height: var(--heading-leading, 1.3);
    margin-block: var(--heading-space-before, 1.1em) .35em;
    overflow-wrap: anywhere;
}
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container)
:where(h1, h2, h3, h4, h5, h6):first-child { --heading-space-before: 0; }
:is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content, .editor-styles-wrapper .is-root-container)
:where(h1, h2, h3, h4, h5, h6) + :where(h1, h2, h3, h4, h5, h6) { --heading-space-before: .45em; }

@media (max-width: 767px) {
    :is(.region-story .entry-content, :where(.page:not(.home) .type-page > .inside-article) > .entry-content) :where(h1, h2, h3, h4, h5, h6) { --heading-size: var(--heading-mobile); }
}
.editor-styles-wrapper .is-root-container.is-mobile-preview :where(h1, h2, h3, h4, h5, h6) {
    --heading-size: var(--heading-mobile);
}


/* Use the post heading ink on page prose while respecting block color choices. */
.page:not(.home) .type-page > .inside-article > .entry-content
:is(h1, h2, h3, h4, h5, h6):where(.wp-block-heading, :not([class])):where(:not([itemprop~="headline"], .has-text-color, .has-text-color *, .has-background *, .wp-block-cover *, .rn-reader-card *, .rn-search-surface *, .wp-block-query *)) { color: var(--region-page-heading-ink, #000); }
@media (prefers-color-scheme: dark) {
    .page:not(.home) .type-page { --region-page-heading-ink: var(--contrast); }
}
