/* ==========================================================
   sinoyou-1 模板样式（整理版）
   - 合并 footer.php 内联样式，统一在此维护
   - 幻灯片 class 与 log_list.php 输出对齐（slide-box / slide-wrap）
   - 分类页、业务卡片、分页的内联 style 全部抽离到此处
   ========================================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
body{
    margin:0;
    padding:0;
    background:#fff;
    font-family:system-ui, sans-serif;
}

/* ========== 头部导航 ========== */
.header-wrap{
    width:100%;
    background:#fff;
    border-bottom:1px solid #eee;
    position:sticky;            /* 原本就是吸顶，滚动特效不改高度，页面不会跳 */
    top:0;
    z-index:999;
    transition:box-shadow .35s ease, background-color .35s ease;
}
/* 滚动后：轻微毛玻璃 + 阴影 + 底部渐隐橙线 */
.header-wrap::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:1px;
    background:linear-gradient(to right,
        rgba(234,95,2,1) 0, rgba(234,95,2,.32) 42%, rgba(234,95,2,0) 88%);
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .55s cubic-bezier(.22,.61,.36,1);
    pointer-events:none;
}
.header-wrap.is-scrolled{
    background:rgba(255,255,255,.94);
    -webkit-backdrop-filter:saturate(1.4) blur(10px);
    backdrop-filter:saturate(1.4) blur(10px);
    box-shadow:0 6px 22px rgba(31,78,61,.08);
}
.header-wrap.is-scrolled::after{
    transform:scaleX(1);
}
.header-container{
    max-width:1400px;
    margin:0 auto;
    padding:0 24px;
}
.header-row{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.logo{
    display:flex;
    align-items:center;
    flex-shrink:0;              /* 导航项多时也不压缩标志 */
    text-decoration:none;
}
.logo img{
    width:auto;                 /* 不再写死 213px，按图片真实比例走 */
    height:72px;                /* 与新版 logo 等高，撑满 80px 页眉 */
    max-width:280px;
    object-fit:contain;
    display:block;
}
.logo span{
    font-size:22px;
    font-weight:bold;
    color:#2b2b2b;
}
.nav-menu{
    display:flex;
    gap:36px;
    align-items:center;
}
.nav-menu li{
    list-style:none;
}
.nav-menu a{
    position:relative;
    display:inline-block;
    padding:6px 0;
    color:#333;
    text-decoration:none;
    font-size:16px;
    transition:color .25s ease,
               transform .25s cubic-bezier(.22,.61,.36,1);
}
/* 下划线从中心向两侧展开；当前栏目常驻 */
.nav-menu a:not(.nav-btn)::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:2px;
    border-radius:2px;
    background:#EA5F02;
    transform:scaleX(0);
    transform-origin:center center;
    transition:transform .38s cubic-bezier(.22,.61,.36,1);
    pointer-events:none;
}
.nav-menu a:not(.nav-btn):hover{
    color:#EA5F02;
    transform:translateY(-2px);
}
.nav-menu a:not(.nav-btn):hover::after,
.nav-menu a.current:not(.nav-btn)::after{
    transform:scaleX(1);
}
.nav-menu a.current{
    color:#EA5F02;
    font-weight:500;
}
/* 「联系我们」按钮：上浮 + 橙色阴影 + 一道白色光泽扫过。
   选择器带上 .nav-menu a，保证盖过上面 .nav-menu a 的基础样式，不必用 !important。 */
.nav-menu a.nav-btn{
    position:relative;
    overflow:hidden;
    padding:10px 22px;
    background:#EA5F02;
    color:#fff;
    border-radius:4px;
    transition:transform .3s cubic-bezier(.22,.61,.36,1),
               box-shadow .3s ease, background .25s ease;
}
.nav-menu a.nav-btn::after{
    content:'';
    position:absolute;
    top:-50%;
    left:-60%;
    width:38%;
    height:200%;
    background:linear-gradient(90deg,
        rgba(255,255,255,0) 0, rgba(255,255,255,.30) 50%, rgba(255,255,255,0) 100%);
    transform:translateX(-160%) skewX(-20deg);
    transition:transform .65s ease;
    pointer-events:none;
}
.nav-menu a.nav-btn:hover{
    background:#d85400;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(234,95,2,.28);
}
.nav-menu a.nav-btn:hover::after{
    transform:translateX(460%) skewX(-20deg);
}

/* ---- 头部进场动效 ----
   标记在 .logo 和 .nav-menu li 上，hover 的 transform 作用在 <a> 上，
   两者不同元素，进场与悬停完全不会互相覆盖。
   只有 JS 成功初始化才写入 pending；JS 未加载 / 减少动态效果时保持可见。 */
[data-sy-nav="pending"]{
    opacity:0;
    transition:opacity .6s cubic-bezier(.22,.61,.36,1),
               transform .6s cubic-bezier(.22,.61,.36,1);
    transition-delay:var(--sy-nav-d, 0ms);
    will-change:opacity, transform;
}
[data-sy-nav="pending"][data-sy-nav-kind="logo"]{
    transform:translate3d(-16px,0,0);
}
[data-sy-nav="pending"][data-sy-nav-kind="item"]{
    transform:translate3d(0,-14px,0);
}
[data-sy-nav="pending"][data-sy-nav-kind="btn"]{
    transform:translate3d(0,-10px,0) scale(.92);
}
[data-sy-nav="in"]{
    opacity:1;
    transform:none;
}

/* ========== 首页幻灯片 ==========
   slide-box 负责裁切与定位基准；左右按钮、圆点必须放在 slide-wrap 之外 */
.slide-box{
    width:100%;
    max-width:1400px;
    margin:0 auto;
    overflow:hidden;
    position:relative;
    background:#eee;
    max-height:380px;
}
/* 与 home.js 的 active 显隐方案对齐：轨道不做 translateX，
   同一时刻只显示一张，切换时带轻微淡入 */
.slide-wrap{
    position:relative;
    width:100%;
}
.slide-item{
    display:none;
    width:100%;
}
.slide-item.active{
    display:block;
    animation:slideFade .45s ease both;
}
@keyframes slideFade{
    from{ opacity:.35; }
    to{ opacity:1; }
}
.slide-item a{
    display:block;
}
.slide-item img{
    width:100%;
    height:380px;
    object-fit:cover;
    -o-object-fit:cover;
    display:block;
}
.img-m{
    display:none;
}
.img-pc{
    display:block;
}

/* ===== 左右切换按钮 ===== */
.slide-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border-radius:50%;
    background:rgba(255,255,255,.75);
    color:#EA5F02;
    border:none;
    font-size:22px;
    cursor:pointer;
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all .2s;
}
.slide-btn:hover{
    background:#EA5F02;
    color:#fff;
}
.slide-prev{
    left:16px;
}
.slide-next{
    right:16px;
}

/* ===== 轮播圆点 ===== */
.slide-dots{
    position:absolute;
    bottom:12px;
    left:0;
    width:100%;
    text-align:center;
    z-index:9;
}
.slide-dots span{
    display:inline-block;
    width:10px;
    height:10px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    margin:0 4px;
    cursor:pointer;
}
.slide-dots span.active{
    background:#EA5F02;
}

/* ===== 通用区块 ===== */
.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}
.section-wrap{
    padding:60px 20px;
}
.section-news{
    background:#f7f7f7;
}
.section-title{
    text-align:center;
    margin-bottom:40px;
}
.section-title h2{
    font-size:28px;
    color:#2b2b2b;
    margin-bottom:8px;
}
.section-title p{
    color:#888;
}

.row-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}
.item-card{
    background:#fff;
    padding:30px 22px;
    border-radius:12px;
    box-shadow:0 2px 12px rgba(0,0,0,.06);
    position:relative;
}
.item-card h3{
    color:#EA5F02;
    font-size:19px;
    margin-bottom:10px;
}
.card-link{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1;
}
.card-intro{
    font-size:15px;
    line-height:1.8;
    color:#444;
    margin:12px 0;
}
.card-more{
    position:absolute;
    right:22px;
    bottom:22px;
    color:#EA5F02;
    font-size:14px;
    z-index:2;
}

