/* ==========================================================================
   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.75;
  color: #2d2d3a;
  background-color: #f7f7fa;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #0f3460;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e94560;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: #16213e;
  line-height: 1.4;
}

p {
  margin-bottom: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout
   ========================================================================== */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.header-inner,
.site-main,
.footer-columns,
.footer-bottom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   components
   ========================================================================== */

/* ---------- header ---------- */
.site-header {
  background-color: #1a1a2e;
  border-bottom: 3px solid #e94560;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 13px;
  color: #a0a4b8;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #c8cbe0;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-list a.is-current {
  color: #ffffff;
  background-color: #e94560;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.nav-toggle-icon {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ---------- footer ---------- */
.site-footer {
  background-color: #16213e;
  color: #a0a4b8;
  margin-top: 60px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #8a8fa8;
  margin-bottom: 0;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links li,
.footer-help li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-help a {
  font-size: 14px;
  color: #8a8fa8;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-help a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: #6a6f8a;
  margin-bottom: 0;
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.breadcrumb a {
  color: #0f3460;
}

.breadcrumb a:hover {
  color: #e94560;
}

.breadcrumb-sep {
  color: #9aa0b0;
}

.breadcrumb-current {
  color: #5a6070;
}

/* ---------- page header ---------- */
.page-header {
  padding: 24px 0 28px;
  border-bottom: 1px solid #e4e6ee;
  margin-bottom: 36px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: #5a6070;
  max-width: 720px;
  margin-bottom: 0;
}

/* ---------- section title ---------- */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #e94560;
  border-radius: 2px;
}

.section-desc {
  font-size: 15px;
  color: #5a6070;
  margin-bottom: 24px;
}

/* ---------- cards ---------- */
.special-card,
.guide-card,
.related-card,
.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.special-card:hover,
.guide-card:hover {
  box-shadow: 0 6px 24px rgba(26, 26, 46, 0.08);
  transform: translateY(-2px);
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #16213e;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
  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: 22px;
  font-weight: 400;
  color: #e94560;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
  background-color: #f7f7fa;
}

.faq-item p {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: #3a3f52;
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ==========================================================================
   pages
   ========================================================================== */

/* ---------- index ---------- */
.site-home {
  background-color: #f7f7fa;
}

/* hero */
.hero-section {
  background-color: #1a1a2e;
  padding: 56px 0 48px;
  margin-bottom: 56px;
}

.hero-section .header-inner {
  max-width: 1200px;
}

.hero-media {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

.hero-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 17px;
  color: #a0a4b8;
  max-width: 640px;
  margin-bottom: 24px;
}

.hot-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.tag-label {
  font-size: 14px;
  font-weight: 600;
  color: #e94560;
  margin-right: 4px;
}

.hot-tags a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  color: #c8cbe0;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hot-tags a:hover {
  background-color: #e94560;
  color: #ffffff;
  border-color: #e94560;
}

.recent-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.recent-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.recent-date {
  font-size: 13px;
  color: #6a6f8a;
  flex-shrink: 0;
  min-width: 80px;
}

.recent-list a {
  font-size: 15px;
  color: #c8cbe0;
  transition: color 0.2s ease;
}

.recent-list a:hover {
  color: #ffffff;
}

/* category nav */
.category-nav-section {
  padding: 0 0 56px;
}

.category-nav-section .section-desc {
  margin-bottom: 20px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.category-tags a {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #16213e;
  background-color: #ffffff;
  border: 1px solid #d8dbe6;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-tags a:hover {
  background-color: #0f3460;
  color: #ffffff;
  border-color: #0f3460;
}

.more-link {
  margin-top: 16px;
}

.more-link a {
  font-size: 15px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
}

.more-link a:hover {
  color: #e94560;
}

/* special list */
.special-list-section {
  padding: 0 0 56px;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.special-card {
  display: flex;
  flex-direction: column;
}

.special-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.special-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #16213e;
  padding: 16px 20px 8px;
}

.special-card p {
  font-size: 14px;
  color: #5a6070;
  padding: 0 20px;
  margin-bottom: 16px;
  flex: 1;
}

.special-card a {
  display: inline-block;
  margin: 0 20px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
  align-self: flex-start;
}

.special-card a:hover {
  color: #e94560;
}

/* guide entry */
.guide-entry-section {
  padding: 0 0 56px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  display: flex;
  flex-direction: column;
}

.guide-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.guide-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #16213e;
  padding: 16px 20px 8px;
}

.guide-card p {
  font-size: 14px;
  color: #5a6070;
  padding: 0 20px;
  margin-bottom: 16px;
  flex: 1;
}

.guide-card a {
  display: inline-block;
  margin: 0 20px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
  align-self: flex-start;
}

.guide-card a:hover {
  color: #e94560;
}

/* longtail entry */
.longtail-entry-section {
  padding: 0 0 40px;
}

.longtail-entry-section h2 {
  margin-bottom: 20px;
}

.entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 24px 28px;
}

.entry-desc {
  font-size: 16px;
  color: #3a3f52;
  margin-bottom: 0;
  max-width: 720px;
}

.entry-link {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background-color: #0f3460;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.entry-link:hover {
  background-color: #e94560;
  color: #ffffff;
}

/* ---------- inner pages ---------- */
.site-inner {
  background-color: #f7f7fa;
}

.inner-main {
  padding-bottom: 40px;
}

/* ---------- 频道分类 ---------- */
.page-pindao .page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.page-pindao .category-index {
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 88px;
}

.index-title {
  font-size: 18px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e94560;
}

.index-list li {
  margin-bottom: 4px;
}

.index-list a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #3a3f52;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.index-list a:hover {
  background-color: #f0f1f6;
  color: #0f3460;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-pindao .category-list .section-title {
  margin-bottom: 8px;
}

