/* roulang page: index */
:root {
  --primary: #2D6FB7;
  --primary-hover: #1F5A9C;
  --primary-light: #EAF1F8;
  --gold: #C9A063;
  --gold-light: #F7EFE0;
  --gold-text: #9A7B3F;
  --success: #2E9E6B;
  --bg-white: #FFFFFF;
  --bg-alt: #F6F9FC;
  --text-main: #213243;
  --text-secondary: #5E6F82;
  --text-muted: #8FA1B3;
  --border-color: #E2E9F0;
  --input-border: #D3DCE6;
  --shadow-card: 0 4px 16px rgba(36, 80, 128, 0.08);
  --shadow-hover: 0 8px 28px rgba(36, 80, 128, 0.14);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-sm: 4px;
  --font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --spacing-section: 96px;
  --spacing-section-mobile: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-hover); }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.4; color: var(--text-main); }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.grid-container { max-width: 1200px; padding-left: 20px; padding-right: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(45, 111, 183, 0.25); }
.btn--primary:active { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(45, 111, 183, 0.2); }
.btn--primary:focus-visible { outline: 3px solid rgba(45, 111, 183, 0.2); outline-offset: 2px; }
.btn--outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary-light); border-color: var(--primary-hover); color: var(--primary-hover); }
.btn--outline:focus-visible { outline: 3px solid rgba(45, 111, 183, 0.2); outline-offset: 2px; }
.btn--lg { padding: 15px 36px; font-size: 1.0625rem; min-width: 160px; }
.btn--sm { padding: 8px 18px; font-size: 0.875rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  background: var(--primary-light);
  color: var(--primary);
}
.badge--gold { background: var(--gold-light); color: var(--gold-text); font-weight: 600; }
.badge--light { background: var(--primary-light); color: var(--primary); }

.topbar {
  background: var(--text-main);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 6px 0;
}
.topbar a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; }
.topbar a:hover { color: #fff; }
.topbar__text { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__text i { color: var(--gold); font-size: 0.75rem; }
.topbar__links { display: flex; gap: 16px; flex-shrink: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  box-shadow: 0 1px 0 rgba(33, 50, 67, 0.06);
}
.logo-row { padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.brand__text { font-size: 1.375rem; font-weight: 700; color: var(--text-main); letter-spacing: 0.5px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.help-link { font-size: 0.875rem; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.help-link:hover { color: var(--primary); }

.site-nav { background: var(--bg-alt); border-top: 1px solid var(--border-color); overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.nav-chips { display: flex; gap: 10px; padding: 10px 0; }
.nav-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-chip:hover { color: var(--primary); border-color: var(--primary); background: var(--bg-white); }
.nav-chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav-chip.is-active:hover { color: #fff; }

.hero {
  background: linear-gradient(180deg, #F0F5FA 0%, #FFFFFF 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(45, 111, 183, 0.05);
  top: -100px;
  right: -60px;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(45, 111, 183, 0.08);
  bottom: -60px;
  left: 35%;
  z-index: 0;
}
.hero .grid-container { position: relative; z-index: 1; }
.hero__content h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.hero__content h1 .highlight { color: var(--primary); }
.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 420px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual { position: relative; }
.hero__visual::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 100%;
  height: 100%;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.hero__img {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(36, 80, 128, 0.12);
  width: 100%;
  height: auto;
}

.stats-band {
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
}
.stat-item { text-align: center; padding: 16px 8px; }
.stat-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}
.stat-item__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  font-feature-settings: "tnum";
  line-height: 1.2;
}
.stat-item__label { font-size: 0.875rem; color: var(--text-secondary); margin-top: 6px; }

.section { padding: var(--spacing-section) 0; }
.section--white { background: var(--bg-white); }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; letter-spacing: 0.01em; }
.section__head p { color: var(--text-secondary); font-size: 0.9375rem; }
.section__head--left { text-align: left; }

.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-color); background: var(--bg-white); box-shadow: var(--shadow-card); }
.benefit-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.benefit-table th {
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 16px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.benefit-table td {
  padding: 15px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.benefit-table .benefit-name { font-weight: 400; color: var(--text-main); text-align: left; padding-left: 24px; }
.benefit-table tr:last-child td { border-bottom: none; }
.benefit-table .col-recommended { background: #FDFAF4; border-top: 3px solid var(--gold); }
.benefit-table th.col-recommended { border-top: 3px solid var(--gold); background: #FDFAF4; }
.benefit-table tr:hover td { background: rgba(45, 111, 183, 0.02); }
.benefit-table tr:hover td.col-recommended { background: #FDFAF4; }
.recommend-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 4px;
  font-weight: 600;
  vertical-align: 1px;
}

.level-list { padding-right: 30px; }
.level-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--border-color); }
.level-item:first-child { padding-top: 0; }
.level-item:last-child { border-bottom: none; padding-bottom: 0; }
.level-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.125rem;
}
.level-item__body h3 { font-size: 1.0625rem; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.level-item__body p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }
.level-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: auto;
}

.exclusive-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  height: 100%;
}
.exclusive-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(45, 111, 183, 0.3); }
.exclusive-card__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--primary-light); }
.exclusive-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.exclusive-card:hover .exclusive-card__thumb img { transform: scale(1.04); }
.exclusive-card__lock {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(33, 50, 67, 0.6);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  backdrop-filter: blur(4px);
}
.exclusive-card__body { padding: 20px 24px 24px; flex-grow: 1; }
.exclusive-card__body h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; color: var(--text-main); line-height: 1.5; }
.exclusive-card__body p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

