/*
 * WNY Platform · 前台整站样式
 *
 * Copyright (c) 2026 海南文尼雅咨询有限公司. All rights reserved.
 * 本文件及所属模块为公司自主研发成果，未经书面许可不得对外提供。
 *
 * 说明：只服务 views/site/ 下的前台页面，与后台 wny-core.css 完全独立。
 *       视觉规范：白底 / 深绿 #1F4E3D / 橙 #EA5F02 / 纯净文字标志 / 节奏型进场。
 */
:root {
    --ws-green: #1F4E3D;
    --ws-green-deep: #12362a;
    --ws-green-soft: #2c6b53;
    --ws-orange: #EA5F02;
    --ws-orange-soft: #f6d9c3;
    --ws-ink: #2b2b2b;
    --ws-muted: #6f7773;
    --ws-line: #e7e9e4;
    --ws-bg: #faf9f5;
    --ws-white: #fff;
    --ws-shadow: 0 2px 14px rgba(31,78,61,.06);
    --ws-shadow-hover: 0 14px 32px rgba(31,78,61,.13);
    --ws-ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

body.ws-body {
    margin: 0;
    background: var(--ws-bg);
    color: var(--ws-ink);
    font: 15px/1.75 "WenQuanYi Micro Hei", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.ws-body a { color: inherit; }
body.ws-body img { max-width: 100%; }
body.ws-body :focus-visible { outline: 2px solid var(--ws-orange); outline-offset: 3px; }
.ws-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- 顶部进度条（JS 插入） */
.ws-progress {
    position: fixed; left: 0; top: 0; height: 2px; width: 0; z-index: 80;
    background: var(--ws-orange); transition: width .12s linear, opacity .3s ease;
}

/* ---------------------------------------------------------------- 头部 */
.ws-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--ws-line);
    transition: box-shadow .3s ease, background .3s ease;
}
.ws-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, var(--ws-orange), rgba(234,95,2,0) 46%);
    opacity: 0; transition: opacity .3s ease;
}
.ws-header.is-scrolled {
    background: rgba(255,255,255,.9);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 6px 22px rgba(31,78,61,.09);
}
.ws-header.is-scrolled::after { opacity: 1; }
.ws-header-inner {
    display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
    min-height: 80px; padding-top: 10px; padding-bottom: 10px;
    transition: min-height .3s ease;
}
.ws-header.is-scrolled .ws-header-inner { min-height: 66px; }

/* 纯净文字标志：上行大字、下行域名，无装饰图形 */
.ws-logo { text-decoration: none; color: var(--ws-green); display: inline-block; flex: none; line-height: 1.15; }
.ws-logo strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: 3px; }
.ws-logo span { display: block; font-size: 13px; letter-spacing: 1.2px; color: var(--ws-green-soft); margin-top: 2px; }

.ws-menu { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ws-menu a {
    position: relative; color: #4a534e; text-decoration: none; font-size: 14.5px;
    padding: 9px 14px; border-radius: 4px; transition: color .2s ease, transform .2s var(--ws-ease);
}
.ws-menu a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    border-radius: 2px; background: var(--ws-orange);
    transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ws-ease);
}
.ws-menu a:hover { color: var(--ws-orange); transform: translateY(-2px); }
.ws-menu a:hover::after, .ws-menu a[aria-current="page"]::after { transform: scaleX(1); }
.ws-menu a[aria-current="page"] { color: var(--ws-green); font-weight: 600; }
.ws-menu .ws-entry {
    margin-left: 12px; padding: 9px 20px; border-radius: 5px;
    background: var(--ws-orange); color: #fff; font-weight: 600;
    transition: transform .2s var(--ws-ease), box-shadow .2s ease;
}
.ws-menu .ws-entry::after { display: none; }
.ws-menu .ws-entry:hover {
    color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(234,95,2,.28);
}

.ws-toggle {
    display: none; margin-left: auto; align-items: center; gap: 8px;
    background: transparent; color: var(--ws-green); border: 1px solid var(--ws-line);
    border-radius: 5px; padding: 7px 13px; font: inherit; font-size: 14px; cursor: pointer;
}
.ws-toggle i { display: block; width: 17px; height: 2px; background: var(--ws-green); border-radius: 2px; }
.ws-toggle > span { display: inline-flex; flex-direction: column; gap: 4px; }