.category-card {
  display: flex;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.25s ease;
}

.category-card:hover {
  box-shadow: 0 6px 24px rgba(26, 26, 46, 0.08);
}

.category-media {
  flex-shrink: 0;
  width: 220px;
}

.category-media img {
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.category-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-name {
  font-size: 20px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 10px;
}

.category-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #3a3f52;
  margin-bottom: 16px;
  flex: 1;
}

.category-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
  align-self: flex-start;
}

.category-link:hover {
  color: #e94560;
}

.category-notes {
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}

.category-notes p {
  font-size: 15px;
  color: #3a3f52;
  margin-bottom: 12px;
}

.category-notes a {
  font-size: 15px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
}

.category-notes a:hover {
  color: #e94560;
}

/* ---------- 专题片单 ---------- */
.page-zhuanti .special-grid {
  display: block;
  margin-bottom: 40px;
}

.page-zhuanti .special-grid .section-title {
  margin-bottom: 24px;
}

.page-zhuanti .special-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-zhuanti .special-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-zhuanti .special-card:hover {
  box-shadow: 0 6px 24px rgba(26, 26, 46, 0.08);
  transform: translateY(-2px);
}

.special-figure {
  width: 100%;
  overflow: hidden;
}

.special-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.special-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.special-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 10px;
}

.special-content p {
  font-size: 14px;
  color: #5a6070;
  margin-bottom: 16px;
  flex: 1;
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
  align-self: flex-start;
}

.text-link:hover {
  color: #e94560;
}

.special-intro {
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 32px;
}

.intro-article p {
  font-size: 15px;
  line-height: 1.8;
  color: #3a3f52;
  margin-bottom: 16px;
}

.intro-article p:last-child {
  margin-bottom: 0;
}

/* ---------- 观看指南 ---------- */
.guide-content {
  max-width: 860px;
}

.guide-section {
  margin-bottom: 40px;
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 32px;
}

.guide-section .section-desc {
  margin-bottom: 20px;
}

