/* ============================================================
   奇漫屋官方首页 - 全站样式表
   视觉方向：酒店服务风 · 暖白/浅灰 + 金属金点缀
   ============================================================ */

/* ------------------------------------------------------------
   1. Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  background-color: #f5f5f0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
  color: #2b2b2b;
  margin-top: 0;
  margin-bottom: 0.5em;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1em;
  padding-left: 1.4em;
}

li + li {
  margin-top: 0.35em;
}

a {
  color: #8a743f;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #6b5a2e;
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ------------------------------------------------------------
   2. Layout
   ------------------------------------------------------------ */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

.site-header,
.site-footer {
  flex-shrink: 0;
}

.header-inner,
.footer-inner,
.hero-section,
.channel-tabs,
.topic-cards,
.update-list,
.guide-entry,
.inner-main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ------------------------------------------------------------
   3. Header & Navigation
   ------------------------------------------------------------ */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e4d8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 24px;
}

.brand-logo {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-logo a {
  color: #2b2b2b;
  text-decoration: none;
}

.brand-logo a:hover {
  color: #8a743f;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e8e4d8;
  border-radius: 6px;
  background-color: #ffffff;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: #333333;
}

.nav-toggle::before {
  top: 16px;
  box-shadow: 0 7px 0 #333333;
}

.nav-toggle::after {
  top: 30px;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: #555555;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: #2b2b2b;
  background-color: #f5f5f0;
  text-decoration: none;
}

.nav-list a.is-current {
  color: #8a743f;
  font-weight: 600;
  background-color: #f5f5f0;
}

/* ------------------------------------------------------------
   4. Breadcrumb
   ------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 0;
  font-size: 0.875rem;
  color: #777777;
}

.breadcrumb a {
  color: #8a743f;
}

.breadcrumb-sep {
  color: #bbbbbb;
}

.breadcrumb-current {
  color: #555555;
  font-weight: 500;
}

/* ------------------------------------------------------------
   5. Page Header (inner pages)
   ------------------------------------------------------------ */
.page-header {
  padding: 32px 0 28px;
  border-bottom: 1px solid #e8e4d8;
  margin-bottom: 40px;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 8px;
}

.page-description {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 0;
  max-width: 720px;
}

/* ------------------------------------------------------------
   6. Section Title
   ------------------------------------------------------------ */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b8a06a;
  display: inline-block;
}

/* ------------------------------------------------------------
   7. Homepage — Hero
   ------------------------------------------------------------ */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-copy h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: #2b2b2b;
  margin-bottom: 16px;
}

.hero-slogan {
  font-size: 1.125rem;
  color: #666666;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: #b8a06a;
  color: #ffffff;
  border: 1px solid #b8a06a;
}

.btn-primary:hover {
  background-color: #a08a55;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(184, 160, 106, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #ffffff;
  color: #8a743f;
  border: 1px solid #b8a06a;
}

