/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #243342;
  background-color: #f7fafc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3b6ea5;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2d537f;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.35;
  font-weight: 600;
  color: #243342;
}

p {
  margin: 0 0 1em;
}

ul, ol, dl {
  margin: 0 0 1em;
  padding: 0;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.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 shell
   ============================================================ */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.site-header.is-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.site-header.is-scrolled,
.site-header.is-solid {
  position: sticky;
  background-color: #ffffff;
  border-bottom-color: #e2e8f0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #3b6ea5;
}

.brand-tagline {
  font-size: 12px;
  color: #7a8a9a;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.nav-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #243342;
  position: relative;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: #243342;
  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;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: #243342;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background-color: #eef3f8;
  color: #3b6ea5;
}

.nav-list a.is-current {
  background-color: #3b6ea5;
  color: #ffffff;
}

.site-main {
  flex: 1;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  width: 100%;
}

.site-footer {
  background-color: #243342;
  color: #c8d4de;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 32px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
}

.footer-nav a {
  color: #c8d4de;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 13px;
  color: #8fa0ae;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

/* ============================================================
   Common components
   ============================================================ */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: #3b6ea5;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #2d537f;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 110, 165, 0.25);
}

.btn-secondary {
  background-color: #e07856;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #c96542;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 120, 86, 0.25);
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3b6ea5;
  position: relative;
}

.text-link::after {
  content: "→";
  margin-left: 4px;
  transition: margin-left 0.2s ease;
}

.text-link:hover::after {
  margin-left: 8px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #e07856;
}

.section-block {
  padding: 56px 0;
}

.breadcrumb {
  font-size: 13px;
  color: #7a8a9a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: #3b6ea5;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #9aa7b3;
}

.breadcrumb-current {
  color: #7a8a9a;
}

.page-header {
  margin-bottom: 36px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: #5a6a78;
  max-width: 720px;
  margin: 0;
}

/* Cards */
.genre-card,
.update-card,
.special-card,
.entry-card,
.related-card,
.direction-card,
.boundary-card,
.tip-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.genre-card:hover,
.update-card:hover,
.special-card:hover,
.entry-card:hover,
.related-card:hover,
.direction-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(36, 51, 66, 0.08);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
}

table {
  min-width: 640px;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.7;
}

th {
  background-color: #eef3f8;
  font-weight: 600;
  color: #243342;
  white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover th,
tbody tr:hover td {
  background-color: #f5f8fb;
}

.table-conclusion {
  background-color: #eef3f8;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
}

.compare-conclusion {
  background-color: #eef3f8;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
}

.compare-note {
  font-size: 13px;
  color: #7a8a9a;
  margin: 12px 0 0;
}

/* Support entry strip on index */
.support-entry {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 32px 0;
}

.support-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.support-links a {
  display: block;
  padding: 14px 18px;
  background-color: #f7fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  color: #243342;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.support-links a:hover {
  border-color: #3b6ea5;
  background-color: #eef3f8;
  color: #3b6ea5;
}

/* ============================================================
   Home page
   ============================================================ */
.home-main {
  padding-top: 0;
}

.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: #5a6a78;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
}

.hero-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(36, 51, 66, 0.12);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.quick-strip {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.quick-strip .section-block {
  padding: 48px 0;
}

.quick-strip .section-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.quick-col {
  min-width: 0;
}

.quick-strip .quick-col {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  background-color: #eef3f8;
  color: #3b6ea5;
  border: 1px solid #d5e0ea;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tag-chip:hover {
  background-color: #3b6ea5;
  color: #ffffff;
  border-color: #3b6ea5;
}

.update-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.update-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 6px;
  background-color: #f7fafc;
  border: 1px solid #e8eef3;
  transition: border-color 0.2s ease;
}

.update-item:hover {
  border-color: #3b6ea5;
}

.update-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.update-item a {
  font-size: 13px;
  line-height: 1.5;
  color: #243342;
  font-weight: 500;
}

.update-item a:hover {
  color: #3b6ea5;
}

.update-label {
  display: block;
  font-size: 11px;
  color: #9aa7b3;
  margin-top: 2px;
}

.editor-picks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pick-item {
  padding: 10px 12px;
  border-radius: 6px;
  background-color: #f7fafc;
  border: 1px solid #e8eef3;
  transition: border-color 0.2s ease;
}

.pick-item:hover {
  border-color: #e07856;
}

.pick-text {
  font-size: 13px;
  line-height: 1.6;
  color: #243342;
}

.pick-text a {
  font-weight: 500;
}

.pick-text a:hover {
  color: #e07856;
}

