/* ============================================================
   糖心视频免费论坛 · 整站样式
   视觉方向：报纸编辑风 —— 黑白为主、细分隔线、多栏高密度
   ============================================================ */

/* ============================================================
   1. Base —— 变量 / 重置 / 全局基础
   ============================================================ */
:root {
  --color-bg: #f5f1e8;
  --color-card: #faf7f2;
  --color-text: #111111;
  --color-heading: #000000;
  --color-muted: #555555;
  --color-line: #cccccc;
  --color-line-light: #e0ddd5;
  --color-accent: #a60000;
  --color-accent-dark: #8a0000;
  --color-accent-light: #f3e3e3;

  --font-serif: Georgia, "Times New Roman", "SimSun", "Songti SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container-width: 1200px;
  --container-pad: 20px;
  --radius: 6px;
  --radius-sm: 4px;
  --header-h: 56px;
  --topbar-h: 36px;
}

/* 暗色模式：跟随系统偏好 */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1a1a1a;
    --color-card: #222222;
    --color-text: #e0e0e0;
    --color-heading: #ffffff;
    --color-muted: #aaaaaa;
    --color-line: #444444;
    --color-line-light: #333333;
    --color-accent: #d85a5a;
    --color-accent-dark: #e07070;
    --color-accent-light: #3a2525;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--color-heading);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 23px;
}

h3 {
  font-size: 18px;
}

p {
  line-height: 1.7;
}

/* 视觉隐藏，仅供屏幕阅读器 */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============================================================
   2. Layout —— 容器 / 网格骨架 / 面包屑
   ============================================================ */
.container,
.header-inner,
.footer-inner,
.layout-shell,
.page-layout,
.main-content,
.sidebar,
.sidebar-area,
.sidebar-right,
.layout-main,
.layout-side {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.header-inner,
.footer-inner {
  max-width: var(--container-width);
}

/* 内页统一外壳 */
.site-main.inner-main {
  background: transparent;
}

/* 内页主内容 + 侧栏 双列骨架 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 48px;
  align-items: start;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 48px;
  align-items: start;
}

/* 指南页专用双列 */
.page-layout .layout-main {
  min-width: 0;
}

.layout-side {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ============================================================
   3. Components —— 通用组件
   ============================================================ */

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-card);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #ffffff;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ---------- 文本链接 ---------- */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.text-link:hover {
  border-bottom-color: var(--color-accent);
}

/* ---------- 区块标题 ---------- */
.section-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--color-heading);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.section-title + .section-desc,
.section-title + .section-intro {
  margin-top: -6px;
}

/* ---------- 页面标题区 ---------- */
.page-header {
  padding: 24px 0 18px;
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 0;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
}

.page-description {
  margin-top: 10px;
  font-size: 15px;
  color: var(--color-muted);
  max-width: 720px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--color-muted);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list a {
  color: var(--color-muted);
  transition: color 0.15s ease;
}

.breadcrumb-list a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  margin: 0 4px;
  color: var(--color-line);
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------- 图文媒体 ---------- */
.content-media {
  margin: 16px 0;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-line-light);
}

.content-media figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

.content-media-inline {
  display: block;
}

/* ---------- 侧栏卡片 ---------- */
.sidebar-card {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 12px;
}

.sidebar-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.sidebar-text:last-child {
  margin-bottom: 0;
}

/* ---------- 侧栏链接列表 ---------- */
.sidebar-links li {
  margin-bottom: 8px;
}

.sidebar-links a {
  font-size: 14px;
  color: var(--color-text);
  padding-left: 12px;
  position: relative;
  transition: color 0.15s ease;
}

.sidebar-links a::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.sidebar-links a:hover {
  color: var(--color-accent);
}

/* ---------- 标签列表 ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  margin: 0;
}

.tag-list a {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tag-list a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ---------- 话题列表（图文行） ---------- */
.topic-list li {
  border-bottom: 1px solid var(--color-line-light);
}

.topic-list li:last-child {
  border-bottom: none;
}

.topic-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  transition: background 0.15s ease;
}

.topic-link:hover {
  background: var(--color-card);
}

.topic-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-line-light);
}

