/* ==========================================================================
   17吃瓜爆料 - 全站样式表
   数据目录风：深蓝主色、灰色背景、白色卡片、蓝色强调色
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base / 基础样式
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #1a1a2e;
  background-color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #0f3460;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e94560;
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.3;
  color: #1a1a2e;
  font-weight: 700;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: Arial, "Helvetica Neue", sans-serif;
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   2. Layout / 布局骨架
   -------------------------------------------------------------------------- */

/* 全站统一容器宽度 */
.header-inner,
.site-main,
.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 页头 */
.site-header {
  background-color: #1a1a2e;
  border-bottom: 3px solid #e94560;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.8rem;
  color: #a0a0c0;
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-list a {
  display: block;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #d0d0e0;
  padding: 10px 16px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-list a.is-current {
  color: #ffffff;
  background-color: #e94560;
}

/* 导航汉堡按钮（桌面隐藏） */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: transparent;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  content: "";
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -7px;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 7px;
}

/* 主内容区 */
.site-main {
  flex: 1 0 auto;
  padding-top: 32px;
  padding-bottom: 48px;
}

.main {
  width: 100%;
}

/* 页脚 */
.site-footer {
  background-color: #1a1a2e;
  color: #c0c0d8;
  flex-shrink: 0;
  margin-top: 48px;
}

.footer-inner {
  padding-top: 40px;
  padding-bottom: 24px;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-tagline {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #a0a0c0;
  max-width: 480px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.link-group h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 600;
}

.link-group ul li {
  margin-bottom: 6px;
}

.link-group ul a {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.88rem;
  color: #a0a0c0;
  line-height: 1.5;
}

.link-group ul a:hover {
  color: #ffffff;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.82rem;
  color: #808098;
  line-height: 1.6;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: #666680;
}

.breadcrumb a {
  color: #0f3460;
}

.breadcrumb a:hover {
  color: #e94560;
}

.breadcrumb-sep {
  color: #9999a8;
}

.breadcrumb-current {
  color: #666680;
}

/* 页面标题区（内页统一） */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d0d0d8;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.25;
}

.page-description {
  font-size: 1rem;
  color: #555568;
  max-width: 720px;
  line-height: 1.7;
}

/* 区块标题与说明 */
.section-desc {
  font-size: 0.95rem;
  color: #666680;
  margin-bottom: 24px;
  max-width: 720px;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   3. Components / 通用组件
   -------------------------------------------------------------------------- */

/* 首页焦点区 */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-media {
  position: relative;
}

.hero-figure {
  overflow: hidden;
  border-radius: 8px;
  background-color: #d0d0d8;
}

.hero-figure img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-content h1 {
  font-size: 2.1rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.hero-summary {
  font-size: 1.05rem;
  color: #444458;
  line-height: 1.7;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #e94560;
  padding: 12px 28px;
  border-radius: 4px;
  align-self: flex-start;
  min-height: 44px;
  transition: background-color 0.2s ease;
}

.cta-link:hover {
  background-color: #d83850;
  text-decoration: none;
  color: #ffffff;
}

/* 频道标签 */
.channel-nav-section,
.latest-section,
.special-section,
.editor-picks-section,
.feedback-section {
  margin-bottom: 48px;
}

.channel-nav-section h2,
.latest-section h2,
.special-section h2,
.editor-picks-section h2,
.feedback-section h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0f3460;
  background-color: #ffffff;
  border: 1px solid #c8c8d4;
  border-radius: 4px;
  padding: 10px 20px;
  min-height: 44px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tag-item:hover {
  background-color: #0f3460;
  color: #ffffff;
  border-color: #0f3460;
  text-decoration: none;
}

/* 最新动态列表 */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  padding: 20px 0;
  border-bottom: 1px solid #d0d0d8;
  align-items: start;
}

.list-item:first-child {
  border-top: 1px solid #d0d0d8;
}

.list-item h3 {
  font-size: 1.1rem;
  line-height: 1.4;
}

.list-item h3 a {
  color: #1a1a2e;
}

.list-item h3 a:hover {
  color: #e94560;
}

.item-summary {
  font-size: 0.92rem;
  color: #555568;
  grid-column: 1 / -1;
  line-height: 1.6;
}

.list-item time {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.82rem;
  color: #888898;
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}

/* 专题卡片（首页与专题页共用） */
.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.special-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dcdce4;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.special-card:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.12);
  transform: translateY(-2px);
}

.special-card img,
.special-card .special-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #d0d0d8;
}

.card-body,
.special-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body h3,
.special-card-title {
  font-size: 1.05rem;
  line-height: 1.4;
}