.news-list .news-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.22s ease;
}
.news-list .news-item:hover { box-shadow: var(--shadow-hover); border-color: rgba(45, 111, 183, 0.25); transform: translateY(-2px); }
.news-item__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-item__date { font-size: 0.8125rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.news-item__title { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.news-item__title a { color: var(--text-main); text-decoration: none; transition: color 0.2s; }
.news-item__title a:hover { color: var(--primary); }
.news-item__summary { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.news-item__more {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.news-item__more:hover { gap: 10px; color: var(--primary-hover); }
.news-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-white);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  color: var(--text-muted);
}
.news-empty i { font-size: 2rem; margin-bottom: 12px; display: block; }
.news-empty p { font-size: 0.9375rem; }

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}
.sidebar-card ul li { margin-bottom: 10px; }
.sidebar-card ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-card ul a i { color: var(--primary); font-size: 0.75rem; }
.sidebar-card ul a:hover { color: var(--primary); }
.sidebar-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.8; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-white);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-item.is-active { border-color: rgba(45, 111, 183, 0.35); box-shadow: var(--shadow-card); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: none;
  border: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-item__question:hover { color: var(--primary); }
.faq-item__icon { color: var(--primary); flex-shrink: 0; font-size: 0.875rem; transition: transform 0.3s ease; width: 16px; text-align: center; }
.faq-item.is-active .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.is-active .faq-item__answer { max-height: 600px; }
.faq-item__answer p { padding: 0 24px 20px 54px; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.8; }

.cta-section {
  padding: var(--spacing-section) 0;
  background-color: var(--bg-alt);
  background-image: url('/assets/images/backpic/back-3.webp');
  background-size: cover;
  background-position: center;
}
.cta-box {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
}
.cta-box h2 { font-size: 1.625rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.cta-box p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 28px; }
.cta-box .btn--lg { min-width: 240px; height: 52px; }

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  padding: 56px 0 0;
}
.site-footer h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: var(--text-secondary); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--primary); }
.footer__brand .brand__text { font-size: 1.25rem; margin-bottom: 12px; display: block; }
.footer__brand p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.8; margin-top: 12px; }
.footer__contact { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 12px; }
.subscribe-form { display: flex; gap: 8px; margin-top: 12px; }
.subscribe-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg-white);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subscribe-form input::placeholder { color: var(--text-muted); }
.subscribe-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(45, 111, 183, 0.12); }
.subscribe-form .btn { padding: 10px 18px; font-size: 0.8125rem; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: all 0.2s;
  text-decoration: none;
}
.footer__social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer__bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p { font-size: 0.8125rem; color: var(--text-muted); }

