    /* =========================================================
         ACADEMY250
         Library Briefing Template · Version 1.1
         Full-width chapters · free-standing blocks · no outer frame
         ========================================================= */

.a250-story-article,
.a250-story-article * {
    box-sizing: border-box;
}

.a250-story-article {
    --sa-ink: #172033;
    --sa-deep: #071426;
    --sa-muted: #5f6b7f;
    --sa-soft: #7b8699;
    --sa-blue: #2563eb;
    --sa-indigo: #4f46e5;
    --sa-violet: #7c3aed;
    --sa-cyan: #0891b2;
    --sa-green: #059669;
    --sa-amber: #d97706;
    --sa-line: rgba(37, 99, 235, .13);

    width: 100%;
    margin: 0;
    color: var(--sa-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.a250-story-article h1,
.a250-story-article h2,
.a250-story-article h3,
.a250-story-article p {
    margin-top: 0;
}

/* No central background, border, shadow or enclosing card. */
.a250-sa-frame {
    position: relative;
    overflow: visible;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.a250-sa-frame::before {
    content: none;
}

.a250-sa-shell {
    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */

.a250-sa-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 28px;
    background:
            radial-gradient(circle at 90% 5%, rgba(5, 150, 105, .12), transparent 19rem),
            radial-gradient(circle at 3% 100%, rgba(124, 58, 237, .10), transparent 21rem),
            rgba(255, 255, 255, .90);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .055);
}

.a250-sa-kicker {
    display: inline-flex;
    align-items: center;
    gap: .46rem;
    width: fit-content;
    margin-bottom: .9rem;
    padding: .47rem .72rem;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 999px;
    color: var(--sa-blue);
    background: rgba(37, 99, 235, .075);
    font-size: .68rem;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.a250-sa-kicker .a250-mini-story__path-dot {
    width: .48rem;
    height: .48rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sa-blue), var(--sa-green));
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .08);
}

.a250-sa-label {
    margin-bottom: .5rem;
    color: var(--sa-green);
    font-size: .72rem;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.a250-sa-title {
    max-width: 800px;
    margin-bottom: .85rem;
    color: var(--sa-deep);
    font-size: clamp(2.65rem, 7vw, 2.7rem);
    line-height: .91;
    letter-spacing: -.075em;
    font-weight: 950;
}

.a250-sa-title .a250-mini-story__title-arrow {
    display: inline-block;
    color: var(--sa-blue);
}

.a250-sa-subtitle {
    max-width: 820px;
    margin-bottom: 0;
    color: var(--sa-muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.68;
    font-weight: 640;
}

.a250-sa-meta-panel {
    height: 100%;
    padding: .9rem;
    border: 1px solid rgba(37, 99, 235, .13);
    border-radius: 22px;
    background: rgba(255, 255, 255, .76);
}

.a250-sa-meta-panel::before {
    content: "";
    display: block;
    width: 2.8rem;
    height: .28rem;
    margin-bottom: .78rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sa-blue), var(--sa-green));
}

.a250-sa-meta {
    display: grid;
    gap: .48rem;
}

.a250-sa-meta span {
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: .55rem;
    align-items: center;
    min-height: 3.25rem;
    padding: .55rem;
    border: 1px solid rgba(37, 99, 235, .10);
    border-radius: 16px;
    color: var(--sa-ink);
    background: rgba(255, 255, 255, .78);
    font-size: .74rem;
    line-height: 1.28;
    font-weight: 850;
}

.a250-sa-meta span i {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 13px;
    color: #fff;
    background: var(--meta-color, var(--sa-blue));
    font-size: .74rem;
}

/* =========================================================
   INTRO
   ========================================================= */

.a250-sa-intro {
    position: relative;
    margin: 1rem 0;
    padding: clamp(1.15rem, 3vw, 1.65rem);
    border: 1px solid rgba(37, 99, 235, .13);
    border-left: 5px solid var(--sa-blue);
    border-radius: 8px 24px 24px 8px;
    background:
            radial-gradient(circle at 100% 0%, rgba(5, 150, 105, .08), transparent 15rem),
            rgba(255, 255, 255, .86);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .035);
}

.a250-sa-intro p {
    max-width: 1000px;
    margin-bottom: 0;
    color: #354158;
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
    line-height: 1.78;
    font-weight: 650;
}

/* =========================================================
   CHAPTERS
   Number + icon + title now sit above the article text.
   ========================================================= */