.topic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-info {
  flex: 1;
  min-width: 0;
}

.topic-title-text {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topic-excerpt {
  display: block;
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-muted);
}

.topic-replies {
  color: var(--color-accent);
  font-weight: 600;
  font-family: var(--font-mono);
}

.topic-time {
  font-family: var(--font-mono);
}

/* ============================================================
   4. Header —— 页头（工具栏 + 主导航）
   ============================================================ */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  position: relative;
  z-index: 100;
}

.header-topbar {
  background: var(--color-heading);
  color: var(--color-bg);
  font-size: 13px;
  border-bottom: 1px solid var(--color-line);
}

.header-topbar .header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--topbar-h);
  gap: 10px;
}

.topbar-link {
  color: var(--color-bg);
  font-size: 13px;
  padding: 4px 0;
  transition: opacity 0.15s ease;
}

.topbar-link:hover {
  opacity: 0.8;
  color: var(--color-bg);
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(128, 128, 128, 0.5);
}

.header-main {
  background: var(--color-bg);
}

.header-main .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 12px;
  color: var(--color-muted);
  border: 1px solid var(--color-line);
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* 主导航 */
.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-list a:hover {
  color: var(--color-accent);
}

.nav-list a.is-current {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* 汉堡按钮（桌面隐藏） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   5. Footer —— 页脚
   ============================================================ */
.site-footer {
  background: var(--color-heading);
  color: var(--color-bg);
  border-top: 2px solid var(--color-line);
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 28px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-bg);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.4);
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-bg);
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-bg);
}

.footer-bottom {
  border-top: 1px solid rgba(128, 128, 128, 0.25);
  padding: 16px 0;
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: var(--color-bg);
  opacity: 0.7;
}

/* ============================================================
   6. Pages —— 首页
   ============================================================ */

/* ---------- 首页高密度首屏 ---------- */
.hero-section {
  padding: 24px 0 8px;
}

.hero-figure {
  margin-bottom: 20px;
}

.hero-image-wrap {
  margin: 0;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}

