/**
 * 最新消息：列表（麵包屑／雙欄卡片）＋單篇內頁
 */
body.wx-page-news .wx-static-main {
    max-width: 1164px;
}

.wx-news-page {
    width: 100%;
    box-sizing: border-box;
}

.wx-news-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pos-text-color, #334155);
}

.wx-news-crumb a {
    color: var(--pos-text-color, #334155);
    text-decoration: none;
}

.wx-news-crumb a:hover {
    color: var(--pos-highlight, var(--button-color, #778ca3));
    text-decoration: underline;
}

.wx-news-crumb__sep {
    color: #94a3b8;
    font-weight: 500;
}

.wx-news-crumb__current {
    color: var(--pos-text-color, #0f172a);
    font-weight: 800;
}

.wx-news-heading {
    margin: 0 0 28px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.25;
    color: var(--pos-text-color, #0f172a);
}

.wx-news-empty {
    color: #64748b;
    font-size: 15px;
    padding: 24px 0;
}

.wx-news-page .wx-news-empty {
    margin: 0;
    padding: 56px 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}

.wx-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
}

.wx-news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.wx-news-card__cover {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2f6;
}

.wx-news-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.wx-news-card:hover .wx-news-card__cover img {
    transform: scale(1.06);
}

.wx-news-card__cover--empty {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.wx-news-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 20px;
    min-width: 0;
}

.wx-news-card__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--pos-text-color, #0f172a);
}

.wx-news-card:hover .wx-news-card__title {
    color: var(--pos-highlight, var(--button-color, var(--primary-color, #587493)));
}

.wx-news-card__excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wx-news-card__date {
    margin-top: auto;
    padding-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .wx-news-heading {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .wx-news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.wx-news-back {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--button-color, var(--primary-color, #587493));
    text-decoration: none;
}

.wx-news-back:hover {
    text-decoration: underline;
}

.wx-news-detail-date {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    margin: -8px 0 16px;
}

.wx-news-detail-cover {
    margin: 0 0 20px;
    border-radius: 14px;
    overflow: hidden;
}

.wx-news-detail-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.wx-news-detail-content {
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
    white-space: normal;
}

.wx-news-detail-content--rich img,
.wx-news-detail-content--rich video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: 10px;
}

.wx-news-detail-content--rich iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 16px auto;
    border: 0;
    border-radius: 10px;
}

.wx-news-detail-content--rich p[align="center"],
.wx-news-detail-content--rich [align="center"] {
    text-align: center;
}

.wx-news-detail-content--rich p[align="right"],
.wx-news-detail-content--rich [align="right"] {
    text-align: right;
}

.wx-news-detail-content--rich p[align="left"],
.wx-news-detail-content--rich [align="left"] {
    text-align: left;
}

.wx-news-detail-content--rich u {
    text-decoration: underline;
}

.wx-news-detail-content--rich small {
    color: #64748b;
    font-size: 13px;
}

.wx-news-detail-content--rich ul,
.wx-news-detail-content--rich ol {
    margin: 10px 0 10px 1.25em;
    padding: 0;
}

.wx-news-detail-content--rich li {
    margin-bottom: 6px;
}

.wx-news-detail-content--rich a {
    color: var(--pos-highlight, var(--button-color, #587493));
    text-decoration: underline;
}

.wx-news-detail-content--rich a:hover {
    filter: brightness(0.9);
}
