/* ==========================================================
   www.51吃瓜网 - 全站样式表
   视觉方向：校园刊物风 · 活跃栏目色 · 公告网格 · 青春编辑感
   ========================================================== */

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2b2b2b;
  background-color: #f5f0e8;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #d94f30;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #b33e24;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #2b2b2b;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

p {
  margin-bottom: 1em;
}

time {
  color: #777;
  font-size: 14px;
}

/* ==========================================================
   Layout 骨架
   ========================================================== */
.site-header {
  background-color: #fff;
  border-bottom: 3px solid #d94f30;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer {
  background-color: #2b2b2b;
  color: #e8e2d8;
  margin-top: 60px;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

/* ==========================================================
   页头导航
   ========================================================== */
.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #d94f30;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #d94f30;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  color: #d94f30;
  font-size: 14px;
}

.nav-toggle-icon {
  display: block;
  width: 16px;
  height: 2px;
  background-color: #d94f30;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: #d94f30;
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.nav-toggle-text {
  font-size: 14px;
}

.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #2b2b2b;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: #f5f0e8;
  color: #d94f30;
}

.nav-list li a.is-current {
  background-color: #d94f30;
  color: #fff;
}

/* ==========================================================
   面包屑
   ========================================================== */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #3b7a57;
}

.breadcrumb a:hover {
  color: #d94f30;
}

.breadcrumb-sep {
  color: #aaa;
}

.breadcrumb-current {
  color: #2b2b2b;
  font-weight: 500;
}

/* ==========================================================
   页面标题区（内页统一）
   ========================================================== */
.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 60vh;
}

.page-header {
  padding: 28px 0 24px;
  border-bottom: 1px solid #e0d8cc;
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  color: #2b2b2b;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #666;
  max-width: 720px;
  margin-bottom: 0;
}

.page-intro {
  font-size: 16px;
  color: #666;
  max-width: 720px;
  margin-bottom: 0;
}

.page-title-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 0 24px;
  border-bottom: 1px solid #e0d8cc;
  margin-bottom: 32px;
}

/* ==========================================================
   通用组件
   ========================================================== */
.section-title {
  font-size: 24px;
  color: #2b2b2b;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #d94f30;
}

.section-note {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: #d94f30;
  color: #fff;
}

.btn-primary:hover {
  background-color: #b33e24;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 79, 48, 0.25);
}

.btn-secondary {
  background-color: #fff;
  color: #3b7a57;
  border: 2px solid #3b7a57;
}

.btn-secondary:hover {
  background-color: #3b7a57;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 122, 87, 0.2);
}

/* 频道标签 */
.channel-tag {
  display: inline-block;
  padding: 8px 20px;
  background-color: #fff;
  border: 2px solid #3b7a57;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #3b7a57;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.channel-tag:hover {
  background-color: #3b7a57;
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================
   首页 Hero
   ========================================================== */
.hero-section {
  padding: 48px 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #2b2b2b;
  line-height: 1.3;
}

.hero-lead {
  font-size: 17px;
  color: #555;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ==========================================================
   首页频道导航带
   ========================================================== */
.channel-nav-section {
  padding: 40px 0;
  border-top: 1px solid #e0d8cc;
}

.channel-tag-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.channel-nav-desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 0;
}

/* ==========================================================
   首页最新资讯
   ========================================================== */
.latest-news-section {
  padding: 40px 0;
  border-top: 1px solid #e0d8cc;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  padding: 20px 0;
  border-bottom: 1px solid #e8e2d8;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: start;
}

.news-item:first-child {
  padding-top: 4px;
}

.news-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.news-item h3 a {
  color: #2b2b2b;
}

.news-item h3 a:hover {
  color: #d94f30;
}

.news-summary {
  font-size: 15px;
  color: #666;
  margin-bottom: 0;
  grid-column: 1 / -1;
}

.news-item time {
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}

/* ==========================================================
   首页专题卡片区
   ========================================================== */
.topic-cards-section {
  padding: 40px 0;
  border-top: 1px solid #e0d8cc;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.topic-card a {
  display: block;
  color: inherit;
}

.topic-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-card h3 {
  padding: 16px 20px 4px;
  font-size: 18px;
}

.topic-card p {
  padding: 0 20px 20px;
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

/* ==========================================================
   首页编辑推荐
   ========================================================== */
.editor-picks-section {
  padding: 40px 0;
  border-top: 1px solid #e0d8cc;
}

.editor-picks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-pick-item {
  background-color: #fff;
  border-left: 4px solid #f2c94c;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-pick-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.editor-pick-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.editor-pick-item h3 a {
  color: #2b2b2b;
}

.editor-pick-item h3 a:hover {
  color: #d94f30;
}

.pick-reason {
  font-size: 14px;
  color: #777;
  margin-bottom: 0;
}

/* ==========================================================
   首页来源说明
   ========================================================== */
.source-note-section {
  padding: 40px 0;
  border-top: 1px solid #e0d8cc;
}

.source-note-section p {
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
  border: 1px solid #e8e2d8;
}

.source-note-section a {
  color: #3b7a57;
  font-weight: 500;
}

.source-note-section a:hover {
  color: #d94f30;
}

/* ==========================================================
   频道分类页
   ========================================================== */
.channel-grid {
  padding-bottom: 40px;
}

.channel-grid .section-title {
  margin-bottom: 24px;
}

.channel-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.channel-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.channel-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.channel-content {
  padding: 20px;
}

.channel-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #2b2b2b;
}

.channel-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.channel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3b7a57;
}