.news-list{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}
.news-item{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.news-item a{
    text-decoration:none;
}
.news-body{
    padding:18px;
}
.news-body h4{
    font-size:16px;
    color:#2b2b2b;
    margin-bottom:6px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.news-body .time{
    font-size:12px;
    color:#999;
}

/* ========== 首页进场动效（核心业务 / 新闻动态） ==========
   用带私有前缀的 data 属性标记，不给 <html> 加全局类、不占用 reveal 等
   通用类名，避免和 EMLOG 插件 / 第三方动画库撞名。
   元素默认可见；只有 JS 成功初始化才会写入 data-sy-reveal="pending"，
   JS 未加载、浏览器过旧或开启「减少动态效果」时内容始终正常显示。 */
[data-sy-reveal="pending"]{
    opacity:0;
    transform:translate3d(0,26px,0);
    transition:opacity .7s cubic-bezier(.22,.61,.36,1),
               transform .7s cubic-bezier(.22,.61,.36,1);
    transition-delay:var(--sy-d, 0ms);
    will-change:opacity, transform;
}
[data-sy-reveal="in"]{
    opacity:1;
    transform:none;
}
/* 业务卡片：带一点透视回正，比纯上浮更有层次，但幅度克制 */
[data-sy-reveal="pending"][data-sy-kind="card"]{
    transform:translate3d(0,34px,0) perspective(900px) rotateX(7deg) scale(.985);
    transform-origin:center bottom;
}
[data-sy-reveal="pending"][data-sy-kind="news"]{
    transform:translate3d(-24px,0,0);
}

/* 入场之后常驻的微交互：抬升 + 顶部细线（品牌橙只在 hover 出现） */
.item-card{
    transition:transform .35s cubic-bezier(.22,.61,.36,1),
               box-shadow .35s ease;
}
.item-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:#EA5F02;
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .4s cubic-bezier(.22,.61,.36,1);
    pointer-events:none;          /* 不挡 .card-link 的整卡点击 */
    z-index:3;
}
.item-card:hover::before{
    transform:scaleX(1);
}
.item-card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 34px rgba(31,78,61,.13);
}
.card-more{
    transition:transform .3s ease;
}
.item-card:hover .card-more{
    transform:translateX(4px);
}

.news-item{
    transition:transform .35s cubic-bezier(.22,.61,.36,1),
               box-shadow .35s ease;
}
.news-item:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 26px rgba(31,78,61,.10);
}
.news-body h4{
    transition:color .25s ease;
}
.news-item:hover .news-body h4{
    color:#EA5F02;
}

