/* ==========================================================================
   51吃瓜 - 全站样式表
   数据目录风：深蓝 + 浅灰，清晰紧凑，信息密度高
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base / 基础
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2c3e50;
  background-color: #f5f6f8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a2a3a;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c0392b;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1a2a3a;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Layout / 布局骨架
   -------------------------------------------------------------------------- */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  background-color: #f5f6f8;
}

.inner-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  background-color: #f5f6f8;
}

.site-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header / 页头
   -------------------------------------------------------------------------- */
.site-header {
  background-color: #1a2a3a;
  border-bottom: 3px solid #c0392b;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding: 8px 0;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-list li a.is-current {
  color: #ffffff;
  background-color: rgba(192, 57, 43, 0.75);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 10px 8px;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 7px;
  left: 0;
}

/* --------------------------------------------------------------------------
   Footer / 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #1a2a3a;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-brand {
  max-width: 280px;
}

.footer-site-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 6px 0;
  display: inline-block;
}

.footer-links li a:hover {
  color: #ffffff;
}

.footer-copyright {
  flex-basis: 100%;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 20px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Components / 通用组件
   -------------------------------------------------------------------------- */
/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  color: #7f8c8d;
}

.breadcrumb a {
  color: #7f8c8d;
}

.breadcrumb a:hover {
  color: #c0392b;
}

.breadcrumb-sep {
  color: #bdc3c7;
}

.breadcrumb-current {
  color: #1a2a3a;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e4e8;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  color: #5d6d7e;
  max-width: 720px;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #c0392b;
  border-radius: 2px;
}

.section-intro {
  font-size: 15px;
  color: #7f8c8d;
  margin-bottom: 24px;
}