@media (max-width: 1024px) {
  .hero { padding: 56px 0; }
  .level-list { padding-right: 0; }
  .level-item { padding: 20px 0; }
  .section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .section { padding: var(--spacing-section-mobile) 0; }
  .section__head { margin-bottom: 32px; }
  .hero { padding: 48px 0; }
  .hero__content { margin-bottom: 28px; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions .btn { width: auto; }
  .topbar__text { display: none; }
  .topbar__links { justify-content: flex-end; }
  .stat-item { padding: 12px 4px; }
  .stat-item__num { font-size: 1.625rem; }
  .grid-container { padding-left: 16px; padding-right: 16px; }
  .exclusive-card__body { padding: 18px 20px 22px; }
  .cta-section { padding: var(--spacing-section-mobile) 0; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.375rem; }
  .level-item { gap: 14px; }
  .level-item__icon { width: 40px; height: 40px; font-size: 1rem; }
  .site-footer { padding-top: 40px; }
  .footer__bottom { margin-top: 32px; }
}

@media (max-width: 480px) {
  body { font-size: 0.875rem; }
  .brand__icon { width: 36px; height: 36px; font-size: 1rem; }
  .brand__text { font-size: 1.125rem; }
  .header-actions { gap: 12px; }
  .header-actions .btn--sm { padding: 6px 14px; font-size: 0.8125rem; }
  .nav-chips { gap: 8px; }
  .nav-chip { padding: 6px 14px; font-size: 0.8125rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .stats-band { padding: 24px 0; }
  .stat-item__icon { width: 40px; height: 40px; font-size: 1rem; }
  .stat-item__num { font-size: 1.375rem; }
  .faq-item__question { padding: 16px 18px; font-size: 0.875rem; }
  .faq-item__answer p { padding: 0 18px 16px 42px; font-size: 0.8125rem; }
  .cta-box { padding: 32px 20px; }
  .cta-box .btn--lg { min-width: 200px; height: 48px; font-size: 0.9375rem; }
  .news-list .news-item { padding: 18px; }
  .sidebar-card { padding: 18px; }
}

/* roulang page: category1 */
:root {
  --primary: #2D6FB7;
  --primary-hover: #1F5A9C;
  --primary-light: #EAF1F8;
  --gold: #C9A063;
  --gold-light: #F7EFE0;
  --gold-dark: #9A7B3F;
  --success: #2E9E6B;
  --bg: #FFFFFF;
  --bg-alt: #F6F9FC;
  --text: #213243;
  --text-secondary: #5E6F82;
  --text-muted: #8FA1B3;
  --border: #E2E9F0;
  --border-strong: #D3DCE6;
  --shadow: 0 4px 16px rgba(36, 80, 128, 0.08);
  --shadow-hover: 0 8px 28px rgba(36, 80, 128, 0.14);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-sm: 4px;
  --transition: all .25s ease;
  --font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--primary-hover);
}

button, input, select, textarea {
  font-family: var(--font-family);
  font-size: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.grid-container {
  max-width: 1200px;
}

.grid-margin-x > .cell {
  margin-bottom: 24px;
}

.grid-margin-x > .cell:last-child {
  margin-bottom: 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  border-radius: 6px;
  padding: 12px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 111, 183, 0.2);
}
.btn--primary {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45, 111, 183, 0.25);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--outline {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary-light);
  border-color: var(--primary-hover);
}
.btn--outline:active {
  transform: translateY(0);
}
.btn--sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}
.btn--block {
  display: flex;
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.topbar {
  background: #213243;
  color: #fff;
  padding: 6px 0;
  font-size: 0.8125rem;
}
.topbar .grid-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__tagline {
  opacity: 0.9;
}
.topbar__links {
  display: flex;
  gap: 16px;
}
.topbar__links a {
  color: #cfd9e3;
  font-size: 0.8125rem;
}
.topbar__links a:hover {
  color: #fff;
}
.logo-row {
  padding: 18px 0;
  background: #fff;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.brand__text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.help-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.help-link:hover {
  color: var(--primary);
}
.site-nav {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 10px 0;
}
.nav-chips {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 50px;
  background: #E9EEF4;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}
.nav-chip:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.nav-chip.is-active:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* ===== Category Hero ===== */
.category-hero {
  background: linear-gradient(135deg, #F0F5FA 0%, #FFFFFF 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.category-hero::before {
  content: "";
  position: absolute;
  top: 40px;
  right: 20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(45, 111, 183, 0.04);
  pointer-events: none;
}
.category-hero::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(45, 111, 183, 0.03);
  pointer-events: none;
}
.breadcrumb-nav {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-nav a {
  color: var(--text-muted);
}
.breadcrumb-nav a:hover {
  color: var(--primary);
}
.breadcrumb-nav .current {
  color: var(--primary);
  font-weight: 500;
}
.category-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
}
.category-hero h1 .highlight {
  color: var(--primary);
}
.category-hero__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.8;
}
.category-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.category-hero__img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--primary-light);
}
.category-hero__img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.category-hero__img::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 2px solid rgba(45, 111, 183, 0.2);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ===== Chips ===== */
.topic-chips {
  padding: 32px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.chips-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== Steps ===== */
.steps-section {
  padding: 96px 0;
  background: var(--bg-alt);
}
.steps-section .section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.steps-section .section-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 0.9375rem;
}
.steps-grid {
  margin-top: 16px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  height: 100%;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 111, 183, 0.3);
}
.step-card__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(45, 111, 183, 0.08);
  line-height: 1;
  font-feature-settings: "tnum";
}
.step-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}
.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* ===== Guide List Section ===== */
.guide-list-section {
  padding: 96px 0;
  background: var(--bg);
}
.guide-list-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.guide-list-section .section-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.guide-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.guide-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 111, 183, 0.25);
  transform: translateY(-2px);
}
.guide-item__thumb {
  width: 180px;
  min-width: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary-light);
  align-self: center;
}
.guide-item__thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.guide-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.guide-item__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.5;
}
.guide-item__title a {
  color: var(--text);
}
.guide-item__title a:hover {
  color: var(--primary);
}
.guide-item__summary {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.guide-item__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.guide-item__meta i {
  color: var(--primary);
  margin-right: 3px;
}
.guide-item__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.page-link.is-current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.page-link.page-link--prev,
.page-link.page-link--next {
  width: auto;
  padding: 0 16px;
}
.page-link.disabled {
  opacity: 0.5;
  pointer-events: none;
  background: #edf0f4;
  border-color: #e2e9f0;
  color: #a0a7b0;
}

/* ===== Sidebar ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.sidebar-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}
.sidebar-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}
.sidebar-card--gold {
  border-top: 3px solid var(--gold);
  background: linear-gradient(160deg, #FFFEFF 0%, #FCF8F1 100%);
}
.sidebar-card--gold h3 {
  border-bottom-color: var(--gold-light);
}
.sidebar-card--gold .btn--primary {
  background: var(--gold);
  border-color: var(--gold);
}
.sidebar-card--gold .btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* ===== FAQ ===== */
.faq-section {
  padding: 96px 0;
  background: var(--bg-alt);
}
.faq-section .section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-section .section-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  cursor: pointer;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(45, 111, 183, 0.3);
  box-shadow: var(--shadow);
}
.faq-item.is-open {
  border-color: rgba(45, 111, 183, 0.4);
}
.faq-item__question {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
.faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item__answer-inner {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
}

/* ===== CTA ===== */
.cta-section {
  padding: 112px 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(45, 111, 183, 0.04);
  pointer-events: none;
}
.cta-section .grid-container {
  position: relative;
  z-index: 2;
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 52px;
  font-size: 1.0625rem;
  padding: 0 36px;
}

/* ===== Footer ===== */
.site-footer {
  background: #F1F5F9;
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer__brand {
  margin-bottom: 16px;
}
.footer__brand .brand__text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 12px;
  max-width: 320px;
}
.site-footer h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.site-footer ul li {
  margin-bottom: 8px;
}
.site-footer ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.site-footer ul li a:hover {
  color: var(--primary);
}
.footer__contact {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.subscribe-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.subscribe-form input[type="email"] {
  flex: 1;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 8px 12px;
  background: #fff;
  font-size: 0.8125rem;
  outline: none;
  transition: var(--transition);
}
.subscribe-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 111, 183, 0.12);
}
.subscribe-form .btn {
  padding: 8px 16px;
  font-size: 0.8125rem;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer__social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 48px;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .category-hero {
    padding: 56px 0;
  }
  .category-hero__img img {
    height: 260px;
  }
  .steps-section,
  .guide-list-section,
  .faq-section {
    padding: 80px 0;
  }
  .cta-section {
    padding: 88px 0;
  }
  .sidebar {
    margin-top: 32px;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .logo-row {
    padding: 14px 0;
  }
  .brand__text {
    font-size: 1.0625rem;
  }
  .brand__icon {
    width: 34px;
    height: 34px;
    font-size: 0.9375rem;
  }
  .header-actions .help-link {
    display: none;
  }
  .header-actions .btn--sm {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
  .site-nav {
    padding: 8px 0;
  }
  .nav-chips {
    gap: 8px;
  }
  .nav-chip {
    padding: 6px 14px;
    font-size: 0.8125rem;
  }
  .category-hero {
    padding: 48px 0;
  }
  .category-hero h1 {
    font-size: 1.5rem;
  }
  .category-hero__desc {
    font-size: 0.9375rem;
  }
  .category-hero__img {
    margin-top: 24px;
  }
  .category-hero__img img {
    height: 200px;
  }
  .chips-wrap {
    gap: 8px;
  }
  .chip {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
  .steps-section,
  .guide-list-section,
  .faq-section {
    padding: 64px 0;
  }
  .steps-grid .cell {
    margin-bottom: 16px;
  }
  .step-card {
    padding: 24px 20px;
  }
  .guide-item {
    flex-direction: row;
    padding: 14px;
    gap: 14px;
  }
  .guide-item__thumb {
    width: 96px;
    min-width: 96px;
  }
  .guide-item__thumb img {
    height: 76px;
  }
  .guide-item__summary {
    -webkit-line-clamp: 2;
  }
  .guide-item__meta {
    gap: 8px;
  }
  .sidebar {
    margin-top: 24px;
  }
  .faq-item {
    padding: 18px 20px;
  }
  .cta-section {
    padding: 72px 0;
  }
  .cta-section h2 {
    font-size: 1.5rem;
  }
  .cta-btn-large {
    min-width: 200px;
    height: 48px;
    font-size: 0.9375rem;
  }
  .site-footer .cell {
    margin-bottom: 32px;
  }
  .footer__bottom {
    margin-top: 32px;
  }
}

@media (max-width: 520px) {
  .guide-item {
    flex-direction: column;
  }
  .guide-item__thumb {
    width: 100%;
    min-width: 0;
  }
  .guide-item__thumb img {
    height: 120px;
  }
  .guide-item__summary {
    -webkit-line-clamp: 3;
  }
  .pagination {
    gap: 6px;
  }
  .page-link {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }
  .page-link.page-link--prev,
  .page-link.page-link--next {
    padding: 0 12px;
  }
}

/* roulang page: article */
:root {
  --primary: #2D6FB7;
  --primary-hover: #1F5A9C;
  --primary-light: #EAF1F8;
  --gold: #C9A063;
  --gold-light: #F7EFE0;
  --gold-text: #9A7B3F;
  --success: #2E9E6B;
  --bg: #FFFFFF;
  --bg-alt: #F6F9FC;
  --text: #213243;
  --text-secondary: #5E6F82;
  --text-muted: #8FA1B3;
  --border: #E2E9F0;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-sm: 4px;
  --shadow: 0 4px 16px rgba(36, 80, 128, 0.08);
  --shadow-hover: 0 8px 28px rgba(36, 80, 128, 0.14);
  --font: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-hover); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { padding-left: 1.2rem; }
.grid-container { max-width: 1200px; padding-left: 1.25rem; padding-right: 1.25rem; }

/* ---- Header & Nav ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 4px rgba(36, 80, 128, 0.04);
}
.logo-row { padding: 1rem 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.brand__text { font-size: 1.25rem; font-weight: 700; color: var(--text); letter-spacing: .01em; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.help-link { font-size: .875rem; color: var(--text-secondary); transition: color .2s ease; }
.help-link:hover { color: var(--primary); }
.site-nav {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.nav-chips {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 8px 0;
  margin: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-chips::-webkit-scrollbar { display: none; }
.nav-chip {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all .2s ease;
  line-height: 1.4;
}
.nav-chip:hover { color: var(--primary); border-color: var(--primary); background: #fff; }
.nav-chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 500;
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.5;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary:active { transform: translateY(1px); box-shadow: none; }
.btn--primary:focus-visible { outline: 3px solid rgba(45,111,183,.2); outline-offset: 2px; }
.btn--outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary-light); color: var(--primary-hover); }
.btn--sm { padding: 8px 18px; font-size: .875rem; }
.btn--lg { padding: 14px 32px; font-size: 1.0625rem; min-width: 200px; }

/* ---- Article Hero ---- */
.article-hero {
  position: relative;
  background: linear-gradient(180deg, #F0F5FA 0%, #FFFFFF 100%);
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 42%;
  background: url('/assets/images/backpic/back-1.png') no-repeat right center / cover;
  opacity: .07;
  pointer-events: none;
}
.article-hero::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: .5;
  top: -60px; left: 10%;
  pointer-events: none;
}
.breadcrumb {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .current { color: var(--primary); font-weight: 500; }
.article-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.article-meta {
  margin-top: 1.125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: .875rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.article-meta i { margin-right: 4px; color: var(--primary); }

/* ---- Article Content ---- */
.article-wrap { padding: 48px 0 56px; }
.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
}
.article-content p { margin-bottom: 1.2rem; }
.article-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--text);
  line-height: 1.4;
}
.article-content h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin: 1.75rem 0 .875rem;
  color: var(--text);
  line-height: 1.4;
}
.article-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.5rem 0 .75rem;
  color: var(--text);
}
.article-content ul,
.article-content ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: .5rem; }
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: normal;
}
.article-content img { border-radius: 8px; box-shadow: var(--shadow); margin: 1.5rem 0; }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--primary-hover); }
.article-content code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .875rem;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}
.article-content pre {
  background: var(--bg-alt);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}