.a250-sa-chapters {
    counter-reset: chapter;
}

.a250-sa-chapter {
    --chapter-color: var(--sa-blue);
    counter-increment: chapter;
    position: relative;
    overflow: hidden;
    margin-top: .9rem;
    padding: clamp(1.15rem, 3.2vw, 1.9rem);
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 26px;
    background:
            radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--chapter-color) 7%, transparent), transparent 19rem),
            rgba(255, 255, 255, .90);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .04);
}

.a250-sa-chapter::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: var(--chapter-color);
}

.a250-sa-heading {
    position: static;
    display: grid;
    grid-template-columns: 3rem 3rem minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    width: 100%;
    margin-bottom: clamp(1.05rem, 2.4vw, 1.45rem);
    padding-bottom: clamp(.95rem, 2vw, 1.2rem);
    border-bottom: 1px solid color-mix(in srgb, var(--chapter-color) 18%, transparent);
}

.a250-sa-index {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: 0;
    border-radius: 17px;
    color: #fff;
    background: var(--chapter-color);
    box-shadow: 0 9px 20px color-mix(in srgb, var(--chapter-color) 20%, transparent);
}

.a250-sa-index::before {
    content: counter(chapter, decimal-leading-zero);
    font-size: .82rem;
    line-height: 1;
    font-weight: 950;
}

.a250-sa-heading-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--chapter-color) 20%, transparent);
    border-radius: 17px;
    color: var(--chapter-color);
    background: color-mix(in srgb, var(--chapter-color) 9%, white);
    font-size: .92rem;
    line-height: 1;
}

.a250-sa-heading-icon i {
    display: block;
    line-height: 1;
}

.a250-sa-heading h2 {
    min-width: 0;
    margin: 0;
    overflow: visible;
    color: var(--sa-deep);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    font-weight: 950;
    white-space: normal;
    text-overflow: clip;
    text-wrap: balance;
}

.a250-sa-copy {
    width: 100%;
    max-width: none;
    padding: 0;
}

.a250-sa-copy>p {
    margin-bottom: 1.1rem;
    color: var(--sa-muted);
    font-size: clamp(.99rem, 1.35vw, 1.08rem);
    line-height: 1.88;
    font-weight: 520;
}

.a250-sa-copy>p:last-child {
    margin-bottom: 0;
}

.a250-sa-copy strong {
    color: var(--sa-deep);
    font-weight: 900;
}

/* =========================================================
   ARTICLE ELEMENTS
   ========================================================= */

.a250-sa-quote {
    position: relative;
    margin: 1.35rem 0;
    padding: clamp(1.1rem, 3vw, 1.55rem);
    border: 1px solid color-mix(in srgb, var(--chapter-color) 18%, transparent);
    border-radius: 22px;
    background: linear-gradient(135deg,
    color-mix(in srgb, var(--chapter-color) 7%, white),
    rgba(255, 255, 255, .94));
}

.a250-sa-quote::before {
    content: "“";
    position: absolute;
    right: 1rem;
    top: -.28rem;
    color: color-mix(in srgb, var(--chapter-color) 17%, transparent);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    font-weight: 900;
}

.a250-sa-quote p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: #29364d;
    font-size: clamp(1.12rem, 2.1vw, 1.42rem);
    line-height: 1.58;
    letter-spacing: -.02em;
    font-weight: 820;
}

