/* Career Fixx — every page banner in the job pages' look (the same values as .cfj-hero in cf-jobs.css):
   night background with violet glows and a faint grid, light text, the crumbs above the title.
   Covers the theme's breadcrumbs (.rbt-breadcrumb-default, every variant) and the About and Contact heroes.
   Where the banner sits and its top padding live in cf-header.css (it runs up under the floating bar).
   "html[data-theme] body" outranks cf-dark.css, so one look serves both colour themes. */

/* ── background: night, violet glows, faint grid ────────────────────── */
html[data-theme] body .rbt-breadcrumb-default,
html[data-theme] body .cfx-ab-hero,
html[data-theme] body .cfx-co-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    background:
        radial-gradient(520px 420px at 88% 0%, rgba(155, 60, 246, .42), transparent 70%),
        radial-gradient(460px 380px at 0% 90%, rgba(124, 58, 237, .34), transparent 70%),
        radial-gradient(420px 300px at 62% 55%, rgba(91, 33, 182, .2), transparent 70%),
        #0c0820 !important;
    color: #d3cdef;
}
html[data-theme] body .rbt-breadcrumb-default::before,
html[data-theme] body .cfx-ab-hero::before,
html[data-theme] body .cfx-co-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 100%);
    pointer-events: none;
}
/* the plan and course banners brought their own photo; the night background replaces it */
html[data-theme] body .rbt-breadcrumb-style-3 .breadcrumb-inner > img { display: none !important; }

/* ── simple banner: crumbs, then a large white title ─────────────────── */
html[data-theme] body .rbt-breadcrumb-default .breadcrumb-inner.text-center { display: flex; flex-direction: column; align-items: center; }
html[data-theme] body .rbt-breadcrumb-default .breadcrumb-inner .title {
    margin: 0;
    color: #fff !important;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.2;
}
html[data-theme] body .rbt-breadcrumb-default .breadcrumb-inner .page-list {
    order: -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

/* ── crumbs: light violet links, muted chevrons (as on a job's page) ── */
html[data-theme] body .rbt-breadcrumb-default .page-list li,
html[data-theme] body .cfx-about .cfx-ab-crumbs li,
html[data-theme] body .cfx-contact .cfx-co-crumbs li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: #d3cdef !important;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}
html[data-theme] body .rbt-breadcrumb-default .page-list li a,
html[data-theme] body .cfx-ab-crumbs a,
html[data-theme] body .cfx-co-crumbs a { color: #d8b4fe !important; font-weight: 700; }
html[data-theme] body .rbt-breadcrumb-default .page-list li a:hover,
html[data-theme] body .cfx-ab-crumbs a:hover,
html[data-theme] body .cfx-co-crumbs a:hover { color: #fff !important; }
html[data-theme] body .rbt-breadcrumb-default .page-list i,
html[data-theme] body .rbt-breadcrumb-default .page-list .icon-right,
html[data-theme] body .cfx-ab-crumbs i,
html[data-theme] body .cfx-co-crumbs i { color: #8f86b5 !important; font-size: 13px; }

/* ── plan and course banners: their own layout, light text ────────────── */
html[data-theme] body .rbt-breadcrumb-style-3 :is(h1, h2, .title) { color: #fff !important; }
html[data-theme] body .rbt-breadcrumb-style-3 :is(p, .description) { color: #d3cdef !important; }
html[data-theme] body .rbt-breadcrumb-style-3 :is(.rbt-author-info, .rbt-author-info > a, .rbt-meta li, .rbt-meta li b) { color: #ece8ff !important; }
html[data-theme] body .rbt-breadcrumb-style-3 .rbt-meta li i { color: #d8b4fe !important; }
/* plan name: the job pages' glass badge */
html[data-theme] body .rbt-breadcrumb-default .rbt-new-badge.rbt-new-badge-one {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
    color: #d8b4fe;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
html[data-theme] body .rbt-breadcrumb-default .rbt-new-badge.rbt-new-badge-one::before { display: none; }