.section-desc {
  font-size: 15px;
  color: #7f8c8d;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   首页 Hero / 首屏
   -------------------------------------------------------------------------- */
.hero-focus {
  background-color: #1a2a3a;
  padding: 56px 0;
}

.hero-focus {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-copy {
  padding: 24px 0;
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  background-color: #c0392b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.hero-cta:hover {
  background-color: #a93226;
  color: #ffffff;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   首页 焦点报道
   -------------------------------------------------------------------------- */
.focus-cover {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.focus-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-top: 8px;
}

.focus-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.focus-story-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a2a3a;
}

.focus-story-summary {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.8;
  margin-bottom: 20px;
}

.focus-story-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #c0392b;
  align-self: flex-start;
}

.focus-story-link:hover {
  color: #a93226;
}

.focus-story-media {
  margin: 0;
}

.focus-story-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   首页 频道导航带
   -------------------------------------------------------------------------- */
.channel-nav-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.channel-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tag {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #e0e4e8;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  color: #1a2a3a;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.channel-tag:hover {
  border-color: #c0392b;
  background-color: #fdf0ef;
  color: #c0392b;
}

/* --------------------------------------------------------------------------
   首页 最新动态
   -------------------------------------------------------------------------- */
.latest-news {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-item {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 20px 24px;
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
  border-left-color: #c0392b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.news-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
}

.news-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.news-title a {
  color: #1a2a3a;
}

.news-title a:hover {
  color: #c0392b;
}

.news-excerpt {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.7;
  grid-column: 1;
}

.news-card time {
  font-size: 13px;
  color: #95a5a6;
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   首页 专题推荐
   -------------------------------------------------------------------------- */
.topic-feature {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-title {
  font-size: 18px;
  font-weight: 600;
  padding: 16px 20px 4px;
}

.topic-title a {
  color: #1a2a3a;
}

.topic-title a:hover {
  color: #c0392b;
}

.topic-excerpt {
  font-size: 14px;
  color: #7f8c8d;
  padding: 0 20px 20px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   首页 编辑推荐
   -------------------------------------------------------------------------- */
.editor-picks {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.picks-list {
  display: grid;
  gap: 16px;
}

.pick-item {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 20px 24px;
  border: 1px solid #e8eaed;
  transition: border-color 0.2s ease;
}

.pick-item:hover {
  border-color: #c0392b;
}

.pick-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pick-title a {
  color: #1a2a3a;
}

.pick-title a:hover {
  color: #c0392b;
}

.pick-reason {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.7;
  padding-left: 14px;
  border-left: 3px solid #e0e4e8;
}

/* --------------------------------------------------------------------------
   首页 来源说明与反馈
   -------------------------------------------------------------------------- */
.source-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}

.source-links {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px 28px;
  border: 1px solid #e8eaed;
  display: grid;
  gap: 12px;
}

.source-links p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.8;
}

.source-links strong {
  color: #1a2a3a;
}

.source-link {
  display: inline-block;
  font-size: 14px;
  color: #c0392b;
  font-weight: 500;
  margin-right: 16px;
}

.source-link:hover {
  color: #a93226;
}

/* --------------------------------------------------------------------------
   频道分类页
   -------------------------------------------------------------------------- */
.channel-section {
  margin-bottom: 48px;
}

.channel-table-wrap {
  background-color: #ffffff;
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.channel-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.channel-table th {
  background-color: #1a2a3a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  padding: 14px 20px;
}

.channel-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e8eaed;
  font-size: 14px;
  color: #2c3e50;
  vertical-align: top;
}

.channel-table tbody tr:last-child td {
  border-bottom: none;
}

.channel-table tbody tr:hover td {
  background-color: #f8f9fa;
}

.channel-name {
  font-weight: 600;
  color: #1a2a3a;
}

/* 频道指南 */
.channel-guide-section {
  margin-bottom: 48px;
}

.channel-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.channel-guide-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e8eaed;
}

.channel-guide-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a2a3a;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f2f4;
}

.channel-guide-item p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.7;
}

/* 频道视觉区 */
.channel-visual-section {
  margin-bottom: 48px;
}

.channel-figure {
  margin: 0;
  background-color: #1a2a3a;
  border-radius: 8px;
  overflow: hidden;
}

.channel-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.channel-figure figcaption {
  padding: 16px 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  background-color: #1a2a3a;
}

/* 相关推荐 */
.related-section {
  margin-bottom: 24px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links li a {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #e0e4e8;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  color: #1a2a3a;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links li a:hover {
  border-color: #c0392b;
  color: #c0392b;
}

/* --------------------------------------------------------------------------
   内容专题页
   -------------------------------------------------------------------------- */
.topic-section {
  margin-bottom: 56px;
}

.topic-card-body {
  padding: 0 20px 20px;
}

.topic-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.topic-card-body h3 a {
  color: #1a2a3a;
}

.topic-card-body h3 a:hover {
  color: #c0392b;
}

.topic-card-body p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 12px;
}

.topic-card-body a {
  font-size: 14px;
  font-weight: 500;
  color: #c0392b;
}

.topic-card-body a:hover {
  color: #a93226;
}

.topic-media {
  margin: 0;
  overflow: hidden;
}

.topic-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* 专题详情列表 */
.topic-detail-section {
  margin-bottom: 24px;
}

.topic-detail-list {
  display: grid;
  gap: 20px;
}

.detail-item {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 24px 28px;
  border-left: 4px solid #1a2a3a;
  transition: border-color 0.2s ease;
}

.detail-item:hover {
  border-left-color: #c0392b;
}

.detail-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a2a3a;
}

.detail-item p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.7;
  margin-bottom: 10px;
}

.detail-item a {
  font-size: 14px;
  color: #c0392b;
  font-weight: 500;
}

.detail-item a:hover {
  color: #a93226;
}

/* --------------------------------------------------------------------------
   阅读指南页
   -------------------------------------------------------------------------- */
.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.guide-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #c0392b;
  border-radius: 2px;
}

.guide-section p {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.8;
  margin-bottom: 16px;
}

.guide-section strong {
  color: #1a2a3a;
}

.guide-figure {
  margin: 24px 0;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8eaed;
}

.guide-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 12px 20px;
  font-size: 13px;
  color: #7f8c8d;
  background-color: #f8f9fa;
}

/* 阅读路径 */
.path-steps {
  counter-reset: path-step;
  display: grid;
  gap: 20px;
}

