/* Runtime compatibility for GitHub-owned SEO authority pages only. */
body.smis-seo-virtual-page.header_position_over .top_panel,
body.smis-seo-virtual-page.header_position_over header.top_panel {
    z-index: 10000 !important;
}

/* ThemeREX's own header_position_over rules make the panel absolute/transparent.
 * Keep non-fixed scheme rows transparent so the hero visually continues behind
 * the header, while a fixed-on-scroll row may retain its normal background. */
body.smis-seo-virtual-page.header_position_over:not(.trx_addons_page_scrolled)
.top_panel .sc_layouts_row[class*="scheme_"],
body.smis-seo-virtual-page.header_position_over
.top_panel .sc_layouts_row[class*="scheme_"]:not(.sc_layouts_row_fixed_on) {
    background-color: transparent !important;
}

/* Prevent decorative theme heading pseudo-elements from leaking into authority H1s. */
body.smis-seo-virtual-page .smis-authority h1::before,
body.smis-seo-virtual-page .smis-authority h1::after,
body.smis-seo-virtual-page .smis-authority h2::before,
body.smis-seo-virtual-page .smis-authority h2::after {
    content: none !important;
    display: none !important;
}