/* ---------------------------------------------------------------- 幻灯片 */
.ws-slide-box { position: relative; overflow: hidden; background: var(--ws-green-deep); }
.ws-slide-track { position: relative; }
.ws-slide-item {
    display: none; position: relative; min-height: 420px;
    background-color: var(--ws-green); background-size: cover; background-position: center;
    animation: wsFade .55s var(--ws-ease) both;
}
.ws-slide-item.is-active { display: block; }
.ws-slide-item::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(18,54,42,.94) 0%, rgba(31,78,61,.76) 58%, rgba(18,54,42,.55) 100%);
}
.ws-slide-item::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 46px 46px; pointer-events: none;
}
.ws-slide-link { position: absolute; inset: 0; z-index: 3; }
.ws-slide-inner {
    position: relative; z-index: 2; min-height: 420px;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 50px; padding-bottom: 70px;
}
.ws-slide-title { margin: 0 0 12px; color: #fff; font-size: 38px; font-weight: 700; letter-spacing: 2px; }
.ws-slide-sub { margin: 0; color: var(--ws-orange-soft); font-size: 17px; letter-spacing: 1px; }
.ws-slide-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff; font-size: 24px; line-height: 1;
    cursor: pointer; transition: background .2s ease;
}
.ws-slide-arrow:hover { background: rgba(255,255,255,.24); }
.ws-slide-prev { left: 24px; } .ws-slide-next { right: 24px; }
.ws-slide-dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; display: flex; justify-content: center; gap: 9px; }
.ws-slide-dots button {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.4); transition: background .2s ease, transform .2s ease;
}
.ws-slide-dots button.is-active { background: var(--ws-orange); transform: scale(1.25); }

/* ---------------------------------------------------------------- 通用区块 */
.ws-section { padding: 70px 0 8px; }
.ws-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ws-kicker { margin: 0 0 8px; color: var(--ws-orange); font-size: 12px; letter-spacing: 3px; font-weight: 700; }
.ws-h2 { margin: 0 0 14px; font-size: 27px; color: var(--ws-green); letter-spacing: .5px; position: relative; padding-left: 15px; }
.ws-h2::before {
    content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px; border-radius: 2px;
    background: linear-gradient(var(--ws-orange), rgba(234,95,2,.25));
}
.ws-section-rule { height: 1px; background: linear-gradient(90deg, var(--ws-orange), transparent 42%); margin: 0 0 30px; }
.ws-more { color: var(--ws-orange); text-decoration: none; font-size: 14px; }
.ws-more:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- 业务卡 */
.ws-biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ws-biz-card {
    position: relative; overflow: hidden; background: var(--ws-white);
    border: 1px solid var(--ws-line); border-radius: 12px; padding: 30px 26px 28px;
    box-shadow: var(--ws-shadow);
    transition: transform .28s var(--ws-ease), box-shadow .28s var(--ws-ease), border-color .28s ease;
}
.ws-biz-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: var(--ws-orange); transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ws-ease);
}
.ws-biz-card:hover { transform: translateY(-7px); border-color: rgba(234,95,2,.3); box-shadow: var(--ws-shadow-hover); }
.ws-biz-card:hover::before { transform: scaleX(1); }
.ws-biz-num { display: block; font-size: 30px; font-weight: 700; color: rgba(31,78,61,.14); margin-bottom: 14px; }
.ws-biz-card h3 { margin: 0 0 10px; font-size: 17px; color: var(--ws-green); }
.ws-biz-card p { margin: 0 0 16px; color: var(--ws-muted); font-size: 14px; min-height: 48px; }
.ws-biz-link { color: var(--ws-orange); text-decoration: none; font-size: 14px; display: inline-block; transition: transform .2s ease; }
.ws-biz-card:hover .ws-biz-link { transform: translateX(4px); }