.channel-link:hover {
  color: #d94f30;
}

.channel-intro {
  padding: 32px 0 40px;
  border-top: 1px solid #e0d8cc;
}

.intro-block {
  background-color: #fff;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid #e8e2d8;
}

.intro-block p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

.intro-block p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   内容专题页
   ========================================================== */
.topic-grid {
  padding-bottom: 40px;
}

.topic-grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card-media {
  position: relative;
}

.topic-card-media figure {
  margin: 0;
}

.topic-card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-card-media figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  font-size: 13px;
  padding: 24px 16px 10px;
}

.topic-card-body {
  padding: 16px 20px 20px;
}

.topic-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.topic-card-title a {
  color: #2b2b2b;
}

.topic-card-title a:hover {
  color: #d94f30;
}

.topic-card-excerpt {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.topic-card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3b7a57;
}

.topic-card-link:hover {
  color: #d94f30;
}

.topic-intro {
  padding: 32px 0 40px;
  border-top: 1px solid #e0d8cc;
}

.topic-intro-content {
  background-color: #fff;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid #e8e2d8;
}

.topic-intro-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

.topic-intro-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.topic-intro-content li {
  font-size: 15px;
  color: #555;
  margin-bottom: 6px;
}

.more-link {
  display: inline-block;
  font-weight: 600;
  color: #3b7a57;
  margin-top: 8px;
}

.more-link:hover {
  color: #d94f30;
}

/* ==========================================================
   相关链接（内页共用）
   ========================================================== */
.related-links {
  padding: 32px 0 40px;
  border-top: 1px solid #e0d8cc;
}

.related-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-links li a {
  display: block;
  padding: 10px 16px;
  background-color: #fff;
  border-radius: 6px;
  border-left: 3px solid #3b7a57;
  font-size: 15px;
  color: #2b2b2b;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.related-links li a:hover {
  background-color: #f0ece4;
  color: #d94f30;
}

/* ==========================================================
   阅读指南页
   ========================================================== */
.layout-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding-bottom: 48px;
  align-items: start;
}

.guide-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-inner {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e8e2d8;
  padding: 20px;
}

.sidebar-inner h2 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f5f0e8;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #555;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-list li a:hover {
  background-color: #f5f0e8;
  color: #d94f30;
}

.guide-content {
  min-width: 0;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f2c94c;
}

.content-block p {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
  max-width: 680px;
}

.content-media {
  margin: 20px 0;
}

.content-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.content-media figcaption {
  font-size: 13px;
  color: #888;
  padding: 8px 4px 0;
  text-align: center;
}

