




.hero-news {
  padding: 60px 24px 100px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}



.hero-article {
  padding: 60px 24px 80px;
}

.article-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  opacity: 0.9;
}



.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

.news-main {
  min-width: 0;
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}



.filter-card {
  position: sticky;
  top: 80px;
  z-index: 10;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  background: var(--bg);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.filter-tab:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  color: #fff;
}

.filter-tab svg {
  opacity: 0.7;
}

.filter-tab.active svg {
  opacity: 1;
}



.news-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}

.news-item:hover {
  border-color: #93c0ff;
  box-shadow: 0 8px 24px rgba(22,119,255,0.12);
  transform: translateY(-2px);
}

.news-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-item-content {
  padding: 24px;
}

.news-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.news-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
}

.news-time {
  font-size: 13px;
  color: var(--muted);
}

.news-item-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text);
}

.news-item-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.news-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
}

.news-read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}



.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

.article-main {
  min-width: 0;
}

.article-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-content {
  padding: 32px;
}

.article-section {
  margin-bottom: 40px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 24px;
}

.article-section h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.article-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text);
}

.article-section p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text);
}

 
.highlight-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 2px solid #93c0ff;
  border-radius: 12px;
  margin: 24px 0;
}

[data-theme="dark"] .highlight-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-color: #334155;
}

.highlight-icon {
  flex-shrink: 0;
}

.highlight-content h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.highlight-content p {
  font-size: 15px;
  margin: 0;
  color: var(--text);
}

 
.tip-box {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  margin: 24px 0;
}

[data-theme="dark"] .tip-box {
  background: #052e16;
  border-color: #166534;
}

.tip-box p {
  font-size: 15px;
  margin: 0;
  color: var(--text);
}

 
.calc-example {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px dashed var(--border);
}

.calc-row:last-child {
  border-bottom: none;
}

.calc-row.total {
  font-weight: 700;
  color: var(--primary);
}

.calc-row.result {
  font-size: 16px;
  font-weight: 800;
  color: #10b981;
  background: #f0fdf4;
  margin: 0 -20px -20px;
  padding: 16px 20px;
  border-radius: 0 0 12px 12px;
  border-bottom: none;
}

[data-theme="dark"] .calc-row.result {
  background: #052e16;
}

 
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: linear-gradient(to right, #f0f6ff, #e8f4ff);
}