/* ---------------------------------------------------------------- 首页新闻 */
.ws-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ws-news-card {
    background: var(--ws-white); border: 1px solid var(--ws-line); border-radius: 12px;
    overflow: hidden; box-shadow: var(--ws-shadow);
    transition: transform .28s var(--ws-ease), box-shadow .28s var(--ws-ease);
}
.ws-news-card:hover { transform: translateY(-5px); box-shadow: var(--ws-shadow-hover); }
.ws-news-cover {
    display: block; height: 158px; background: linear-gradient(135deg, var(--ws-green), var(--ws-green-deep));
    background-size: cover; background-position: center; position: relative;
}
.ws-news-cover::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(234,95,2,.12), transparent 60%);
}
.ws-news-body { padding: 20px 22px 24px; }
.ws-news-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ws-muted); margin-bottom: 10px; }
.ws-tag {
    display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px;
    background: #fff2e6; color: #b14b00; text-decoration: none;
}
.ws-tag:hover { background: #ffe7d1; }
.ws-news-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.5; color: var(--ws-green); }
.ws-news-card h3 a { text-decoration: none; transition: color .2s ease; }
.ws-news-card:hover h3 a { color: var(--ws-orange); }
.ws-news-card p {
    margin: 0 0 14px; color: var(--ws-muted); font-size: 13.5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ws-read { color: var(--ws-orange); text-decoration: none; font-size: 13.5px; }
.ws-read:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- CTA */
.ws-cta { margin-top: 70px; background: linear-gradient(130deg, var(--ws-green), var(--ws-green-deep)); color: #fff; }
.ws-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 44px; }
.ws-cta h2 { margin: 0 0 8px; font-size: 23px; }
.ws-cta p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }
.ws-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ws-btn {
    display: inline-block; padding: 11px 26px; border-radius: 5px; font-weight: 600;
    background: var(--ws-orange); color: #fff; text-decoration: none; font-size: 15px;
    transition: transform .22s var(--ws-ease), box-shadow .22s ease;
}
.ws-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.ws-btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.5); }
.ws-btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------------------------------------------------------------- 面包屑 */
.ws-crumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 28px 0 22px; font-size: 13px; color: var(--ws-muted); }
.ws-crumb a { color: var(--ws-green-soft); text-decoration: none; }
.ws-crumb a:hover { color: var(--ws-orange); }
.ws-crumb span:last-child { color: var(--ws-ink); }