.article-content pre code { background: none; padding: 0; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9375rem;
}
.article-content th,
.article-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article-content th { background: var(--bg-alt); font-weight: 600; }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ---- Article Footer Bar / Tags / Share ---- */
.article-footer-bar {
  max-width: 820px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8125rem;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.4;
}
.share-bar { display: flex; align-items: center; gap: 8px; }
.share-bar span { font-size: .8125rem; color: var(--text-muted); }
.share-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  transition: all .2s ease;
  border: none;
  cursor: pointer;
}
.share-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ---- Post Navigation ---- */
.post-nav { padding: 0 0 56px; }
.post-nav__inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.post-nav-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
  background: #fff;
  text-decoration: none;
}
.post-nav-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(-3px);
  color: inherit;
}
.post-nav-card.next:hover { transform: translateX(3px); }
.post-nav-card .label { font-size: .8125rem; color: var(--text-muted); margin-bottom: 4px; }
.post-nav-card .title { font-size: .9375rem; color: var(--text); font-weight: 500; line-height: 1.5; }
.post-nav-card:hover .title { color: var(--primary); }

/* ---- Related Section ---- */
.related-section { background: var(--bg-alt); padding: 64px 0; border-top: 1px solid var(--border); }
.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
}
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(36, 80, 128, 0.04);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 111, 183, .3);
}
.related-card__img {
  aspect-ratio: 16 / 9;
  background: var(--primary-light);
  overflow: hidden;
}
.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.related-card:hover .related-card__img img { transform: scale(1.03); }
.related-card__body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.related-card__tag {
  font-size: .75rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  align-self: flex-start;
}
.related-card__title {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card__summary {
  font-size: .8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}
.back-link-wrap { text-align: center; padding: 48px 0 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: .9375rem;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  transition: all .2s ease;
}
.back-link:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-hover);
  transform: translateX(-3px);
}