.a250-sa-callout {
    position: relative;
    overflow: hidden;
    margin: 1.45rem 0;
    padding: clamp(1.2rem, 3vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    color: #fff;
    background:
            radial-gradient(circle at 90% 5%, rgba(132, 204, 22, .26), transparent 14rem),
            linear-gradient(135deg, #071426 0%, #2563eb 52%, #059669 100%);
    box-shadow: 0 18px 38px rgba(37, 99, 235, .16);
}

.a250-sa-callout-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .58rem;
    color: rgba(255, 255, 255, .72);
    font-size: .64rem;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.a250-sa-callout h3 {
    margin-bottom: .55rem;
    color: #fff;
    font-size: clamp(1.42rem, 2.8vw, 2rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 950;
}

.a250-sa-callout p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 610;
}

.a250-sa-memory {
    margin: 1.45rem 0;
    padding: clamp(1.15rem, 3vw, 1.7rem);
    border: 1px solid rgba(217, 119, 6, .20);
    border-radius: 24px;
    background:
            radial-gradient(circle at 100% 0%, rgba(245, 158, 11, .12), transparent 16rem),
            linear-gradient(135deg, #fffdf7 0%, #fff9ec 100%);
}

.a250-sa-memory h3 {
    margin-bottom: .65rem;
    color: #75480e;
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    line-height: 1.15;
    letter-spacing: -.03em;
    font-weight: 950;
}

.a250-sa-memory p {
    color: #71614e;
}

.a250-sa-divider {
    width: 100%;
    height: 1px;
    margin: 1.8rem 0;
    background: linear-gradient(90deg, transparent, var(--chapter-color), transparent);
    opacity: .24;
}

/* =========================================================
   ENDING
   ========================================================= */

.a250-sa-ending {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    padding: clamp(1.5rem, 5vw, 3.2rem);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 28px;
    text-align: center;
    background:
            radial-gradient(circle at 12% 12%, rgba(124, 58, 237, .35), transparent 19rem),
            radial-gradient(circle at 90% 90%, rgba(5, 150, 105, .28), transparent 21rem),
            linear-gradient(135deg, #071426 0%, #233a7a 52%, #087c69 100%);
    box-shadow: 0 22px 48px rgba(15, 23, 42, .18);
}

.a250-sa-ending::before {
    content: "BRIEFING";
    position: absolute;
    right: -1rem;
    bottom: -.4rem;
    color: rgba(255, 255, 255, .055);
    font-size: clamp(4.8rem, 13vw, 10rem);
    line-height: .8;
    letter-spacing: -.09em;
    font-weight: 950;
    pointer-events: none;
}

.a250-sa-ending>* {
    position: relative;
    z-index: 1;
}

.a250-sa-ending-label {
    margin-bottom: .85rem;
    color: rgba(255, 255, 255, .70);
    font-size: .68rem;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.a250-sa-ending h2 {
    max-width: 820px;
    margin-right: auto;
    margin-bottom: 1rem;
    margin-left: auto;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.04;
    letter-spacing: -.055em;
    font-weight: 950;
}

.a250-sa-ending p {
    max-width: 810px;
    margin-right: auto;
    margin-bottom: .85rem;
    margin-left: auto;
    color: rgba(255, 255, 255, .79);
    font-size: clamp(.98rem, 1.55vw, 1.09rem);
    line-height: 1.72;
    font-weight: 590;
}

.a250-sa-ending .a250-sa-ending-signature {
    margin-top: 1.5rem;
    margin-bottom: .15rem;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 950;
}

.a250-sa-ending .a250-sa-ending-tagline {
    margin-bottom: 0;
    color: #dce8ff;
    font-size: .72rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .a250-sa-hero,
    .a250-sa-chapter,
    .a250-sa-ending {
        border-radius: 21px;
    }

    .a250-sa-title {
        letter-spacing: -.06em;
    }

    .a250-sa-heading {
        grid-template-columns: 2.7rem 2.7rem minmax(0, 1fr);
        gap: .52rem;
    }

    .a250-sa-index,
    .a250-sa-heading-icon {
        width: 2.7rem;
        height: 2.7rem;
        border-radius: 15px;
    }
}

@media (max-width: 520px) {
    .a250-sa-heading {
        grid-template-columns: 2.7rem 2.7rem minmax(0, 1fr);
        gap: .52rem;
        align-items: center;
    }

    .a250-sa-heading h2 {
        grid-column: auto;
        min-width: 0;
        margin: 0;
        overflow: visible;
        white-space: normal;
        text-overflow: clip;
    }
}


/* =========================================================
   SYSTEM CALLOUT · CLEAR OPERATING ENVIRONMENT
   Dedicated statement block. Fixes strong-text inheritance
   and gives this key section the visual weight it requires.
   ========================================================= */

.a250-sa-callout strong {
    color: #ffffff;
}

.a250-sa-system-callout {
    isolation: isolate;
    min-height: 330px;
    padding: clamp(1.35rem, 4vw, 2.35rem);
    border: 1px solid rgba(191, 219, 254, .34);
    border-radius: 28px;
    background:
            radial-gradient(circle at 92% 8%, rgba(52, 211, 153, .32), transparent 17rem),
            radial-gradient(circle at 8% 100%, rgba(124, 58, 237, .30), transparent 19rem),
            linear-gradient(125deg, #06152f 0%, #123a83 40%, #155e75 72%, #047857 100%);
    box-shadow:
            0 24px 54px rgba(15, 23, 42, .22),
            inset 0 1px 0 rgba(255, 255, 255, .12);
}

.a250-sa-system-callout::before {
    content: "SYSTEM";
    position: absolute;
    right: -1rem;
    bottom: -.75rem;
    z-index: -1;
    color: rgba(255, 255, 255, .055);
    font-size: clamp(5.2rem, 14vw, 10rem);
    line-height: .78;
    letter-spacing: -.09em;
    font-weight: 950;
    pointer-events: none;
}

.a250-sa-system-callout::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa 42%, #34d399 100%);
}

.a250-sa-system-callout .a250-sa-callout-label {
    position: relative;
    z-index: 1;
    margin-bottom: .85rem;
    padding: .43rem .68rem;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(8px);
    font-size: .67rem;
    letter-spacing: .105em;
}

.a250-sa-system-callout h3 {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -.055em;
    text-wrap: balance;
    text-shadow: 0 4px 18px rgba(2, 6, 23, .20);
}

.a250-sa-system-callout>p {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1.05rem, 3vw, 1.55rem);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    color: #f8fafc;
    background:
            linear-gradient(135deg, rgba(2, 6, 23, .34), rgba(15, 23, 42, .17));
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .08),
            0 14px 28px rgba(2, 6, 23, .12);
    backdrop-filter: blur(7px);
}

.a250-sa-system-callout>p strong {
    display: block;
    color: #ffffff !important;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.95;
    letter-spacing: -.012em;
    font-weight: 880;
    text-shadow: 0 2px 12px rgba(2, 6, 23, .22);
    background:
            repeating-linear-gradient(to bottom,
            transparent 0,
            transparent calc(1.95em - 1px),
            rgba(255, 255, 255, .10) calc(1.95em - 1px),
            rgba(255, 255, 255, .10) 1.95em);
}

@media (max-width: 640px) {
    .a250-sa-system-callout {
        min-height: 0;
        border-radius: 23px;
    }

    .a250-sa-system-callout h3 {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }

    .a250-sa-system-callout>p strong {
        line-height: 1.75;
        background: none;
    }
}



/* =========================================================
   BRIEFING TEMPLATE — CONTRAST PAIRS
   ========================================================= */
.a250-sa-contrast-grid {
    display: grid;
    gap: 1rem;
    margin: 1rem 0 1.35rem;
}

.a250-sa-contrast-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.a250-sa-contrast-card {
    position: relative;
    overflow: hidden;
    padding: 1.15rem 1.1rem 1rem;
    border-radius: 24px;
    border: 1px solid rgba(194, 161, 238, .28);
    box-shadow: 0 14px 32px rgba(31, 41, 55, .06);
    min-height: 100%;
}

.a250-sa-contrast-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--contrast-accent);
}

.a250-sa-contrast-card::after {
    content: attr(data-mark);
    position: absolute;
    right: .7rem;
    bottom: -.1rem;
    color: var(--contrast-accent-soft);
    font-size: clamp(2.8rem, 5vw, 4.25rem);
    line-height: .8;
    font-weight: 950;
    letter-spacing: -.08em;
    pointer-events: none;
    user-select: none;
}

.a250-sa-contrast-card.negative {
    --contrast-accent: #dc2626;
    --contrast-accent-soft: rgba(220, 38, 38, .08);
    background: linear-gradient(180deg, rgba(254, 242, 242, .96) 0%, rgba(255, 255, 255, .98) 100%);
    border-color: rgba(239, 68, 68, .24);
}

.a250-sa-contrast-card.positive {
    --contrast-accent: #059669;
    --contrast-accent-soft: rgba(5, 150, 105, .08);
    background: linear-gradient(180deg, rgba(236, 253, 245, .96) 0%, rgba(255, 255, 255, .98) 100%);
    border-color: rgba(16, 185, 129, .24);
}

.a250-sa-contrast-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .42rem .7rem;
    border-radius: 999px;
    font-size: .72rem;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: .88rem;
}

