/* ==========================================================================
   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: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1558b0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  line-height: 1.4;
  color: #2c3e50;
}

h1 {
  font-size: 32px;
  font-weight: 700;
}

h2 {
  font-size: 26px;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin-bottom: 0;
}

figure {
  margin: 0;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  width: 100%;
}

.site-home {
  background: #fff;
}

.site-inner {
  background: #f8f9fa;
}

.header-shell,
.footer-shell,
.hero-section,
.channel-band,
.topics-preview,
.updates-list,
.editor-picks,
.info-feedback,
.layout-shell,
.page-layout,
.error-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   components
   ========================================================================== */

/* ---------- header ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid #e8ecef;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: #2c3e50;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
}

.brand-link:hover .brand-name {
  color: #1a73e8;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #34495e;
  border-radius: 4px;
  line-height: 1.4;
}

.nav-list a:hover {
  color: #1a73e8;
  background: #f0f4f8;
}

.nav-list a.is-current {
  color: #1a73e8;
  font-weight: 600;
  background: #eaf1fb;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.nav-toggle:hover {
  background: #f0f4f8;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #2c3e50;
  border-radius: 1px;
}

/* ---------- footer ---------- */

.site-footer {
  background: #2c3e50;
  color: #bdc3c7;
  margin-top: 0;
}

.footer-shell {
  padding-top: 48px;
  padding-bottom: 24px;
}

.footer-brand {
  margin-bottom: 32px;
  max-width: 720px;
}

.footer-slogan {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #95a5a6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid #3d5166;
  border-bottom: 1px solid #3d5166;
}

.footer-col h3 {
  font-size: 15px;
  color: #ecf0f1;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: #95a5a6;
  line-height: 1.6;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-copy {
  padding-top: 24px;
  text-align: center;
}

.footer-copy p {
  font-size: 13px;
  color: #7f8c8d;
}

/* ---------- breadcrumb ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #666;
  padding: 16px 0 0;
}

.breadcrumb a {
  color: #1a73e8;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #999;
  font-size: 13px;
}

.breadcrumb-current {
  color: #666;
}

/* ---------- page header ---------- */

.page-header {
  padding: 24px 0 32px;
}

.page-title {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  max-width: 760px;
}

/* ---------- section heading ---------- */

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  max-width: 720px;
}

.section-title {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 720px;
}

/* ---------- buttons ---------- */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.btn-primary {
  background: #1a73e8;
  color: #fff;
}

.btn-primary:hover {
  background: #1558b0;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #1a73e8;
  border: 1px solid #1a73e8;
}

.btn-secondary:hover {
  background: #eaf1fb;
  color: #1558b0;
}

/* ---------- hero ---------- */

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-content h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.1);
}

.hero-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ---------- channel band ---------- */

.channel-band {
  padding-top: 40px;
  padding-bottom: 56px;
}

.channel-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 20px;
  background: #f0f4f8;
  color: #34495e;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid #dde5ec;
}

.channel-tag:hover {
  background: #eaf1fb;
  color: #1a73e8;
  border-color: #1a73e8;
}

/* ---------- topic card ---------- */

.topic-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
}

.topic-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 18px;
  color: #2c3e50;
  padding: 16px 20px 8px;
}

.topic-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  padding: 0 20px 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 20px 20px;
  font-size: 14px;
  color: #1a73e8;
  font-weight: 500;
}

.card-link:hover {
  color: #1558b0;
  text-decoration: underline;
}

/* ---------- updates list ---------- */

.updates-list {
  padding-top: 40px;
  padding-bottom: 56px;
}

.update-items {
  border-top: 1px solid #e8ecef;
}

.update-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #e8ecef;
}

.update-item time {
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
  min-width: 96px;
}

.update-item a {
  font-size: 15px;
  color: #34495e;
  line-height: 1.6;
}

.update-item a:hover {
  color: #1a73e8;
}

/* ---------- editor picks ---------- */

.editor-picks {
  padding-top: 40px;
  padding-bottom: 56px;
}

.pick-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pick-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
}

.pick-index {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf1fb;
  color: #1a73e8;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
}

.pick-body {
  flex: 1;
}

.pick-body h3 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 6px;
}

.pick-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 8px;
}

.pick-body a {
  font-size: 14px;
  color: #1a73e8;
  font-weight: 500;
}

.pick-body a:hover {
  text-decoration: underline;
}

/* ---------- info feedback ---------- */

.info-feedback {
  padding-top: 40px;
  padding-bottom: 64px;
}

.info-feedback .section-heading p {
  margin-bottom: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: #1a73e8;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- layout shell ---------- */

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-top: 0;
  padding-bottom: 64px;
}