/* ---- Empty State ---- */
.article-empty {
  padding: 96px 0;
  text-align: center;
}
.article-empty__icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.article-empty p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ---- Footer ---- */
.site-footer {
  background: #F1F5F9;
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer__brand p {
  font-size: .875rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 320px;
}
.site-footer h4 {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .625rem; }
.site-footer ul a { color: var(--text-secondary); font-size: .875rem; text-decoration: none; transition: color .2s ease; }
.site-footer ul a:hover { color: var(--primary); }
.footer__contact { font-size: .875rem; color: var(--text-secondary); margin-bottom: 1rem; }
.footer__contact i { color: var(--primary); margin-right: 6px; }
.subscribe-form { display: flex; gap: 8px; margin-bottom: 1.25rem; }
.subscribe-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #D3DCE6;
  border-radius: 6px;
  font-size: .875rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  background: #fff;
  color: var(--text);
}
.subscribe-form input::placeholder { color: var(--text-muted); }
.subscribe-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 111, 183, .12);
}
.subscribe-form .btn { padding: 10px 18px; font-size: .875rem; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .2s ease;
  text-decoration: none;
}
.footer__social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.footer__bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p { font-size: .8125rem; color: var(--text-muted); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .article-hero { padding: 48px 0 40px; }
  .article-hero::before { width: 35%; }
  .related-section { padding: 56px 0; }
}
@media (max-width: 768px) {
  .logo-row { padding: .75rem 0; }
  .brand__text { font-size: 1.125rem; }
  .article-hero { padding: 40px 0 32px; }
  .article-hero h1 { font-size: 1.5rem; padding-left: 12px; }
  .article-meta { gap: .875rem; font-size: .8125rem; }
  .article-wrap { padding: 32px 0 40px; }
  .article-content { font-size: .9375rem; }
  .post-nav__inner { grid-template-columns: 1fr; }
  .related-section { padding: 48px 0; }
  .article-footer-bar { flex-direction: column; align-items: flex-start; }
  .site-footer { padding-top: 48px; }
  .footer__bottom { margin-top: 32px; }
}
@media (max-width: 520px) {
  .grid-container { padding-left: 1rem; padding-right: 1rem; }
  .header-actions .help-link { display: none; }
  .brand__icon { width: 36px; height: 36px; font-size: 1rem; }
  .brand__text { font-size: 1.0625rem; }
  .article-hero h1 { font-size: 1.375rem; }
  .article-meta { flex-direction: column; gap: 6px; }
  .post-nav-card { padding: .875rem 1rem; }
  .nav-chip { padding: 6px 14px; font-size: .8125rem; }
  .section-title { font-size: 1.25rem; }
  .btn--lg { width: 100%; }
}
