/** 列表页专用样式，避免影响首页 */
:root {
    --list-theme: #07699c;
    --list-theme-dark: #055a85;
    --list-theme-light: rgba(7, 105, 156, 0.12);
    --list-header-gradient: linear-gradient(
        180deg,
        rgba(5, 90, 133, 0.92) 0%,
        rgba(7, 105, 156, 0.78) 42%,
        rgba(7, 105, 156, 0.38) 72%,
        rgba(7, 105, 156, 0) 100%
    );
}

/* 列表页：顶栏样式见 nav.vsb.css */
body.list-page {
    padding-top: 0 !important;
}

/* 大图 Hero 区 */
body.list-page .list-hero {
    position: relative;
    z-index: 1;
}
body.list-page .list-main {
    position: relative;
    padding: 0 0 60px;
    background: #f7f9fb;
    z-index: 2;
}
body.list-page .list-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
body.list-page .list-wrap .clear {
    clear: both;
}

/* 默认隐藏左侧栏目导航；仅太工新闻等带 --with-nav 的列表页显示 */
body.list-page .list-side-nav {
    display: none;
}

/* 太工新闻：左侧栏目导航 + 右侧列表 */
body.list-page.list-page--with-nav .list-wrap {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-top: 28px;
}
body.list-page.list-page--with-nav .list-side-nav {
    display: block;
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
body.list-page.list-page--with-nav .list-side-nav-home {
    display: block;
    padding: 16px 18px;
    background: var(--list-theme);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.06em;
    transition: background 0.25s;
}
body.list-page.list-page--with-nav .list-side-nav-home:hover {
    background: var(--list-theme-dark);
    color: #fff;
}
body.list-page.list-page--with-nav .list-side-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
body.list-page.list-page--with-nav .list-side-nav li {
    border-bottom: 1px solid #eceff3;
}
body.list-page.list-page--with-nav .list-side-nav li:last-child {
    border-bottom: none;
}
body.list-page.list-page--with-nav .list-side-nav li a {
    position: relative;
    display: block;
    padding: 14px 36px 14px 18px;
    font-size: 15px;
    line-height: 1.4;
    color: #555;
    transition: color 0.25s, background 0.25s;
}
body.list-page.list-page--with-nav .list-side-nav li a:hover {
    color: var(--list-theme);
    background: rgba(7, 105, 156, 0.06);
}
body.list-page.list-page--with-nav .list-side-nav li.on {
    background: rgba(7, 105, 156, 0.08);
}
body.list-page.list-page--with-nav .list-side-nav li.on a {
    color: var(--list-theme);
    font-weight: 700;
}
body.list-page.list-page--with-nav .list-side-nav li.on a::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--list-theme);
    border-right: 2px solid var(--list-theme);
    transform: translateY(-50%) rotate(45deg);
}
body.list-page.list-page--with-nav .ny-right {
    flex: 1;
    min-width: 0;
    width: auto;
}

/* 横向栏目图标（内容区宽度） */
body.list-page .list-chan-icons {
    width: 100%;
    margin-bottom: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    overflow: hidden;
}
body.list-page .list-chan-icons ul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.list-page .list-chan-icons li {
    flex: 1;
    min-width: 0;
    list-style: none;
    border-right: 1px solid rgba(7, 105, 156, 0.1);
}
body.list-page .list-chan-icons li:last-child {
    border-right: none;
}
body.list-page .list-chan-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 8px 16px;
    color: #555;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
body.list-page .list-chan-icons .list-chan-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--list-theme-light);
    transition: background 0.25s, transform 0.25s;
}
body.list-page .list-chan-icons .list-chan-ico i {
    font-size: 22px;
    color: var(--list-theme);
    line-height: 1;
}
body.list-page .list-chan-icons .list-chan-txt {
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
body.list-page .list-chan-icons li:hover a,
body.list-page .list-chan-icons li.on a {
    color: var(--list-theme);
    background: rgba(7, 105, 156, 0.06);
}
body.list-page .list-chan-icons li:hover .list-chan-ico,
body.list-page .list-chan-icons li.on .list-chan-ico {
    background: var(--list-theme);
    transform: translateY(-2px);
}
body.list-page .list-chan-icons li:hover .list-chan-ico i,
body.list-page .list-chan-icons li.on .list-chan-ico i {
    color: #fff;
}
body.list-page .list-chan-icons li.on .list-chan-txt {
    font-weight: 600;
}

/* 栏目横图（位于顶栏下方叠层） */
body.list-page .list-chan-banner {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}
body.list-page .list-chan-banner-inner {
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-radius: 0;
}
body.list-page .list-chan-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px;
}
body.list-page .list-chan-banner-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
body.list-page .list-chan-banner-deco::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 105, 156, 0.35) 0%, rgba(7, 105, 156, 0.08) 38%, rgba(7, 105, 156, 0.02) 100%),
        linear-gradient(120deg, rgba(7, 105, 156, 0.28) 0%, rgba(7, 105, 156, 0.08) 42%, rgba(255, 255, 255, 0.04) 100%);
}