/* 系统级「减少动态效果」：JS 会直接跳过，这里再兜一层 */
@media (prefers-reduced-motion: reduce){
    [data-sy-reveal], [data-sy-list], [data-sy-nav], [data-sy-post]{
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
    .header-wrap, .header-wrap::after,
    .nav-menu a, .nav-menu a::after, .nav-menu a.nav-btn, .nav-menu a.nav-btn::after,
    .item-card, .news-item, .card-more, .news-body h4, .item-card::before,
    .sidebar-box, .sort-sub-nav li a, .sort-sub-nav li a::before,
    .side-post-list li a, .side-post-no, .side-quick-btn, .side-quick-btn span,
    .side-top-btn,
    .post-breadcrumb a, .post-main, .post-neighbor, .post-neighbor-title,
    .post-back, .post-copy, .post-backtop, .post-progress,
    .footer-email, .footer p a,
    .post-side-box, .post-toc-list li a, .post-toc-list li a::before,
    .post-info-row dd a, .post-related-list li a, .post-related-no,
    .post-cta-btn, .post-cta-btn span,
    .article-item, .article-item::before, .article-title, .read-more,
    .read-more::after, .pager-btn, .pager-num, .pager-jump{
        transition:none !important;
        animation:none !important;
    }
    .item-card:hover, .news-item:hover, .article-item:hover,
    .sort-sub-nav li a:hover, .pager-btn:hover, .pager-num:hover,
    .sidebar-box:hover, .side-quick-btn:hover, .side-top-btn:hover,
    a.post-neighbor:hover, a.post-neighbor-more:hover,
    .post-copy:hover, .post-backtop:hover,
    .post-cta-btn:hover, .post-side-box:hover,
    .nav-menu a:hover, .nav-menu a.nav-btn:hover{
        transform:none !important;
    }
}

/* ========== 分类列表页（原为内联 style） ========== */
.category-page{
    padding:48px 20px 20px;
}
.category-layout{
    display:flex;
    gap:34px;
    align-items:flex-start;
}

/* ---- 左侧栏：当前栏目内部结构（概览 / 下级栏目 / 本栏文章 / 快捷操作） ----
   每个模块都是独立白底卡片，某个模块没数据时由 PHP 整块不输出，绝不出现空壳。 */
.category-sidebar{
    width:260px;
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    gap:16px;
}
.sidebar-box{
    background:#fff;
    padding:22px 20px;
    border:1px solid #ececec;
    border-radius:12px;
    box-shadow:0 2px 14px rgba(31,78,61,.05);
    transition:box-shadow .35s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.sidebar-box:hover{
    box-shadow:0 10px 28px rgba(31,78,61,.09);
}

/* ① 栏目概览 */
.side-overview{
    position:relative;
    overflow:hidden;
}
.side-overview::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:linear-gradient(to right,#EA5F02 0,rgba(234,95,2,.18) 62%,rgba(234,95,2,0) 100%);
}
.side-eyebrow{
    display:block;
    color:#aaa;
    font-size:11px;
    letter-spacing:2px;
    margin-bottom:8px;
}
.side-name{
    font-size:21px;
    font-weight:600;
    color:#1F4E3D;
    letter-spacing:1px;
    line-height:1.4;
    margin:0;
}
.side-desc{
    margin:10px 0 0;
    color:#888;
    font-size:13px;
    line-height:1.75;
}
.side-stats{
    display:flex;
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid #f0f0f0;
}
.side-stat{
    flex:1;
    min-width:0;
    text-align:center;
}
.side-stat + .side-stat{
    border-left:1px solid #f0f0f0;
}
.side-stat strong{
    display:block;
    font-size:20px;
    font-weight:600;
    color:#EA5F02;
    line-height:1.2;
    font-variant-numeric:tabular-nums;
}
.side-stat span{
    display:block;
    margin-top:5px;
    color:#aaa;
    font-size:11px;
    letter-spacing:.5px;
}

/* ②③ 模块小标题 */
.side-block-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:0 0 14px;
    padding:0 0 12px 12px;
    font-size:15px;
    font-weight:500;
    color:#2b2b2b;
    border-left:3px solid #EA5F02;
    border-bottom:1px solid #f0f0f0;
    letter-spacing:1px;
}
.side-count{
    min-width:22px;
    padding:2px 6px;
    border-radius:20px;
    background:#f5f5f3;
    color:#999;
    font-size:11px;
    font-weight:400;
    text-align:center;
    letter-spacing:0;
}

/* ② 下级栏目：真子分类，橙竖条 hover 展开 */
.sort-sub-nav{
    list-style:none;
}
.sort-sub-nav li{
    margin-bottom:5px;
}
.sort-sub-nav li a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 10px 10px 14px;
    border-radius:6px;
    color:#444;
    text-decoration:none;
    font-size:14px;
    transition:background .25s ease, color .25s ease, transform .25s ease;
    overflow:hidden;
}
.sort-sub-nav li a::before{
    content:'';
    position:absolute;
    left:0;
    top:6px;
    bottom:6px;
    width:3px;
    border-radius:0 2px 2px 0;
    background:#EA5F02;
    transform:scaleY(0);
    transform-origin:center top;
    transition:transform .32s cubic-bezier(.22,.61,.36,1);
}
.side-cat-name{
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.sort-sub-nav li a:hover{
    background:#faf9f5;
    color:#EA5F02;
    transform:translateX(3px);
}
.sort-sub-nav li a:hover::before{
    transform:scaleY(1);
}
.sort-sub-nav .num{
    flex-shrink:0;
    min-width:24px;
    padding:2px 7px;
    border-radius:20px;
    background:#f2f2f0;
    color:#999;
    font-size:11px;
    line-height:1.5;
    text-align:center;
    transition:background .25s ease, color .25s ease;
}
.sort-sub-nav li a:hover .num{
    background:rgba(234,95,2,.12);
    color:#EA5F02;
}

/* ③ 本栏文章索引：序号目录感，与右侧带摘要的列表明显区分 */
.side-post-list{
    list-style:none;
}
.side-post-list li{
    border-bottom:1px dashed #f0f0f0;
}
.side-post-list li:last-child{
    border-bottom:0;
}
.side-post-list li a{
    display:flex;
    align-items:baseline;
    gap:9px;
    padding:10px 2px;
    color:#555;
    text-decoration:none;
    font-size:13px;
    transition:color .25s ease;
}
.side-post-no{
    flex-shrink:0;
    color:#EA5F02;
    font-size:11px;
    font-weight:600;
    font-variant-numeric:tabular-nums;
    opacity:.75;
}
.side-post-title{
    flex:1;
    min-width:0;
    line-height:1.5;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.side-post-list time{
    flex-shrink:0;
    color:#bbb;
    font-size:11px;
    font-variant-numeric:tabular-nums;
}
.side-post-list li a:hover{
    color:#EA5F02;
}
.side-post-list li a:hover .side-post-no{
    opacity:1;
}

/* ④ 快捷操作 */
.side-quick{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.side-quick-btn, .side-top-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    padding:11px 14px;
    border-radius:6px;
    font:inherit;
    font-size:14px;
    text-decoration:none;
    cursor:pointer;
    transition:transform .28s cubic-bezier(.22,.61,.36,1),
               box-shadow .28s ease, background .25s ease, color .25s ease;
}
.side-quick-btn{
    background:#EA5F02;
    color:#fff;
    border:1px solid #EA5F02;
}
.side-quick-btn span{
    transition:transform .3s ease;
}
.side-quick-btn:hover{
    background:#d85400;
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(234,95,2,.25);
}
.side-quick-btn:hover span{
    transform:translateX(4px);
}
.side-top-btn{
    background:#fff;
    color:#666;
    border:1px solid #e5e5e5;
}
.side-top-btn:hover{
    color:#EA5F02;
    border-color:#EA5F02;
    transform:translateY(-2px);
}

/* ---- 右侧主区标题：短橙竖线 + 渐隐分隔线 ---- */
.category-main{
    flex:1;
    min-width:0;
}
.page-title{
    margin-bottom:28px;
    padding-bottom:18px;
    border-bottom:1px solid transparent;
    background:linear-gradient(to right,#EA5F02 0,rgba(234,95,2,.18) 72px,rgba(234,95,2,0) 220px) left bottom / 100% 1px no-repeat;
}
.page-title h2{
    display:flex;
    align-items:center;
    font-size:25px;
    color:#2b2b2b;
    margin:0;
    letter-spacing:1px;
}
.page-title h2::before{
    content:'';
    display:inline-block;
    width:4px;
    height:22px;
    margin-right:12px;
    border-radius:2px;
    background:#EA5F02;
}
.page-desc{
    color:#888;
    margin:10px 0 0 16px;
    font-size:14px;
    line-height:1.7;
}

/* ---- 文章条目：默认「一条细线」，悬停时浮起成卡片 ---- */
.article-item{
    position:relative;
    padding:18px 18px 22px;
    margin-bottom:6px;
    border-bottom:1px solid #eee;
    border-radius:10px;
    background:transparent;
    transition:background .35s ease, box-shadow .35s ease,
               transform .35s cubic-bezier(.22,.61,.36,1),
               border-color .35s ease;
}
.article-item::before{
    content:'';
    position:absolute;
    left:0;
    top:14px;
    bottom:14px;
    width:3px;
    border-radius:0 2px 2px 0;
    background:#EA5F02;
    transform:scaleY(0);
    transform-origin:center top;
    transition:transform .38s cubic-bezier(.22,.61,.36,1);
}
.article-item:hover{
    background:#fff;
    border-bottom-color:transparent;
    box-shadow:0 10px 28px rgba(31,78,61,.09);
    transform:translateY(-2px);
}
.article-item:hover::before{
    transform:scaleY(1);
}
.article-title{
    display:inline-block;
    font-size:19px;
    color:#222;
    text-decoration:none;
    font-weight:500;
    line-height:1.5;
    /* 下划线从 0 展开，比直接变色更有细节 */
    background-image:linear-gradient(#EA5F02,#EA5F02);
    background-repeat:no-repeat;
    background-position:0 100%;
    background-size:0 1px;
    transition:color .25s ease, background-size .38s cubic-bezier(.22,.61,.36,1);
}
.article-item:hover .article-title,
.article-title:hover{
    color:#EA5F02;
    background-size:100% 1px;
}
.article-meta{
    font-size:12px;
    color:#aaa;
    margin:9px 0 0;
    letter-spacing:.3px;
}
.article-meta .time::before{
    content:'';
    display:inline-block;
    width:5px;
    height:5px;
    margin-right:7px;
    border-radius:50%;
    background:#EA5F02;
    vertical-align:2px;
    opacity:.7;
}
.article-excerpt{
    color:#666;
    line-height:1.75;
    margin:12px 0 14px;
    font-size:14px;
    word-break:break-word;
    /* 统一两行高度，列表更整齐；含 <p> 等块级标签时浏览器会自动降级 */
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    overflow:hidden;
}
.read-more{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#EA5F02;
    text-decoration:none;
    font-size:13px;
    letter-spacing:.5px;
}
.read-more::after{
    content:'\2192';
    display:inline-block;
    transition:transform .3s cubic-bezier(.22,.61,.36,1);
}
.article-item:hover .read-more::after,
.read-more:hover::after{
    transform:translateX(5px);
}

/* ---- 空列表状态（PHP 在 $logs 为空时输出） ---- */
.empty-state{
    padding:64px 20px;
    text-align:center;
    color:#aaa;
    font-size:14px;
    letter-spacing:1px;
}
.empty-state::before{
    content:'';
    display:block;
    width:46px;
    height:46px;
    margin:0 auto 18px;
    border:2px solid #e8e8e6;
    border-radius:10px;
    background:linear-gradient(135deg,#fff 0,#faf9f5 100%);
    box-shadow:inset 0 0 0 6px #fff;
}

/* ---- 分页：按钮由 home.js 按「每页 10 条」生成 ---- */
.pagination{
    text-align:center;
    margin-top:44px;
    font-size:14px;
    line-height:1;
}
.pagination:empty{
    display:none;               /* 没有按钮时（含空列表）整块不占位 */
}
.pager-btn, .pager-num, .pager-jump{
    display:inline-block;
    margin:0 3px;
    padding:9px 15px;
    border:1px solid #e5e5e5;
    border-radius:6px;
    color:#555;
    background:#fff;
    text-decoration:none;
    white-space:nowrap;
    vertical-align:middle;
    cursor:pointer;
    font:inherit;
    transition:border-color .2s, color .2s, background .2s,
               transform .25s ease, box-shadow .25s ease;
}
.pager-btn:hover, .pager-num:hover, .pager-jump:hover{
    border-color:#EA5F02;
    color:#EA5F02;
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(31,78,61,.08);
}
.pager-num{
    min-width:38px;
    padding:9px 10px;
}
.pager-num.is-current{
    background:#EA5F02;
    border-color:#EA5F02;
    color:#fff;
    cursor:default;
    /* 每次翻页 render 都会重建按钮，这个轻微回弹正好当作翻页反馈 */
    animation:syPagerPop .38s cubic-bezier(.22,.61,.36,1);
}
@keyframes syPagerPop{
    0%{ transform:scale(.86); opacity:.55; }
    100%{ transform:scale(1); opacity:1; }
}
.pager-num.is-current:hover{
    color:#fff;
    border-color:#EA5F02;
    transform:none;
    box-shadow:none;
}
.pager-jump{
    border-color:#EA5F02;
    color:#EA5F02;
    font-weight:500;
}
.pager-jump:hover{
    background:#EA5F02;
    color:#fff;
}
.pager-btn.is-disabled{
    color:#bbb;
    background:#fafafa;
    border-color:#eee;
    cursor:not-allowed;
}
.pager-btn.is-disabled:hover{
    color:#bbb;
    border-color:#eee;
    transform:none;
    box-shadow:none;
}
.pager-info{
    display:block;
    margin-top:16px;
    color:#aaa;
    font-size:12px;
    line-height:1.6;
    letter-spacing:.3px;
}

/* ---- 列表页进场动效 ----
   与首页同样用私有 data 属性，默认可见、JS 初始化后才进入待入场态；
   侧栏从左侧滑入、标题上浮、文章条目逐条错峰淡入上浮、分页最后出现。 */
[data-sy-list="pending"]{
    opacity:0;
    /* 合并卡片自身的过渡，入场期间 hover 也不会突然失效 */
    transition:opacity .65s cubic-bezier(.22,.61,.36,1),
               transform .65s cubic-bezier(.22,.61,.36,1),
               background .35s ease, box-shadow .35s ease, border-color .35s ease;
    transition-delay:var(--sy-list-d, 0ms);
    will-change:opacity, transform;
}
[data-sy-list="in"]{
    opacity:1;
    transform:none;
}
[data-sy-list="pending"][data-sy-list-kind="side"]{
    transform:translate3d(-22px,0,0);
}
[data-sy-list="pending"][data-sy-list-kind="head"]{
    transform:translate3d(0,18px,0);
}
[data-sy-list="pending"][data-sy-list-kind="item"]{
    transform:translate3d(0,16px,0);
}
[data-sy-list="pending"][data-sy-list-kind="pager"]{
    transform:translate3d(0,12px,0);
}

/* ========== 文章页（echo_log.php） ==========
   全部使用 post- 私有前缀：列表页已占用 .article-title / .article-meta /
   .article-excerpt / .page-title / .read-more，同名会互相覆盖成裸样式。
   原 echo_log.php 的 <style> 已全部抽离到这里，由 header.php 统一加载。 */
.post-page{
    padding:34px 0 64px;
    background:#faf9f5;          /* 浅底让白卡浮起来，与侧栏卡片语言一致 */
}
.post-page .container{
    max-width:1240px;
}
/* 左主右辅：正文仍是阅读主轴，右栏只放「这篇文章的上下文」。
   侧栏放右侧而不是左侧，避免和列表页左侧的「栏目导航」形成惯性误解，
   也保证正文起始位置不被挤走。 */
.post-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 280px;
    gap:24px;
    align-items:start;
}
.post-primary{
    min-width:0;                 /* 防止长 URL / 表格把 grid 撑破 */
}

/* ① 面包屑 */
.post-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
    font-size:13px;
    color:#999;
}
.post-breadcrumb a{
    color:#777;
    text-decoration:none;
    transition:color .25s ease;
}
.post-breadcrumb a:hover{
    color:#EA5F02;
}
.post-crumb-sep{
    color:#ccc;
}
.post-crumb-cur{
    color:#1F4E3D;
}

/* ② 文章主体白卡 */
.post-main{
    position:relative;
    background:#fff;
    border:1px solid #ececec;
    border-radius:12px;
    box-shadow:0 2px 18px rgba(31,78,61,.05);
    overflow:hidden;             /* 顶部橙线贴合圆角 */
}
.post-main::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:3px;
    background:linear-gradient(to right,
        #EA5F02 0, rgba(234,95,2,.22) 58%, rgba(234,95,2,0) 100%);
}
.post-header{
    padding:36px 44px 26px;
    border-bottom:1px solid #f0f0f0;
}
.post-cat{
    display:inline-block;
    margin-bottom:16px;
    padding:4px 12px;
    border-radius:20px;
    background:#FFF3EA;
    color:#EA5F02;
    font-size:12px;
    letter-spacing:1px;
}
.post-title{
    margin:0;
    font-size:30px;
    font-weight:600;
    line-height:1.5;
    letter-spacing:.5px;
    color:#222;
    word-break:break-word;
}
.post-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 20px;
    margin-top:18px;
    color:#aaa;
    font-size:13px;
    letter-spacing:.3px;
    font-variant-numeric:tabular-nums;
}
.post-meta span::before{
    content:'';
    display:inline-block;
    width:4px;
    height:4px;
    margin-right:8px;
    border-radius:50%;
    background:#ddd;
    vertical-align:2px;
}
.post-meta .post-meta-date{
    color:#888;
}
.post-meta .post-meta-date::before{
    background:#EA5F02;
}

/* ③ 正文精排：后台编辑器输出的 h2/h3/图片/引用/表格/代码都有对应样式 */
.post-content{
    padding:32px 44px 44px;
    font-size:16px;
    line-height:1.95;
    color:#3f3f3f;
    word-break:break-word;
}
.post-content > *:first-child{
    margin-top:0;
}
.post-content p{
    margin:0 0 1.15em;
}
.post-content h2{
    position:relative;
    margin:1.8em 0 .8em;
    padding-left:14px;
    font-size:22px;
    font-weight:600;
    line-height:1.5;
    color:#1F4E3D;
}
.post-content h2::before{
    content:'';
    position:absolute;
    left:0;
    top:.28em;
    bottom:.28em;
    width:4px;
    border-radius:2px;
    background:#EA5F02;
}
.post-content h3{
    margin:1.5em 0 .7em;
    font-size:18px;
    font-weight:600;
    color:#2b2b2b;
}
.post-content h4{
    margin:1.3em 0 .6em;
    font-size:16px;
    font-weight:600;
    color:#444;
}
.post-content ul, .post-content ol{
    margin:0 0 1.2em;
    padding-left:1.6em;
}
.post-content li{
    margin:.35em 0;
}
.post-content li::marker{
    color:#EA5F02;
}
.post-content a{
    color:#EA5F02;
    text-decoration:none;
    border-bottom:1px solid rgba(234,95,2,.35);
    transition:border-color .25s ease;
}
.post-content a:hover{
    border-bottom-color:#EA5F02;
}
.post-content strong{
    color:#222;
    font-weight:600;
}
.post-content blockquote{
    margin:1.4em 0;
    padding:14px 20px;
    border-left:3px solid #EA5F02;
    border-radius:0 6px 6px 0;
    background:#faf9f5;
    color:#666;
}
.post-content blockquote p:last-child{
    margin-bottom:0;
}
.post-content img{
    display:block;
    max-width:100%;
    height:auto;
    margin:1.4em auto;
    border-radius:8px;
    box-shadow:0 4px 16px rgba(31,78,61,.08);
}
.post-content hr{
    height:1px;
    margin:2em 0;
    border:0;
    background:#eee;
}
.post-content pre{
    margin:1.4em 0;
    padding:16px 18px;
    border:1px solid #eee;
    border-radius:6px;
    background:#f7f7f5;
    overflow-x:auto;
    font-size:14px;
    line-height:1.7;
}
.post-content code{
    padding:2px 6px;
    border-radius:3px;
    background:#f7f7f5;
    color:#c7541a;
    font-size:.9em;
}
.post-content pre code{
    padding:0;
    background:none;
    color:inherit;
}
.post-content table{
    width:100%;
    margin:1.4em 0;
    border-collapse:collapse;
    font-size:14px;
}
.post-content th, .post-content td{
    padding:10px 12px;
    border:1px solid #e8e8e6;
    text-align:left;
    word-break:break-word;
}
.post-content th{
    background:#faf9f5;
    color:#333;
    font-weight:600;
}

/* ④ 上一篇 / 下一篇 */
.post-neighbors{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-top:24px;
}
.post-neighbor{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:18px 20px;
    border:1px solid #ececec;
    border-radius:10px;
    background:#fff;
    text-decoration:none;
    transition:transform .3s cubic-bezier(.22,.61,.36,1),
               box-shadow .3s ease, border-color .3s ease;
}
a.post-neighbor:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 24px rgba(31,78,61,.09);
    border-color:rgba(234,95,2,.35);
}
.post-neighbor-label{
    font-size:12px;
    letter-spacing:1px;
    color:#EA5F02;
}
.post-neighbor-title{
    font-size:15px;
    line-height:1.6;
    color:#333;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
a.post-neighbor:hover .post-neighbor-title{
    color:#EA5F02;
}
.post-neighbor-next{
    text-align:right;
    align-items:flex-end;
}
/* 相邻文章取不到时的补位入口：用深绿标签与真邻居区分，但依然是可点链接，
   不再出现「已经是第一篇 / 已经是最后一篇」这类灰态死按钮。 */
.post-neighbor-more{
    background:#faf9f5;
    border-style:dashed;
}
.post-neighbor-more .post-neighbor-label{
    color:#1F4E3D;
}
/* 补位项 hover 时同样上浮、边框变橙，明确「可点」 */
a.post-neighbor-more:hover{
    border-style:solid;
    border-color:rgba(234,95,2,.35);
    background:#fff;
}
a.post-neighbor-more:hover .post-neighbor-label{
    color:#EA5F02;
}

/* ⑤ 底部操作条 */
.post-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:22px;
    padding:16px 0;
    border-top:1px solid #eaeae6;
}
.post-back{
    color:#1F4E3D;
    text-decoration:none;
    font-size:14px;
    transition:color .25s ease;
}
.post-back:hover{
    color:#EA5F02;
}
.post-action-right{
    display:flex;
    gap:8px;
}
.post-copy, .post-backtop{
    padding:9px 16px;
    border:1px solid #e5e5e5;
    border-radius:6px;
    background:#fff;
    color:#666;
    font:inherit;
    font-size:13px;
    cursor:pointer;
    transition:transform .25s ease, border-color .25s ease,
               color .25s ease, background .25s ease;
}
.post-copy:hover, .post-backtop:hover{
    color:#EA5F02;
    border-color:#EA5F02;
    transform:translateY(-2px);
}
.post-copy.is-copied{
    color:#1F4E3D;
    border-color:#1F4E3D;
    background:#f2f7f4;
}

/* ⑥ 顶部阅读进度条（JS 只在文章页动态创建） */
.post-progress{
    position:fixed;
    top:0;
    left:0;
    width:0;
    height:2px;
    background:linear-gradient(to right,#EA5F02,#ff9a4d);
    z-index:1001;              /* 高于 sticky 头部，贴在最顶端 */
    pointer-events:none;
    opacity:0;
    transition:width .08s linear, opacity .3s ease;
}

/* ===== 右侧辅助栏 =====
   四块都是独立白卡，与列表页侧栏同一套语言；任何一块没数据由 PHP 整块不输出。 */
.post-sidebar{
    position:sticky;
    top:100px;                   /* 避开 80px 吸顶头部 */
    display:flex;
    flex-direction:column;
    gap:14px;
    max-height:calc(100vh - 120px);
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:#e0e0dc transparent;
}
.post-sidebar::-webkit-scrollbar{ width:4px; }
.post-sidebar::-webkit-scrollbar-thumb{ background:#e0e0dc; border-radius:4px; }
.post-side-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:10px;
    padding:18px 18px 16px;
    box-shadow:0 2px 14px rgba(31,78,61,.05);
    transition:box-shadow .35s ease;
}
.post-side-box:hover{
    box-shadow:0 8px 22px rgba(31,78,61,.09);
}
.post-side-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:0 0 14px;
    padding:0 0 11px 11px;
    border-left:3px solid #EA5F02;
    border-bottom:1px solid #f0f0f0;
    font-size:14px;
    font-weight:500;
    color:#2b2b2b;
    letter-spacing:1px;
}
.post-side-count{
    min-width:22px;
    padding:2px 6px;
    border-radius:20px;
    background:#f5f5f3;
    color:#999;
    font-size:11px;
    font-weight:400;
    text-align:center;
    letter-spacing:0;
}

/* ① 本文目录 */
.post-toc-list{
    list-style:none;
    margin:0;
}
.post-toc-list li{
    margin:0;
}
.post-toc-list li a{
    display:block;
    position:relative;
    padding:7px 6px 7px 14px;
    border-radius:4px;
    color:#777;
    font-size:13px;
    line-height:1.6;
    text-decoration:none;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    transition:color .25s ease, background .25s ease;
}
.post-toc-list li a::before{
    content:'';
    position:absolute;
    left:0;
    top:8px;
    bottom:8px;
    width:2px;
    border-radius:2px;
    background:#EA5F02;
    transform:scaleY(0);
    transform-origin:center top;
    transition:transform .3s cubic-bezier(.22,.61,.36,1);
}
.post-toc-list li a:hover{
    color:#EA5F02;
    background:#faf9f5;
}
.post-toc-list li.is-current a,
.post-toc-list li.is-current a:hover{
    color:#EA5F02;
    background:#FFF3EA;
    font-weight:500;
}
.post-toc-list li.is-current a::before{
    transform:scaleY(1);
}
.post-toc-list li.toc-lv3 a{
    padding-left:28px;
    font-size:12px;
    color:#999;
}
.post-toc-list li.toc-lv3.is-current a{
    color:#EA5F02;
}
/* 锚点跳转时避开吸顶头部 */
.post-content h2[id], .post-content h3[id]{
    scroll-margin-top:100px;
}

/* ② 文章信息 */
.post-info-list{
    margin:0;
}
.post-info-row{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:10px;
    padding:8px 0;
    border-bottom:1px dashed #f0f0f0;
    font-size:13px;
}
.post-info-row:last-child{
    border-bottom:0;
}
.post-info-row dt{
    flex-shrink:0;
    color:#aaa;
}
.post-info-row dd{
    margin:0;
    color:#444;
    text-align:right;
    font-variant-numeric:tabular-nums;
}
.post-info-row dd a{
    color:#1F4E3D;
    text-decoration:none;
    transition:color .25s ease;
}
.post-info-row dd a:hover{
    color:#EA5F02;
}

/* ③ 延伸阅读 */
.post-related-list{
    list-style:none;
    margin:0;
}
.post-related-list li{
    border-bottom:1px dashed #f0f0f0;
}
.post-related-list li:last-child{
    border-bottom:0;
}
.post-related-list li a{
    display:flex;
    align-items:baseline;
    gap:8px;
    padding:9px 2px;
    color:#555;
    font-size:13px;
    text-decoration:none;
    transition:color .25s ease;
}
.post-related-no{
    flex-shrink:0;
    color:#EA5F02;
    font-size:11px;
    font-weight:600;
    font-variant-numeric:tabular-nums;
    opacity:.7;
}
.post-related-title{
    flex:1;
    min-width:0;
    line-height:1.6;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.post-related-list time{
    flex-shrink:0;
    color:#bbb;
    font-size:11px;
    font-variant-numeric:tabular-nums;
}
.post-related-list li a:hover{
    color:#EA5F02;
}
.post-related-list li a:hover .post-related-no{
    opacity:1;
}

/* ④ 联系入口：深绿卡，橙按钮是整页唯一的强行动点 */
.post-cta{
    position:relative;
    overflow:hidden;
    border-color:#1F4E3D;
    background:#1F4E3D;
    color:#fff;
}
.post-cta::after{
    content:'';
    position:absolute;
    right:-40px;
    bottom:-60px;
    width:150px;
    height:150px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:50%;
    pointer-events:none;
}
.post-cta .post-side-title{
    border-left-color:rgba(255,255,255,.5);
    border-bottom-color:rgba(255,255,255,.14);
    color:#fff;
}
.post-cta-eyebrow{
    display:block;
    color:rgba(255,255,255,.55);
    font-size:11px;
    letter-spacing:3px;
    margin-bottom:8px;
}
.post-cta-title{
    position:relative;
    z-index:1;
    margin:0 0 8px;
    font-size:19px;
    font-weight:500;
    letter-spacing:1px;
}
.post-cta-desc{
    position:relative;
    z-index:1;
    margin:0 0 16px;
    color:rgba(255,255,255,.72);
    font-size:13px;
    line-height:1.7;
}
.post-cta-btn{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:10px 14px;
    border-radius:5px;
    background:#EA5F02;
    color:#fff;
    font-size:13px;
    text-decoration:none;
    transition:background .25s ease, transform .28s cubic-bezier(.22,.61,.36,1),
               box-shadow .28s ease;
}
.post-cta-btn span{
    transition:transform .3s ease;
}
.post-cta-btn:hover{
    background:#d85400;
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,.2);
}
.post-cta-btn:hover span{
    transform:translateX(4px);
}

/* ⑦ 文章页进场动效：正文自上而下，右侧栏从右错峰滑入（方向对比） */
[data-sy-post="pending"]{
    opacity:0;
    /* 合并卡片自身的过渡，入场期间 hover 不失效 */
    transition:opacity .65s cubic-bezier(.22,.61,.36,1),
               transform .65s cubic-bezier(.22,.61,.36,1),
               box-shadow .3s ease, border-color .3s ease;
    transition-delay:var(--sy-post-d, 0ms);
    will-change:opacity, transform;
}
[data-sy-post="in"]{
    opacity:1;
    transform:none;
}
[data-sy-post="pending"][data-sy-post-kind="crumb"]{
    transform:translate3d(0,-10px,0);
}
[data-sy-post="pending"][data-sy-post-kind="main"]{
    transform:translate3d(0,18px,0);
}
[data-sy-post="pending"][data-sy-post-kind="neighbors"]{
    transform:translate3d(0,16px,0);
}
[data-sy-post="pending"][data-sy-post-kind="actions"]{
    transform:translate3d(0,12px,0);
}
[data-sy-post="pending"][data-sy-post-kind="side"]{
    transform:translate3d(20px,0,0);
}

/* ===== 底部广告 Banner ===== */
.ad-banner{
    width:100%;
    max-width:1400px;
    margin:40px auto 60px;
    height:70px;
    background-color:#FAF9F5;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    overflow:hidden;
}
.ad-banner a{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}
.ad-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.ad-banner-text{
    font-size:18px;
    color:#2b2b2b;
}
.ad-banner-desc{
    font-size:14px;
    color:#666;
    margin-left:12px;
}

/* ========== 页脚（footer.php：版权 / 备案 / 联系邮箱） ==========
   从原来的中性黑居中块，换成品牌深绿收口：与文章页右栏 CTA 卡同色，
   顶部一条橙渐变线呼应文章主卡与栏目标题；左信息、右邮箱两栏。 */
.footer{
    position:relative;
    background:#1F4E3D;
    color:#fff;
    padding:30px 0;
    margin-top:60px;
}
.footer::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:2px;
    background:linear-gradient(to right,
        #EA5F02 0, rgba(234,95,2,.25) 58%, rgba(234,95,2,0) 100%);
}
.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.footer-meta{
    min-width:0;
}
.footer p{
    margin:0;
    line-height:1.8;
    color:rgba(255,255,255,.78);
    font-size:13px;
}
.footer-icp{
    margin-top:5px !important;
    font-size:12px !important;
    color:rgba(255,255,255,.55) !important;
}
.footer p a{
    color:rgba(255,255,255,.9);
    text-decoration:none;
    border-bottom:1px dashed rgba(255,255,255,.35);
}
.footer p a:hover{
    color:#EA5F02;
    border-bottom-color:#EA5F02;
}
.footer-contact{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:4px;
    flex-shrink:0;
}
.footer-contact-label{
    color:rgba(255,255,255,.5);
    font-size:11px;
    letter-spacing:2px;
}
.footer-email{
    color:#fff;
    font-size:14px;
    text-decoration:none;
    border-bottom:1px dashed rgba(255,255,255,.35);
    transition:color .25s ease, border-color .25s ease;
}
a.footer-email:hover{
    color:#EA5F02;
    border-bottom-color:#EA5F02;
}

/* ========== IE 兼容兜底 ========== */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .row-grid, .news-list{
        display:block !important;
    }
    .item-card, .news-item{
        width:100% !important;
        margin-bottom:20px;
    }
    .category-layout{
        display:block !important;
    }
    .category-sidebar{
        width:100% !important;
        margin-bottom:24px;
    }
    /* IE 不支持 grid：上下篇、文章双栏都退回上下堆叠 */
    .post-neighbors{
        display:block !important;
    }
    .post-neighbor{
        display:block !important;
        margin-bottom:12px;
    }
    .post-layout{
        display:block !important;
    }
    .post-primary{
        width:100% !important;
    }
    .post-sidebar{
        position:static !important;
        width:100% !important;
        max-height:none !important;
        margin-top:20px;
    }
}