.a250-sa-contrast-card.negative .a250-sa-contrast-label {
    color: #991b1b;
    background: rgba(220, 38, 38, .09);
    border: 1px solid rgba(220, 38, 38, .17);
}

.a250-sa-contrast-card.positive .a250-sa-contrast-label {
    color: #065f46;
    background: rgba(5, 150, 105, .10);
    border: 1px solid rgba(5, 150, 105, .18);
}

.a250-sa-contrast-title {
    margin: 0 0 .85rem;
    color: #1e1b4b;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.18;
    letter-spacing: -.03em;
    font-weight: 950;
}

.a250-sa-contrast-card.negative .a250-sa-contrast-title {
    color: #1f2f53;
}

.a250-sa-contrast-card.positive .a250-sa-contrast-title {
    color: #15354d;
}

.a250-sa-contrast-body {
    color: #5b6176;
    font-size: 1rem;
    line-height: 1.68;
    font-weight: 620;
}

.a250-sa-contrast-quote {
    margin: 0;
    padding: 1rem 1rem .95rem;
    border-radius: 18px;
    border: 1px solid rgba(194, 161, 238, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42);
}

.a250-sa-contrast-card.negative .a250-sa-contrast-quote {
    background: rgba(255, 255, 255, .76);
    border-color: rgba(220, 38, 38, .14);
}

