/* ==========================================================================
   base — 全站基础样式
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f8f9fa;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #217dbb;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.35;
  color: #2c3e50;
}

/* ==========================================================================
   layout — 全站布局骨架
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 12px;
  color: #7f8c8d;
  margin-top: 2px;
}

.site-nav .nav-list {
  display: flex;
  gap: 32px;
}

.site-nav .nav-list a {
  font-size: 15px;
  color: #2c3e50;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav .nav-list a:hover {
  color: #3498db;
  border-bottom-color: #3498db;
}

.site-nav .nav-list a.is-current {
  color: #3498db;
  border-bottom-color: #3498db;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2c3e50;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  min-height: 60vh;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.breadcrumb {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb a {
  color: #7f8c8d;
}

.breadcrumb a:hover {
  color: #3498db;
}

.breadcrumb-sep {
  color: #bdc3c7;
}

.breadcrumb-current {
  color: #2c3e50;
  font-weight: 500;
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  color: #7f8c8d;
  margin-top: 12px;
  max-width: 720px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid #e9ecef;
  background-color: #ffffff;
  padding: 40px 24px 24px;
}

.footer-links {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9ecef;
}

.footer-links a {
  font-size: 14px;
  color: #7f8c8d;
}

.footer-links a:hover {
  color: #3498db;
}

.footer-meta {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-brand {
  font-size: 14px;
  color: #2c3e50;
  font-weight: 600;
}

.copyright {
  font-size: 13px;
  color: #95a5a6;
}

/* 内页布局壳 */
.layout-shell {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.layout-shell > .channel-content,
.layout-shell > .insight-article {
  flex: 1;
  min-width: 0;
}

.layout-shell > .sidebar {
  flex: 0 0 300px;
  width: 300px;
}

/* 侧栏在左侧时 */
.layout-shell.sidebar-left {
  flex-direction: row;
}

.layout-shell.sidebar-left > .sidebar {
  order: -1;
}

/* ==========================================================================
   components — 通用组件
   ========================================================================== */

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #3498db;
  border-radius: 2px;
}

.section-intro {
  font-size: 15px;
  color: #7f8c8d;
  margin-bottom: 24px;
  max-width: 720px;
}

.source-note {
  font-size: 14px;
  color: #95a5a6;
  background-color: #f1f3f5;
  border-left: 3px solid #bdc3c7;
  padding: 12px 16px;
  margin-top: 32px;
  line-height: 1.6;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

/* 焦点报道 */
.focus-report {
  margin-bottom: 48px;
}

.focus-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
}

.focus-copy {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.focus-headline {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #2c3e50;
}

.focus-headline a {
  color: #2c3e50;
}

.focus-headline a:hover {
  color: #3498db;
}

.focus-summary {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 24px;
}

.focus-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #3498db;
  padding: 10px 20px;
  border: 1px solid #3498db;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.focus-link:hover {
  background-color: #3498db;
  color: #ffffff;
}

.focus-media {
  min-height: 280px;
  position: relative;
}

.focus-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* 频道导航 */
.channel-nav {
  margin-bottom: 48px;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tag {
  display: inline-block;
  font-size: 14px;
  color: #2c3e50;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 10px 20px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.channel-tag:hover {
  background-color: #3498db;
  border-color: #3498db;
  color: #ffffff;
}

/* 最新资讯 */
.latest-news {
  margin-bottom: 48px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.news-item {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f3f5;
  transition: background-color 0.2s ease;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background-color: #f8f9fa;
}

.news-headline {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.news-headline a {
  color: #2c3e50;
}

.news-headline a:hover {
  color: #3498db;
}

.news-excerpt {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 8px;
}

.news-date {
  font-size: 13px;
  color: #95a5a6;
}

/* 专题推荐 */
.topic-cards {
  margin-bottom: 48px;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.topic-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
}

.topic-media {
  height: 200px;
  overflow: hidden;
}

.topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.topic-card:hover .topic-media img {
  transform: scale(1.03);
}

.topic-body {
  padding: 20px 24px 24px;
}

.topic-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.topic-name a {
  color: #2c3e50;
}

.topic-name a:hover {
  color: #3498db;
}

.topic-desc {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
}

/* 编辑推荐 */
.editor-picks {
  margin-bottom: 48px;
}

.pick-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pick-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px 20px;
  transition: box-shadow 0.25s ease;
}

.pick-item:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.06);
}