.hero-columns {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.hero-col {
  min-width: 0;
}

/* 左栏：交流分区列表 */
.hero-col-sections .section-title {
  font-size: 20px;
}

.compact-list li {
  border-bottom: 1px solid var(--color-line-light);
}

.compact-list li:last-child {
  border-bottom: none;
}

.compact-list a {
  display: block;
  padding: 9px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.compact-list a:hover {
  color: var(--color-accent);
  padding-left: 8px;
}

.hero-col-sections .text-link {
  margin-top: 10px;
}

/* 中栏：最新话题 */
.hero-col-topics .section-title {
  font-size: 20px;
}

.hero-col-topics .topic-link {
  padding: 10px 0;
}

.hero-col-topics .topic-thumb {
  flex-basis: 64px;
  width: 64px;
  height: 48px;
}

.hero-col-topics .topic-title-text {
  font-size: 14px;
}

.hero-col-topics .topic-excerpt {
  font-size: 12px;
}

.hero-col-topics .text-link {
  margin-top: 6px;
}

/* 右栏：公告 + 参与入口 */
.hero-col-news .section-title {
  font-size: 20px;
}

.notice-card {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.notice-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line-light);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.notice-list li:last-child {
  border-bottom: none;
}

.notice-list li::before {
  content: "◆";
  color: var(--color-accent);
  font-size: 10px;
  margin-right: 8px;
}

.cta-block {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 16px;
}

.cta-text {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.cta-block .btn-primary,
.cta-block .btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
}

.cta-block .btn-secondary {
  margin-bottom: 0;
}

/* ---------- 今日热帖 ---------- */
.hot-topics-section {
  padding: 28px 0 8px;
}

.hot-topics-section .section-header {
  margin-bottom: 14px;
}

.hot-topics-section .section-title {
  margin-bottom: 0;
}

.hot-topics-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  background: var(--color-card);
  overflow: hidden;
}

.hot-topic-item {
  padding: 16px;
  border-right: 1px solid var(--color-line-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.hot-topic-item:last-child {
  border-right: none;
}

.hot-rank {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hot-topic-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.hot-topic-link:hover {
  color: var(--color-accent);
}

.hot-replies {
  font-size: 12px;
  color: var(--color-muted);
  font-family: var(--font-mono);
}

/* ---------- 版块速览 ---------- */
.sections-preview {
  padding: 28px 0 8px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}

.section-header .section-title {
  margin-bottom: 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.preview-card {
  display: flex;
  gap: 16px;
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 14px;
  transition: border-color 0.15s ease;
}

.preview-card:hover {
  border-color: var(--color-line);
}

.preview-card img {
  flex: 0 0 120px;
  width: 120px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.preview-body {
  flex: 1;
  min-width: 0;
}

.preview-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.preview-title a {
  color: var(--color-heading);
}

.preview-title a:hover {
  color: var(--color-accent);
}

.preview-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preview-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  padding: 1px 8px;
}

/* ---------- 参与指南与常见问题双列 ---------- */
.guide-faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px 0 8px;
}

.guide-col,
.faq-col {
  min-width: 0;
}

.guide-steps {
  margin-bottom: 16px;
}

.guide-step {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line-light);
}

.guide-step:last-child {
  border-bottom: none;
}

.step-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-heading);
  color: var(--color-bg);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

.faq-preview-list li {
  border-bottom: 1px solid var(--color-line-light);
  padding: 10px 0;
}

.faq-preview-list li:last-child {
  border-bottom: none;
}

.faq-preview-link {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.15s ease;
}

.faq-preview-link:hover {
  color: var(--color-accent);
}

.faq-preview-answer {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ---------- 规则与反馈横幅 ---------- */
.rules-banner {
  margin: 28px 0 0;
  background: var(--color-heading);
  color: var(--color-bg);
  border-radius: var(--radius);
  padding: 0;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  flex-wrap: wrap;
}

.banner-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-bg);
  max-width: 640px;
}

.banner-links {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.banner-links .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.banner-links .btn-primary:hover {
  background: var(--color-accent-dark);
}

.banner-links .btn-secondary {
  border-color: var(--color-bg);
  color: var(--color-bg);
}

.banner-links .btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   7. Pages —— 交流分区列表页（sections.html）
   ============================================================ */
.section-block {
  margin-bottom: 32px;
}

.section-block .section-title {
  font-size: 22px;
}

.section-desc {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.section-list {
  display: flex;
  flex-direction: column;
}

.section-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line-light);
  transition: background 0.15s ease;
}

.section-item:hover {
  background: var(--color-card);
}

.section-item:last-child {
  border-bottom: none;
}

.section-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  border: 1px solid var(--color-line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
}

.section-info {
  flex: 1;
  min-width: 0;
}

.section-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 4px;
}

.section-info p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  padding: 1px 8px;
  margin-right: 6px;
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tag-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   8. Pages —— 版块详情页（section.html）
   ============================================================ */

/* 版块头部简介 */
.section-intro {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
}

.section-intro-media {
  min-width: 0;
}

.section-intro-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line-light);
}

.section-intro-text {
  min-width: 0;
}

.section-intro-text .section-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.section-intro-text p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

/* 话题列表区 */
.topic-list-section {
  margin-bottom: 8px;
}

.topic-list-section .section-title {
  font-size: 22px;
}

.topic-list-section .section-desc {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.topic-item {
  border-bottom: 1px solid var(--color-line-light);
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-item .topic-link {
  padding: 14px 0;
}

/* 侧栏 */
.sidebar .sidebar-card {
  padding: 16px;
}

.sidebar .sidebar-title {
  font-size: 17px;
}

.sidebar .post-tips p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.sidebar .post-tips .btn {
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

/* ============================================================
   9. Pages —— 参与指南（guide.html）
   ============================================================ */

/* 参与流程步骤 */
.guide-steps {
  margin-bottom: 36px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line-light);
}

.step-item:last-child {
  border-bottom: none;
}

.step-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-heading);
  color: var(--color-bg);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content .step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.step-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* 发帖与回复格式 */
.post-format {
  margin-bottom: 36px;
}

.section-intro {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.format-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.format-col {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 20px;
}

.format-col-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 14px;
}

.format-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.format-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.format-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--color-accent);
  font-weight: 700;
}