.a250-sa-contrast-card.positive .a250-sa-contrast-quote {
    background: rgba(255, 255, 255, .82);
    border-color: rgba(5, 150, 105, .14);
}

.a250-sa-contrast-quote p {
    margin: 0;
    color: #1f2f53;
    font-size: clamp(1.04rem, 2.1vw, 1.33rem);
    line-height: 1.35;
    letter-spacing: -.02em;
    font-weight: 950;
}

.a250-sa-contrast-summary {
    margin-top: 1.25rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .08) 0%, rgba(37, 99, 235, .06) 100%);
    border: 1px solid rgba(124, 58, 237, .15);
}

.a250-sa-contrast-summary p {
    margin: 0;
}

@media (max-width: 820px) {
    .a250-sa-contrast-row {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   BRIEFING · OPTIONAL SUPPORTING DETAILS
   ========================================================= */
.a250-sa-character-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1rem;
}

.a250-sa-character-line span {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 3.4rem;
    padding: .75rem .85rem;
    border: 1px solid rgba(37, 99, 235, .11);
    border-radius: 16px;
    color: #26344c;
    background: rgba(255, 255, 255, .82);
    font-size: .78rem;
    line-height: 1.35;
    font-weight: 850;
}

.a250-sa-character-line i {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 12px;
    color: #fff;
    background: var(--character-color, var(--sa-blue));
}

.a250-sa-scene-note {
    margin: 1.2rem 0 0;
    color: var(--sa-soft);
    font-size: .76rem;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

@media (max-width: 620px) {
    .a250-sa-character-line {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   STORY MEDIA BOXES · 16:9 · 1920 × 1080
   Placeholder remains visible until the platform image loads.
   The generated media frame is layered above the fallback.
   ========================================================= */

.a250-sa-media-box {
    --media-color: var(--chapter-color, var(--sa-blue));
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 1.4rem 0;
    border: 1px solid color-mix(in srgb, var(--media-color) 22%, transparent);
    border-radius: 24px;
    background:
            radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--media-color) 16%, transparent), transparent 28%),
            linear-gradient(135deg, #eef3f9 0%, #f8fafc 52%, #e8eef7 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
}

.a250-sa-media-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
            linear-gradient(135deg, transparent 49.7%, rgba(71, 85, 105, .10) 50%, transparent 50.3%),
            linear-gradient(45deg, transparent 49.7%, rgba(71, 85, 105, .10) 50%, transparent 50.3%);
    pointer-events: none;
}

.a250-sa-media-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    gap: .5rem;
    padding: 1rem;
    text-align: center;
    color: #44516a;
    pointer-events: none;
}

.a250-sa-media-placeholder i {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto;
    border-radius: 18px;
    color: #fff;
    background: var(--media-color);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--media-color) 24%, transparent);
    font-size: 1.1rem;
}

.a250-sa-media-placeholder strong {
    color: var(--sa-deep);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.2;
    font-weight: 950;
}

.a250-sa-media-placeholder span {
    color: var(--sa-muted);
    font-size: .76rem;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.a250-media-frame {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

.a250-media-frame>*,
.a250-media-frame a,
.a250-media-frame figure,
.a250-media-frame picture {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}

.a250-media-frame img,
.a250-media-frame video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    border: 0;
}

.a250-sa-media-box--cover {
    --media-color: var(--sa-green);
    margin: 1rem 0;
    border-radius: 28px;
}

@media (max-width: 767.98px) {

    .a250-sa-media-box,
    .a250-sa-media-box--cover {
        border-radius: 20px;
    }
}