/* ---------------------------------------------------------------- 两栏 */
.ws-cols { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 28px; padding-bottom: 80px; align-items: start; }
.ws-cols-article, .ws-cols-page { grid-template-columns: minmax(0, 1fr) 268px; }
.ws-main { min-width: 0; }
.ws-side { display: flex; flex-direction: column; gap: 16px; }
.ws-side-card {
    background: var(--ws-white); border: 1px solid var(--ws-line); border-radius: 10px;
    padding: 20px 20px 22px; box-shadow: var(--ws-shadow);
}
.ws-side-kicker { margin: 0 0 10px; color: var(--ws-orange); font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.ws-side-overview h2 { margin: 0 0 8px; font-size: 18px; color: var(--ws-green); }
.ws-side-desc { margin: 0 0 16px; color: var(--ws-muted); font-size: 13px; }
.ws-side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ws-side-stats > div { border: 1px solid var(--ws-line); border-radius: 7px; padding: 10px 12px; background: #fcfcfa; }
.ws-side-stats b { display: block; font-size: 20px; color: var(--ws-green); line-height: 1.3; }
.ws-side-stats .ws-side-date { font-size: 17px; }
.ws-side-stats span { font-size: 11.5px; color: var(--ws-muted); }
.ws-side-links { margin: 0; padding: 0; list-style: none; }
.ws-side-links li { border-bottom: 1px dashed var(--ws-line); }
.ws-side-links li:last-child { border-bottom: 0; }
.ws-side-links a {
    display: block; padding: 9px 4px 9px 14px; position: relative;
    color: #4f5a54; text-decoration: none; font-size: 13.5px;
    transition: color .2s ease, transform .2s ease;
}
.ws-side-links a::before {
    content: ""; position: absolute; left: 0; top: 14px; width: 3px; height: 14px;
    border-radius: 2px; background: var(--ws-orange); transform: scaleY(0);
    transition: transform .25s var(--ws-ease);
}
.ws-side-links a:hover { color: var(--ws-orange); transform: translateX(3px); }
.ws-side-links a:hover::before { transform: scaleY(1); }
.ws-side-toc { margin: 0; padding: 0; list-style: none; counter-reset: wsToc; }
.ws-side-toc li { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--ws-line); font-size: 13px; }
.ws-side-toc li:last-child { border-bottom: 0; }
.ws-side-toc li > span { color: var(--ws-orange); font-size: 11px; font-weight: 700; flex: none; }
.ws-side-toc a { color: #4f5a54; text-decoration: none; }
.ws-side-toc a:hover { color: var(--ws-orange); }
.ws-side-btn {
    display: block; width: 100%; margin-top: 8px; padding: 9px 14px; text-align: center;
    border-radius: 5px; background: var(--ws-green); color: #fff; text-decoration: none;
    font-size: 13.5px; border: 1px solid var(--ws-green); cursor: pointer; font-family: inherit;
    transition: background .2s ease, color .2s ease;
}
.ws-side-btn:hover { background: var(--ws-green-soft); }
.ws-side-btn-ghost { background: transparent; color: var(--ws-green); border-color: var(--ws-line); }
.ws-side-btn-ghost:hover { background: #f2f6f2; color: var(--ws-green); }
.ws-side-cta { background: var(--ws-green); color: #fff; }
.ws-side-cta .ws-side-kicker { color: var(--ws-orange-soft); }
.ws-side-cta p { margin: 0 0 8px; font-size: 13px; color: rgba(255,255,255,.8); }
.ws-side-cta .ws-side-btn { background: var(--ws-orange); border-color: var(--ws-orange); }
.ws-side-cta .ws-side-btn:hover { background: #cf5400; }

/* ---------------------------------------------------------------- 列表 */
.ws-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ws-list-head h1 { margin: 0 0 12px; font-size: 27px; color: var(--ws-green); position: relative; padding-left: 15px; }
.ws-list-head h1::before {
    content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px;
    border-radius: 2px; background: var(--ws-orange);
}
.ws-list-head > span { color: var(--ws-muted); font-size: 13px; }
.ws-list { display: flex; flex-direction: column; }
.ws-list-item {
    position: relative; padding: 22px 22px 24px; border-bottom: 1px solid var(--ws-line);
    border-radius: 8px; transition: background .25s ease, box-shadow .25s ease, transform .25s var(--ws-ease);
}
.ws-list-item::before {
    content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px;
    border-radius: 2px; background: var(--ws-orange); transform: scaleY(0);
    transition: transform .3s var(--ws-ease);
}
.ws-list-item:hover {
    background: var(--ws-white); box-shadow: var(--ws-shadow-hover);
    transform: translateY(-2px); border-bottom-color: transparent;
}
.ws-list-item:hover::before { transform: scaleY(1); }
.ws-list-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ws-muted); margin-bottom: 10px; }
.ws-list-meta time::before { content: "·"; margin-right: 12px; color: var(--ws-orange); }
.ws-list-item h2 { margin: 0 0 10px; font-size: 19px; line-height: 1.5; }
.ws-list-item h2 a {
    color: var(--ws-green); text-decoration: none; background-image: linear-gradient(var(--ws-orange), var(--ws-orange));
    background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%;
    transition: color .25s ease, background-size .35s var(--ws-ease);
}
.ws-list-item:hover h2 a { color: var(--ws-orange); background-size: 100% 1px; }
.ws-list-item p {
    margin: 0 0 12px; color: var(--ws-muted); font-size: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.ws-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px; }
.ws-pager-btn, .ws-pager-num {
    min-width: 38px; padding: 8px 14px; text-align: center; border-radius: 6px;
    border: 1px solid var(--ws-line); background: var(--ws-white); color: var(--ws-green);
    text-decoration: none; font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.ws-pager-btn:hover, .ws-pager-num:hover { transform: translateY(-2px); box-shadow: var(--ws-shadow); }
.ws-pager-num.is-current { background: var(--ws-orange); border-color: var(--ws-orange); color: #fff; font-weight: 700; }
.ws-pager-info { text-align: center; color: var(--ws-muted); font-size: 12.5px; margin-top: 12px; }

.ws-empty {
    border: 1px dashed var(--ws-line); border-radius: 10px; padding: 30px 24px;
    text-align: center; color: var(--ws-muted); background: var(--ws-white); font-size: 14px;
}
.ws-empty p { margin: 0 0 6px; color: var(--ws-green); font-size: 16px; }
.ws-empty a, .ws-empty span { color: var(--ws-orange); text-decoration: none; font-size: 13.5px; }
.ws-empty-large { padding: 60px 24px; }

/* ---------------------------------------------------------------- 文章 */
.ws-post { background: var(--ws-white); border: 1px solid var(--ws-line); border-radius: 12px; overflow: hidden; box-shadow: var(--ws-shadow); }
.ws-post::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--ws-orange), rgba(234,95,2,.08)); }
.ws-post-head { padding: 30px 34px 20px; }
.ws-post-head h1 { margin: 12px 0 14px; font-size: 28px; line-height: 1.45; color: var(--ws-green); }
.ws-post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: var(--ws-muted); }
.ws-post-meta span { position: relative; }
.ws-post-meta span:not(:first-child)::before { content: "·"; position: absolute; left: -10px; color: var(--ws-orange); }
.ws-post-cover { height: 280px; background-size: cover; background-position: center; background-color: var(--ws-green); }
.ws-post-body { padding: 14px 34px 38px; font-size: 15.5px; line-height: 1.95; color: #333b37; }
.ws-post-body h2 {
    margin: 32px 0 14px; font-size: 21px; color: var(--ws-green);
    padding-left: 14px; position: relative; scroll-margin-top: 96px;
}
.ws-post-body h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; border-radius: 2px; background: var(--ws-orange); }
.ws-post-body h3 { margin: 24px 0 10px; font-size: 17.5px; color: var(--ws-green); scroll-margin-top: 96px; }
.ws-post-body h4, .ws-post-body h5 { margin: 20px 0 8px; color: var(--ws-green); }
.ws-post-body p { margin: 0 0 16px; }
.ws-post-body a { color: var(--ws-orange); text-decoration: underline; text-underline-offset: 3px; }
.ws-post-body ul, .ws-post-body ol { margin: 0 0 18px; padding-left: 24px; }
.ws-post-body li { margin: 6px 0; }
.ws-post-body li::marker { color: var(--ws-orange); }
.ws-post-body blockquote {
    margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--ws-orange);
    background: #fff8f2; border-radius: 0 6px 6px 0; color: #555e59;
}
.ws-post-body pre { background: #f4f5f2; padding: 16px; border-radius: 7px; overflow-x: auto; font-size: 13px; }
.ws-post-body code { background: #f4f5f2; padding: 2px 5px; border-radius: 3px; font-size: 13px; }
.ws-post-body img { border-radius: 8px; box-shadow: var(--ws-shadow); }
.ws-post-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.ws-post-body th, .ws-post-body td { border: 1px solid var(--ws-line); padding: 9px 12px; }
.ws-post-body th { background: #f2f6f2; color: var(--ws-green); }
.ws-post-body hr { border: 0; border-top: 1px solid var(--ws-line); margin: 26px 0; }
.ws-post-body figure { margin: 20px 0; }
.ws-post-body figcaption { font-size: 12.5px; color: var(--ws-muted); text-align: center; }

.ws-post-facts { margin: 0; }
.ws-post-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--ws-line); font-size: 13px; }
.ws-post-facts > div:last-child { border-bottom: 0; }
.ws-post-facts dt { color: var(--ws-muted); }
.ws-post-facts dd { margin: 0; color: var(--ws-green); text-align: right; }
.ws-post-facts a { color: var(--ws-orange); text-decoration: none; }
.ws-toc { margin: 0; padding: 0; list-style: none; }
.ws-toc li { border-left: 2px solid var(--ws-line); }
.ws-toc a {
    display: block; padding: 6px 0 6px 12px; margin-left: -1px;
    color: #4f5a54; text-decoration: none; font-size: 13px;
    border-left: 2px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.ws-toc a:hover, .ws-toc a.is-active { color: var(--ws-orange); border-left-color: var(--ws-orange); }
.ws-toc .ws-toc-sub { padding-left: 24px; font-size: 12.5px; }

.ws-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.ws-neighbor {
    display: flex; flex-direction: column; gap: 5px; padding: 18px 20px;
    background: var(--ws-white); border: 1px solid var(--ws-line); border-radius: 9px;
    text-decoration: none; box-shadow: var(--ws-shadow);
    transition: transform .25s var(--ws-ease), box-shadow .25s ease;
}
.ws-neighbor:hover { transform: translateY(-4px); box-shadow: var(--ws-shadow-hover); }
.ws-neighbor span { font-size: 12px; color: var(--ws-orange); }
.ws-neighbor b { font-size: 14.5px; color: var(--ws-green); font-weight: 600; line-height: 1.5; }
.ws-neighbor:hover b { color: var(--ws-orange); }
.ws-neighbor-alt { border-style: dashed; background: #fcfcfa; }
.ws-neighbor-alt span { color: var(--ws-muted); }
.ws-neighbor-alt b { color: var(--ws-muted); }
.ws-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 20px; font-size: 13.5px; }
.ws-actions a, .ws-actions button {
    color: var(--ws-green-soft); background: transparent; border: 0; padding: 0;
    font: inherit; cursor: pointer; text-decoration: none;
}
.ws-actions a:hover, .ws-actions button:hover { color: var(--ws-orange); }

/* ---------------------------------------------------------------- 页脚 */
.ws-footer { background: var(--ws-green-deep); color: rgba(255,255,255,.62); border-top: 1px solid rgba(255,255,255,.1); padding: 30px 0 34px; font-size: 13px; }
.ws-footer::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--ws-orange), transparent 46%); margin-bottom: 30px; }
.ws-footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ws-footer p { margin: 3px 0; }
.ws-footer-brand { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 8px !important; }
.ws-footer-contact { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.ws-footer-contact a { color: var(--ws-orange-soft); text-decoration: none; }
.ws-footer-contact a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- 回到顶部（JS 插入） */
.ws-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 60;
    width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--ws-orange); color: #fff; font-size: 19px; line-height: 1;
    box-shadow: 0 8px 22px rgba(234,95,2,.35);
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity .3s ease, transform .3s var(--ws-ease);
}
.ws-to-top.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------------------------------------------------------------- 进场动效 */
/* 默认完全可见；只有 JS 成功启动才给 <html> 加 ws-js，此时才写入待入场状态。 */
.ws-js [data-ws-reveal] { opacity: 1; }
.ws-js [data-ws-reveal]:not(.is-in) {
    opacity: 0; transform: translateY(18px);
    transition: opacity .68s var(--ws-ease), transform .68s var(--ws-ease);
}
.ws-js [data-ws-reveal].is-in { opacity: 1; transform: none; }
@keyframes wsFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 980px) {
    .ws-biz-grid, .ws-news-grid { grid-template-columns: repeat(2, 1fr); }
    .ws-cols, .ws-cols-article, .ws-cols-page { grid-template-columns: 1fr; }
    .ws-post-side { order: 2; }
    .ws-slide-item, .ws-slide-inner { min-height: 360px; }
}
@media (max-width: 760px) {
    .ws-wrap { padding: 0 18px; }
    .ws-header-inner { gap: 12px; min-height: 70px; }
    .ws-logo strong { font-size: 25px; }
    .ws-logo span { font-size: 11.5px; }
    .ws-js .ws-toggle { display: inline-flex; }
    .ws-js .ws-menu {
        display: none; margin-left: 0; width: 100%; flex-direction: column; align-items: stretch;
        gap: 2px; padding-top: 10px; border-top: 1px solid var(--ws-line);
    }
    .ws-js .ws-menu.is-open { display: flex; }
    .ws-js .ws-menu a { padding: 10px 12px; }
    .ws-js .ws-menu .ws-entry { margin-left: 0; text-align: center; margin-top: 4px; }
    .ws-biz-grid, .ws-news-grid, .ws-neighbors { grid-template-columns: 1fr; }
    .ws-section { padding-top: 48px; }
    .ws-h2 { font-size: 23px; }
    .ws-slide-item, .ws-slide-inner { min-height: 310px; }
    .ws-slide-title { font-size: 27px; }
    .ws-slide-sub { font-size: 15px; }
    .ws-slide-arrow { width: 34px; height: 34px; font-size: 20px; }
    .ws-post-head { padding: 24px 20px 16px; }
    .ws-post-head h1 { font-size: 23px; }
    .ws-post-body { padding: 10px 20px 30px; }
    .ws-post-cover { height: 190px; }
    .ws-list-item { padding: 18px 12px 20px; }
    .ws-list-item h2 { font-size: 17px; }
    .ws-footer-contact { align-items: flex-start; }
    .ws-to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-js [data-ws-reveal]:not(.is-in) { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .ws-biz-card:hover, .ws-news-card:hover, .ws-btn:hover, .ws-list-item:hover, .ws-neighbor:hover { transform: none; }
}