/* Genre overview on home */
.genre-overview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.genre-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.genre-columns .genre-card {
  padding: 24px;
}

.genre-columns .genre-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.genre-audience {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 8px;
}

.genre-tip {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 16px;
}

/* Tracking prep on home */
.tracking-prep {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.prep-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.prep-step {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  position: relative;
}

.prep-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  padding-top: 28px;
  position: relative;
}

.prep-step h3::before {
  content: attr(data-step);
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background-color: #e07856;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prep-step p {
  font-size: 14px;
  color: #5a6a78;
  margin: 0;
  line-height: 1.7;
}

.prep-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* Term & misconception entry on home */
.term-misconception-entry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
}

.term-misconception-entry .entry-card {
  padding: 32px;
  text-align: left;
}

.term-misconception-entry .entry-card h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.term-misconception-entry .entry-card p {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 20px;
}

/* ============================================================
   Inner pages
   ============================================================ */
.inner-main {
  padding-top: 24px;
}

/* ============================================================
   Tizhai page
   ============================================================ */
.genre-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.genre-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.genre-card-body {
  padding: 20px;
}

.genre-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.genre-card-desc {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 8px;
}

.genre-card-tip {
  font-size: 13px;
  color: #7a8a9a;
  margin-bottom: 12px;
  border-left: 3px solid #e07856;
  padding-left: 10px;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.genre-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 14px;
  background-color: #eef3f8;
  color: #3b6ea5;
}

.genre-match-table {
  margin-top: 48px;
}

.related-links-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.related-link-card {
  display: block;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-link-card:hover {
  border-color: #3b6ea5;
  transform: translateY(-2px);
}

.related-link-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #243342;
  margin-bottom: 6px;
}

.related-link-desc {
  display: block;
  font-size: 13px;
  color: #7a8a9a;
  line-height: 1.6;
}

.related-links {
  margin-top: 24px;
}

.related-links-label {
  font-size: 13px;
  color: #7a8a9a;
  margin-right: 12px;
}

.related-links-item {
  font-size: 13px;
  margin-right: 16px;
  color: #3b6ea5;
}

.related-links-item:hover {
  text-decoration: underline;
}

/* ============================================================
   Gengxin page
   ============================================================ */
.layout-two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.timeline-main {
  min-width: 0;
}

.timeline-group {
  margin-bottom: 40px;
}

.timeline-group-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eef3f8;
}

.update-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.update-media {
  flex-shrink: 0;
  width: 120px;
}

.update-media img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.update-body {
  min-width: 0;
  flex: 1;
}

.update-date {
  font-size: 12px;
  color: #9aa7b3;
  margin-bottom: 4px;
}

.update-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.update-type {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 12px;
  background-color: #eef3f8;
  color: #3b6ea5;
  margin-bottom: 6px;
}

.update-desc {
  font-size: 13px;
  color: #5a6a78;
  margin-bottom: 8px;
  line-height: 1.6;
}

.update-link {
  font-size: 13px;
  font-weight: 600;
}

.tracking-sidebar {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 84px;
}

.sidebar-title {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef3f8;
}

.sidebar-intro {
  font-size: 13px;
  color: #7a8a9a;
  margin-bottom: 16px;
}

.tracking-checklist {
  margin: 0;
}

.checklist-item {
  padding: 12px 0;
  border-bottom: 1px solid #eef3f8;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.checklist-item p {
  font-size: 13px;
  color: #5a6a78;
  margin-bottom: 6px;
  line-height: 1.6;
}

.checklist-item a {
  font-size: 13px;
  font-weight: 600;
}

.sidebar-note {
  font-size: 12px;
  color: #9aa7b3;
  margin: 16px 0 0;
  border-top: 1px solid #eef3f8;
  padding-top: 12px;
}

.related-support {
  margin-top: 48px;
}

.related-support-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.support-link-card {
  display: block;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.support-link-card:hover {
  border-color: #3b6ea5;
}

.support-link-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #243342;
  margin-bottom: 4px;
}

.support-link-desc {
  display: block;
  font-size: 13px;
  color: #7a8a9a;
}

/* ============================================================
   Yuedu page
   ============================================================ */
.prep-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

.prep-media {
  position: sticky;
  top: 84px;
}

.prep-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(36, 51, 66, 0.1);
}

.prep-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.prep-content h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.prep-content > p {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 20px;
}

.prep-step {
  padding: 16px 0;
  border-bottom: 1px solid #eef3f8;
}

.prep-step:last-child {
  border-bottom: none;
}

.prep-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.prep-step p {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 6px;
}

.prep-step a {
  font-size: 13px;
  font-weight: 600;
}

