.post-template .article-dossier { padding-block-start: 0; }
.article-dossier.tag-critical { --sw-card-signal: var(--sw-critical); }
.article-dossier.tag-silver { --sw-card-signal: var(--sw-silver); }

.post-template .article-feature {
    padding: 0;
    backdrop-filter: none;
}

.article-feature__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.article-feature__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-block-start: 12px;
}

.article-feature__actions:empty { display: none; }
.article-feature__actions .reading-tools { margin: 0; }

.post-template dialog.source-index,
.post-template .source-index .source-index__header,
.post-template .reading-tools[data-reading-workspace] .reading-tools__sources,
.post-template .article-footer {
    background: var(--mast-texture-surface, var(--sw-bg-raised));
}

.article-feature h1 { text-wrap: wrap; }
.article-feature .article-deck { font-family: var(--sw-sans); }
.article-feature .article-header__classification,
.article-feature .post-meta > img { display: none; }
.article-feature .article-hero { margin: 0; box-shadow: none; }
.article-feature .article-hero img { max-block-size: none; filter: none; }

.post-template .article-content[data-article-content] {
    position: relative;
    isolation: isolate;
    background: rgb(8 10 13 / var(--sw-article-scrim-opacity, 74%));
    backdrop-filter: none;
}

.post-template :is(.article-assessment, .article-intelligence-rail, .article-rail) {
    background-color: var(--sw-bg-raised);
    border-color: var(--sw-line);
}

@media screen and (forced-colors: none) {
    .post-template .article-content[data-article-content]::before {
        position: absolute;
        inset: 0;
        z-index: -1;
        content: '';
        background: var(--mast-texture-surface);
        background-position: center, center top;
        background-size: auto, 100% auto;
        background-repeat: no-repeat, repeat-y;
        opacity: var(--article-texture-opacity, .16);
        pointer-events: none;
    }

    [data-theme='argent'] .post-template {
        --article-texture-opacity: .08;
    }

    [data-theme='military-barbi'] .post-template :is(dialog.source-index, .source-index .source-index__header) {
        background: var(--sw-bg-raised);
        border-color: var(--sw-line-bright);
        color: var(--sw-ink);
    }

    [data-theme='military-barbi'] .post-template :is(.reading-tools[data-reading-workspace] button, .source-index__close, .source-index__empty) {
        background: var(--sw-panel);
        border-color: var(--sw-line-bright);
        color: var(--sw-ink);
    }

    [data-theme='military-barbi'] .source-index :is(.source-index__title, .source-index__link, .source-index__jump, .source-index__empty strong) { color: var(--sw-ink); }
    [data-theme='military-barbi'] .source-index :is(.source-index__description, .source-index__url, .source-index__footer, .source-index__empty p) { color: var(--sw-muted); }
    [data-theme='military-barbi'] :is(.reading-tools__count, .source-index__eyebrow, .source-index__number, .source-index__host) { color: var(--sw-warm); }
    [data-theme='military-barbi'] :is(.reading-tools__count, .source-index__item, .source-index__footer) { border-color: var(--sw-line); }
    [data-theme='military-barbi'] :is(.reading-tools[data-reading-workspace] button, .source-index a, .source-index button):focus-visible { outline-color: var(--sw-warm); }
}

