/* 套餐列表页 */
.page-packages { padding: 40px 0; }
.page-title { margin-bottom: 28px; }
.page-title h1 { font-size: 1.8rem; font-weight: 700; }
.page-title p { color: var(--text-muted); margin-top: 6px; }

.filter-bar { display: flex; align-items: center; gap: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-bar form { display: flex; gap: 20px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { font-size: .9rem; color: var(--text-muted); white-space: nowrap; }
.filter-group select { border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; font-size: .9rem; color: var(--text); background: var(--white); cursor: pointer; }
.result-count { margin-left: auto; font-size: .85rem; color: var(--text-muted); }

/* 套餐详情 */
.page-detail { padding: 20px 0 60px; }
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; margin-top: 20px; }
.detail-header { margin-bottom: 28px; }
.detail-badges { display: flex; gap: 8px; margin-bottom: 12px; }
.supplier-tag { background: var(--blue-light); color: var(--blue); padding: 4px 12px; border-radius: 20px; font-size: .85rem; font-weight: 500; }
.detail-header h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-muted); font-size: .9rem; }
.meta span { display: flex; align-items: center; gap: 6px; }
.detail-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.detail-section h3 { font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.limits-detail { display: flex; gap: 16px; flex-wrap: wrap; }
.limit-item { background: var(--bg); border-radius: 8px; padding: 12px 20px; text-align: center; }
.limit-item span { display: block; font-size: .8rem; color: var(--text-muted); margin-bottom: 4px; }
.limit-item strong { font-size: 1.1rem; color: var(--blue); }
.models-list { display: flex; flex-wrap: wrap; gap: 8px; }
.model-tag { background: var(--blue-light); color: var(--blue); padding: 4px 12px; border-radius: 20px; font-size: .85rem; }

.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 80px; text-align: center; box-shadow: var(--shadow-md); }
.price-card .original-price { color: var(--text-muted); text-decoration: line-through; font-size: .9rem; margin-bottom: 4px; }
.price-card .current-price { font-size: 2.2rem; font-weight: 800; color: var(--blue); }
.price-card .period-label { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }

/* 文章列表 */
.page-news { padding: 40px 0; }
.news-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; }
.article-card-h { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow); transition: box-shadow .2s; }
.article-card-h:hover { box-shadow: var(--shadow-md); }
.article-card-h .article-img { flex-shrink: 0; width: 120px; height: 80px; border-radius: 6px; overflow: hidden; }
.article-card-h .article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-h h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.article-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--text-muted); }
.article-meta a { color: var(--blue); }

.news-sidebar .sidebar-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.sidebar-block h4 { font-size: .95rem; font-weight: 700; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-item small { color: var(--text-muted); flex-shrink: 0; }
.sidebar-item:hover span { color: var(--blue); }
.sidebar-item.active span { color: var(--blue); font-weight: 600; }

/* 文章详情 */
.article-detail .article-cover { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.article-detail .article-cover img { width: 100%; max-height: 400px; object-fit: cover; }
.article-detail h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.article-detail .article-meta { margin-bottom: 24px; }
.article-content { line-height: 1.8; }
.article-content img { max-width: 100%; border-radius: 6px; }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { margin: 24px 0 12px; }

@media (max-width: 768px) {
  .detail-layout, .news-layout { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .news-sidebar { order: -1; }
}
