/* ===== 新闻列表页面样式 ===== */

/* --- 1. 页面标题区域 --- */
.lst-page-hero { padding: 40px 0 30px; background: #fff; }
.lst-page-hero h1 { font-size: 36px; font-weight: 700; color: #111; margin-bottom: 10px; }
.lst-page-hero p { color: #666; font-size: 15px; }

/* --- 2. 两栏布局 --- */
.lst-blog-layout { display: flex; gap: 40px; padding-bottom: 60px; }
.lst-blog-main { flex: 1; max-width: 780px; }
.lst-blog-sidebar { width: 340px; flex-shrink: 0; }

/* --- 3. 顶部推荐文章（两篇横排） --- */
.lst-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.lst-featured-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid #f0f0f0; background: #fff; transition: 0.2s; }
.lst-featured-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.04); }
.lst-fc-img-wrap { position: relative; width: 100%; min-height: 180px; overflow: hidden; }
.lst-fc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lst-featured-card:hover .lst-fc-img-wrap img { transform: scale(1.05); }
.lst-fc-badge { position: absolute; top: 12px; left: 12px; background: #2b1ee0; color: #fff; padding: 4px 14px; border-radius: 12px; font-size: 12px; font-weight: 600; z-index: 1; }
.lst-fc-body { padding: 20px 24px 24px; }
.lst-fc-date { font-size: 12px; color: #999; margin-bottom: 8px; display: block; }
.lst-fc-body h2 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.lst-fc-body h2 a { color: #111; transition: color 0.2s; }
.lst-fc-body h2 a:hover { color: #2b1ee0; }
.lst-fc-body p { font-size: 13px; color: #666; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lst-fc-link { color: #2b1ee0; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; }
.lst-fc-link:hover { text-decoration: underline; }
.lst-fc-link::after { content: ' \2192'; }

/* --- 4. 文章分类标签 --- */
.lst-post-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.lst-post-tabs span { background: #f5f5f5; padding: 6px 18px; border-radius: 20px; font-size: 14px; color: #555; cursor: pointer; transition: 0.2s; border: 1px solid transparent; }
.lst-post-tabs span:hover { background: #f0eeff; color: #2b1ee0; }
.lst-post-tabs span.active { background: #2b1ee0; color: #fff; }

/* --- 5. 文章网格 --- */
.lst-post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.lst-post-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #f0f0f0; transition: 0.2s; display: flex; flex-direction: column; }
.lst-post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.03); }
.lst-pc-img { height: 160px; overflow: hidden; background: #f5f5f5; }
.lst-pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lst-post-card:hover .lst-pc-img img { transform: scale(1.05); }
.lst-pc-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.lst-pc-meta { display: flex; justify-content: space-between; font-size: 12px; color: #999; margin-bottom: 8px; }
.lst-pc-meta .lst-pc-cat { background: #f0eeff; color: #2b1ee0; padding: 2px 10px; border-radius: 4px; }
.lst-pc-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.lst-pc-body h4 a { color: #111; transition: color 0.2s; }
.lst-pc-body h4 a:hover { color: #2b1ee0; }
.lst-pc-body p { font-size: 13px; color: #666; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.lst-pc-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f0f0; padding-top: 12px; }
.lst-pc-footer span { font-size: 12px; color: #999; }
.lst-pc-footer a { color: #2b1ee0; font-weight: 600; font-size: 14px; }

/* --- 6. 分页器（CMS系统分页样式） --- */
.lst-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 20px 0; }
.lst-pagination .page-status { font-size: 13px; color: #888; margin-right: 10px; }
.lst-pagination a, .lst-pagination .page-num { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 6px; font-size: 14px; color: #333; transition: 0.2s; border: 1px solid #e0e0e0; text-decoration: none; }
.lst-pagination a:hover { background: #f5f5f5; border-color: #d0d0d0; }
.lst-pagination .page-num-current { background: #2b1ee0; color: #fff; border-color: #2b1ee0; }
.lst-pagination .page-index, .lst-pagination .page-pre, .lst-pagination .page-next, .lst-pagination .page-last { padding: 0 14px; }
.lst-pagination .page-select { padding: 6px 12px; border-radius: 6px; border: 1px solid #e0e0e0; font-size: 13px; color: #555; }

/* --- 7. 侧边栏 --- */
.lst-sidebar-block { background: #f8f7ff; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.lst-sb-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: #1a1a1a; }

/* 搜索框 */
.lst-search-input-wrap { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 0 16px; border: 1px solid #e0e0e0; }
.lst-search-input-wrap svg { width: 16px; height: 16px; fill: #999; flex-shrink: 0; }
.lst-search-input-wrap input { flex: 1; border: none; padding: 12px 12px; outline: none; background: transparent; font-size: 14px; }

/* 热门话题 */
.lst-hot-list { display: flex; flex-direction: column; gap: 16px; }
.lst-hot-item { display: flex; gap: 12px; align-items: center; }
.lst-hot-item .lst-hot-thumb { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #e0e0e0; }
.lst-hot-item .lst-hot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lst-hot-item h5 { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.lst-hot-item h5 a { color: #333; transition: color 0.2s; }
.lst-hot-item h5 a:hover { color: #2b1ee0; }
.lst-hot-item .lst-hot-meta { font-size: 12px; color: #999; }

/* 侧边 CTA */
.lst-sidebar-cta { background: #2b1ee0; border-radius: 12px; padding: 24px; color: #fff; text-align: center; margin-bottom: 24px; }
.lst-sidebar-cta h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.lst-sidebar-cta p { font-size: 13px; opacity: 0.8; margin-bottom: 20px; }
.lst-sidebar-cta .btn { width: 100%; background: #fff; color: #2b1ee0; border-radius: 6px; }

/* 联系我们 */
.lst-contact-qr { text-align: center; padding: 10px 0; }
.lst-qr-image { width: 120px; height: 120px; background: #fff; border-radius: 8px; padding: 8px; margin: 0 auto 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; }
.lst-qr-image img { width: 100%; height: 100%; object-fit: contain; }
.lst-contact-qr p { font-size: 12px; color: #666; }

/* 热门标签 */
.lst-tags-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.lst-tags-cloud a { background: #fff; padding: 4px 14px; border-radius: 12px; font-size: 12px; color: #555; transition: 0.2s; border: 1px solid #f0f0f0; text-decoration: none; }
.lst-tags-cloud a:hover { background: #f0eeff; color: #2b1ee0; border-color: #d0d0d0; }

/* --- 响应式适配 --- */
@media (max-width: 992px) {
    .lst-blog-layout { flex-direction: column; }
    .lst-blog-sidebar { width: 100%; }
    .lst-featured-grid { grid-template-columns: 1fr; }
    .lst-post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .lst-page-hero { padding: 30px 0 20px; }
    .lst-page-hero h1 { font-size: 24px; }
    .lst-page-hero p { font-size: 14px; }
    .lst-featured-grid { gap: 16px; }
    .lst-fc-img-wrap { min-height: 160px; }
    .lst-fc-body { padding: 16px; }
    .lst-fc-body h2 { font-size: 17px; }
    .lst-fc-body p { font-size: 12px; }
    .lst-post-grid { grid-template-columns: 1fr; gap: 16px; }
    .lst-pagination { flex-wrap: wrap; }
    .lst-pagination a, .lst-pagination .page-num { min-width: 40px; height: 40px; font-size: 15px; }
    .lst-pagination .page-index, .lst-pagination .page-pre, .lst-pagination .page-next, .lst-pagination .page-last { padding: 0 12px; }
    .lst-blog-main { font-size: 14px; }
    .lst-pc-img { height: 160px; }
    .lst-pc-body { padding: 14px; }
    .lst-pc-body h4 { font-size: 15px; }
    .lst-pc-body p { font-size: 13px; -webkit-line-clamp: 2; }
    .lst-pc-meta { font-size: 11px; }
    .lst-pc-meta .lst-pc-cat { padding: 2px 8px; }
    .lst-sidebar-block { padding: 18px; }
    .lst-sb-title { font-size: 15px; margin-bottom: 14px; }
    .lst-hot-item { gap: 10px; }
    .lst-hot-thumb { width: 52px; height: 52px; }
    .lst-hot-item h5 { font-size: 14px; }
    .lst-hot-meta { font-size: 11px; }
    .lst-tags-cloud a { font-size: 12px; padding: 4px 12px; }
    .lst-sidebar-cta { padding: 20px; }
    .lst-sidebar-cta h4 { font-size: 17px; }
    .lst-sidebar-cta p { font-size: 12px; }
    .lst-contact-qr p { font-size: 12px; }
    .lst-search-input-wrap input { padding: 10px; font-size: 14px; }
}

@media (max-width: 480px) {
    .lst-page-hero h1 { font-size: 21px; }
    .lst-featured-card { margin-bottom: 16px; }
    .lst-post-card { flex-direction: column; }
    .lst-pc-img { width: 100%; height: 180px; }
    .lst-fc-img-wrap { height: 180px; }
    .lst-fc-body { padding: 16px; }
    .lst-pc-body { padding: 14px; }
    .lst-hot-thumb { width: 44px; height: 44px; }
    .lst-pagination a, .lst-pagination .page-num { min-width: 36px; }
    .lst-blog-sidebar { gap: 16px; }
}