/* 右侧内容区 */
body.list-page .list-main .ny-right {
    float: none;
    width: 100%;
    min-height: 400px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 0 24px 30px;
}

/* 位置栏 */
body.list-page .list-main .position > div {
    position: relative;
    text-align: right;
    font-size: 0;
    line-height: 66px;
    border-bottom: 1px solid #d2d2d2;
}
body.list-page .list-main .position h3 {
    position: absolute;
    font-size: 28px;
    font-weight: bold;
    text-align: left;
    bottom: 0;
    left: 0;
    margin: 0;
    color: var(--list-theme);
}
body.list-page .list-main .position h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--list-theme);
    margin-top: 8px;
}
body.list-page .list-main .position span,
body.list-page .list-main .position a {
    font-size: .16rem;
    color: #888;
    margin: 0 5px;
    vertical-align: middle;
}
body.list-page .list-main .position a:hover {
    color: var(--list-theme);
}

/* 通栏文字列表（无配图） */
body.list-page .list-main .tw ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
body.list-page .list-main .tw ul li {
    list-style: none;
}
/* 默认每页显示 10 条 */
body.list-page .list-main .tw ul li:nth-child(n+11) {
    display: none;
}
body.list-page .list-main .tw ul li a {
    display: block;
    padding: 20px 12px;
    border-bottom: 1px dashed rgba(7, 105, 156, 0.16);
    transition: background-color 0.28s ease, box-shadow 0.28s ease;
}
body.list-page .list-main .tw ul li:last-child a {
    border-bottom: none;
}
body.list-page .list-main .tw ul li a .tw-meta {
    display: none !important;
}
body.list-page .list-main .tw ul li a .tw-tx {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 24px;
    row-gap: 8px;
    align-items: start;
    overflow: hidden;
    padding: 0;
}
/* 日期块：对齐首页太工新闻列表 */
body.list-page .list-main .tw ul li a .tw-tx .news-date {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 72px;
    height: auto;
    min-height: 72px;
    margin: 2px 0 0;
    padding: 10px 6px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, rgba(7, 105, 156, 0.1) 0%, rgba(7, 105, 156, 0.04) 100%);
    border: 1px solid rgba(7, 105, 156, 0.12);
    border-radius: 6px;
    box-shadow: none;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
