/* 公告/新闻列表 —— 原 welfare/PublicWelfare.vue 与 news/NewsCenter.vue 共用布局 */
.welfare-page { padding-top: 0; }

/* 对齐原版 PublicWelfare.vue / NewsCenter.vue：满幅出血 banner + 深蓝底兜底 */
.welfare-page .banner {
    width: 100%; height: 400px; overflow: hidden;
    padding: 0; background: #1a1a2e;
}
.welfare-page .banner img { width: 100%; height: 100%; object-fit: cover; }

.welfare-page .content {
    max-width: 1200px; margin: 0 auto; padding: 60px 20px 120px;
}

.welfare-page .title-section { text-align: center; margin-bottom: 60px; }
.welfare-page .title-section h1 { font-size: 36px; color: #333; margin-bottom: 15px; }
.welfare-page .title-section .line {
    width: 48px; height: 2px; background: var(--gold-500); margin: 0 auto 15px;
}
.welfare-page .title-section .english { font-size: 14px; color: #999; letter-spacing: 0.24em; }

.welfare-page .news-list .news-item {
    display: flex; gap: 40px; padding: 30px;
    background: #fff; border-radius: 12px; margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer; transition: all 0.3s;
}
.welfare-page .news-list .news-item:hover {
    transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.welfare-page .news-image {
    flex: 0 0 300px; height: 200px; overflow: hidden; border-radius: 8px;
}
.welfare-page .news-image img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s;
}
.welfare-page .news-item:hover .news-image img { transform: scale(1.08); }
.welfare-page .news-info { flex: 1; display: flex; flex-direction: column; }
.welfare-page .news-info h3 {
    font-size: 22px; color: #333; margin-bottom: 12px; line-height: 1.4;
}
.welfare-page .news-meta { display: flex; gap: 20px; margin-bottom: 15px; }
.welfare-page .news-meta span { font-size: 14px; color: #999; }
.welfare-page .summary {
    flex: 1; font-size: 15px; color: #666; line-height: 1.8;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.welfare-page .more-link { color: var(--gold-600); font-size: 14px; margin-top: 10px; }
.welfare-page .more-link:hover { text-decoration: underline; }

.welfare-page .empty-state { padding: 60px; text-align: center; color: #999; }

/* 分页（对应原 el-pagination） */
.pagination-wrap {
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
    gap: 8px; margin-top: 40px; padding-bottom: 40px;
}
.pagination-wrap .pg-total { margin-right: 15px; font-size: 14px; color: #666; }
.pagination-wrap .pg-btn {
    min-width: 36px; height: 36px; line-height: 34px; padding: 0 8px;
    text-align: center; font-size: 14px; color: #333;
    background: #f4f4f5; border-radius: 4px; display: inline-block;
}
.pagination-wrap .pg-btn:hover { color: var(--navy-600); }
.pagination-wrap .pg-btn.active { background: var(--navy-600); color: #fff; }
.pagination-wrap .pg-btn.disabled { opacity: .45; cursor: default; }
.pagination-wrap .pg-btn.pg-gap { background: transparent; color: #666; letter-spacing: 2px; }
.pagination-wrap .pg-jump { display: inline-flex; align-items: center; gap: 4px; margin-left: 12px; }
.pagination-wrap .pg-jump input {
    width: 52px; height: 34px; text-align: center; font-size: 14px;
    border: 1px solid #d4d4d8; border-radius: 4px; padding: 0 4px;
}
.pagination-wrap .pg-jump button {
    height: 34px; padding: 0 10px; font-size: 14px; cursor: pointer;
    border: 1px solid #d4d4d8; border-radius: 4px; background: #f4f4f5; color: #333;
}
.pagination-wrap .pg-jump button:hover { color: var(--navy-600); border-color: var(--navy-600); }

@media (max-width: 768px) {
    .welfare-page .banner { height: 200px; }
    .welfare-page .content { padding: 40px 15px 80px; }
    .welfare-page .title-section h1 { font-size: 28px; }
    .welfare-page .news-list .news-item { flex-direction: column; gap: 20px; padding: 20px; }
    .welfare-page .news-image { flex: none; width: 100%; height: 180px; }
}

/* ---- 详情页（原 PublicWelfareDetail.vue / NewsDetail.vue） ---- */
.detail-page .banner { width: 100%; height: 300px; overflow: hidden; padding: 0; background: #1a1a2e; }
.detail-page .banner img { width: 100%; height: 100%; object-fit: cover; }

.detail-page .content {
    max-width: 900px; margin: 0 auto; padding: 40px 20px 120px;
}

.detail-page .breadcrumb { margin-bottom: 30px; font-size: 14px; }
.detail-page .breadcrumb a { color: var(--navy-600); text-decoration: none; }
.detail-page .breadcrumb a:hover { text-decoration: underline; }
.detail-page .breadcrumb .separator { margin: 0 10px; color: #999; }
.detail-page .breadcrumb .current { color: #666; }

.detail-page .article {
    background: #fff; padding: 24px; border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.detail-page .article-title {
    font-size: 28px; color: #333; text-align: center;
    margin-bottom: 20px; line-height: 1.4;
}
.detail-page .article-meta {
    display: flex; justify-content: center; gap: 30px;
    padding-bottom: 20px; border-bottom: 1px solid #eee;
    margin-bottom: 30px; color: #999; font-size: 14px;
}
.detail-page .article-cover { margin-bottom: 30px; border-radius: 8px; overflow: hidden; }
.detail-page .article-cover img { width: 100%; }
.detail-page .article-content { font-size: 16px; line-height: 2; color: #555; }
.detail-page .article-content p { margin-bottom: 16px; }
.detail-page .article-content img {
    max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0;
}

.detail-page .back-btn {
    display: flex; justify-content: center; gap: 20px; margin-top: 40px;
}
.detail-page .back-btn a {
    padding: 10px 24px; border-radius: 6px; font-size: 14px; cursor: pointer;
    border: 1px solid var(--line); color: #606266; background: #fff; transition: all .3s;
}
.detail-page .back-btn a:hover { color: var(--navy-600); border-color: var(--navy-600); background: #ecf5ff; }
.detail-page .back-btn a.btn-primary {
    background: var(--navy-600); border-color: var(--navy-600); color: #fff;
}
.detail-page .back-btn a.btn-primary:hover { background: var(--navy-500); border-color: var(--navy-500); color: #fff; }

@media (max-width: 768px) {
    .detail-page .banner { height: 200px; }
    .detail-page .content { padding: 30px 15px 80px; }
    .detail-page .article { padding: 20px; }
    .detail-page .article-title { font-size: 22px; }
}

