/* ==========================================================================
   base — 全局基础样式
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c0392b;
}

ul,
ol {
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout — 全站布局骨架
   ========================================================================== */

.site-header {
  background-color: #2c3e50;
  border-bottom: 3px solid #c0392b;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: #ffffff;
  opacity: 0.85;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.nav-list a.is-current {
  background-color: #c0392b;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  min-height: 44px;
}

.nav-toggle-icon {
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  position: relative;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-text {
  font-size: 14px;
}

.site-main {
  min-height: 60vh;
}

.site-main.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.site-footer {
  background-color: #2c3e50;
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-slogan {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 640px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: #777777;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #2c3e50;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: #c0392b;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #aaaaaa;
}

.breadcrumb-current {
  color: #777777;
  font-weight: 400;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  max-width: 760px;
}

/* 通用 section 标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
  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: #666666;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 780px;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 6px;
  background-color: #2c3e50;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

/* ==========================================================================
   components — 通用组件
   ========================================================================== */

/* 卡片通用 */
.topic-card,
.channel-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.topic-card:hover,
.channel-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #d0d0d0;
}

/* 侧栏通用 */
.sidebar {
  min-width: 0;
}

.sidebar-block {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.sidebar-list li {
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}

.sidebar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: #c0392b;
  border-radius: 2px;
}

.sidebar-list a {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

.sidebar-list a:hover {
  color: #c0392b;
}

/* 相关推荐通用 */
.related-links {
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  margin-top: 32px;
}

.related-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

.related-list li {
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}

.related-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: #c0392b;
  border-radius: 2px;
}

.related-list a {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

.related-list a:hover {
  color: #c0392b;
}

/* 来源说明 */
.source-note-section {
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  margin-top: 40px;
}

.source-note-content p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 8px;
}

.source-note-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

/* 首屏焦点区 */
.hero-section {
  margin-bottom: 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.hero-focus {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}

.hero-media {
  background-color: #e8e8e8;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-content {
  padding: 24px;
}

.hero-content .section-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
  padding: 8px 0;
  border-bottom: 2px solid #c0392b;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover {
  color: #2c3e50;
  border-bottom-color: #2c3e50;
}

/* 首屏右侧频道快捷入口 */
.hero-channels {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
}

.aside-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.channel-quick-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-quick-list li {
  margin: 0;
}

.channel-quick-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #f8f8f8;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.channel-quick-list a::after {
  content: "→";
  font-size: 16px;
  color: #c0392b;
  font-weight: 400;
}

.channel-quick-list a:hover {
  background-color: #2c3e50;
  color: #ffffff;
}

.channel-quick-list a:hover::after {
  color: #ffffff;
}

/* 频道分类导航带 */
.channel-nav-section {
  margin-bottom: 40px;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tags .tag {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.channel-tags .tag:hover {
  background-color: #c0392b;
  border-color: #c0392b;
  color: #ffffff;
}

/* 最新资讯列表 */
.latest-news-section {
  margin-bottom: 40px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}

.news-item {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background-color: #fafafa;
}

.item-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
}

.item-title a {
  color: #1a1a1a;
}

.item-title a:hover {
  color: #c0392b;
}

.item-summary {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 8px;
}

.item-date {
  font-size: 13px;
  color: #999999;
}

/* 专题推荐区 */
.topic-section {
  margin-bottom: 40px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-grid .topic-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #e8e8e8;
}

.topic-info {
  padding: 20px;
}

.topic-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.topic-title a {
  color: #1a1a1a;
}

.topic-title a:hover {
  color: #c0392b;
}

.topic-excerpt {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 编辑推荐 */
.editor-picks-section {
  margin-bottom: 40px;
}

.picks-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pick-item {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  border-left: 4px solid #c0392b;
  transition: box-shadow 0.25s ease;
}

.pick-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pick-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.pick-title a {
  color: #1a1a1a;
}

.pick-title a:hover {
  color: #c0392b;
}

.pick-reason {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* ==========================================================================
   pages — 频道分类页
   ========================================================================== */

.channel-list-section {
  margin-bottom: 44px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.channel-card {
  display: flex;
  flex-direction: column;
}

.channel-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background-color: #e8e8e8;
}

.channel-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.channel-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.channel-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.channel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
  padding: 6px 0;
}

.channel-link:hover {
  color: #2c3e50;
}

.channel-overview-section {
  margin-bottom: 40px;
}

.overview-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.overview-item {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
}

.overview-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.overview-text {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* ==========================================================================
   pages — 内容专题页
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.topic-grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.topic-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #e8e8e8;
}

.topic-card-body {
  padding: 20px;
}

.topic-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.topic-card-title a {
  color: #1a1a1a;
}

.topic-card-title a:hover {
  color: #c0392b;
}

.topic-card-excerpt {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 12px;
}

.read-more-link {
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
}

.read-more-link:hover {
  color: #2c3e50;
}

.topic-detail-entry {
  margin-bottom: 40px;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.entry-list li {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 14px 18px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.entry-list li:hover {
  border-color: #c0392b;
  background-color: #fafafa;
}

.entry-list a {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
}

.entry-list a:hover {
  color: #c0392b;
}

/* ==========================================================================
   pages — 社会动态文章页
   ========================================================================== */

.article-content {
  min-width: 0;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 32px;
}

.article-section {
  margin-bottom: 32px;
}

.article-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.4;
}

.article-section p {
  font-size: 15px;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 14px;
}

.article-figure {
  margin: 20px 0;
}

.article-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  background-color: #e8e8e8;
}

.article-figure figcaption {
  font-size: 13px;
  color: #999999;
  margin-top: 8px;
  text-align: center;
}

.article-section > p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 娱乐前线页
   ========================================================================== */

.news-section {
  margin-bottom: 40px;
}

.news-section > h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.news-section .news-item {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.news-section .news-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.news-section .news-item h3 a {
  color: #1a1a1a;
}

.news-section .news-item h3 a:hover {
  color: #c0392b;
}

.news-meta {
  font-size: 13px;
  color: #999999;
  margin-bottom: 8px;
}

.news-section .news-item > p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-section .news-item > a {
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
}

.news-section .news-item > a:hover {
  color: #2c3e50;
}

.insight-section {
  margin-bottom: 40px;
}

.insight-section > h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.insight-item {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
  border-left: 4px solid #c0392b;
}

.insight-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.insight-item p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.sidebar-info {
  min-width: 0;
}

.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.sidebar-card ul li {
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}

.sidebar-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: #c0392b;
  border-radius: 2px;
}

.sidebar-card ul a {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

.sidebar-card ul a:hover {
  color: #c0392b;
}

.side-figure {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}

.side-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #e8e8e8;
}

.side-figure figcaption {
  font-size: 13px;
  color: #999999;
  padding: 12px 16px;
  line-height: 1.5;
}

.source-note {
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  margin-top: 40px;
}

.source-note h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.source-note p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 8px;
}

.source-note p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 实用指南页
   ========================================================================== */

.layout-shell.guide-layout {
  max-width: 900px;
}

.guide-section {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
}

.guide-section .section-title {
  margin-bottom: 12px;
}

.guide-section .section-intro {
  margin-bottom: 20px;
}

.method-item {
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 3px solid #c0392b;
}

.method-item:last-child {
  margin-bottom: 0;
}

.method-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.method-item p {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 6px;
}

.method-item a {
  font-size: 14px;
  color: #c0392b;
  font-weight: 600;
}

.method-item a:hover {
  color: #2c3e50;
}

.guide-media {
  margin-bottom: 24px;
}

.guide-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  background-color: #e8e8e8;
}

.guide-media figcaption {
  font-size: 13px;
  color: #999999;
  margin-top: 8px;
  text-align: center;
}

.guide-related {
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
}

/* ==========================================================================
   pages — 404 错误页
   ========================================================================== */

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.error-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-content {
  text-align: center;
  max-width: 560px;
  padding: 48px 32px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.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: #1a1a1a;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.error-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #c0392b;
  color: #ffffff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.error-link:hover {
  background-color: #2c3e50;
  color: #ffffff;
}

/* ==========================================================================
   responsive — 响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1.6fr 1fr;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
    min-height: auto;
  }

  .brand-logo {
    font-size: 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0;
    gap: 4px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    width: 100%;
    font-size: 16px;
  }

  .site-main.inner-main {
    padding: 20px 16px 40px;
  }

  .home-main {
    padding: 20px 16px 40px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-media img {
    height: 220px;
  }

  .hero-content {
    padding: 20px;
  }

  .channel-tags {
    gap: 8px;
  }

  .channel-tags .tag {
    padding: 8px 14px;
    font-size: 13px;
  }

  .news-item {
    padding: 16px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .picks-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .channel-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .overview-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .main-content {
    min-width: 0;
  }

  .sidebar {
    order: 2;
  }

  .topic-grid-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-content {
    padding: 20px;
  }

  .article-figure img {
    height: 200px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .page-title {
    font-size: 26px;
  }

  .guide-section {
    padding: 20px;
  }

  .error-content {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  .news-section .news-item {
    padding: 16px;
  }

  .insight-item {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero-media img {
    height: 180px;
  }

  .topic-grid .topic-card img {
    height: 160px;
  }

  .topic-card-image {
    height: 150px;
  }

  .channel-thumb {
    height: 140px;
  }

  .article-figure img {
    height: 160px;
  }

  .guide-media img {
    height: 180px;
  }

  .side-figure img {
    height: 140px;
  }

  .item-title {
    font-size: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .page-title {
    font-size: 24px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  .breadcrumb-sep {
    margin: 0 6px;
  }
}
