/* Shared reading polish. Landing-specific layouts remain controlled by their own CSS. */
.ucgh-header .ucdn-panel-heading h2 {
    background: none !important;
    color: #142b48 !important;
    -webkit-text-fill-color: #142b48 !important;
}

/* Brand colours instead of the legacy text-gradient on standard WP content. */
body > .container main .entry-title,
body > .container main .entry-title a,
body > .container main .entry-content h1,
body > .container main .entry-content h2 {
    background: none !important;
    color: #142b48 !important;
    -webkit-text-fill-color: #142b48 !important;
}

body > .container main .entry-content h3 {
    background: none !important;
    color: #173a52 !important;
    -webkit-text-fill-color: #173a52 !important;
}

/* Keep the approved 16/15px text while giving prose a comfortable measure. */
@media (min-width: 1000px) {
    body > .container main .entry-header,
    body > .container main .entry-content > :where(
        p, h1, h2, h3, h4, h5, h6,
        ul, ol, blockquote, pre,
        .wp-block-heading, .wp-block-list, .wp-block-quote,
        .wp-block-buttons, .wp-block-separator,
        .ucparser-history-guide, .ucp-landing, .ucp-settings-page,
        .ucprbot-landing, .ucbc-article
    ) {
        max-width: 800px;
    }
}

/* The shared header and footer already provide this support destination. */
body.ucgh-page .ucmod-corner-btn-v8 {
    display: none !important;
}