/* ---------- inner main ---------- */

.inner-main {
  min-width: 0;
  padding-bottom: 64px;
}

/* ---------- sidebar ---------- */

.sidebar,
.page-sidebar {
  min-width: 0;
}

.sidebar-block,
.sidebar-card {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-block h3,
.sidebar-card h3,
.sidebar-card h2 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 12px;
  font-weight: 600;
}

.sidebar-block p,
.sidebar-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.sidebar-card ul li {
  margin-bottom: 10px;
}

.sidebar-card ul a {
  font-size: 14px;
  color: #34495e;
  line-height: 1.6;
}

.sidebar-card ul a:hover {
  color: #1a73e8;
}

/* ---------- related links ---------- */

.related-links {
  margin-top: 48px;
  padding: 24px;
  background: #f0f4f8;
  border-radius: 8px;
}

.related-links h2 {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 16px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.related-links ul a {
  font-size: 14px;
  color: #1a73e8;
  line-height: 1.6;
}

.related-links ul a:hover {
  text-decoration: underline;
}

/* ---------- content media ---------- */

.content-media {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
}

.content-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-media-inline {
  max-width: 720px;
}

.content-media figcaption {
  padding: 12px 0;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  background: #f8f9fa;
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- steps list ---------- */

.steps-list {
  counter-reset: step;
}

.step-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e8ecef;
}

.step-item:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf1fb;
  color: #1a73e8;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body h3 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* ---------- check list ---------- */

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
}

.check-item::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #27ae60;
  border-radius: 4px;
  margin-top: 2px;
}

.check-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* ---------- checklist grid ---------- */

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.checklist-item {
  padding: 20px;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
}

.checklist-item h3 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-item h3::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: #27ae60;
  border-radius: 50%;
}

.checklist-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ---------- risk list ---------- */

.risk-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.risk-item {
  padding: 20px;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  border-left: 4px solid #e67e22;
}

.risk-item h3 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.risk-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */

.faq-categories {
  margin-bottom: 40px;
}

.faq-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-cat-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #dde5ec;
  border-radius: 6px;
  font-size: 14px;
  color: #34495e;
  line-height: 1.5;
}

.faq-cat-list a:hover {
  background: #eaf1fb;
  color: #1a73e8;
  border-color: #1a73e8;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group-title {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ecf0f1;
}

.faq-item {
  border: 1px solid #e8ecef;
  border-radius: 6px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #2c3e50;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  color: #1a73e8;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: #f8f9fa;
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  border-top: 1px solid #f0f4f8;
  padding-top: 16px;
}

/* ---------- topic section (topics page) ---------- */

.topic-section {
  margin-bottom: 48px;
}

.topic-section h2 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.topic-card .topic-body {
  padding: 0;
}

.topic-body {
  padding: 16px 20px 20px;
}

.topic-body h3 {
  font-size: 17px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.topic-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 12px;
}

.topic-body a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: #1a73e8;
  font-weight: 500;
}

.topic-body a:hover {
  text-decoration: underline;
}

/* ---------- guide page ---------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-top: 0;
  padding-bottom: 64px;
}

.main-content {
  min-width: 0;
}

.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.section-intro {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 720px;
}

.section-tip {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f0f8f1;
  border-left: 4px solid #27ae60;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #2c5f2d;
  line-height: 1.7;
}

/* ---------- sidebar link ---------- */

.sidebar-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: #1a73e8;
}

.sidebar-link:hover {
  text-decoration: underline;
}

/* ---------- sidebar figure ---------- */

.sidebar-figure {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sidebar-figure figcaption {
  padding: 12px;
  font-size: 13px;
  color: #666;
  background: #fff;
  border: 1px solid #e8ecef;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

/* ---------- category intro (channels page) ---------- */

.category-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
}

.category-intro-media {
  border-radius: 8px;
  overflow: hidden;
}

.category-intro-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.category-intro-media figcaption {
  padding: 12px;
  font-size: 13px;
  color: #666;
  background: #f8f9fa;
}

.category-intro-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.category-intro-text p:last-child {
  margin-bottom: 0;
}

/* ---------- channel index ---------- */

.channel-index {
  margin-bottom: 48px;
}

.index-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.index-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  background: #f0f4f8;
  border: 1px solid #dde5ec;
  border-radius: 6px;
  font-size: 14px;
  color: #34495e;
  font-weight: 500;
  line-height: 1.5;
}

.index-list a:hover {
  background: #eaf1fb;
  color: #1a73e8;
  border-color: #1a73e8;
}