/* ===== 移动端适配 ===== */
@media(max-width:768px){
    .header-container{
        padding:0 16px;
    }
    .header-row{
        height:auto;
        flex-direction:column;
        padding:16px 0;
        gap:16px;
    }
    .logo img{
        width:auto;
        height:56px;
        max-width:200px;
    }
    .nav-menu{
        gap:16px;
        flex-wrap:wrap;
        justify-content:center;
    }
    .nav-menu a.nav-btn{
        padding:8px 16px;
    }
    /* 小屏缩短位移、取消触屏无意义的悬停上浮；错峰间隔由 JS 同步减半 */
    [data-sy-nav="pending"][data-sy-nav-kind="logo"]{
        transform:translate3d(-8px,0,0);
    }
    [data-sy-nav="pending"][data-sy-nav-kind="item"]{
        transform:translate3d(0,-8px,0);
    }
    .nav-menu a:not(.nav-btn):hover{
        transform:none;
    }
    .nav-menu a.nav-btn:hover{
        transform:none;
        box-shadow:none;
    }

    .img-pc{display:none;}
    .img-m{display:block;}
    .slide-item img{
        height:260px;
    }
    .slide-box{
        max-height:260px;
    }
    .slide-btn{
        width:36px;
        height:36px;
        font-size:18px;
    }

    .row-grid, .news-list{
        grid-template-columns:1fr;
    }
    /* 小屏取消透视变形，缩短位移；错峰间隔由 JS 同步减半 */
    [data-sy-reveal="pending"][data-sy-kind="card"]{
        transform:translate3d(0,22px,0);
    }
    [data-sy-reveal="pending"][data-sy-kind="news"]{
        transform:translate3d(-14px,0,0);
    }
    .category-page{
        padding:28px 16px 12px;
    }
    .category-layout{
        flex-direction:column;
        gap:20px;
    }
    .category-sidebar, .category-main{
        width:100%;
    }
    /* 手机上侧栏是「补充信息」，放到文章列表之后，先让访客看到内容；
       同时压缩高度：描述已在主区标题下出现，这里不再重复。 */
    .category-main{ order:1; }
    .category-sidebar{
        order:2;
        gap:12px;
    }
    .sidebar-box{
        padding:16px;
    }
    .side-desc{
        display:none;
    }
    .side-stats{
        margin-top:12px;
        padding-top:12px;
    }
    .side-block-title{
        margin-bottom:10px;
        padding-bottom:9px;
    }
    /* 子栏目收成横向 pill */
    .sort-sub-nav{
        display:flex;
        flex-wrap:wrap;
        gap:8px;
    }
    .sort-sub-nav li{
        margin-bottom:0;
    }
    .sort-sub-nav li a{
        padding:8px 12px;
        font-size:13px;
    }
    .sort-sub-nav li a:hover{
        transform:none;            /* 触屏不需要横向位移 */
    }
    /* 文章索引小屏只留 3 条，避免侧栏过长 */
    .side-post-list li:nth-child(n+4){
        display:none;
    }
    .side-quick{
        flex-direction:row;
    }
    .side-quick-btn, .side-top-btn{
        flex:1;
        padding:10px 8px;
        font-size:13px;
    }
    .page-title h2{
        font-size:21px;
    }
    .article-item{
        padding:16px 12px 18px;
    }
    .article-title{
        font-size:17px;
    }
    .pager-btn, .pager-num, .pager-jump{
        margin:0 2px;
        padding:8px 10px;
        font-size:13px;
    }
    .pager-num{
        min-width:32px;
        padding:8px 6px;
    }
    /* 小屏缩短位移；错峰间隔由 JS 同步减半 */
    [data-sy-list="pending"][data-sy-list-kind="side"]{
        transform:translate3d(-12px,0,0);
    }
    [data-sy-list="pending"][data-sy-list-kind="item"]{
        transform:translate3d(0,10px,0);
    }

    /* ---- 文章页小屏 ---- */
    .post-page{
        padding:20px 0 40px;
    }
    .post-header{
        padding:24px 20px 20px;
    }
    .post-content{
        padding:22px 20px 28px;
        font-size:15px;
        line-height:1.85;
    }
    .post-title{
        font-size:23px;
    }
    .post-content h2{
        font-size:19px;
    }
    .post-content h3{
        font-size:17px;
    }
    .post-content table{
        display:block;
        overflow-x:auto;
    }
    .post-neighbors{
        grid-template-columns:1fr;
        gap:10px;
        margin-top:16px;
    }
    .post-neighbor-next{
        text-align:left;
        align-items:flex-start;
    }
    a.post-neighbor:hover{
        transform:none;            /* 触屏不需要上浮 */
    }
    .post-actions{
        flex-direction:column;
        align-items:stretch;
        gap:14px;
    }
    .post-action-right{
        justify-content:space-between;
    }
    .post-copy, .post-backtop{
        flex:1;
        text-align:center;
    }
    [data-sy-post="pending"][data-sy-post-kind="main"]{
        transform:translate3d(0,10px,0);
    }
    /* 右栏在小屏变成正文之后的「补充信息」，不再吸顶、不占首屏 */
    .post-layout{
        grid-template-columns:1fr;
        gap:18px;
    }
    .post-sidebar{
        position:static;
        max-height:none;
        overflow:visible;
        gap:12px;
    }
    .post-side-box{
        padding:16px;
    }
    .post-related-list li:nth-child(n+4){
        display:none;              /* 小屏只留 3 条 */
    }
    [data-sy-post="pending"][data-sy-post-kind="side"]{
        transform:translate3d(0,10px,0);
    }
    .post-cta-btn:hover{
        transform:none;
    }

    /* 页脚小屏：左信息、右邮箱改为上下堆叠，左对齐 */
    .footer{
        margin-top:40px;
        padding:24px 0;
    }
    .footer-inner{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }
    .footer-contact{
        align-items:flex-start;
        padding-top:14px;
        border-top:1px solid rgba(255,255,255,.14);
        width:100%;
    }
    .footer-email{
        font-size:13px;
        word-break:break-all;
    }

    .ad-banner{
        height:55px;
        margin:30px auto 40px;
    }
    .ad-banner-text{font-size:15px;}
    .ad-banner-desc{font-size:12px;}
}

