/* Stafflancer Blog V8 — index-only premium CTA. Fully native; no form or Elementor dependency. */
body.sbl-blog-index-template .sbl-journal-cta {
    box-sizing: border-box;
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto clamp(68px, 7vw, 116px);
    font-family: 'SBL Inter', Inter, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.sbl-blog-index-template .sbl-journal-cta *,
body.sbl-blog-index-template .sbl-journal-cta *::before,
body.sbl-blog-index-template .sbl-journal-cta *::after { box-sizing: border-box; }
body.sbl-blog-index-template .sbl-journal-cta__surface {
    --sbl-journal-title-size: clamp(35px, 4vw, 58px);
    --sbl-journal-eyebrow-size: 12px;
    --sbl-journal-description-size: clamp(15px, 1.45vw, 17px);
    --sbl-journal-description-leading: 1.77;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: center;
    gap: clamp(20px, 4vw, 84px);
    min-height: 465px;
    border-radius: 30px;
    padding: clamp(44px, 5.5vw, 84px);
    background: radial-gradient(ellipse 64% 96% at 88% 19%, rgba(66,72,194,.33), transparent 75%),
                radial-gradient(ellipse 42% 68% at 45% 122%, rgba(96,43,199,.22), transparent 80%),
                linear-gradient(120deg, #101023 0%, #0a1024 51%, #151138 100%);
    color: #fff;
    box-shadow: 0 28px 76px rgba(15,15,52,.16);
}
body.sbl-blog-index-template .sbl-journal-cta__surface::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .23;
    background-image: radial-gradient(rgba(184,184,255,.55) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(95deg, transparent 0%, transparent 26%, #000 100%);
}
body.sbl-blog-index-template .sbl-journal-cta__surface::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(192,189,255,.11);
    border-radius: 50%;
    right: -320px;
    top: -260px;
    box-shadow: 0 0 0 78px rgba(192,189,255,.025), 0 0 0 156px rgba(192,189,255,.018);
    pointer-events: none;
}
body.sbl-blog-index-template .sbl-journal-cta__copy { position: relative; z-index: 2; max-width: 690px; }
body.sbl-blog-index-template .sbl-journal-cta__eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 28px;
    font-size: var(--sbl-journal-eyebrow-size);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #c4c3ff;
}
body.sbl-blog-index-template .sbl-journal-cta__eyebrow-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #8074ff;
    box-shadow: 0 0 0 5px rgba(128,116,255,.14);
}
body.sbl-blog-index-template .sbl-journal-cta__title {
    margin: 0 0 20px;
    max-width: 700px;
    color: #fff;
    font-family: inherit;
    font-size: var(--sbl-journal-title-size);
    font-weight: 650;
    letter-spacing: -.053em;
    line-height: 1.1;
    text-wrap: balance;
}
body.sbl-blog-index-template .sbl-journal-cta__description {
    max-width: 590px;
    margin: 0;
    color: #c5c9e1;
    font-size: var(--sbl-journal-description-size);
    font-weight: 400;
    line-height: var(--sbl-journal-description-leading);
}
body.sbl-blog-index-template .sbl-journal-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
body.sbl-blog-index-template .sbl-journal-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 53px;
    padding: 14px 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
