/* Shared light-page navigation labels and hero hierarchy. Loaded after page styles.
 * Keep overrides in a single late stylesheet instead of emitting per-page inline CSS. */
:where(.section-more, .post-page .post-category-preview-header > a, .event-list-page .event-function-section > header a, .industry-section-more, .rfj-taxonomy-section__heading > a, .rfj-search-recommend-more, .rfj-mso-recommend-more, .rfj-sd-more-btn, .hn-more-link, .hn-more-link-sm, .more.text-muted, body.single-company .rfj-company-more-link, body.single-company .rfj-company-expand__button, .rfj-single-guide-special-group__more, .rfj-references-industry-card__more, .cat_more) { color: var(--rfj-text-tertiary) !important; }
:where(.section-more, .post-page .post-category-preview-header > a, .event-list-page .event-function-section > header a, .industry-section-more, .rfj-taxonomy-section__heading > a, .rfj-search-recommend-more, .rfj-mso-recommend-more, .rfj-sd-more-btn, .hn-more-link, .hn-more-link-sm, .more.text-muted, body.single-company .rfj-company-more-link, body.single-company .rfj-company-expand__button, .rfj-single-guide-special-group__more, .rfj-references-industry-card__more, .cat_more):is(:hover, :focus-visible) { color: var(--rfj-text-primary) !important; }
.rfj-industry-blueprint-page .rfj-taxonomy-section__heading > a { color: var(--rfj-text-dark-tertiary) !important; }
.rfj-industry-blueprint-page .rfj-taxonomy-section__heading > a:is(:hover, :focus-visible) { color: var(--ims-cyan, #64d5e2) !important; }

.rfj-primary-nav-page-layout { padding-top: 0 !important; }
.rfj-primary-nav-page-hero { padding-top: 32px !important; }
body .rfj-primary-nav-page-hero h1.rfj-primary-nav-page-title { font-size: 32px; }
body .rfj-primary-nav-page-hero h1.rfj-primary-nav-page-title .gradient-text {
    margin-left: 0;
    background-image: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
body.rfj-software-archive-page .topics-discover-page { padding-top: 0; }
body.rfj-software-archive-page .rfj-software-archive-hero__panel { padding-top: 0; }
body.rfj-software-archive-page .rfj-software-archive-hero__intro {
    min-height: 0;
    align-items: flex-start;
}
@media (max-width: 768px) {
    .rfj-primary-nav-page-hero { padding-top: 24px !important; }
    body .rfj-primary-nav-page-hero h1.rfj-primary-nav-page-title { font-size: 26px; }
    body.rfj-software-archive-page .topics-discover-page {
        padding-top: var(--rfj-topics-mobile-filter-height, 55px);
    }
}

/* Company rich-text fade is shared fixed CSS, never per-company inline CSS. */
body.single-company .rfj-company-rich-toggle.is-collapsible:not(.is-expanded)::after {
    content: none;
}
body.single-company .rfj-company-rich-toggle.is-collapsible:not(.is-expanded) > .rfj-company-expand__content {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 38px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 38px), transparent 100%);
}
body.single-company .rfj-company-rich-toggle > .rfj-company-expand__button {
    border-top: 0;
}