/* 话题分类表 */
.topic-category {
  margin-bottom: 36px;
}

.category-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
}

.category-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--color-card);
}

.category-table thead th {
  background: var(--color-heading);
  color: var(--color-bg);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-right: 1px solid var(--color-line);
}

.category-table thead th:last-child {
  border-right: none;
}

.category-table tbody td {
  padding: 10px 14px;
  border-top: 1px solid var(--color-line-light);
  border-right: 1px solid var(--color-line-light);
  line-height: 1.6;
}

.category-table tbody td:last-child {
  border-right: none;
}

.category-tip {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* 常见操作提示 */
.operation-tips {
  margin-bottom: 36px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tip-card {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 16px;
}

.tip-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.tip-text {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* 继续了解 */
.continue-links {
  margin-bottom: 8px;
}

.continue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.continue-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 16px;
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}

.continue-item:hover {
  border-color: var(--color-accent);
}

.continue-name {
  flex: 0 0 90px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-serif);
}

.continue-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* 指南页侧栏 */
.side-card {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}

.side-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 12px;
}

.side-nav-list li {
  margin-bottom: 8px;
}

.side-nav-list a {
  font-size: 14px;
  color: var(--color-text);
  padding-left: 12px;
  position: relative;
  transition: color 0.15s ease;
}

.side-nav-list a::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.side-nav-list a:hover {
  color: var(--color-accent);
}

.side-figure {
  margin: 0;
}

.side-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line-light);
}

.side-caption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ============================================================
   10. Pages —— 社区守则（rules.html）
   ============================================================ */
.rules-section {
  margin-bottom: 28px;
}

.rules-section .section-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.rules-section > p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.rule-list li::before {
  content: "第";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
}

/* 快速要点 */
.quick-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-points li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.quick-points li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 13px;
}

/* 申诉与反馈 */
.appeal-footer {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-top: 8px;
  text-align: center;
}

.appeal-footer p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.appeal-footer a {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid var(--color-accent);
}

.appeal-footer a:hover {
  border-bottom-color: transparent;
}

/* ============================================================
   11. Pages —— 常见问题（faq.html）
   ============================================================ */

/* 分类索引 */
.faq-category-index {
  margin-bottom: 28px;
}

.faq-category-index .section-title {
  font-size: 20px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-list a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-card);
  color: var(--color-text);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.category-list a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* FAQ 折叠面板 */
.faq-list {
  margin-bottom: 36px;
}

.faq-list .section-title {
  font-size: 22px;
}

.faq-cat-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-heading);
}

.faq-item {
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--color-card);
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 18px 16px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* 未解决问题 */
.faq-unresolved {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 8px;
}

.faq-unresolved .section-title {
  font-size: 19px;
}

.faq-unresolved > p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.faq-unresolved ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-unresolved ul a {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================================
   12. Pages —— 意见反馈（feedback.html）
   ============================================================ */

/* 反馈类型卡片 */
.feedback-types {
  margin-bottom: 36px;
}

.feedback-types > h2 {
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 16px;
}

.type-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.type-card {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 18px;
}

.type-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.type-card p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.type-card .type-note {
  font-size: 13px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line-light);
  padding-top: 8px;
  margin-bottom: 0;
}

/* 反馈前准备 */
.feedback-prep {
  margin-bottom: 36px;
}

.feedback-prep > h2 {
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 8px;
}

.feedback-prep > p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prep-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}

.prep-list li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 16px;
}

/* 处理流程时间线 */
.feedback-process {
  margin-bottom: 36px;
}

.feedback-process > h2 {
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 16px;
}

.process-figure {
  margin-bottom: 20px;
}

.process-figure img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-line-light);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-line);
}

.process-timeline li {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  position: relative;
}

.process-timeline .step-num {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-heading);
  color: var(--color-bg);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
}

.process-timeline .step-body {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.process-timeline .step-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 4px;
}

.process-timeline .step-body p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* 处理结果说明 */
.feedback-result {
  margin-bottom: 36px;
}

.feedback-result > h2 {
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 8px;
}

