.article-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.article-back {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
}

.article-back:hover {
    color: var(--gold);
}

.article-back .icon {
    transform: rotate(180deg);
}

.article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
    align-items: center;
    gap: clamp(30px, 6vw, 76px);
    padding: 22px 0 42px;
    border-bottom: 1px solid var(--line);
}

.article-kicker {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.article-title {
    max-width: 790px;
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5.2vw, 4.7rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.02;
}

.article-lead {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.73rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-share {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 0.73rem;
}

.article-share:hover {
    color: var(--gold);
    border-color: var(--line-strong);
}

.article-share .icon {
    width: 15px;
    height: 15px;
}

.access-state {
    color: var(--green);
    font-weight: 750;
}

.access-state.is-paid {
    color: var(--gold);
}

.article-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.article-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: clamp(38px, 7vw, 86px);
    padding: 42px 0 18px;
}

.article-body {
    min-width: 0;
}

.article-section {
    padding: 0 0 34px;
    scroll-margin-top: 110px;
}

.article-section + .article-section {
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.section-number {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.11em;
}

.article-section h2 {
    max-width: 760px;
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    font-weight: 500;
    line-height: 1.15;
}

.article-section h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.article-section p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.78;
}

.structured-callout {
    margin: 0 0 34px;
    padding: 24px 26px 10px;
    border: 1px solid var(--line-strong);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    background: var(--surface);
    scroll-margin-top: 110px;
}

.structured-callout p:not(.article-kicker) {
    color: var(--muted);
    line-height: 1.78;
}

.structured-quote {
    margin: 0;
    padding: 22px 24px;
    border-left: 3px solid var(--gold);
    background: var(--surface);
}

.structured-quote p {
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
}

.structured-quote cite {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-style: normal;
}

.structured-sources ol {
    display: grid;
    gap: 10px;
    padding-left: 22px;
}

.structured-sources a {
    color: var(--gold);
    overflow-wrap: anywhere;
}

.structured-error {
    min-height: 70vh;
    display: grid;
    place-content: center;
    justify-items: start;
    gap: 14px;
    max-width: 720px;
}

.structured-error h1,
.structured-error p {
    margin: 0;
}

.answer-lead {
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--gold);
    color: var(--text) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.32rem !important;
    line-height: 1.55 !important;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.evidence-item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.evidence-item span {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.evidence-item p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
}

.boundary-list,
.unlock-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.boundary-list li,
.unlock-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.boundary-list .icon,
.unlock-list .icon {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: var(--gold);
}

.boundary-list a {
    color: var(--text);
    text-decoration-color: var(--line-strong);
    text-underline-offset: 3px;
}

.boundary-list a:hover {
    color: var(--gold);
}

.media-feature {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    margin: 18px 0 22px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #111;
    cursor: pointer;
}

.media-feature img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.72);
    transition: transform 220ms ease, filter 220ms ease;
}

.media-feature:hover img {
    filter: brightness(0.82);
    transform: scale(1.02);
}

.media-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    color: #17140d;
    background: rgba(235, 196, 99, 0.94);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
}

.media-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 8px;
    border-radius: 6px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.prompt-tool {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: color-mix(in srgb, var(--gold) 7%, var(--surface-soft));
}

.prompt-tool-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.prompt-tool-header strong {
    font-size: 0.78rem;
}

.copy-button {
    min-width: 40px;
    min-height: 40px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
}

.copy-button:hover {
    color: var(--gold);
    border-color: var(--line-strong);
}

.prompt-text {
    margin: 0 !important;
    color: var(--text) !important;
    font-family: Consolas, "SFMono-Regular", monospace;
    font-size: 0.82rem !important;
    line-height: 1.7 !important;
}

.article-aside {
    align-self: start;
    position: sticky;
    top: calc(var(--toolbar-height) + 28px);
    padding-left: 22px;
    border-left: 1px solid var(--line);
}

.article-aside strong {
    display: block;
    margin-bottom: 12px;
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-aside nav {
    display: grid;
    gap: 4px;
}

.article-aside a {
    padding: 7px 0;
    color: var(--muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.article-aside a:hover {
    color: var(--gold);
}

.guide-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin: 10px 0 34px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.guide-cta h2,
.discussion-band h2 {
    margin: 0 0 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 500;
}

.guide-cta p,
.discussion-band p {
    margin: 0;
    color: var(--muted);
}

.guide-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    color: #211d14;
    background: var(--gold-bright);
    font-weight: 700;
    text-decoration: none;
}

.paywall-band,
.workbook-band {
    margin: 8px 0 36px;
    padding: clamp(26px, 5vw, 46px);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: #f8f0dc;
    background: #171711;
    box-shadow: var(--shadow);
}

.paywall-band .article-kicker,
.workbook-band .article-kicker {
    color: #e1b752;
}

.paywall-band h2,
.workbook-band h2 {
    max-width: 720px;
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.08;
}

.paywall-band > p,
.workbook-band > p {
    max-width: 700px;
    margin: 0;
    color: #cfc8b8;
    line-height: 1.7;
}

.paywall-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin: 22px 0;
    color: #e7dfce;
    font-size: 0.78rem;
}

.paywall-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.paywall-band .primary-command,
.workbook-band .primary-command {
    min-height: 48px;
}

.locked-preview {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.locked-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.locked-row .icon {
    width: 17px;
    height: 17px;
    color: var(--gold);
}

.discussion-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 30px 0 18px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 110px;
}

@media (max-width: 860px) {
    .article-hero {
        grid-template-columns: 1fr;
    }

    .article-image {
        max-height: 440px;
        order: -1;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
        order: -1;
        padding: 0 0 18px;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .article-aside nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .article-shell {
        width: min(100% - 20px, 34rem);
    }

    .article-hero {
        gap: 24px;
        padding: 8px 0 30px;
    }

    .article-title {
        font-size: 2.45rem;
    }

    .article-layout {
        gap: 28px;
        padding-top: 28px;
    }

    .evidence-grid {
        grid-template-columns: 1fr;
    }

    .article-aside nav {
        grid-template-columns: 1fr;
    }

    .guide-cta,
    .discussion-band {
        grid-template-columns: 1fr;
    }

    .guide-link {
        justify-content: center;
    }
}