.card-body h3 a,
.special-card-title a {
  color: #1a1a2e;
}

.card-body h3 a:hover,
.special-card-title a:hover {
  color: #e94560;
}

.card-text,
.special-card-excerpt {
  font-size: 0.9rem;
  color: #555568;
  line-height: 1.6;
  flex: 1;
}

.special-link {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f3460;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 8px;
}

.special-link:hover {
  color: #e94560;
}

/* 编辑推荐 */
.editor-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.editor-item {
  display: flex;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #dcdce4;
  border-radius: 8px;
  padding: 20px;
  align-items: flex-start;
}

.editor-rank {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #e94560;
  min-width: 44px;
  line-height: 1.2;
  text-align: center;
}

.editor-content h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.editor-content h3 a {
  color: #1a1a2e;
}

.editor-content h3 a:hover {
  color: #e94560;
}

.editor-reason {
  font-size: 0.88rem;
  color: #555568;
  line-height: 1.6;
}

/* 信息来源与反馈 */
.feedback-section {
  background-color: #f0f0f4;
  border: 1px solid #dcdce4;
  border-radius: 8px;
  padding: 28px;
}

.feedback-section h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feedback-section p {
  font-size: 0.92rem;
  color: #555568;
  line-height: 1.7;
  margin-bottom: 8px;
}

.feedback-section p:last-child {
  margin-bottom: 0;
}

/* 相关文章列表 */
.related-links {
  background-color: #f0f0f4;
  border: 1px solid #dcdce4;
  border-radius: 8px;
  padding: 24px;
  margin-top: 40px;
}

.related-links h2,
.related-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d0d0d8;
}

.related-links ul li {
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}

.related-links ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: #e94560;
  border-radius: 1px;
}

.related-links ul a {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  color: #0f3460;
  line-height: 1.5;
}

.related-links ul a:hover {
  color: #e94560;
}

/* --------------------------------------------------------------------------
   4. Pages / 页面专属样式
   -------------------------------------------------------------------------- */

/* ---------- 首页 ---------- */
.home-main {
  padding-top: 40px;
}

/* 焦点区（首页唯一H1） */
.hero-content h1#hero-title {
  font-size: 2.2rem;
}

/* ---------- 频道分类页 ---------- */
.channel-list {
  margin-bottom: 48px;
}

.channel-list h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.channel-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #dcdce4;
  border-radius: 8px;
  padding: 20px;
  align-items: center;
}

.channel-media {
  overflow: hidden;
  border-radius: 6px;
  background-color: #d0d0d8;
}

.channel-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.channel-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.channel-body h3 a {
  color: #1a1a2e;
}

.channel-body h3 a:hover {
  color: #e94560;
}

.channel-body p {
  font-size: 0.92rem;
  color: #555568;
  line-height: 1.6;
  margin-bottom: 12px;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f3460;
  min-height: 32px;
}

.channel-link:hover {
  color: #e94560;
}

/* 频道指南 */
.channel-guide {
  margin-bottom: 24px;
}

.channel-guide h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.guide-card {
  background-color: #ffffff;
  border: 1px solid #dcdce4;
  border-radius: 8px;
  padding: 20px;
}

.guide-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #0f3460;
}

.guide-card p {
  font-size: 0.88rem;
  color: #555568;
  line-height: 1.6;
}

.guide-note {
  font-size: 0.88rem;
  color: #666680;
  line-height: 1.6;
}

.guide-note a {
  color: #0f3460;
}

/* ---------- 专题聚合页 ---------- */
.special-grid-section {
  margin-bottom: 48px;
}

.special-grid-section .special-grid {
  grid-template-columns: repeat(3, 1fr);
}

.special-intro-section {
  margin-bottom: 24px;
}

.special-intro-section h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.intro-item {
  background-color: #ffffff;
  border-left: 4px solid #0f3460;
  border-radius: 0 8px 8px 0;
  padding: 20px;
}