.compare-section {
  margin-bottom: 48px;
}

.compare-intro h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
}

.compare-table th:first-child {
  width: 140px;
}

.next-steps-section {
  margin-bottom: 48px;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.next-step-card {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.next-step-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.next-step-card p {
  font-size: 13px;
  color: #5a6a78;
  margin-bottom: 10px;
}

.next-step-card a {
  font-size: 13px;
  font-weight: 600;
}

.next-note {
  font-size: 13px;
  color: #7a8a9a;
  margin-top: 16px;
}

.next-note a {
  font-weight: 600;
}

.related-support .support-entry {
  border: none;
  padding: 0;
  margin-bottom: 16px;
}

.related-support .support-entry h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.related-support .support-entry p {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 0;
}

/* ============================================================
   Shuyu page
   ============================================================ */
.layout-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar-left .layout-shell {
  grid-template-columns: 260px 1fr;
}

.term-aside {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 84px;
}

.aside-title {
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef3f8;
}

.term-category-list {
  margin: 0;
}

.term-category-list li {
  margin-bottom: 4px;
}

.term-category-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #243342;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.term-category-list a:hover {
  background-color: #eef3f8;
  color: #3b6ea5;
}

.aside-note {
  font-size: 12px;
  color: #9aa7b3;
  margin: 16px 0 0;
  border-top: 1px solid #eef3f8;
  padding-top: 12px;
  line-height: 1.6;
}

.term-content {
  min-width: 0;
}

.term-group {
  margin-bottom: 40px;
}

.term-group-title {
  font-size: 20px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eef3f8;
}

.term-group-desc {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 16px;
}

.term-list {
  margin: 0;
}

.term-item {
  padding: 14px 0;
  border-bottom: 1px solid #eef3f8;
}

.term-item:last-child {
  border-bottom: none;
}

.term-name {
  font-size: 15px;
  font-weight: 600;
  color: #3b6ea5;
  margin-bottom: 4px;
}

.term-def {
  font-size: 14px;
  color: #243342;
  margin-bottom: 4px;
}

.term-tip {
  font-size: 13px;
  color: #7a8a9a;
  line-height: 1.6;
}

.term-divider {
  margin: 48px 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.term-divider img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.term-divider figcaption {
  font-size: 13px;
  color: #7a8a9a;
  padding: 8px 12px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  display: block;
  padding: 24px;
}

.related-card-title {
  font-size: 17px;
  margin-bottom: 8px;
  color: #243342;
}

.related-card-desc {
  font-size: 13px;
  color: #5a6a78;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   Zhuanti page
   ============================================================ */
.special-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.special-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.special-body {
  padding: 20px;
}

.special-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.special-body p {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 8px;
}

.special-tip {
  font-size: 13px;
  color: #7a8a9a;
  border-left: 3px solid #3b6ea5;
  padding-left: 10px;
  margin-bottom: 12px;
}

.special-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.special-links a {
  font-size: 13px;
  font-weight: 600;
}

.special-compare {
  margin-bottom: 48px;
}

.compare-table th:first-child {
  width: 120px;
}

.related-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #243342;
  margin-bottom: 6px;
}

.related-desc {
  display: block;
  font-size: 13px;
  color: #5a6a78;
  line-height: 1.6;
}

/* ============================================================
   Wuqu page
   ============================================================ */
.faq-section {
  margin-bottom: 48px;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #3b6ea5;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background-color: #f5f8fb;
}

.faq-question {
  display: block;
}

.faq-answer {
  padding: 0 20px 20px;
  border-top: 1px solid #eef3f8;
}

.misconception-block,
.clarify-block,
.suggest-block {
  padding: 12px 0;
  border-bottom: 1px solid #eef3f8;
}

.misconception-block:last-child,
.clarify-block:last-child,
.suggest-block:last-child {
  border-bottom: none;
}

.misconception-label {
  font-size: 13px;
  font-weight: 600;
  color: #3b6ea5;
  margin-bottom: 4px;
}

.misconception-block .misconception-label {
  color: #c96542;
}

.suggest-block .misconception-label {
  color: #7da87b;
}

.misconception-label + p {
  font-size: 14px;
  color: #243342;
  margin: 0;
  line-height: 1.7;
}

.misconception-links {
  margin-bottom: 48px;
}

.section-lead {
  font-size: 14px;
  color: #5a6a78;
  margin-bottom: 20px;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.direction-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.direction-card {
  padding-bottom: 20px;
}

.direction-card h3 {
  font-size: 17px;
  padding: 16px 20px 0;
  margin-bottom: 8px;
}

.direction-card p {
  font-size: 13px;
  color: #5a6a78;
  padding: 0 20px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.direction-link {
  display: inline-block;
  margin: 0 20px;
  font-size: 13px;
  font-weight: 600;
}

.related-reads {
  margin-bottom: 48px;
}

.related-reads .related-grid {
  grid-template-columns: repeat(3, 1fr);
}

.related-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #243342;
}

.related-card p {
  font-size: 13px;
  color: #5a6a78;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   Banquan page
   ============================================================ */
.boundary-statement {
  margin-bottom: 48px;
}

.boundary-statement > h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.boundary-card {
  padding: 24px;
}

.boundary-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.boundary-card p {
  font-size: 14px;
  color: #5a6a78;
  margin: 0;
  line-height: 1.7;
}

.feedback-process {
  margin-bottom: 48px;
}

.feedback-process > h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.feedback-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feedback-step {
  display: flex;
  gap: 16px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #3b6ea5;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-step h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.feedback-step p {
  font-size: 14px;
  color: #5a6a78;
  margin: 0;
  line-height: 1.7;
}

.feedback-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(36, 51, 66, 0.1);
}

.feedback-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feedback-figure figcaption {
  font-size: 13px;
  color: #7a8a9a;
  padding: 10px 14px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.cooperation-tips {
  margin-bottom: 48px;
}

.cooperation-tips > h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-card {
  padding: 20px;
}

.tip-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 14px;
  color: #5a6a78;
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   404 page
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-inner {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #3b6ea5;
  margin-bottom: 8px;
  line-height: 1.2;
}

.error-inner h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5a6a78;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.error-help {
  font-size: 13px;
  color: #9aa7b3;
  margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .genre-grid-list,
  .special-grid,
  .direction-grid,
  .boundary-grid,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .next-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prep-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-two-col {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 56px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 16px rgba(36, 51, 66, 0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 14px;
    border-radius: 6px;
  }

  .inner-main {
    padding: 24px 16px 48px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 56px 16px 32px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .hero-media {
    order: -1;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .quick-strip .section-block {
    padding: 32px 0;
  }

  .quick-col {
    padding: 16px 0;
    border-bottom: 1px solid #eef3f8;
  }

  .quick-col:last-child {
    border-bottom: none;
  }

  .genre-columns,
  .prep-steps,
  .next-steps-grid {
    grid-template-columns: 1fr;
  }

  .term-misconception-entry {
    padding: 40px 16px;
  }

  .term-misconception-entry .entry-card {
    padding: 24px;
  }

  .support-links {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .footer-inner {
    padding: 32px 16px 24px;
  }

  .footer-nav {
    gap: 8px 16px;
  }

  .genre-grid-list,
  .special-grid,
  .direction-grid,
  .boundary-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .related-links-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .layout-two-col {
    grid-template-columns: 1fr;
  }

  .tracking-sidebar {
    position: static;
    margin-top: 32px;
  }

  .prep-section {
    grid-template-columns: 1fr;
  }

  .prep-media {
    position: static;
  }

  .layout-shell,
  .sidebar-left .layout-shell {
    grid-template-columns: 1fr;
  }

  .term-aside {
    position: static;
    margin-bottom: 24px;
  }

  .feedback-layout {
    grid-template-columns: 1fr;
  }

  .feedback-figure {
    order: -1;
  }

  .related-reads .related-grid {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 26px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .prep-steps {
    grid-template-columns: 1fr;
  }

  .update-card {
    flex-direction: column;
  }

  .update-media {
    width: 100%;
  }

  .update-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .compare-table {
    min-width: 520px;
  }

  .feedback-step {
    flex-direction: column;
    gap: 8px;
  }

  .step-num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header,
  .site-nav,
  .nav-toggle,
  .breadcrumb,
  .footer-nav,
  .btn,
  .nav-list,
  .support-links,
  .related-links,
  .related-support {
    display: none !important;
  }

  body {
    background-color: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .inner-main {
    max-width: 100%;
    padding: 0;
  }

  .page-title {
    font-size: 20pt;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  .genre-card,
  .update-card,
  .special-card,
  .entry-card,
  .related-card,
  .direction-card,
  .boundary-card,
  .tip-card,
  .faq-item,
  .feedback-step {
    border: 1px solid #cccccc;
    box-shadow: none;
    break-inside: avoid;
  }

  .table-wrapper,
  .compare-table-wrap {
    border: 1px solid #cccccc;
    overflow: visible;
  }

  th {
    background-color: #f0f0f0 !important;
  }

  img {
    max-width: 100%;
  }
}