.pick-rank {
  font-size: 20px;
  font-weight: 700;
  color: #e74c3c;
  line-height: 1.4;
  min-width: 36px;
  text-align: center;
  padding-top: 2px;
}

.pick-content {
  flex: 1;
}

.pick-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pick-title a {
  color: #2c3e50;
}

.pick-title a:hover {
  color: #3498db;
}

.pick-reason {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
}

/* 来源说明 */
.source-info {
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 频道分类页
   ========================================================================== */

.channel-list {
  margin-bottom: 40px;
}

.channel-item {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s ease;
}

.channel-item:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.06);
}

.channel-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.channel-name {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
}

.channel-tag {
  font-size: 12px;
  color: #3498db;
  background-color: #eaf4fb;
  border-radius: 4px;
  padding: 3px 8px;
  font-weight: 500;
}

.channel-desc {
  font-size: 15px;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 16px;
}

.channel-media {
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.channel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3498db;
}

.channel-link:hover {
  color: #217dbb;
  text-decoration: underline;
}

/* 频道代表内容 */
.channel-featured {
  margin-top: 40px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-item {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.25s ease;
}

.featured-item:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.06);
}

.featured-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.featured-name a {
  color: #2c3e50;
}

.featured-name a:hover {
  color: #3498db;
}

.featured-desc {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 12px;
}

.featured-item > a {
  font-size: 14px;
  font-weight: 600;
  color: #3498db;
}

.featured-item > a:hover {
  color: #217dbb;
}

/* 侧栏 */
.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 24px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
}

.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f3f5;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  font-size: 14px;
  color: #2c3e50;
  line-height: 1.5;
  display: block;
}

.sidebar-list a:hover {
  color: #3498db;
}

/* ==========================================================================
   pages — 内容专题页
   ========================================================================== */

.summary-block {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 40px;
}

.summary-block p {
  font-size: 16px;
  color: #2c3e50;
  line-height: 1.8;
}

.core-content-block {
  margin-bottom: 40px;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.core-item {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 24px;
}

.core-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c3e50;
}

.core-item p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.7;
}

.topic-media {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 24px;
}

.topic-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.topic-media figcaption {
  font-size: 13px;
  color: #95a5a6;
  background-color: #ffffff;
  padding: 10px 16px;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

/* 过程时间线 */
.process-block {
  margin-bottom: 40px;
}

.timeline-list {
  position: relative;
  padding-left: 28px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: #dee2e6;
}

.timeline-list li {
  position: relative;
  padding-bottom: 24px;
  padding-left: 20px;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #3498db;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #3498db;
}

.timeline-list li:last-child {
  padding-bottom: 0;
}

.timeline-list h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.timeline-list p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
}

/* 相关资料 */
.related-block {
  margin-bottom: 40px;
}

.related-links li {
  margin-bottom: 12px;
}

.related-links a {
  font-size: 15px;
  color: #3498db;
  display: inline-block;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.related-links a:hover {
  color: #217dbb;
  border-bottom-color: #217dbb;
}

.inner-links-note {
  background-color: #f1f3f5;
  border-radius: 8px;
  padding: 16px 24px;
  font-size: 14px;
  color: #7f8c8d;
  margin-top: 32px;
}

.inner-links-note p {
  line-height: 1.6;
}

.inner-links-note a {
  color: #3498db;
  margin: 0 4px;
}

.inner-links-note a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   pages — 实用指南页
   ========================================================================== */

.guide-section {
  margin-bottom: 48px;
}

.method-steps {
  counter-reset: step;
}

.method-step {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px 24px 20px 64px;
  margin-bottom: 16px;
  counter-increment: step;
}

.method-step::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #3498db;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.method-step p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.7;
}

/* 案例分析 */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.case-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 24px;
}

.case-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f3f5;
}

.case-card p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.7;
}

.case-fake h3 {
  color: #e74c3c;
}

.case-real h3 {
  color: #27ae60;
}

/* 工具推荐 */
.tools-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tool-item {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px 24px;
}

.tool-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.tool-item p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
}

/* 相关链接 */
.related-links-section {
  margin-bottom: 32px;
}

.related-links-section .related-links li {
  margin-bottom: 8px;
}

/* 指南配图 */
.guide-figure {
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 13px;
  color: #95a5a6;
  background-color: #ffffff;
  padding: 10px 16px;
  border: 1px solid #e9ecef;
  border-top: none;
}