body.sbl-blog-index-template .sbl-journal-cta__button span { font-size: 19px; font-weight: 400; line-height: 1; }
body.sbl-blog-index-template .sbl-journal-cta__button--primary { background: #5357ff; color: #fff; border-color: #5357ff; }
body.sbl-blog-index-template .sbl-journal-cta__button--primary:is(:hover,:focus-visible) { background: #6a6dff; border-color: #6a6dff; color: #fff; transform: translateY(-2px); }
body.sbl-blog-index-template .sbl-journal-cta__button--secondary { background: rgba(255,255,255,.045); color: #fff; border-color: rgba(255,255,255,.28); }
body.sbl-blog-index-template .sbl-journal-cta__button--secondary:is(:hover,:focus-visible) { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.55); color: #fff; transform: translateY(-2px); }
body.sbl-blog-index-template .sbl-journal-cta__button:focus-visible { outline: 3px solid #d4d4ff; outline-offset: 4px; }
body.sbl-blog-index-template .sbl-journal-cta__art { position: relative; z-index: 1; display: grid; place-items: center; min-width: 0; min-height: 314px; }
body.sbl-blog-index-template .sbl-journal-cta__art-orbit {
    position: absolute;
    width: 86%; aspect-ratio: 1;
    border: 1px solid rgba(188,177,255,.22);
    border-radius: 50%;
    transform: rotate(-13deg);
    box-shadow: 0 0 0 34px rgba(188,177,255,.034), 0 0 0 72px rgba(188,177,255,.024);
}
body.sbl-blog-index-template .sbl-journal-cta__art-card {
    position: relative;
    z-index: 1;
    width: min(100%, 410px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 19px;
    background: linear-gradient(145deg,rgba(31,34,74,.88),rgba(18,24,53,.75));
    box-shadow: 0 26px 55px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.11);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
    transform: rotate(-3deg);
}
body.sbl-blog-index-template .sbl-journal-cta__art-header { display: flex; align-items: center; gap: 11px; min-height: 67px; padding: 13px 23px; border-bottom: 1px solid rgba(255,255,255,.12); color: #c2c3e4; font-size: 10px; font-weight: 700; letter-spacing: .115em; }
body.sbl-blog-index-template .sbl-journal-cta__art-mark { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid rgba(170,151,255,.45); background: rgba(112,85,255,.22); border-radius: 10px; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.08em; }
body.sbl-blog-index-template .sbl-journal-cta__art-mark span { color: #9b8eff; }
body.sbl-blog-index-template .sbl-journal-cta__art-spark { margin-left: auto; color: #aca5ff; font-size: 18px; }
body.sbl-blog-index-template .sbl-journal-cta__art-track { padding: 13px 23px 17px; }
body.sbl-blog-index-template .sbl-journal-cta__art-step { display: grid; grid-template-columns: 38px 1fr 20px; align-items: center; gap: 16px; min-height: 59px; border-bottom: 1px solid rgba(255,255,255,.10); color: #fff; }
body.sbl-blog-index-template .sbl-journal-cta__art-step:last-child { border-bottom: 0; }
body.sbl-blog-index-template .sbl-journal-cta__art-step span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: rgba(118,107,242,.17); border: 1px solid rgba(143,133,252,.25); font-size: 10px; font-weight: 700; color: #c9c3ff; }
body.sbl-blog-index-template .sbl-journal-cta__art-step strong { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
body.sbl-blog-index-template .sbl-journal-cta__art-step i { width: 8px; height: 8px; border-radius: 50%; background: #938bff; box-shadow: 0 0 0 4px rgba(142,131,255,.15); }
body.sbl-blog-index-template .sbl-journal-cta__art-step:last-child i { background: #b0edb6; box-shadow: 0 0 0 4px rgba(139,233,151,.12); }
body.sbl-blog-index-template .sbl-journal-cta__art-footer { display: flex; justify-content: space-between; padding: 16px 23px 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; letter-spacing: .15em; font-weight: 700; color: #a3a5d8; }
body.sbl-blog-index-template .sbl-journal-cta__art-footer span:last-child { font-size: 19px; line-height: .7; color: #a8a1ff; }
body.sbl-blog-index-template .sbl-journal-cta__art-glow { position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(91,79,244,.24); filter: blur(72px); pointer-events: none; }
@media (max-width: 1050px) {
    body.sbl-blog-index-template .sbl-journal-cta__surface { grid-template-columns: minmax(0, 1fr) minmax(260px,.78fr); gap: 30px; padding: 48px; min-height: 400px; }
    body.sbl-blog-index-template .sbl-journal-cta__surface { --sbl-journal-title-size: clamp(34px, 4.7vw, 50px); }
    body.sbl-blog-index-template .sbl-journal-cta__art-card { transform: rotate(-2deg); }
}
@media (max-width: 780px) {
    body.sbl-blog-index-template .sbl-journal-cta { width: calc(100% - 40px); margin-bottom: 75px; }
    body.sbl-blog-index-template .sbl-journal-cta__surface { grid-template-columns: minmax(0, 1fr); gap: 35px; padding: 45px 38px; }
    body.sbl-blog-index-template .sbl-journal-cta__copy { max-width: 620px; }
    body.sbl-blog-index-template .sbl-journal-cta__art { min-height: 250px; }
    body.sbl-blog-index-template .sbl-journal-cta__art-card { max-width: 390px; }
    body.sbl-blog-index-template .sbl-journal-cta__art-orbit { width: 290px; }
}
@media (max-width: 520px) {
    body.sbl-blog-index-template .sbl-journal-cta { width: calc(100% - 28px); margin-bottom: 55px; }
    body.sbl-blog-index-template .sbl-journal-cta__surface { border-radius: 21px; padding: 37px 23px 38px; gap: 32px; }
    body.sbl-blog-index-template .sbl-journal-cta__surface { --sbl-journal-eyebrow-size: 10px; --sbl-journal-title-size: clamp(33px,9.3vw,43px); --sbl-journal-description-size: 15px; --sbl-journal-description-leading: 1.65; }
    body.sbl-blog-index-template .sbl-journal-cta__eyebrow { margin-bottom: 20px; }
    body.sbl-blog-index-template .sbl-journal-cta__title { margin-bottom: 17px; letter-spacing: -.045em; }
    body.sbl-blog-index-template .sbl-journal-cta__actions { align-items: stretch; flex-direction: column; gap: 10px; }
    body.sbl-blog-index-template .sbl-journal-cta__button { width: 100%; min-height: 52px; }
    body.sbl-blog-index-template .sbl-journal-cta__art { min-height: 228px; }
    body.sbl-blog-index-template .sbl-journal-cta__art-card { max-width: 300px; }
    body.sbl-blog-index-template .sbl-journal-cta__art-header { min-height: 50px; padding: 8px 14px; font-size: 8px; }
    body.sbl-blog-index-template .sbl-journal-cta__art-track { padding: 8px 14px 10px; }
    body.sbl-blog-index-template .sbl-journal-cta__art-step { min-height: 48px; }
    body.sbl-blog-index-template .sbl-journal-cta__art-footer { padding: 13px 14px 15px; }
}
@media (prefers-reduced-motion: reduce) {
    body.sbl-blog-index-template .sbl-journal-cta__button { transition: none; }
    body.sbl-blog-index-template .sbl-journal-cta__button:is(:hover,:focus-visible) { transform: none; }
}

/* Global Controls / Homepage compatibility: both target ordinary #page #content
   headings and paragraphs. The CTA retains its own design, without !important. */
html body.sbl-blog-index-template #page #content .sbl-journal-cta__eyebrow {
    font-size: var(--sbl-journal-eyebrow-size);
    font-weight: 700;
    line-height: 1.4;
    color: #c4c3ff;
}
html body.sbl-blog-index-template #page #content .sbl-journal-cta__title {
    font-size: var(--sbl-journal-title-size);
    font-weight: 650;
    line-height: 1.1;
    color: #fff;
}
html body.sbl-blog-index-template #page #content .sbl-journal-cta__description {
    font-size: var(--sbl-journal-description-size);
    font-weight: 400;
    line-height: var(--sbl-journal-description-leading);
    color: #c5c9e1;
}

/* CTA-only dark-mode link isolation.
 * The theme-mode adapter styles normal anchors via:
 * html.sl-theme-dark a:not(.elementor-button):not(.wp-block-button__link):not(.sl-btn)
 * Its specificity exceeds the original CTA button rules and turns both labels
 * purple. Explicitly own the CTA anchors (including visited, hover and focus)
 * without !important, changing the site-wide link rules, or styling other pages.
 */
html.sl-theme-dark body.sbl-blog-index-template .sbl-journal-cta .sbl-journal-cta__actions a.sbl-journal-cta__button,
html.sl-theme-dark body.sbl-blog-index-template .sbl-journal-cta .sbl-journal-cta__actions a.sbl-journal-cta__button:visited,
html.sl-theme-dark body.sbl-blog-index-template .sbl-journal-cta .sbl-journal-cta__actions a.sbl-journal-cta__button:is(:hover, :focus, :focus-visible, :active) {
    color: #ffffff;
    text-decoration: none;
}
/* Keep icon glyphs aligned with the readable button label. */
html.sl-theme-dark body.sbl-blog-index-template .sbl-journal-cta .sbl-journal-cta__actions a.sbl-journal-cta__button > span {
    color: inherit;
}
/* White text on RC5.5's #6a6dff hover was only 4.00:1: choose 4.82:1. */
html.sl-theme-dark body.sbl-blog-index-template .sbl-journal-cta .sbl-journal-cta__actions a.sbl-journal-cta__button--primary:is(:hover, :focus-visible) {
    background-color: #5b60ee;
    border-color: #5b60ee;
}