/* ---------- channel details ---------- */

.channel-details {
  margin-bottom: 48px;
}

.channel-item {
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  overflow: hidden;
}

.channel-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f4f8;
}

.channel-item-head h3 {
  font-size: 18px;
  color: #2c3e50;
}

.channel-item-head .channel-tag {
  background: #eaf1fb;
  border-color: #c5d9f2;
  color: #1a73e8;
  font-size: 13px;
  min-height: 32px;
  padding: 4px 14px;
}

.channel-item-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  padding: 24px;
}

.channel-item-media {
  border-radius: 6px;
  overflow: hidden;
}

.channel-item-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.channel-item-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.channel-item-text p:last-child {
  margin-bottom: 0;
}

/* ---------- verify page ---------- */

.verify-section {
  margin-bottom: 48px;
}

.verify-section h2 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.verify-section > p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 720px;
}

.risk-section {
  margin-bottom: 48px;
}

.risk-section h2 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.risk-section > p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 720px;
}

.risk-section > p a {
  color: #1a73e8;
  font-weight: 500;
}

/* ---------- faq intro ---------- */

.faq-intro {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  margin-bottom: 40px;
}

.faq-intro p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.faq-intro a {
  color: #1a73e8;
  font-weight: 500;
  margin-right: 16px;
}

/* ---------- error page ---------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-shell {
  text-align: center;
  max-width: 640px;
}

.error-code {
  font-size: 96px;
  font-weight: 700;
  color: #ecf0f1;
  line-height: 1;
  margin-bottom: 16px;
}

.error-shell h1 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  background: #1a73e8;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}

.error-btn:hover {
  background: #1558b0;
  color: #fff;
}

.error-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  color: #1a73e8;
  font-size: 15px;
  font-weight: 500;
}

.error-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   pages
   ========================================================================== */

/* ---------- home ---------- */

.site-home .site-main {
  overflow: hidden;
}

/* ---------- channels ---------- */

.page-channels .layout-shell {
  padding-top: 0;
}

/* ---------- topics ---------- */

.page-topics .inner-main {
  padding-bottom: 64px;
}

/* ---------- guide ---------- */

.page-guide .page-layout {
  padding-top: 0;
}

/* ---------- verify ---------- */

.page-verify .layout-shell {
  padding-top: 0;
}

/* ---------- faq ---------- */

.page-faq .layout-shell {
  padding-top: 0;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-section {
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-figure img {
    height: 300px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .index-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-shell {
    flex-wrap: wrap;
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0 16px;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-figure img {
    height: 220px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .channel-band,
  .topics-preview,
  .updates-list,
  .editor-picks,
  .info-feedback {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .topic-card-grid {
    grid-template-columns: 1fr;
  }

  .update-item {
    flex-direction: column;
    gap: 4px;
  }

  .update-item time {
    min-width: 0;
  }

  .pick-item {
    flex-direction: column;
    gap: 12px;
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 48px;
  }

  .page-header {
    padding: 16px 0 24px;
  }

  .page-title {
    font-size: 26px;
  }

  .category-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }

  .category-intro-media img {
    height: 200px;
  }

  .channel-item-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .channel-item-head {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .channel-item-media img {
    height: 160px;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-list {
    padding-left: 0;
  }

  .step-item {
    gap: 16px;
    padding: 16px 0;
  }

  .step-num {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-shell {
    padding-top: 32px;
    padding-bottom: 16px;
  }

  .error-main {
    padding: 48px 24px;
  }

  .error-code {
    font-size: 64px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-btn,
  .error-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-shell,
  .footer-shell,
  .hero-section,
  .channel-band,
  .topics-preview,
  .updates-list,
  .editor-picks,
  .info-feedback,
  .layout-shell,
  .page-layout,
  .error-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-figure img {
    height: 180px;
  }

  .section-heading h2,
  .section-title,
  .topic-section h2,
  .guide-section h2,
  .verify-section h2,
  .risk-section h2 {
    font-size: 22px;
  }

  .channel-tag-list {
    gap: 8px;
  }

  .channel-tag {
    padding: 6px 14px;
    font-size: 13px;
  }

  .index-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 14px;
  }

  .pick-item {
    padding: 16px;
  }

  .pick-index {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .checklist-item,
  .risk-item {
    padding: 16px;
  }

  .related-links {
    padding: 16px;
  }

  .related-links ul {
    flex-direction: column;
    gap: 8px;
  }

  .content-media-inline {
    margin: 16px 0;
  }

  .content-media figcaption {
    font-size: 12px;
    padding: 10px 12px;
  }
}