/* ==========================================================================
   pages — 深度解读页
   ========================================================================== */

.insight-article {
  max-width: 100%;
}

.exec-summary {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 32px;
}

.exec-summary p {
  font-size: 15px;
  color: #2c3e50;
  line-height: 1.8;
  margin-bottom: 12px;
}

.exec-summary p:last-child {
  margin-bottom: 0;
}

.insight-toc {
  background-color: #f1f3f5;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.insight-toc h2 {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
}

.insight-toc ol {
  padding-left: 20px;
}

.insight-toc ol li {
  margin-bottom: 8px;
  list-style: decimal;
}

.insight-toc ol li a {
  font-size: 14px;
  color: #3498db;
}

.insight-toc ol li a:hover {
  color: #217dbb;
  text-decoration: underline;
}

.analysis-section {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.analysis-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 14px;
}

.analysis-section p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 12px;
}

.analysis-section p:last-child {
  margin-bottom: 0;
}

/* 数据图表 */
.data-charts {
  margin: 32px 0;
}

.data-charts h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.chart-figure {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.chart-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.chart-figure figcaption {
  font-size: 13px;
  color: #95a5a6;
  padding: 10px 16px;
  border-top: 1px solid #f1f3f5;
}

.data-charts > p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.7;
  margin-top: 12px;
}

/* 来源说明 */
.source-notes {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
}

.source-notes h2 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
}

.source-notes p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 12px;
}

.source-notes ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.source-notes ul li {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 6px;
  list-style: disc;
}

/* 相关阅读 */
.related-reads {
  margin-top: 32px;
}

.related-reads h2 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
}

.related-reads ul li {
  margin-bottom: 10px;
}

.related-reads ul li a {
  font-size: 15px;
  color: #3498db;
}

.related-reads ul li a:hover {
  color: #217dbb;
  text-decoration: underline;
}

/* ==========================================================================
   pages — 404 页面
   ========================================================================== */

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-panel {
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #3498db;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background-color: #3498db;
  border-radius: 6px;
  padding: 12px 28px;
  border: 1px solid #3498db;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #217dbb;
  border-color: #217dbb;
  color: #ffffff;
}

.btn-secondary {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 12px 28px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  border-color: #3498db;
  color: #3498db;
}

.error-tip {
  font-size: 13px;
  color: #95a5a6;
}

/* ==========================================================================
   responsive — 响应式
   ========================================================================== */

/* 平板 */
@media (max-width: 992px) {
  .layout-shell {
    flex-direction: column;
  }

  .layout-shell.sidebar-left {
    flex-direction: column;
  }

  .layout-shell.sidebar-left > .sidebar {
    order: 0;
  }

  .layout-shell > .sidebar {
    flex: 0 0 auto;
    width: 100%;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .core-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .focus-article {
    grid-template-columns: 1fr;
  }

  .focus-media {
    min-height: 220px;
    height: 220px;
  }

  .focus-media img {
    position: static;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
    z-index: 100;
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li {
    border-bottom: 1px solid #f1f3f5;
  }

  .site-nav .nav-list li:last-child {
    border-bottom: none;
  }

  .site-nav .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: none;
  }

  .site-nav .nav-list a.is-current {
    color: #3498db;
    border-bottom: none;
    font-weight: 600;
  }

  .inner-main {
    padding: 24px 16px 40px;
  }

  .home-main {
    padding: 24px 16px 40px;
  }

  .page-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .core-grid {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .tools-list {
    grid-template-columns: 1fr;
  }

  .focus-copy {
    padding: 24px 20px;
  }

  .focus-headline {
    font-size: 22px;
  }

  .focus-media {
    min-height: 180px;
    height: 180px;
  }

  .news-item {
    padding: 16px;
  }

  .pick-item {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }

  .pick-rank {
    font-size: 18px;
    min-width: auto;
    text-align: left;
  }

  .summary-block {
    padding: 20px;
  }

  .analysis-section {
    padding: 20px;
  }

  .exec-summary {
    padding: 20px;
  }

  .method-step {
    padding: 16px 16px 16px 52px;
  }

  .method-step::before {
    left: 16px;
    top: 16px;
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .footer-links {
    gap: 16px;
    padding-bottom: 20px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .channel-tags {
    gap: 8px;
  }

  .channel-tag {
    padding: 8px 14px;
    font-size: 13px;
  }
}