.tips-list {
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tips-list li {
  background-color: #fff;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 15px;
  color: #555;
  border: 1px solid #e8e2d8;
}

.tips-list strong {
  color: #3b7a57;
  margin-right: 6px;
}

.guide-content .related-links {
  padding: 24px 0 0;
  border-top: 1px solid #e8e2d8;
}

.guide-content .related-links p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

/* ==========================================================
   深度解读页
   ========================================================== */
.article-list-section {
  padding-bottom: 40px;
}

.article-entry {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e8e2d8;
}

.article-entry:first-of-type {
  padding-top: 4px;
}

.article-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.article-body {
  min-width: 0;
}

.article-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.article-body h3 a {
  color: #2b2b2b;
}

.article-body h3 a:hover {
  color: #d94f30;
}

.article-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.article-summary {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  max-width: 620px;
}

.read-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3b7a57;
}

.read-more:hover {
  color: #d94f30;
}

.article-digest {
  padding: 32px 0 40px;
  border-top: 1px solid #e0d8cc;
}

.digest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.digest-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e8e2d8;
  border-top: 3px solid #f2c94c;
}

.digest-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #2b2b2b;
}

.digest-item p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

/* ==========================================================
   404 页
   ========================================================== */
.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-section {
  text-align: center;
  padding: 60px 0;
  max-width: 560px;
}

.error-section h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: #d94f30;
  line-height: 1;
  margin-bottom: 16px;
}

.error-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-home-link,
.error-channel-link {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.error-home-link {
  background-color: #d94f30;
  color: #fff;
}

.error-home-link:hover {
  background-color: #b33e24;
  color: #fff;
  transform: translateY(-2px);
}

.error-channel-link {
  background-color: #3b7a57;
  color: #fff;
}

.error-channel-link:hover {
  background-color: #2e5f45;
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================
   页脚
   ========================================================== */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: #f2c94c;
}

.footer-logo:hover {
  color: #fff;
}

.footer-tagline {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 0;
}

.footer-links h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li a {
  font-size: 14px;
  color: #bbb;
}

.footer-links li a:hover {
  color: #f2c94c;
}

.footer-meta p {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

.footer-copyright {
  font-size: 13px;
  color: #777;
  margin-bottom: 0;
}

/* ==========================================================
   滚动出现动画（不影响初始可见性）
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-section,
  .channel-nav-section,
  .latest-news-section,
  .topic-cards-section,
  .editor-picks-section,
  .source-note-section {
    animation: fadeInUp 0.5s ease both;
  }

  .channel-nav-section,
  .latest-news-section,
  .topic-cards-section,
  .editor-picks-section,
  .source-note-section {
    animation-delay: 0.1s;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 768px) {
  /* 页头 */
  .header-shell {
    flex-wrap: wrap;
    padding: 10px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 12px 0;
    border-top: 1px solid #e8e2d8;
    margin-top: 10px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 8px;
    font-size: 16px;
  }

  /* 首页 hero */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-visual img {
    height: 200px;
  }

  /* 首页专题卡片 */
  .topic-grid,
  .topic-grid-list {
    grid-template-columns: 1fr;
  }

  /* 频道页 */
  .channel-grid-list {
    grid-template-columns: 1fr;
  }

  /* 阅读指南 */
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-sidebar {
    position: static;
  }

  .sidebar-inner {
    padding: 16px;
  }

  .sidebar-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sidebar-list li a {
    padding: 6px 12px;
    background-color: #f5f0e8;
  }

  /* 深度解读 */
  .article-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-media img {
    height: 180px;
  }

  .digest-grid {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .header-shell {
    padding: 8px 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .site-main,
  .inner-main,
  .error-main {
    padding: 0 16px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .news-item time {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .channel-tag-list {
    gap: 8px;
  }

  .channel-tag {
    padding: 6px 14px;
    font-size: 14px;
  }

  .topic-card img {
    height: 160px;
  }

  .topic-card-media img {
    height: 170px;
  }

  .content-media img {
    height: 180px;
  }

  .article-media img {
    height: 160px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-home-link,
  .error-channel-link {
    text-align: center;
  }
}