.guide-figure {
  margin-bottom: 24px;
  border-radius: 6px;
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 13px;
  color: #6a6f8a;
  padding: 10px 16px;
  background-color: #f7f7fa;
  border-bottom: 1px solid #e4e6ee;
}

.guide-steps {
  counter-reset: guide-step;
}

.guide-steps li {
  position: relative;
  padding: 20px 20px 20px 68px;
  border-bottom: 1px solid #f0f1f6;
  counter-increment: guide-step;
}

.guide-steps li:last-child {
  border-bottom: none;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  background-color: #0f3460;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-steps h3 {
  font-size: 17px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 8px;
}

.guide-steps p {
  font-size: 15px;
  line-height: 1.7;
  color: #3a3f52;
  margin-bottom: 0;
}

.guide-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.related-card {
  padding: 24px;
}

.related-title {
  font-size: 16px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 10px;
}

.related-card p {
  font-size: 14px;
  color: #5a6070;
  margin-bottom: 14px;
}

.related-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
}

.related-link:hover {
  color: #e94560;
}

.guide-feedback {
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 32px;
}

.guide-feedback p {
  font-size: 15px;
  color: #3a3f52;
  margin-bottom: 20px;
}

.feedback-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.feedback-links a {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.feedback-links a:first-child {
  background-color: #0f3460;
  color: #ffffff;
}

.feedback-links a:first-child:hover {
  background-color: #e94560;
  color: #ffffff;
}

.feedback-links a:last-child {
  background-color: transparent;
  color: #0f3460;
  border: 1px solid #0f3460;
}

.feedback-links a:last-child:hover {
  background-color: #0f3460;
  color: #ffffff;
}

/* ---------- 常见问题 ---------- */
.page-wenti .page-header {
  margin-bottom: 32px;
}

.faq-section {
  margin-bottom: 40px;
}

.faq-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 20px;
  padding-left: 14px;
  position: relative;
}

.faq-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #e94560;
  border-radius: 2px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-related {
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 24px 32px;
  margin-top: 32px;
}

.faq-related p {
  font-size: 15px;
  color: #3a3f52;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.faq-related a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
  margin-right: 16px;
}

.faq-related a:hover {
  color: #e94560;
}

.faq-figure {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.faq-figure figcaption {
  font-size: 13px;
  color: #6a6f8a;
  padding: 10px 16px;
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

/* ---------- 基础入门 ---------- */
.page-jichu .content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-body {
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 32px;
}

.article-lead-media {
  margin-bottom: 24px;
  border-radius: 6px;
  overflow: hidden;
}

.article-lead-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.article-lead-media figcaption {
  font-size: 13px;
  color: #6a6f8a;
  padding: 10px 16px;
  background-color: #f7f7fa;
  border-bottom: 1px solid #e4e6ee;
}

.article-body .lead {
  font-size: 17px;
  line-height: 1.8;
  color: #3a3f52;
  margin-bottom: 32px;
}

.content-section {
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid #f0f1f6;
}

.content-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.content-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #e94560;
  border-radius: 2px;
}

.content-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #3a3f52;
  margin-bottom: 16px;
}

.sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}

.sidebar-card {
  padding: 24px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e94560;
}

.path-list li {
  margin-bottom: 4px;
}

.path-list a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #3a3f52;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.path-list a:hover {
  background-color: #f0f1f6;
  color: #0f3460;
}

/* ---------- 404 ---------- */
.site-error {
  background-color: #f7f7fa;
}

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-content {
  max-width: 640px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  padding: 56px 48px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #e94560;
  line-height: 1;
  margin-bottom: 16px;
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
}

.error-content h1 {
  font-size: 24px;
  font-weight: 700;
  color: #16213e;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: #5a6070;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.error-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.error-btn:first-child {
  background-color: #0f3460;
  color: #ffffff;
}