[data-theme="dark"] .data-table thead {
  background: linear-gradient(to right, #1e2d45, #1a2940);
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.data-table tr:hover td {
  background: var(--primary-light);
}

.data-table .num {
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.data-table .num.hl {
  color: var(--primary);
}

.data-table .highlight-row {
  background: var(--primary-light);
}

.trend-up {
  color: #10b981;
  font-weight: 600;
}

 
.faq-item {
  margin-bottom: 24px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

 
.article-cta {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 12px;
  text-align: center;
}

[data-theme="dark"] .article-cta {
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.article-cta p {
  font-size: 15px;
  margin-bottom: 20px;
  color: var(--text);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}



.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

 
.card-cta {
  background: linear-gradient(135deg, #f0f9ff, #e8f4ff);
  border: 2px solid #93c0ff;
}

[data-theme="dark"] .card-cta {
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
  border-color: #334155;
}

.card-cta .cta-content {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-cta .cta-icon {
  margin-bottom: 16px;
}

.card-cta .cta-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text);
}

.card-cta .cta-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px 0;
  line-height: 1.5;
  max-width: 240px;
}

.card-cta .cta-content .btn {
  width: 100%;
}

 
.cta-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--primary-light);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-box:hover {
  background: var(--primary);
}

.cta-box:hover .cta-title,
.cta-box:hover .cta-desc,
.cta-box:hover .cta-arrow {
  color: #fff;
}

.cta-icon {
  flex-shrink: 0;
}

.cta-content {
  flex: 1;
  padding: 0;
  text-align: left;
}

.cta-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.cta-desc {
  font-size: 13px;
  color: var(--muted);
}

.cta-arrow {
  color: var(--primary);
}

 
.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.related-link:hover {
  color: var(--primary);
}

.related-dot {
  width: 6px;
  height: 6px;
  background: var(--border);
  border-radius: 50%;
  flex-shrink: 0;
}

.related-link:hover .related-dot {
  background: var(--primary);
}

 
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pill-link {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pill-link:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.pill-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pill-desc {
  font-size: 13px;
  color: var(--muted);
}



@media (max-width: 1024px) {
  .news-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .news-side,
  .article-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .hero-news,
  .hero-article {
    padding: 40px 20px 70px;
  }
  
  .hero-title {
    font-size: 26px;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .stat-value {
    font-size: 24px;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .filter-tabs {
    padding: 12px 16px;
  }
  
  .news-item-content {
    padding: 20px;
  }
  
  .article-content {
    padding: 20px;
  }
  
  .news-side,
  .article-side {
    grid-template-columns: 1fr;
  }
  
  .data-table {
    font-size: 13px;
  }
  
  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .stat-item {
    text-align: left;
  }
}

 
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}



.news-detail-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

 
.article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #e8f4ff 0%, #f0f7ff 100%);
  color: var(--primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

[data-theme="dark"] .article-category {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.article-category svg {
  width: 14px;
  height: 14px;
}

.article-header .article-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

.article-header .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

 
.news-detail-wrap .article-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.news-detail-wrap .article-content p {
  margin: 0 0 20px 0;
}

.news-detail-wrap .article-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 16px 0;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.news-detail-wrap .article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px 0;
}

.news-detail-wrap .article-content ul,
.news-detail-wrap .article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.news-detail-wrap .article-content li {
  margin-bottom: 10px;
}

.news-detail-wrap .article-content strong {
  color: var(--text);
  font-weight: 600;
}

.news-detail-wrap .article-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.news-detail-wrap .article-content a:hover {
  color: #0958d9;
  border-bottom-color: #0958d9;
  background: rgba(22, 119, 255, 0.08);
}

.news-detail-wrap .article-content a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.news-detail-wrap .article-content a[href^="http"]::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231677ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  opacity: 0.7;
}

.news-detail-wrap .article-content a[href^="http"]:hover::after {
  opacity: 1;
}

.news-detail-wrap .article-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}

.news-detail-wrap .article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

.news-detail-wrap .article-content th,
.news-detail-wrap .article-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.news-detail-wrap .article-content th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

.news-detail-wrap .article-content tr:hover td {
  background: var(--primary-light);
}

 
.article-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-source {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.article-source a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.article-source a:hover {
  border-bottom-color: var(--primary);
}

.article-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  background: #fffbf0;
  border-radius: 8px;
  font-size: 14px;
  color: #8a6d3b;
}

[data-theme="dark"] .article-disclaimer {
  background: #2c2518;
  color: #d4a72c;
}

.article-disclaimer svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

 
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.article-nav-item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.article-nav-item:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.article-nav-item.next {
  text-align: right;
}

.article-nav-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-nav-item.next .article-nav-label {
  justify-content: flex-end;
}

.article-nav-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

 
.news-detail-wrap .related-section {
  margin-top: 48px;
}

.related-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.news-detail-wrap .related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.related-item:hover {
  background: var(--primary-light);
  transform: translateX(4px);
}

.related-tag {
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  height: fit-content;
}

.related-info {
  flex: 1;
  min-width: 0;
}

.related-item-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-item-meta {
  font-size: 14px;
  color: var(--muted);
}

 
@media (max-width: 640px) {
  .news-detail-wrap {
    padding: 20px 16px 40px;
  }

  .article-header .article-title {
    font-size: 24px;
  }

  .news-detail-wrap .article-content {
    font-size: 16px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav-item.next {
    text-align: left;
  }

  .article-nav-item.next .article-nav-label {
    justify-content: flex-start;
  }
}



.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: var(--card);
  transition: all 0.2s ease;
}

.page-link:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.page-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.page-link.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
}



.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb svg {
  flex-shrink: 0;
}

.breadcrumb span[aria-current="page"] {
  color: var(--text);
}

 
.hero .breadcrumb {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.hero .breadcrumb a:hover {
  color: #fff;
}

.hero .breadcrumb svg {
  opacity: 0.7;
}

.hero .breadcrumb span[aria-current="page"] {
  color: #fff;
  font-weight: 500;
}
