/* 公告/新闻列表 —— 1:1 复刻原 NoticeList.vue：无 banner，page-header + 白色圆角卡片 + 大图 */

.notice-list-page { min-height: 100vh; background: #f5f7fa; }

/* 原 NoticeList.vue 的 padding-top:120px 是从页面顶部算（导航悬浮覆盖）；
   新版 main 已有导航占位 91px + 顶部偏移 9px，故这里只需 20px 即可对齐旧版标题位置（y=120） */
.notice-list-page .page-header { padding-top: 20px; padding-bottom: 30px; background: #f5f7fa; }
.notice-list-page .page-header .header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: baseline; gap: 20px;
}
.notice-list-page .page-header h1 { font-size: 28px; font-weight: 600; color: #333; }
.notice-list-page .page-header .header-subtitle { font-size: 14px; color: #999; letter-spacing: 0.24em; }

.notice-list-page .notice-container { max-width: 1400px; margin: 40px auto; padding: 0 40px; }
.notice-list-page .notice-list {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.notice-list-page .empty-state { padding: 60px; text-align: center; color: #999; }

.notice-list-page .notice-item {
    display: flex; padding: 24px; border-bottom: 1px solid #eee;
    text-decoration: none; color: inherit;
    cursor: pointer; transition: background .3s;
}
.notice-list-page .notice-item:last-child { border-bottom: none; }
.notice-list-page .notice-item:hover { background: #f9fafb; }

.notice-list-page .notice-image {
    flex: 0 0 360px; height: 200px; border-radius: 10px; overflow: hidden;
}
.notice-list-page .notice-image img {
    width: 100%; height: 100%; object-fit: cover; transition: transform .3s;
}
.notice-list-page .notice-item:hover .notice-image img { transform: scale(1.05); }

.notice-list-page .notice-content {
    flex: 1; margin-left: 24px; margin-right: 0;
    display: flex; flex-direction: column; justify-content: center;
}
.notice-list-page .notice-content h3 {
    font-size: 22px; color: #333; margin-bottom: 24px;
    font-weight: 600; line-height: 1.4; word-break: break-word;
}
.notice-list-page .notice-content .notice-date { font-size: 14px; color: #999; margin-bottom: 16px; }
.notice-list-page .notice-content .notice-summary {
    font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 20px;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.notice-list-page .notice-content .read-more { color: var(--gold-600); font-size: 15px; font-weight: 500; }

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

@media (max-width: 1200px) {
    .notice-list-page .notice-container { max-width: 100%; padding: 0 30px; }
    .notice-list-page .notice-image { flex: 0 0 320px; height: 180px; }
}
@media (max-width: 1024px) {
    .notice-list-page .notice-image { flex: 0 0 280px; height: 160px; }
}
@media (max-width: 768px) {
    .notice-list-page .page-header { padding-top: 20px; }
    .notice-list-page .page-header .header-inner { flex-direction: column; gap: 8px; }
    .notice-list-page .page-header h1 { font-size: 26px; }
    .notice-list-page .notice-container { padding: 0 20px; }
    .notice-list-page .notice-item { flex-direction: column; padding: 20px; }
    .notice-list-page .notice-image { flex: none; width: 100%; height: 240px; }
    .notice-list-page .notice-content { margin-left: 0; margin-top: 20px; margin-right: 0; }
}