.error-btn:first-child:hover {
  background-color: #e94560;
  color: #ffffff;
}

.error-btn:not(:first-child) {
  background-color: transparent;
  color: #0f3460;
  border: 1px solid #0f3460;
}

.error-btn:not(:first-child):hover {
  background-color: #0f3460;
  color: #ffffff;
}

.error-help {
  font-size: 14px;
  color: #6a6f8a;
}

.error-help a {
  font-size: 14px;
  font-weight: 600;
  color: #0f3460;
  border-bottom: 2px solid #e94560;
  padding-bottom: 2px;
  margin: 0 8px;
}

.error-help a:hover {
  color: #e94560;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .page-pindao .page-layout {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }

  .page-zhuanti .special-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-media {
    width: 180px;
  }

  .category-media img {
    width: 180px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a2e;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    padding: 12px 16px;
    border-radius: 4px;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .hero-section {
    padding: 32px 0;
    margin-bottom: 40px;
  }

  .hero-media img {
    height: 200px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .recent-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .special-grid,
  .guide-cards {
    grid-template-columns: 1fr;
  }

  .entry-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .page-header {
    padding: 20px 0 24px;
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-pindao .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-pindao .category-index {
    position: static;
    order: 1;
  }

  .page-pindao .category-list-wrap {
    order: 2;
  }

  .category-card {
    flex-direction: column;
    padding: 20px;
  }

  .category-media {
    width: 100%;
  }

  .category-media img {
    width: 100%;
    height: 180px;
  }

  .page-zhuanti .special-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-zhuanti .special-figure img {
    height: 200px;
  }

  .guide-section {
    padding: 24px 20px;
  }

  .guide-figure img {
    height: 180px;
  }

  .guide-steps li {
    padding: 16px 16px 16px 56px;
  }

  .guide-steps li::before {
    left: 16px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .guide-related {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-jichu .content-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar-info {
    position: static;
  }

  .article-body {
    padding: 24px 20px;
  }

  .article-lead-media img {
    height: 180px;
  }

  .faq-figure img {
    height: 180px;
  }

  .error-content {
    padding: 40px 24px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-btn {
    width: 100%;
    max-width: 240px;
    text-align: center;
  }

  .breadcrumb {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 13px;
  }

  .header-inner,
  .site-main,
  .footer-columns,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .faq-item summary {
    font-size: 15px;
    padding: 14px 40px 14px 16px;
  }

  .faq-item summary::after {
    right: 16px;
  }

  .faq-item p {
    padding: 0 16px 16px;
  }

  .content-section h2 {
    font-size: 20px;
  }

  .article-body .lead {
    font-size: 16px;
  }

  .special-card h3,
  .guide-card h3 {
    font-size: 17px;
  }

  .category-name {
    font-size: 18px;
  }

  .special-content h3 {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .hero-media img {
    height: 160px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hot-tags {
    gap: 8px;
  }

  .hot-tags a {
    padding: 6px 12px;
    font-size: 13px;
  }

  .category-tags {
    gap: 8px;
  }

  .category-tags a {
    padding: 8px 16px;
    font-size: 14px;
  }

  .special-card img {
    height: 160px;
  }

  .guide-card img {
    height: 140px;
  }

  .entry-row {
    padding: 20px;
  }

  .entry-link {
    width: 100%;
    text-align: center;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .page-zhuanti .special-figure img {
    height: 160px;
  }

  .guide-figure img {
    height: 140px;
  }

  .guide-feedback {
    padding: 24px 20px;
  }

  .feedback-links {
    flex-direction: column;
  }

  .feedback-links a {
    width: 100%;
    text-align: center;
  }

  .article-lead-media img {
    height: 140px;
  }

  .faq-figure img {
    height: 140px;
  }

  .error-main {
    padding: 40px 16px;
  }

  .error-content {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 48px;
  }

  .recent-date {
    min-width: auto;
  }
}