.intro-title {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.intro-text {
  font-size: 0.88rem;
  color: #555568;
  line-height: 1.6;
}

.intro-note {
  font-size: 0.88rem;
  color: #666680;
  line-height: 1.6;
}

.intro-note a {
  color: #0f3460;
}

/* ---------- 社会动态（长尾文章页） ---------- */
.article-body {
  margin-bottom: 40px;
}

.article-body h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d0d0d8;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.article-media {
  overflow: hidden;
  border-radius: 8px;
  background-color: #d0d0d8;
}

.article-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.article-media figcaption {
  font-size: 0.82rem;
  color: #888898;
  padding: 10px 14px;
  background-color: #f0f0f4;
  line-height: 1.5;
}

.text-block p {
  font-size: 0.95rem;
  color: #333348;
  line-height: 1.75;
  margin-bottom: 16px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.analysis-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analysis-item {
  background-color: #ffffff;
  border: 1px solid #dcdce4;
  border-radius: 8px;
  padding: 20px;
}

.analysis-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #0f3460;
}

.analysis-item p {
  font-size: 0.9rem;
  color: #555568;
  line-height: 1.65;
}

/* ---------- 娱乐前线（长尾文章页） ---------- */
.article-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-lead {
  font-size: 1.05rem;
  color: #333348;
  line-height: 1.75;
  padding: 20px 24px;
  background-color: #f0f0f4;
  border-left: 4px solid #e94560;
  border-radius: 0 8px 8px 0;
}

.content-block h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d0d0d8;
}

.content-block > p {
  font-size: 0.95rem;
  color: #333348;
  line-height: 1.75;
  margin-bottom: 16px;
}

.dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dynamic-list li {
  font-size: 0.93rem;
  color: #444458;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.dynamic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: #0f3460;
  border-radius: 2px;
}

/* 娱乐页侧栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-figure {
  overflow: hidden;
  border-radius: 8px;
  background-color: #d0d0d8;
}

.sidebar-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.sidebar-figure figcaption {
  font-size: 0.82rem;
  color: #888898;
  padding: 10px 14px;
  background-color: #f0f0f4;
  line-height: 1.5;
}

.sidebar-note {
  font-size: 0.88rem;
  color: #555568;
  line-height: 1.6;
  background-color: #f0f0f4;
  border-radius: 8px;
  padding: 16px;
}

/* ---------- 404页 ---------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-section {
  text-align: center;
  max-width: 560px;
  padding: 40px 24px;
}

.error-code {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: #e94560;
  line-height: 1.1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.95rem;
  color: #555568;
  margin-bottom: 24px;
  line-height: 1.7;
}

.error-actions {
  margin-bottom: 32px;
}

.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #0f3460;
  padding: 12px 32px;
  border-radius: 4px;
  min-height: 44px;
  transition: background-color 0.2s ease;
}

.error-link:hover {
  background-color: #1a4a80;
  color: #ffffff;
  text-decoration: none;
}

.error-suggest {
  text-align: left;
  background-color: #f0f0f4;
  border-radius: 8px;
  padding: 20px 24px;
}

.error-suggest p {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-list li a {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.88rem;
  color: #0f3460;
}

.error-list li a:hover {
  color: #e94560;
}

/* --------------------------------------------------------------------------
   5. Responsive / 响应式适配
   -------------------------------------------------------------------------- */

/* 平板（≤ 992px） */
@media (max-width: 992px) {
  .brand-tagline {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-figure img {
    height: 280px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .special-grid-section .special-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 手机（≤ 768px） */
@media (max-width: 768px) {
  .header-inner,
  .site-main,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 60px;
    flex-wrap: wrap;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 14px 12px;
    border-radius: 4px;
    font-size: 1rem;
  }

  .site-main {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-figure img {
    height: 220px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-summary {
    font-size: 0.95rem;
  }

  .cta-link {
    width: 100%;
  }

  .channel-tags {
    gap: 8px;
  }

  .tag-item {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .list-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .list-item time {
    grid-column: 1;
    grid-row: auto;
  }

  .item-summary {
    grid-column: 1;
  }

  .special-grid {
    grid-template-columns: 1fr;
  }

  .special-grid-section .special-grid {
    grid-template-columns: 1fr;
  }

  .editor-item {
    flex-direction: column;
    gap: 12px;
  }

  .editor-rank {
    min-width: 0;
    text-align: left;
  }

  .feedback-section {
    padding: 20px;
  }

  /* 频道页 */
  .channel-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .channel-media img {
    height: 180px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  /* 专题页 */
  .intro-grid {
    grid-template-columns: 1fr;
  }

  /* 文章页 */
  .article-media img {
    height: 200px;
  }

  .sidebar-figure img {
    height: 200px;
  }

  .article-lead {
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  /* 页脚 */
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-copy {
    flex-direction: column;
    gap: 4px;
  }

  .error-code {
    font-size: 3.5rem;
  }
}

/* 小屏手机（≤ 480px） */
@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }

  .hero-figure img {
    height: 180px;
  }

  .hero-content h1 {
    font-size: 1.35rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .special-grid {
    grid-template-columns: 1fr;
  }

  .special-grid-section .special-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }
}
