/* ========== Breadcrumb ========== */
.breadcrumb {
  max-width: var(--max-width); margin: 0 auto; padding: 20px 24px 0;
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: var(--text-muted); font-size: 12px; }
.breadcrumb .current { color: var(--color-accent); font-weight: 500; }

/* ========== Page Header ========== */
.page-header {
  max-width: var(--max-width); margin: 0 auto; padding: 16px 24px 0;
}
.page-title-section {
  display: flex; align-items: flex-end; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border-color);
  margin-bottom: 4px;
}
.page-title-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(14,165,233,0.25);
}
.page-title-info { flex: 1; }
.page-title-info h1 { font-size: 26px; font-weight: 800; line-height: 1.2; }
.page-title-info p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
.page-meta { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.page-meta span { display: flex; align-items: center; gap: 4px; }

/* ========== Main Layout: Content + Sidebar ========== */
.main-layout {
  max-width: var(--max-width); margin: 0 auto; padding: 24px 24px 60px;
  display: flex; gap: 28px; align-items: flex-start;
}
.content-area { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }

/* ========== Channel Tabs ========== */
.channel-tabs {
  display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap;
  background: var(--bg-card); padding: 6px; border-radius: 12px;
  border: 1px solid var(--border-color);
}
.channel-tab {
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition-fast); white-space: nowrap;
}
.channel-tab:hover { color: var(--color-accent); background: rgba(14,165,233,0.05); }
.channel-tab.active {
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  color: #fff; font-weight: 600;
}

/* ========== Date Section ========== */
.date-group { margin-bottom: 28px; }
.date-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--text-primary);
  padding: 0 0 12px 0;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
}
.date-label .date-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent); flex-shrink: 0;
}
.date-label .date-count {
  font-size: 12px; font-weight: 400; color: var(--text-muted);
  margin-left: auto;
}

/* ========== Article List Item ========== */
.news-item {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 20px 22px;
  margin-bottom: 12px; transition: all var(--transition-fast);
  position: relative; overflow: hidden;
}
.news-item:hover {
  transform: translateX(4px);
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow-hover);
}
.news-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #0ea5e9, #7c3aed);
  opacity: 0; transition: opacity var(--transition-fast);
}
.news-item:hover::before { opacity: 1; }

.news-item-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 8px; }
.news-item-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px;
  white-space: nowrap; flex-shrink: 0; margin-top: 2px;
}
.news-item-badge.report { background: rgba(14,165,233,0.1); color: #0ea5e9; }
.news-item-badge.insight { background: rgba(124,58,237,0.1); color: #7c3aed; }
.news-item-badge.event { background: rgba(16,185,129,0.1); color: #10b981; }
.news-item-badge.tool { background: rgba(245,158,11,0.1); color: #f59e0b; }

.news-item-title {
  font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--text-primary);
  transition: color var(--transition-fast);
}
.news-item:hover .news-item-title { color: var(--color-accent); }
.news-item-summary {
  font-size: 13px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 10px; padding-left: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--text-muted); flex-wrap: wrap;
}
.news-item-meta span { display: flex; align-items: center; gap: 4px; }
.news-item-tags { display: flex; gap: 6px; margin-left: auto; }
.news-item-tags .tag {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  background: var(--bg-secondary); color: var(--text-muted);
}

/* ========== Pagination ========== */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border-color);
}
.page-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background: var(--bg-card); transition: all var(--transition-fast);
}
.page-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.page-btn.active {
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  color: #fff; border-color: transparent; font-weight: 600;
}
.page-btn.arrow { font-size: 16px; }

