/* SuperPage 正文和辅助文字在浅色区域使用有区分的深色字。 */
:root {
    --zst-secondary-text: #504943;
    --zst-muted-text: #5c5550;
    --zst-red-text: #a8091d;
}

.zst-home-recommendation .zst-home-recommendation-intro p {
    color: var(--zst-secondary-text);
}

.zst-home-recommendation .zst-home-recommendation-intro p span,
.zst-home-recommendation .zst-home-recommendation-card .zst-home-recommendation-name {
    color: inherit;
}

.main .list_it > li > p,
.main .list_p > li > p,
.main .multi_it > li > p,
.main .content .turn p {
    color: var(--zst-secondary-text);
}

.zst-news-list > li > h2 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    text-wrap: pretty;
}

.zst-news-list > li > h2 > a {
    color: #29231f;
}

.zst-news-list > li > h2 > a:is(:hover, :focus-visible) {
    color: var(--zst-red-text);
    text-decoration: underline;
}

.zst-news-list > li > p {
    margin-top: 8px;
    font-size: clamp(14px, 1.2vw, 15px);
    font-weight: 400;
    line-height: 1.7;
}

header .contact p,
.main .breadcrumb,
.main .breadcrumb :is(a, span, i),
.main .section .info,
.main .section .info :is(span, a, i),
.main .section h3.section_title span a,
.main .list_r > li > span,
.main .list_r > li > span i,
.main .multi_r > li > span,
.main .website-declare p,
.main .list_cc .comment_info,
.main .list_cc .comment_box h4 span,
.main .comment_zan,
.main .comment_cai,
.main .pagebar .page:not(.now-page):not(:hover) {
    color: var(--zst-muted-text);
}

header .search input,
header .search input::placeholder {
    color: var(--zst-muted-text);
    opacity: 1;
}

/* 旧编辑器写在正文行内的几种低对比度字色。 */
.main .content p[style*="color: rgb(134, 134, 134)" i] {
    color: var(--zst-secondary-text) !important;
}

.main .content span:is([style*="color: #ff0000" i], [style*="color: #ff2941" i]) {
    color: var(--zst-red-text) !important;
}

.rslides_box .rslides p,
.rslides_box .rslides_nav {
    color: #fff;
    background-color: rgba(42, 27, 23, .82);
}

.rslides_box .rslides_nav span {
    color: #fff !important;
}

.zst-not-found .loading p {
    color: var(--zst-muted-text);
}

.zst-not-found .link li:is(:first-child, :last-child) {
    background: #245b84 !important;
}

.zst-not-found .link li:hover {
    opacity: 1;
}

.zst-not-found .link a:is(:hover, :focus-visible) {
    text-decoration: underline;
}