.feedback-result > p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.result-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.result-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.result-tip {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.result-tip a {
  color: var(--color-accent);
  font-weight: 600;
}

/* 反馈渠道说明 */
.feedback-submit {
  background: var(--color-card);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 8px;
}

.feedback-submit h2 {
  font-size: 19px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-heading);
  margin-bottom: 12px;
}

.feedback-submit p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.feedback-submit p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   13. Pages —— 404 错误页
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 20px;
}

.error-section {
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 72px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin: 16px 0;
}

.error-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.error-tip {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

.error-tip a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================================
   14. Responsive —— 响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero-columns {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .hero-col-news {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-col-news .section-title {
    grid-column: 1 / -1;
  }

  .notice-card {
    margin-bottom: 0;
  }

  .hot-topics-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .hot-topic-item:nth-child(3) {
    border-right: none;
  }

  .hot-topic-item:nth-child(n + 4) {
    border-top: 1px solid var(--color-line-light);
  }

  .hot-topic-item:nth-child(4) {
    border-right: 1px solid var(--color-line-light);
  }

  .page-layout,
  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
  }

  .type-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .type-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .page-layout,
  .layout-shell {
    grid-template-columns: 1fr;
  }

  .main-content,
  .layout-main {
    grid-row: 1;
  }

  .sidebar,
  .sidebar-area,
  .sidebar-right,
  .layout-side {
    grid-row: 2;
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .section-intro-media img {
    height: auto;
    max-height: 200px;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .guide-faq-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-header {
    padding: 18px 0 14px;
  }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-line-light);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: none;
  }

  .nav-list a.is-current {
    border-bottom: none;
    background: var(--color-accent-light);
  }

  /* 首屏折叠为单列 */
  .hero-section {
    padding-top: 16px;
  }

  .hero-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-col-news {
    display: block;
  }

  .hero-col-news .section-title {
    margin-bottom: 12px;
  }

  .notice-card {
    margin-bottom: 14px;
  }

  /* 移动端顺序：最新话题 -> 公告规则 -> 交流分区 */
  .hero-col-topics {
    order: 1;
  }

  .hero-col-news {
    order: 2;
  }

  .hero-col-sections {
    order: 3;
  }

  .hero-image-wrap img {
    max-height: 220px;
  }

  /* 热帖 */
  .hot-topics-list {
    grid-template-columns: 1fr;
  }

  .hot-topic-item {
    border-right: none;
    border-bottom: 1px solid var(--color-line-light);
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .hot-topic-item:last-child {
    border-bottom: none;
  }

  .hot-rank {
    font-size: 18px;
    flex: 0 0 28px;
  }

  .hot-topic-link {
    flex: 1;
    -webkit-line-clamp: 1;
  }

  .hot-replies {
    flex-shrink: 0;
  }

  /* 版块速览 */
  .preview-card {
    flex-direction: column;
  }

  .preview-card img {
    width: 100%;
    height: 160px;
    flex: none;
  }

  /* 双列引导 */
  .guide-faq-section {
    gap: 24px;
  }

  /* 规则横幅 */
  .banner-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .banner-links {
    width: 100%;
  }

  .banner-links .btn-primary,
  .banner-links .btn-secondary {
    flex: 1;
    text-align: center;
  }

  /* 指南页 */
  .format-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .continue-item {
    flex-direction: column;
    gap: 6px;
  }

  .continue-name {
    flex: none;
  }

  /* 反馈页 */
  .type-card-grid {
    grid-template-columns: 1fr;
  }

  .type-card:last-child {
    grid-column: auto;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 28px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 14px;
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-image-wrap img {
    max-height: 180px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hot-topics-section .section-header {
    flex-direction: row;
    align-items: center;
  }

  .topic-link {
    gap: 10px;
  }

  .topic-thumb {
    flex-basis: 56px;
    width: 56px;
    height: 44px;
  }

  .topic-title-text {
    font-size: 14px;
  }

  .topic-excerpt {
    -webkit-line-clamp: 1;
  }

  .topic-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn-primary,
  .error-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .banner-links {
    flex-direction: column;
  }
}