/* ========== Sidebar ========== */
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 20px; margin-bottom: 16px;
}
.sidebar-card h4 {
  font-size: 15px; font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-card h4::before {
  content: ''; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, #0ea5e9, #7c3aed); flex-shrink: 0;
}

/* Hot List */
.hot-list-item {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast); cursor: pointer;
}
.hot-list-item:last-child { border-bottom: none; }
.hot-list-item:hover { padding-left: 6px; }
.hot-list-rank {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; color: #fff;
}
.hot-list-rank.top1 { background: linear-gradient(135deg, #ef4444, #f97316); }
.hot-list-rank.top2 { background: linear-gradient(135deg, #f97316, #f59e0b); }
.hot-list-rank.top3 { background: linear-gradient(135deg, #f59e0b, #eab308); }
.hot-list-rank.normal { background: #94a3b8; }
.hot-list-content h5 { font-size: 13px; font-weight: 600; line-height: 1.4; }
.hot-list-content span { font-size: 11px; color: var(--text-muted); }

/* Tags Cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 6px 14px; border-radius: 16px;
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
  background: var(--bg-secondary); transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.tag-cloud a:hover {
  color: var(--color-accent); background: rgba(14,165,233,0.06);
  border-color: rgba(14,165,233,0.2);
}

/* CTA Card */
.sidebar-cta {
  background: linear-gradient(135deg, #0a1628, #132244);
  border-radius: var(--radius-md); padding: 24px 20px; margin-bottom: 16px;
  text-align: center; position: relative; overflow: hidden;
}
.sidebar-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(14,165,233,0.15) 0%, transparent 70%);
}
.sidebar-cta * { position: relative; z-index: 1; }
.sidebar-cta h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.sidebar-cta .btn-join { display: inline-block; padding: 10px 24px; font-size: 14px; }

/* ========== Article Layout (detail page) ========== */
.article-wrapper {
  max-width: 860px; margin: 0 auto;
  padding: 0 24px 60px;
}
.article-container {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 48px 52px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

/* Article Header */
.article-header { margin-bottom: 36px; }
.article-category {
  display: inline-block; padding: 4px 14px; border-radius: 14px;
  font-size: 12px; font-weight: 600; margin-bottom: 16px;
  background: rgba(124,58,237,0.1); color: #7c3aed;
}
.article-title {
  font-size: 32px; font-weight: 800; line-height: 1.4;
  color: var(--text-primary); margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.article-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 1px solid var(--border-light);
}
.article-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.article-meta-divider { width: 1px; height: 16px; background: var(--border-color); }
.article-tags { display: flex; gap: 6px; margin-left: auto; }
.article-tags span {
  font-size: 11px; padding: 3px 10px; border-radius: 12px;
  background: var(--bg-secondary); color: var(--text-muted);
  transition: all var(--transition-fast);
}
.article-tags span:hover { background: rgba(14,165,233,0.08); color: var(--color-accent); }

/* ========== Article Content Typography ========== */
.article-content {
  font-size: 16px; line-height: 1.85; color: var(--text-primary);
}
.article-content .lead {
  font-size: 17px; line-height: 1.9; color: var(--text-secondary);
  padding: 20px 24px; margin-bottom: 32px;
  background: var(--bg-secondary); border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
}
.article-content h2 {
  font-size: 22px; font-weight: 800; margin: 40px 0 16px;
  padding-left: 14px; border-left: 4px solid;
  border-image: linear-gradient(180deg, #0ea5e9, #7c3aed) 1;
  line-height: 1.3;
}
.article-content h3 {
  font-size: 18px; font-weight: 700; margin: 28px 0 12px;
  color: var(--text-primary);
}
.article-content p { margin-bottom: 16px; color: var(--text-primary); }
.article-content .highlight-box {
  background: linear-gradient(135deg, rgba(14,165,233,0.04), rgba(124,58,237,0.04));
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: var(--radius-md); padding: 20px 24px;
  margin: 24px 0;
}
.article-content .highlight-box p { margin-bottom: 0; font-weight: 500; }
.article-content blockquote {
  margin: 24px 0; padding: 20px 24px;
  background: var(--bg-secondary); border-radius: var(--radius-md);
  border-left: 4px solid var(--color-purple);
  font-style: italic; color: var(--text-secondary);
}
.article-content ul { margin: 16px 0 24px; }
.article-content ul li {
  position: relative; padding: 6px 0 6px 24px;
  color: var(--text-primary); line-height: 1.7;
}
.article-content ul li::before {
  content: ''; position: absolute; left: 8px;
  top: 14px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
}
.article-content ul li.cross::before { background: #ef4444; }
.article-content ul li.check::before { background: #10b981; }
.article-content .data-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 14px; border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--border-color);
}
.article-content .data-table thead th {
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  color: #fff; padding: 12px 16px; text-align: left;
  font-weight: 600; font-size: 13px;
}
.article-content .data-table tbody td {
  padding: 11px 16px; border-bottom: 1px solid var(--border-light);
  color: var(--text-primary); background: var(--bg-card);
}
.article-content .data-table tbody tr:hover td { background: var(--bg-secondary); }
.article-divider {
  margin: 36px 0; text-align: center; color: var(--text-muted);
  font-size: 18px; letter-spacing: 8px; user-select: none;
}
.article-content .conclusion-box {
  margin: 32px 0; padding: 28px 32px;
  background: linear-gradient(135deg, #0a1628, #132244);
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.article-content .conclusion-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(14,165,233,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.article-content .conclusion-box h3 {
  color: #38bdf8; margin-top: 0; position: relative; z-index: 1;
}
.article-content .conclusion-box p, .article-content .conclusion-box li {
  color: rgba(255,255,255,0.8); position: relative; z-index: 1;
}
.article-content .conclusion-box ul li::before { background: #38bdf8; }

/* ========== Article Footer ========== */
.article-footer {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
.article-actions { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.btn-action {
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px;
  background: var(--bg-secondary); color: var(--text-secondary);
  border: 1px solid var(--border-color); transition: all var(--transition-fast);
}
.btn-action:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-action.like:hover { border-color: #ef4444; color: #ef4444; background: rgba(239,68,68,0.05); }
.article-statement {
  font-size: 12px; color: var(--text-muted); line-height: 1.8;
  padding: 16px; background: var(--bg-secondary); border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

/* ========== Related Articles ========== */
.related-section { max-width: 860px; margin: 0 auto; padding: 40px 24px 60px; }
.related-section h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
  padding-left: 12px; border-left: 3px solid var(--color-accent);
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 18px 20px;
  transition: all var(--transition-fast); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14,165,233,0.2);
  box-shadow: var(--shadow-hover);
}
.related-card .badge-row { margin-bottom: 10px; }
.related-card .badge-row span {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  font-weight: 500;
}
.related-card .badge-row span.report { background: rgba(14,165,233,0.08); color: #0ea5e9; }
.related-card .badge-row span.insight { background: rgba(124,58,237,0.08); color: #7c3aed; }
.related-card .badge-row span.event { background: rgba(16,185,129,0.08); color: #10b981; }
.related-card h4 { font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.related-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ========== Reading Progress Bar ========== */
.reading-progress {
  position: fixed; top: 64px; left: 0; width: 100%; height: 3px;
  background: var(--border-color); z-index: 999;
}
.reading-progress-bar {
  height: 100%; background: linear-gradient(90deg, #0ea5e9, #7c3aed);
  width: 0%; transition: width 0.1s ease;
}

/* ========== Responsive (news pages) ========== */
@media (max-width: 991px) {
  .main-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .page-title-section { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-title-info h1 { font-size: 22px; }
  .channel-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .news-item-header { flex-direction: column; gap: 6px; }
  .news-item-tags { margin-left: 0; margin-top: 4px; }
  .pagination { flex-wrap: wrap; }
  .article-container { padding: 28px 20px; }
  .article-title { font-size: 24px; }
  .article-content { font-size: 15px; }
  .article-content h2 { font-size: 19px; }
  .article-meta { gap: 12px; }
  .article-tags { margin-left: 0; width: 100%; margin-top: 4px; }
}