body.list-page .list-main .tw ul li a .tw-tx .news-date-day {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: #07699c;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}
body.list-page .list-main .tw ul li a .tw-tx .news-date-day::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    margin: 7px auto 6px;
    background: linear-gradient(90deg, transparent, rgba(7, 105, 156, 0.55), transparent);
    border-radius: 1px;
}
body.list-page .list-main .tw ul li a .tw-tx .news-date-ym {
    font-size: 13px;
    line-height: 1;
    color: rgba(7, 105, 156, 0.72);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    letter-spacing: 0.02em;
}
body.list-page .list-main .tw ul li a .tw-tx .news-date-ym::after {
    content: "月";
    margin-left: 1px;
    font-size: 11px;
    font-weight: 400;
    color: rgba(7, 105, 156, 0.55);
}
body.list-page .list-main .tw ul li a .tw-tx h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: .2rem;
    font-weight: 400;
    line-height: 1.45;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
    color: #222;
    transition: color 0.28s ease;
}
/* 太工新闻：置顶第一条标题加粗 */
body.list-page .list-main .tw ul li.news-top a .tw-tx h3 {
    font-weight: 700;
}
body.list-page .list-main .tw ul li a .tw-tx .date-m {
    display: none;
}
body.list-page .list-main .tw ul li a .tw-tx p {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    line-height: 1.7;
    max-height: calc(1.7em * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
    color: #888;
    transition: color 0.28s ease;
}
body.list-page .list-main .tw ul li:hover a {
    background-color: #f5f6fa;
    box-shadow: inset 3px 0 0 var(--list-theme);
}
body.list-page .list-main .tw ul li:hover a .news-date {
    background: linear-gradient(165deg, rgba(7, 105, 156, 0.16) 0%, rgba(7, 105, 156, 0.07) 100%);
    border-color: rgba(7, 105, 156, 0.28);
    transform: translateY(-1px);
}
body.list-page .list-main .tw ul li:hover a .tw-tx h3 {
    color: var(--list-theme);
}
body.list-page .list-main .tw ul li:hover a .tw-tx p {
    color: #666;
}

/* 分页（主题色 #07699c） */
body.list-page .list-main .pages {
    padding-top: 30px;
    text-align: center;
}
body.list-page .list-main .pb_sys_common .p_pages {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
body.list-page .list-main .pb_sys_common .p_fun a,
body.list-page .list-main .pb_sys_common .p_no a,
body.list-page .list-main .pb_sys_common .p_no_d,
body.list-page .list-main .pb_sys_common .p_fun_d,
body.list-page .list-main .pb_sys_common .p_t {
    display: inline-block;
    border: 1px solid #07699c;
    padding: 0 12px;
    height: 35px;
    font-size: 14px;
    line-height: 33px;
    text-align: center;
    color: #07699c;
    margin: 0;
    border-radius: 3px;
    background: #fff;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
body.list-page .list-main .pb_sys_common .p_t {
    border-color: transparent;
    background: transparent;
    color: #888;
    padding: 0 8px;
}
body.list-page .list-main .pb_sys_common .p_no_d {
    background: #07699c;
    color: #fff;
    border-color: #07699c;
    font-weight: 600;
}
body.list-page .list-main .pb_sys_common .p_fun_d {
    color: #bbb;
    border-color: #e0e0e0;
    background: #f7f7f7;
    cursor: default;
}
body.list-page .list-main .pb_sys_common .p_no a {
    color: #07699c;
}
body.list-page .list-main .pb_sys_common .p_fun a,
body.list-page .list-main .pb_sys_common .p_no a {
    text-decoration: none;
}
body.list-page .list-main .pb_sys_common .p_fun a:hover,
body.list-page .list-main .pb_sys_common .p_no a:hover {
    background: #07699c;
    color: #fff;
    border-color: #07699c;
}
body.list-page .list-main .pb_sys_common .p_dot {
    border: none;
    background: transparent;
    color: #07699c;
    padding: 0 4px;
    min-width: auto;
    height: auto;
    line-height: 1;
}

@media screen and (max-width: 980px) {
    body.list-page .list-main {
        padding: 0 0 32px;
        background: #f7f9fb;
    }
    body.list-page .list-wrap {
        max-width: none;
        padding: 0;
    }
    /* 移动端隐藏左侧栏目导航，列表恢复通栏 */
    body.list-page.list-page--with-nav .list-wrap {
        display: block;
        padding-top: 0;
        gap: 0;
    }
    body.list-page.list-page--with-nav .list-side-nav {
        display: none !important;
    }
    body.list-page.list-page--with-nav .ny-right {
        width: 100%;
    }
    body.list-page .list-chan-icons ul {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    body.list-page .list-chan-icons ul::-webkit-scrollbar {
        display: none;
    }
    body.list-page .list-chan-icons li {
        flex: 0 0 auto;
        min-width: 88px;
        border-right: none;
        scroll-snap-align: start;
    }
    body.list-page .list-chan-icons a {
        padding: 14px 10px 12px;
        gap: 6px;
    }
    body.list-page .list-chan-icons .list-chan-ico {
        width: 42px;
        height: 42px;
    }
    body.list-page .list-chan-icons .list-chan-ico i {
        font-size: 20px;
    }
    body.list-page .list-chan-icons .list-chan-txt {
        font-size: 12px;
    }
    body.list-page .list-chan-banner {
        margin: 0;
        overflow: hidden;
        line-height: 0;
    }
    body.list-page .list-chan-banner img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        min-height: 0;
        aspect-ratio: 750 / 280;
    }
    body.list-page .list-main .ny-right {
        float: none;
        width: 100%;
        box-sizing: border-box;
        padding: 0 6px 16px;
        box-shadow: none;
        background: #fff;
    }
    body.list-page .list-main .position h3 {
        display: none;
    }
    body.list-page .list-main .position > div {
        line-height: 1.6;
        text-align: left;
        font-size: 0;
        border-bottom: 1px solid #e5e5e5;
        padding: 10px 2px;
    }
    body.list-page .list-main .position span,
    body.list-page .list-main .position a {
        font-size: .16rem;
    }
    /* 移动端：通栏文字列表，无配图 */
    body.list-page .list-main .tw ul {
        padding: 2px 8px 0;
    }
    body.list-page .list-main .tw ul li:nth-child(n+7) {
        display: list-item;
    }
    body.list-page .list-main .tw ul li:nth-child(n+11) {
        display: none !important;
    }
    body.list-page .list-main .tw ul li a {
        display: block;
        padding: 14px 6px;
        border-bottom: 1px dashed rgba(7, 105, 156, 0.16);
        box-shadow: none;
    }
    body.list-page .list-main .tw ul li:last-child a {
        border-bottom: none;
    }
    body.list-page .list-main .tw ul li a .tw-meta {
        display: none !important;
    }
    body.list-page .list-main .tw ul li a .tw-tx {
        display: block;
        padding: 0;
        overflow: visible;
    }
    body.list-page .list-main .tw ul li a .tw-tx .date {
        display: none !important;
    }
    body.list-page .list-main .tw ul li a .tw-tx h3 {
        font-size: .18rem;
        line-height: 1.5;
        font-weight: normal;
        margin: 0;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #333;
    }
    body.list-page .list-main .tw ul li.news-top a .tw-tx h3 {
        font-weight: 700;
    }
    body.list-page .list-main .tw ul li a .tw-tx .date-m {
        display: block;
        margin-top: 8px;
        padding: 0;
        font-size: 13px;
        line-height: 1.4;
        color: #07699c;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }
    body.list-page .list-main .tw ul li a .tw-tx p {
        display: none !important;
    }
    body.list-page .list-main .tw ul li:hover a {
        background-color: transparent;
        box-shadow: none;
    }
    body.list-page .list-main .tw ul li:hover a .tw-tx .date-m {
        color: #055a85;
    }
    body.list-page .list-main .tw ul li:hover a .tw-tx h3 {
        color: var(--list-theme);
    }
    /* 移动端简化翻页 */
    body.list-page .list-main .pages-m {
        padding-top: 20px;
    }
    body.list-page .list-main .pb_sys_simple .p_pages {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    body.list-page .list-main .pb_sys_simple .p_fun a,
    body.list-page .list-main .pb_sys_simple .p_fun_d {
        display: inline-block;
        border: 1px solid #07699c;
        padding: 0 16px;
        height: 36px;
        font-size: 14px;
        line-height: 34px;
        text-align: center;
        border-radius: 3px;
        min-width: 64px;
        transition: background 0.25s, color 0.25s, border-color 0.25s;
    }
    body.list-page .list-main .pb_sys_simple .p_fun a {
        color: #07699c;
        background: #fff;
        text-decoration: none;
    }
    body.list-page .list-main .pb_sys_simple .p_fun a:hover {
        background: #07699c;
        color: #fff;
        border-color: #07699c;
    }
    body.list-page .list-main .pb_sys_simple .p_fun_d {
        color: #bbb;
        border-color: #e0e0e0;
        background: #f7f7f7;
        cursor: default;
    }

    /* 移动版页脚：仅保留版权区，隐藏 foot-main */
    body.list-page .footer.ind .foot-main {
        display: none !important;
    }
}

@media screen and (max-width: 640px) {
    body.list-page .list-main .ny-right {
        padding: 0 6px 12px;
    }
    body.list-page .list-main .tw ul {
        padding: 2px 6px 0;
    }
    body.list-page .list-main .tw ul li a {
        padding: 12px 2px;
    }
    body.list-page .list-main .tw ul li a .tw-tx .date-m {
        margin-top: 5px;
        font-size: 13px;
    }
    body.list-page .list-main .tw ul li a .tw-tx h3 {
        font-size: .18rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    body.list-page .list-main .position > div {
        font-size: 0;
        line-height: 1.8;
    }
    body.list-page .list-main .position span,
    body.list-page .list-main .position a {
        font-size: .16rem;
    }
    body.list-page .list-main .pages.pc-show {
        padding: 0 8px;
    }
    body.list-page .list-main .pb_sys_common.pb_sys_normal .p_dot {
        display: none;
    }
}

/* 返回顶部（与内容页移动版一致：圆形按钮 + 向上箭头） */
body.list-page .totop {
    width: .4rem;
    height: .4rem;
    background: #07699c;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: .2rem;
    bottom: 20%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s, visibility 0.8s, background 0.3s;
    z-index: 9998;
    cursor: pointer;
    border-radius: 50%;
}
body.list-page .totop.active {
    opacity: 1;
    visibility: visible;
}
body.list-page .totop:hover {
    background: #055a85;
}
body.list-page .totop img {
    display: none;
}
body.list-page .totop .totop-arrow {
    display: block;
    width: .12rem;
    height: .12rem;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: .04rem;
    flex-shrink: 0;
    box-sizing: border-box;
}