/* ==========================================================
   关于我们 / 联系页（page.php）
   全部使用 pa- 私有前缀：模板里已有 .page-title（列表页）、
   .page-content（旧 page.php 内联）、.post-*（文章页），
   同名会互相覆盖成裸样式，这里彻底隔离。
   ========================================================== */
.pa-page{
    background:#faf9f5;
    padding:28px 0 0;
    min-height:60vh;
}
.pa-crumb{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:22px;
    font-size:13px;
    color:#999;
}
.pa-crumb a{
    color:#666;
    text-decoration:none;
    transition:color .25s ease;
}
.pa-crumb a:hover{ color:#EA5F02; }
.pa-crumb-sep{ color:#ccc; }
.pa-crumb span:last-child{ color:#1F4E3D; }

.pa-layout{
    display:grid;
    grid-template-columns:250px minmax(0,1fr);
    gap:24px;
    align-items:start;
    padding-bottom:60px;
}
.pa-sidebar{
    position:sticky;
    top:96px;                 /* 避开 80px 吸顶页头 */
    display:flex;
    flex-direction:column;
    gap:16px;
    min-width:0;              /* 横向选项卡不能把 grid 列撑破 */
    max-height:calc(100vh - 120px);
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:#e0e0dc transparent;
}
.pa-sidebar::-webkit-scrollbar{ width:4px; }
.pa-sidebar::-webkit-scrollbar-thumb{ background:#e0e0dc; border-radius:4px; }

.pa-side-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:10px;
    padding:18px 16px 14px;
    box-shadow:0 2px 14px rgba(31,78,61,.05);
}
.pa-side-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:0 0 12px;
    padding:0 0 11px 11px;
    border-left:3px solid #EA5F02;
    border-bottom:1px solid #f0f0f0;
    font-size:14px;
    font-weight:500;
    color:#2b2b2b;
    letter-spacing:1px;
}
.pa-side-count{
    min-width:22px;
    padding:2px 6px;
    border-radius:20px;
    background:#f5f5f3;
    color:#999;
    font-size:11px;
    font-weight:400;
    text-align:center;
}
.pa-tabs{ list-style:none; margin:0; padding:0; }
.pa-tabs li{ margin:0; }
.pa-tabs a{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    padding:11px 10px 11px 12px;
    border-radius:6px;
    color:#555;
    text-decoration:none;
    font-size:14px;
    line-height:1.5;
    transition:background .28s ease, color .28s ease, transform .28s ease;
}
.pa-tabs a::before{
    content:'';
    position:absolute;
    left:0; top:50%;
    width:3px; height:0;
    border-radius:3px;
    background:#EA5F02;
    transform:translateY(-50%);
    transition:height .3s cubic-bezier(.22,.61,.36,1);
}
.pa-tabs a:hover{
    background:#faf7f3;
    color:#EA5F02;
    transform:translateX(3px);
}
.pa-tabs a:hover::before{ height:18px; }
.pa-tabs li.is-current > a{
    background:#fdf1e8;
    color:#EA5F02;
    font-weight:600;
}
.pa-tabs li.is-current > a::before{ height:22px; }
.pa-tab-no{
    flex:none;
    color:#bbb;
    font-size:11px;
    letter-spacing:.5px;
    font-variant-numeric:tabular-nums;
}
.pa-tabs li.is-current .pa-tab-no,
.pa-tabs a:hover .pa-tab-no{ color:#EA5F02; }
.pa-tab-txt{ flex:1; min-width:0; }
.pa-tab-arrow{ flex:none; font-size:12px; opacity:.55; }

/* 左侧深绿行动卡：与文章页右栏 CTA 同色 */
.pa-cta{
    background:#1F4E3D;
    border-radius:10px;
    padding:20px 18px;
    color:#fff;
    box-shadow:0 6px 20px rgba(31,78,61,.14);
}
.pa-cta-eyebrow{
    display:block;
    color:rgba(255,255,255,.55);
    font-size:11px;
    letter-spacing:3px;
    margin-bottom:10px;
}
.pa-cta h3{ margin:0 0 8px; font-size:19px; font-weight:500; }
.pa-cta p{ margin:0 0 16px; font-size:12px; line-height:1.7; color:rgba(255,255,255,.72); }
.pa-cta-btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 14px;
    border-radius:4px;
    background:#EA5F02;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    transition:transform .28s ease, box-shadow .28s ease;
}
.pa-cta-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,.18);
}