.btn-secondary:hover {
  background-color: #f5f5f0;
  color: #6b5a2e;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-figure img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* ------------------------------------------------------------
   8. Homepage — Channel Tabs
   ------------------------------------------------------------ */
.channel-tabs {
  padding-top: 48px;
  padding-bottom: 48px;
}

.channel-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.channel-tab {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #555555;
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.channel-tab:hover {
  color: #8a743f;
  border-color: #b8a06a;
  background-color: #faf9f5;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.channel-tabs-more,
.topic-cards-more,
.update-list-more {
  margin-bottom: 0;
}

.channel-tabs-more a,
.topic-cards-more a,
.update-list-more a {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ------------------------------------------------------------
   9. Homepage — Topic Cards
   ------------------------------------------------------------ */
.topic-cards {
  padding-top: 48px;
  padding-bottom: 48px;
}

.topic-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.topic-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.topic-card figure {
  overflow: hidden;
}

.topic-card figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.topic-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topic-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.topic-card-body p {
  font-size: 0.95rem;
  color: #666666;
  flex: 1;
  margin-bottom: 16px;
}

.topic-card-body a {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   10. Homepage — Update List
   ------------------------------------------------------------ */
.update-list {
  padding-top: 48px;
  padding-bottom: 48px;
}

.update-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.update-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e4d8;
}

.update-item:first-child {
  padding-top: 0;
}

.update-item time {
  flex-shrink: 0;
  min-width: 96px;
  font-size: 0.875rem;
  color: #999999;
  padding-top: 4px;
}

.update-content h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.update-content h3 a {
  color: #2b2b2b;
}

.update-content h3 a:hover {
  color: #8a743f;
}

.update-content p {
  font-size: 0.9rem;
  color: #777777;
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   11. Homepage — Guide Entry
   ------------------------------------------------------------ */
.guide-entry {
  padding-top: 48px;
  padding-bottom: 64px;
}

.guide-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.guide-card {
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.guide-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.guide-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 16px;
}

.guide-card a {
  font-weight: 600;
}

/* ------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------ */
.site-footer {
  background-color: #2b2b2b;
  color: #bbbbbb;
  padding-top: 48px;
  padding-bottom: 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
}

.footer-brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-links-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #bbbbbb;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.footer-meta p {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 0;
  text-align: right;
}

.back-to-top {
  width: 44px;
  height: 44px;
  border: 1px solid #555555;
  border-radius: 6px;
  background-color: transparent;
  color: #bbbbbb;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.back-to-top::before {
  content: '↑';
}

.back-to-top:hover {
  background-color: #b8a06a;
  border-color: #b8a06a;
  color: #ffffff;
}

/* ------------------------------------------------------------
   13. Inner Pages — Shared Container
   ------------------------------------------------------------ */
.inner-main {
  padding-top: 0;
  padding-bottom: 64px;
  min-height: 480px;
}

/* ------------------------------------------------------------
   14. Channels Page
   ------------------------------------------------------------ */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.channel-card {
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.channel-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.channel-name {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.channel-desc {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 16px;
}

.channel-link {
  font-size: 0.9rem;
  font-weight: 600;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.channel-media {
  border-radius: 8px;
  overflow: hidden;
}

.channel-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.detail-content p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 16px;
}

/* ------------------------------------------------------------
   15. Topics Page
   ------------------------------------------------------------ */
.topic-grid {
  margin-bottom: 56px;
}

.topic-grid .topic-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  padding: 16px;
}

.topic-media {
  overflow: hidden;
  border-radius: 6px;
}

.topic-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.topic-content {
  padding: 8px 8px 8px 0;
  display: flex;
  flex-direction: column;
}

.topic-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.topic-content p {
  font-size: 0.9rem;
  color: #666666;
  flex: 1;
  margin-bottom: 16px;
}

.topic-link {
  font-weight: 600;
  font-size: 0.95rem;
}

.detail-block {
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.detail-block h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.detail-block p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   16. Guide Page
   ------------------------------------------------------------ */
.guide-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 56px;
}

.guide-module {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: start;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
}

.guide-text h2 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.guide-text p {
  font-size: 0.95rem;
  color: #555555;
}

.guide-steps,
.guide-methods {
  padding-left: 1.4em;
  margin-bottom: 16px;
}

.guide-steps li,
.guide-methods li {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 8px;
}

.guide-tip {
  font-size: 0.875rem;
  color: #8a743f;
  background-color: #faf9f5;
  border-left: 3px solid #b8a06a;
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
}

.guide-figure {
  border-radius: 8px;
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 0.8rem;
  color: #999999;
  padding: 8px 0;
}

.guide-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  padding: 24px;
}

.related-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.related-card p {
  font-size: 0.875rem;
  color: #666666;
  margin-bottom: 12px;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ------------------------------------------------------------
   17. Updates Page
   ------------------------------------------------------------ */
.update-timeline {
  margin-bottom: 56px;
}

.content-media-inline {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.content-media-inline img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.content-media-inline figcaption {
  font-size: 0.85rem;
  color: #999999;
  padding: 8px 0;
}

.section-intro {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 32px;
  max-width: 720px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e4d8;
}

.timeline-meta time {
  display: block;
  font-size: 0.875rem;
  color: #999999;
  margin-bottom: 8px;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: #f5f5f0;
  color: #555555;
}

.tag-channel {
  background-color: #f0ede4;
  color: #8a743f;
}

.tag-feature {
  background-color: #e8e4d8;
  color: #6b5a2e;
}

.tag-topic {
  background-color: #faf6ec;
  color: #a08a55;
}

.timeline-content h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.timeline-content h3 a {
  color: #2b2b2b;
}

.timeline-content h3 a:hover {
  color: #8a743f;
}

.timeline-content p {
  font-size: 0.9rem;
  color: #777777;
  margin-bottom: 8px;
}

.timeline-content a {
  font-size: 0.875rem;
  font-weight: 600;
}

.update-type-info {
  margin-bottom: 48px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.type-card {
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  padding: 24px;
}

.type-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.type-card p {
  font-size: 0.875rem;
  color: #666666;
  margin-bottom: 8px;
}

.type-card p:last-child {
  margin-bottom: 0;
}

.update-note {
  font-size: 0.85rem;
  color: #999999;
  margin-top: 24px;
  margin-bottom: 0;
}

.related-links {
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  padding: 24px;
}

.related-links p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.related-links p:last-child {
  margin-bottom: 0;
}

.related-links a {
  margin-right: 16px;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------
   18. FAQ Page
   ------------------------------------------------------------ */
.faq-groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

.faq-group-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b8a06a;
  display: inline-block;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2b2b2b;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #b8a06a;
  font-weight: 400;
}

.faq-item[open] summary {
  background-color: #faf9f5;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  background-color: #faf9f5;
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: #555555;
  margin-bottom: 0;
}

.faq-links {
  background-color: #ffffff;
  border: 1px solid #e8e4d8;
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}

.faq-links p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.faq-links p:last-child {
  margin-bottom: 0;
}

.faq-links a {
  margin-right: 16px;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------
   19. 404 Page
   ------------------------------------------------------------ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-content {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #b8a06a;
  margin-bottom: 8px;
}

.error-content h1 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 12px;
}

.error-tip {
  font-size: 0.9rem;
  color: #888888;
  margin-bottom: 28px;
}

.error-back {
  display: inline-block;
  padding: 12px 32px;
  background-color: #b8a06a;
  color: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.error-back:hover {
  background-color: #a08a55;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   20. Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 64px;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e4d8;
    flex-direction: column;
    padding: 8px 16px 16px;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    padding: 12px 16px;
    border-radius: 4px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-figure img {
    height: 240px;
  }

  .topic-card-grid,
  .guide-entry-grid {
    grid-template-columns: 1fr;
  }

  .update-item {
    flex-direction: column;
    gap: 8px;
  }

  .update-item time {
    min-width: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .footer-meta p {
    text-align: left;
  }

  .inner-main {
    padding-bottom: 48px;
  }

  .page-header {
    padding: 24px 0 20px;
    margin-bottom: 32px;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .topic-grid .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-media img {
    min-height: 200px;
  }

  .guide-module {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .guide-figure img {
    height: 180px;
  }

  .guide-links {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .type-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    padding: 14px 44px 14px 16px;
  }
}

@media (max-width: 480px) {
  .header-inner,
  .hero-section,
  .channel-tabs,
  .topic-cards,
  .update-list,
  .guide-entry,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .channel-tab-list {
    gap: 8px;
  }

  .channel-tab {
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  .topic-card figure img {
    height: 180px;
  }

  .topic-card-body {
    padding: 20px;
  }

  .guide-card {
    padding: 24px;
  }

  .content-media-inline img {
    height: 200px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 3rem;
  }
}
