/* ===== LIST PAGE STYLES (As design) ===== */
.breadcrumb {
  max-width: var(--max-w); margin: 0 auto; padding: 16px 20px 0;
  font-size: .82rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-secondary); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }
.breadcrumb .current { color: var(--text-primary); font-weight: 500; }

.list-header {
  max-width: var(--max-w); margin: 0 auto; padding: 24px 20px 0;
}
.list-header h1 {
  font-size: 1.6rem; color: var(--brand-primary); margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.list-header p { color: var(--text-secondary); font-size: .92rem; max-width: 600px; }
.list-header .lh-meta { margin-top: 12px; font-size: .82rem; color: var(--text-muted); }

.filter-bar {
  max-width: var(--max-w); margin: 20px auto 28px; padding: 0 20px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.filter-chip {
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: .82rem; cursor: pointer; transition: all .2s;
  border: 1px solid var(--border); background: #fff; color: var(--text-secondary);
}
.filter-chip:hover { border-color: var(--brand-secondary); color: var(--brand-secondary); }
.filter-chip.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.list-layout {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px 48px;
  display: grid; grid-template-columns: 220px 1fr; gap: 28px;
}
.sidebar-cats {
  background: #fff; border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  position: sticky; top: 84px;
}
.sidebar-cats h4 {
  font-size: .82rem; color: var(--brand-primary); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .5px;
  padding-bottom: 10px; border-bottom: 2px solid var(--brand-accent);
}
.sidebar-cat-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; font-size: .85rem; color: var(--text-primary);
  text-decoration: none; border-radius: var(--radius-sm); transition: all .2s;
  margin-bottom: 2px;
}
.sidebar-cat-item:hover { background: var(--bg); color: var(--brand-accent); }
.sidebar-cat-item.active { background: var(--bg); color: var(--brand-accent); font-weight: 600; }

.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.article-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all .25s; display: flex; flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.article-card .ac-img {
  width: 100%; aspect-ratio: 16/9; background: var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--text-muted); position: relative;
}
.article-card .ac-img .ac-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: .68rem; padding: 3px 10px; border-radius: 4px;
  font-weight: 600; background: var(--brand-primary); color: #fff;
}
.article-card .ac-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.article-card .ac-cat {
  font-size: .68rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--brand-accent); font-weight: 600; margin-bottom: 6px;
}
.article-card h3 { font-size: 1rem; margin-bottom: 8px; }
.article-card h3 a { color: var(--text-primary); text-decoration: none; }
.article-card h3 a:hover { color: var(--brand-secondary); }
.article-card .ac-desc {
  font-size: .82rem; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 12px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card .ac-meta {
  font-size: .75rem; color: var(--text-muted);
  display: flex; gap: 16px; align-items: center; padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.faq-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  overflow: hidden; transition: all .25s;
}
.faq-card:hover { box-shadow: var(--shadow-lg); }
.faq-card .fc-q {
  padding: 16px 20px; font-weight: 600; font-size: .92rem;
  color: var(--text-primary); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-card .fc-q:hover { background: var(--bg); }
.faq-card .fc-q .fc-icon { color: var(--brand-accent); font-weight: 700; }
.faq-card .fc-a {
  padding: 0 20px 16px; font-size: .85rem; color: var(--text-secondary);
  line-height: 1.6; display: none;
}
.faq-card.open .fc-a { display: block; }
.faq-card .fc-meta { padding: 0 20px 10px; font-size: .72rem; color: var(--text-muted); display: flex; gap: 12px; }
.faq-card .fc-meta .fc-tag { font-size: .65rem; padding: 1px 6px; border-radius: 3px; background: var(--border-light); }

.compare-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all .25s;
}
.compare-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.compare-card .cc-header { padding: 18px; border-bottom: 1px solid var(--border-light); }
.compare-card .cc-header h3 { font-size: 1rem; margin-bottom: 4px; }
.compare-card .cc-header h3 a { color: var(--text-primary); text-decoration: none; }
.compare-card .cc-table { padding: 16px 18px; }
.compare-card .cc-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: .82rem;
}
.compare-card .cc-row:last-child { border: none; }
.compare-card .cc-row .cc-label { color: var(--text-muted); }

.pagination {
  max-width: var(--max-w); margin: 0 auto; padding: 32px 20px 48px;
  display: flex; justify-content: center; gap: 6px;
}
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text-primary); font-size: .85rem;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.page-btn:hover { border-color: var(--brand-secondary); color: var(--brand-secondary); }
.page-btn.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.page-blog .list-grid { grid-template-columns: repeat(2, 1fr); }
.page-faq .list-grid { grid-template-columns: 1fr; }
.page-compare .list-grid { grid-template-columns: 1fr 1fr; }
.page-guide .list-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .list-layout { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr !important; }
  .sidebar-cats { position: static; }
  .filter-bar { flex-direction: column; }
  .filter-chips { overflow-x: auto; flex-wrap: nowrap; }
}
@media (max-width: 600px) {
  .list-header h1 { font-size: 1.2rem; }
}