/* ---- 主内容 ---- */
.pa-main{ min-width:0; display:flex; flex-direction:column; gap:20px; }
.pa-card{
    position:relative;
    background:#fff;
    border:1px solid #ececec;
    border-radius:12px;
    padding:30px 34px 34px;
    box-shadow:0 2px 16px rgba(31,78,61,.05);
    overflow:hidden;
}
.pa-card::before{
    content:'';
    position:absolute;
    left:0; right:0; top:0;
    height:3px;
    background:linear-gradient(to right,#EA5F02 0,rgba(234,95,2,.28) 46%,rgba(234,95,2,0) 92%);
}
.pa-card-head{ margin-bottom:22px; }
.pa-eyebrow{
    display:block;
    color:#EA5F02;
    font-size:11px;
    letter-spacing:3px;
    margin-bottom:10px;
}
.pa-title{
    margin:0 0 10px;
    font-size:30px;
    font-weight:600;
    line-height:1.35;
    color:#2b2b2b;
    letter-spacing:.5px;
}
.pa-intro{
    margin:0;
    padding-top:14px;
    border-top:1px solid #f0f0ee;
    color:#888;
    font-size:14px;
    line-height:1.8;
}
.pa-body{
    font-size:15px;
    line-height:1.95;
    color:#444;
    word-wrap:break-word;
}
.pa-body p{ margin:0 0 16px; }
.pa-body h2,.pa-body h3,.pa-body h4{ color:#2b2b2b; line-height:1.5; }
.pa-body h2{
    font-size:21px; margin:26px 0 14px;
    padding-left:12px; border-left:3px solid #EA5F02;
}
.pa-body h3{ font-size:17px; margin:22px 0 10px; }
.pa-body h4{ font-size:15px; margin:18px 0 8px; }
.pa-body ul,.pa-body ol{ margin:0 0 16px; padding-left:22px; }
.pa-body li{ margin-bottom:7px; }
.pa-body li::marker{ color:#EA5F02; }
.pa-body a{ color:#EA5F02; text-decoration:none; border-bottom:1px solid rgba(234,95,2,.35); }
.pa-body a:hover{ border-bottom-color:#EA5F02; }
.pa-body img{
    max-width:100%; height:auto;
    border-radius:8px;
    box-shadow:0 3px 14px rgba(0,0,0,.07);
}
.pa-body blockquote{
    margin:18px 0; padding:12px 18px;
    border-left:3px solid #EA5F02;
    background:#faf9f5;
    border-radius:0 6px 6px 0;
    color:#666;
}
.pa-body table{ width:100%; border-collapse:collapse; margin:16px 0; font-size:14px; }
.pa-body th,.pa-body td{ border:1px solid #ececec; padding:9px 12px; text-align:left; }
.pa-body th{ background:#faf9f5; color:#1F4E3D; font-weight:600; }
.pa-body code{
    padding:2px 6px; border-radius:3px;
    background:#f5f5f3; color:#c7541a; font-size:13px;
}
.pa-body hr{ border:0; border-top:1px solid #eee; margin:24px 0; }
.pa-empty-hint{
    padding:18px 20px;
    border:1px dashed #e0e0dc;
    border-radius:8px;
    background:#faf9f5;
    color:#999;
    font-size:14px;
}

/* 面板：默认全部平铺可见（JS 未加载时内容不丢）。
   JS 初始化后给容器加 data-pa-ready，才隐藏非当前面板。 */
.pa-panel{ margin:0; }
.pa-panel + .pa-panel{ margin-top:28px; padding-top:24px; border-top:1px solid #f0f0ee; }
.pa-panel-h{
    margin:0 0 14px;
    font-size:19px; font-weight:600; color:#2b2b2b;
}
.pa-panels[data-pa-ready] .pa-panel{ display:none; margin:0; padding:0; border:0; }
.pa-panels[data-pa-ready] .pa-panel.is-active{ display:block; }
.pa-panels[data-pa-ready] .pa-panel-h{ display:none; }
/* 切到子栏目时隐藏「本页导语」由 home.js 直接控制 #paIntro，避免用无效后代选择器 */

/* ---- 联系信息四格 ---- */
.pa-info,.pa-values{
    background:#fff;
    border:1px solid #ececec;
    border-radius:12px;
    padding:24px 26px 26px;
    box-shadow:0 2px 14px rgba(31,78,61,.05);
}
.pa-block-title{
    margin:0 0 18px;
    padding:0 0 12px 11px;
    border-left:3px solid #EA5F02;
    border-bottom:1px solid #f0f0f0;
    font-size:16px;
    font-weight:600;
    color:#2b2b2b;
    letter-spacing:1px;
}
.pa-info-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.pa-info-item{
    position:relative;
    padding:14px 16px 14px 20px;
    border-radius:8px;
    background:#faf9f5;
    border:1px solid #f0f0ec;
    transition:border-color .28s ease, transform .28s ease;
}
.pa-info-item::before{
    content:'';
    position:absolute; left:0; top:14px; bottom:14px;
    width:3px; border-radius:3px; background:#EA5F02;
    opacity:.45;
    transition:opacity .28s ease;
}
.pa-info-item:hover{ border-color:rgba(234,95,2,.3); transform:translateY(-2px); }
.pa-info-item:hover::before{ opacity:1; }
.pa-info-label{
    display:block; margin-bottom:6px;
    color:#999; font-size:12px; letter-spacing:1px;
}
.pa-info-value{
    display:block;
    color:#333; font-size:15px; line-height:1.6;
    word-break:break-all;
    text-decoration:none;
}
a.pa-info-value{ color:#1F4E3D; border-bottom:1px dashed rgba(31,78,61,.3); }
a.pa-info-value:hover{ color:#EA5F02; border-bottom-color:#EA5F02; }

/* ---- 企业文化速览 ---- */
.pa-values-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.pa-value-card{
    position:relative;
    padding:20px 18px;
    border:1px solid #f0f0ec;
    border-radius:8px;
    background:#faf9f5;
    transition:transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
.pa-value-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 22px rgba(31,78,61,.08);
}
.pa-value-dot{
    display:block; width:18px; height:3px;
    border-radius:3px; background:#EA5F02;
    margin-bottom:14px;
}
.pa-value-card h3{
    margin:0 0 8px;
    font-size:17px; font-weight:600; color:#1F4E3D;
}
.pa-value-card p{ margin:0; font-size:13px; line-height:1.8; color:#777; }

/* ---- 二维码 / 地图 / 操作条 ---- */
.pa-extra{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    background:#fff;
    border:1px solid #ececec;
    border-radius:12px;
    padding:20px 24px;
    box-shadow:0 2px 14px rgba(31,78,61,.05);
}
.pa-qr-box{ display:flex; align-items:center; gap:16px; }
.pa-qr-box img{
    width:88px; height:88px; object-fit:contain;
    border:1px solid #eee; border-radius:6px; background:#fff; padding:4px;
}
.pa-qr-box h3{ margin:0 0 6px; font-size:16px; font-weight:600; color:#1F4E3D; }
.pa-qr-box p{ margin:0; font-size:12px; color:#999; line-height:1.7; }
.pa-map-btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:10px 18px; border-radius:4px;
    border:1px solid #1F4E3D;
    color:#1F4E3D; text-decoration:none; font-size:14px;
    transition:background .28s ease, color .28s ease, transform .28s ease;
}
.pa-map-btn:hover{ background:#1F4E3D; color:#fff; transform:translateY(-2px); }

.pa-actions{
    display:flex; flex-wrap:wrap; gap:10px;
    padding-top:4px;
}
.pa-btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding:9px 16px;
    border:1px solid #e0e0dc; border-radius:5px;
    background:#fff; color:#666;
    font:13px/1.4 inherit; text-decoration:none;
    cursor:pointer;
    transition:border-color .25s ease, color .25s ease, transform .25s ease;
}
.pa-btn:hover{ border-color:#EA5F02; color:#EA5F02; transform:translateY(-2px); }

/* ---- 进场动效（data-pa 私有属性，不与其它模块冲突） ---- */
[data-pa="pending"]{
    opacity:0;
    transform:translate3d(0,14px,0);
    transition:opacity .7s cubic-bezier(.22,.61,.36,1) var(--pa-d,0ms),
               transform .7s cubic-bezier(.22,.61,.36,1) var(--pa-d,0ms);
}
[data-pa="pending"][data-pa-kind="side"]{
    transform:translate3d(-16px,0,0);
}
[data-pa="in"]{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
    [data-pa="pending"],
    [data-pa="pending"][data-pa-kind="side"]{
        opacity:1; transform:none; transition:none;
    }
    .pa-tabs a:hover, .pa-info-item:hover, .pa-value-card:hover,
    .pa-cta-btn:hover, .pa-map-btn:hover, .pa-btn:hover{ transform:none; }
}

/* ---- 移动端：选项卡变横向 chips，侧栏不吸顶 ---- */
@media (max-width:768px){
    .pa-page{ padding-top:20px; }
    .pa-layout{
        grid-template-columns:minmax(0,1fr);
        gap:16px;
        padding-bottom:40px;
    }
    .pa-sidebar{
        position:static;
        max-height:none;
        overflow:visible;
        gap:12px;
        min-width:0;
    }
    .pa-side-box{ padding:14px 12px; min-width:0; }
    .pa-tabs{
        display:flex;
        gap:8px;
        overflow-x:auto;
        max-width:100%;
        min-width:0;
        padding-bottom:4px;
        -webkit-overflow-scrolling:touch;
    }
    .pa-tabs li{ flex:none; }
    .pa-tabs a{
        padding:8px 12px;
        border:1px solid #eee;
        border-radius:20px;
        font-size:13px;
        white-space:nowrap;
    }
    .pa-tabs a::before{ display:none; }
    .pa-tabs a:hover{ transform:none; background:#faf7f3; }
    .pa-tab-no{ display:none; }
    .pa-cta{ padding:16px; }
    .pa-cta-btn:hover{ transform:none; }
    .pa-card{ padding:22px 18px 24px; }
    .pa-title{ font-size:24px; }
    .pa-info,.pa-values{ padding:18px 16px 20px; }
    .pa-info-grid{ grid-template-columns:minmax(0,1fr); }
    .pa-values-grid{ grid-template-columns:minmax(0,1fr); }
    .pa-value-card:hover{ transform:none; }
    .pa-extra{ padding:16px; }
    .pa-map-btn:hover{ transform:none; }
    .pa-btn:hover{ transform:none; }
    [data-pa="pending"],
    [data-pa="pending"][data-pa-kind="side"]{
        transform:translate3d(0,10px,0);
    }
}

/* ---- IE 兜底：不支持 grid 时上下堆叠 ---- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){
    .pa-layout,.pa-info-grid,.pa-values-grid{ display:block !important; }
    .pa-sidebar,.pa-info-item,.pa-value-card{
        width:100% !important; margin-bottom:14px !important;
    }
    .pa-sidebar{ position:static !important; }
}