.path-steps li {
  counter-increment: path-step;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.path-steps li::before {
  content: counter(path-step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1a2a3a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.path-steps li h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a2a3a;
  margin-bottom: 6px;
}

.path-steps li p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.7;
  margin-bottom: 0;
}

.path-steps li a {
  color: #c0392b;
  font-weight: 500;
}

.path-steps li a:hover {
  color: #a93226;
}

/* FAQ */
.faq-section {
  margin-bottom: 48px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid #e8eaed;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #1a2a3a;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #7f8c8d;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: #f8f9fa;
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.8;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   热门资讯页
   -------------------------------------------------------------------------- */
.hot-list-section {
  margin-bottom: 48px;
}

.hot-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.hot-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hot-item-media {
  margin: 0;
}

.hot-item-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.hot-item-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a2a3a;
  margin-bottom: 8px;
}

.hot-item-content h3 a {
  color: #1a2a3a;
}

.hot-item-content h3 a:hover {
  color: #c0392b;
}

.hot-item-summary {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.7;
  margin-bottom: 8px;
}

.hot-item-date {
  font-size: 13px;
  color: #95a5a6;
  margin-bottom: 8px;
}

.hot-item-reason {
  font-size: 13px;
  color: #7f8c8d;
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 10px 14px;
  line-height: 1.6;
}

.hot-item-reason strong {
  color: #c0392b;
  font-weight: 600;
  margin-right: 4px;
}

/* 相关链接 */
.related-links p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.8;
  margin-bottom: 12px;
}

.related-links a {
  color: #c0392b;
  font-weight: 500;
  margin-right: 12px;
}

.related-links a:hover {
  color: #a93226;
}

/* --------------------------------------------------------------------------
   404 页面
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background-color: #f5f6f8;
}

.error-section {
  text-align: center;
  max-width: 520px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #c0392b;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #7f8c8d;
  margin-bottom: 28px;
  line-height: 1.7;
}

.error-back-btn {
  display: inline-block;
  background-color: #1a2a3a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.error-back-btn:hover {
  background-color: #c0392b;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Responsive / 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-focus {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media img {
    height: 260px;
  }

  .focus-story {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .focus-story-media img {
    height: 200px;
  }

  .hot-item {
    grid-template-columns: 160px 1fr;
    gap: 16px;
  }

  .hot-item-media img {
    height: 120px;
  }
}

@media (max-width: 768px) {
  /* 页头 */
  .header-inner {
    padding: 0 16px;
    min-height: 60px;
    flex-wrap: wrap;
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    flex-basis: 100%;
    order: 4;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 8px;
    border-radius: 4px;
  }

  /* 主内容 */
  .inner-main {
    padding: 24px 16px 48px;
  }

  .page-header {
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 24px;
  }

  /* 首页 */
  .hero-focus {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-media img {
    height: 200px;
  }

  .focus-cover,
  .channel-nav-section,
  .latest-news,
  .topic-feature,
  .editor-picks,
  .source-note {
    padding-left: 16px;
    padding-right: 16px;
  }

  .focus-story {
    padding: 20px;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .news-card time {
    grid-column: 1;
    grid-row: auto;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 频道页 */
  .channel-guide-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .channel-figure img {
    height: 180px;
  }

  /* 专题页 */
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-media img {
    height: 200px;
  }

  /* 指南页 */
  .path-steps li {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 20px;
  }

  .path-steps li::before {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .guide-figure img {
    height: 160px;
  }

  /* 热门资讯 */
  .hot-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .hot-item-media img {
    height: 180px;
  }

  /* 页脚 */
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links {
    gap: 8px 16px;
  }
}

@media (max-width: 480px) {
  .hero-focus {
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-cta {
    padding: 10px 22px;
    font-size: 14px;
  }

  .hero-media img {
    height: 180px;
  }

  .section-title {
    font-size: 20px;
  }

  .channel-tag-list {
    gap: 8px;
  }

  .channel-tag {
    padding: 8px 16px;
    font-size: 14px;
  }

  .news-item {
    padding: 16px;
  }

  .topic-card img,
  .topic-media img {
    height: 160px;
  }

  .pick-item {
    padding: 16px;
  }

  .source-links {
    padding: 20px;
  }

  .channel-table th,
  .channel-table td {
    padding: 12px 14px;
  }

  .faq-item summary {
    padding: 14px 44px 14px 16px;
    font-size: 15px;
  }

  .faq-item p {
    padding: 0 16px 16px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-title {
    font-size: 20px;
  }
}
