/* roulang page: index */
/* ============ 设计变量 ============ */
:root {
  --brand-red: #C8102E;
  --brand-red-dark: #A00F22;
  --brand-red-light: #FDECEB;
  --brand-black: #1A1A1A;
  --blue-accent: #2A6FD6;
  --bg-main: #F5F7FA;
  --bg-alt: #EEF1F5;
  --bg-card: #FFFFFF;
  --text-main: #1F2937;
  --text-sub: #55606E;
  --text-muted: #8A94A3;
  --border: #E5E9F0;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 8px rgba(30,40,60,.06);
  --shadow-hover: 0 8px 24px rgba(30,40,60,.12);
  --space-section: 96px;
  --font-main: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

/* ============ 基础 Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button, input { font-family: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
section[id] { scroll-margin-top: 118px; }

/* ============ 通用布局 ============ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 44px; }
.section-head h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  padding-left: 18px;
  border-left: 4px solid var(--brand-red);
}
.section-head .section-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-sub);
  max-width: 660px;
}

/* ============ 按钮体系 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--brand-red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200,16,46,.28);
}
.btn-primary:active {
  background: #8E0D1E;
  transform: translateY(0);
}
.btn-outline {
  background: #fff;
  border-color: var(--brand-red);
  color: var(--brand-red);
}
.btn-outline:hover { background: var(--brand-red-light); }
.btn-outline:active { background: #FADCD9; }

/* ============ 标签 / Badge ============ */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200,16,46,.35);
  background: rgba(200,16,46,.06);
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.4;
}

/* ============ 双层导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(30,40,60,.05);
}
.header-top { padding: 12px 0; border-bottom: 1px solid var(--border); }
.header-top .grid-x { align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(200,16,46,.3);
  flex-shrink: 0;
}
.brand-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: .01em;
  line-height: 1.3;
}
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}
.header-search input {
  border: none;
  background: transparent;
  padding: 8px 6px 8px 18px;
  font-size: 14px;
  width: 210px;
  color: var(--text-main);
  outline: none;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--brand-red);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.header-search button:hover { background: var(--brand-red-dark); }
.btn-favorite { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-favorite i { margin-right: 4px; }

.header-nav { background: #fff; border-bottom: 1px solid var(--border); }
.channel-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.channel-tabs::-webkit-scrollbar { display: none; }
.channel-tabs .tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all .2s ease;
}
.channel-tabs .tab:hover {
  color: var(--brand-red);
  background: var(--brand-red-light);
}
.channel-tabs .tab.active {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200,16,46,.24);
}

/* ============ Hero 首屏 ============ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(18,20,24,.88) 0%, rgba(26,26,26,.66) 50%, rgba(200,16,46,.40) 100%),
    url('/assets/images/backpic/back-1.webp') center / cover no-repeat;
  color: #fff;
  padding: 88px 0;
  overflow: hidden;
}
.hero-inner { max-width: 780px; }
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 24px;
  color: rgba(255,255,255,.92);
}
.hero h1 {
  font-size: 42px;
  line-height: 1.28;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: .01em;
}
.hero h1 .highlight {
  color: #FF5A6A;
  text-shadow: 0 2px 18px rgba(255,90,106,.35);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,.86);
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200,16,46,.4);
}
.hero .btn-primary:hover { background: #E01832; }
.hero .btn-ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.75);
  color: #fff;
}
.hero .btn-ghost:hover { background: rgba(255,255,255,.16); }
.hero-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

/* ============ 合集目录 ============ */
.channel-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}
.channel-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.channel-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.channel-card:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}
.channel-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--brand-red-light);
  color: var(--brand-red);
  margin-bottom: 6px;
}
.channel-card h3 { font-size: 18px; font-weight: 700; color: var(--text-main); }
.channel-card p { font-size: 14px; color: var(--text-sub); line-height: 1.65; }
.channel-card .card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.channel-card .arrow { color: var(--brand-red); font-weight: 700; font-size: 13px; }
.channel-card-main {
  background: linear-gradient(140deg, #fff 72%, #FDECEB);
}
.channel-card-wide { grid-column: span 2; }

/* ============ 精选条目 ============ */
.feature-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-card-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-card-cover { aspect-ratio: 16 / 9; overflow: hidden; }
.feature-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.feature-card-main:hover .feature-card-cover img { transform: scale(1.03); }
.feature-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feature-card-body .badge { align-self: flex-start; }
.feature-card-body h3 { font-size: 20px; font-weight: 700; line-height: 1.45; }
.feature-card-body p { font-size: 14px; color: var(--text-sub); line-height: 1.75; }
.feature-meta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.feature-meta .arrow { color: var(--brand-red); font-weight: 700; }

.feature-list { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.feature-item {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.feature-item .badge { align-self: flex-start; }
.feature-item h3 { font-size: 16px; font-weight: 700; line-height: 1.5; transition: color .2s; }
.feature-item:hover h3 { color: var(--brand-red); }
.feature-item .feature-item-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ============ 最新信息列表 ============ */
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-row {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.info-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.info-row:hover h3 { color: var(--brand-red); }
.info-row-thumb {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.info-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.info-row-body { flex: 1; min-width: 0; }
.info-row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.info-row-meta .badge { font-size: 12px; padding: 3px 12px; }
.info-row-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.info-row-body p {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}
.empty-state i { font-size: 34px; margin-bottom: 14px; opacity: .45; display: block; }

/* ============ 相关推荐迷你卡片 ============ */
.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.mini-card-cover { aspect-ratio: 16 / 10; overflow: hidden; }
.mini-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.mini-card:hover .mini-card-cover img { transform: scale(1.04); }
.mini-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mini-card-body .badge { font-size: 12px; padding: 3px 12px; align-self: flex-start; }
.mini-card-body h3 { font-size: 15px; font-weight: 700; line-height: 1.5; transition: color .2s; }
.mini-card:hover .mini-card-body h3 { color: var(--brand-red); }
.mini-meta {
  margin-top: auto;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.mini-meta .arrow { color: var(--brand-red); font-weight: 700; }

/* ============ FAQ 手风琴 ============ */
.custom-accordion { border: none; background: transparent; }
.custom-accordion .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease;
}
.custom-accordion .accordion-item:hover { box-shadow: var(--shadow-hover); }
.custom-accordion .accordion-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  padding: 20px 24px;
  border: none !important;
  background: #fff;
  position: relative;
}
.custom-accordion .accordion-title::before {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: var(--brand-red);
  font-weight: 700;
  transition: transform .3s ease;
}
.custom-accordion .accordion-item.is-active .accordion-title::before { content: "−"; }
.custom-accordion .accordion-title:hover,
.custom-accordion .accordion-title:focus {
  color: var(--brand-red);
  background: #fff;
}
.custom-accordion .accordion-content {
  border: none !important;
  background: #fff;
  padding: 0 24px 24px 60px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.85;
}
.custom-accordion .accordion-content p + p { margin-top: 10px; }

/* ============ CTA 收藏分享区 ============ */
.cta-section { padding: 80px 0; background: var(--bg-alt); }
.cta-box {
  background: linear-gradient(135deg, #fff 0%, #FDECEB 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.cta-box h2 { font-size: 28px; font-weight: 700; line-height: 1.35; }
.cta-box p {
  color: var(--text-sub);
  margin: 14px auto 28px;
  max-width: 560px;
  font-size: 16px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}
.social-share { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.social-share a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EFF2F6;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all .2s ease;
}
.social-share a:hover {
  background: var(--brand-red);
  color: #fff;
  transform: translateY(-2px);
}

/* ============ 页脚 ============ */
.site-footer { background: var(--brand-black); color: #F2F4F7; }
.footer-top-border {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), #E84C5B, var(--brand-red));
}
.footer-main {
  padding: 56px 0 44px;
  margin-bottom: 0;
}
.footer-main .brand-text { color: #fff; font-size: 18px; }
.footer-main .brand-icon {
  width: 38px;
  height: 38px;
  font-size: 15px;
}
.footer-brand p {
  color: #A6ADBB;
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.75;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a {
  display: inline-block;
  color: #A6ADBB;
  font-size: 14px;
  padding: 4px 0;
  transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col p { color: #A6ADBB; font-size: 14px; line-height: 1.75; margin-top: 8px; }
.footer-col p a { font-size: inherit; }
.footer-bottom {
  border-top: 1px solid #333B49;
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #A6ADBB;
  font-size: 13px;
}

/* ============ 响应式断点 ============ */
@media (max-width: 1024px) {
  .channel-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .series-grid { flex-wrap: wrap; }
  .footer-main .grid-x { row-gap: 36px; }
}

@media (max-width: 768px) {
  :root { --space-section: 56px; }
  .hero { min-height: 52vh; padding: 64px 0; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .section-head h2 { font-size: 23px; }
  .section-head .section-sub { font-size: 15px; }
  .channel-side { grid-template-columns: 1fr; }
  .channel-card-wide { grid-column: span 1; }
  .info-row { flex-direction: column; align-items: stretch; }
  .info-row-thumb { width: 100%; height: 160px; }
  .cta-box { padding: 40px 22px; }
  .cta-box h2 { font-size: 23px; }
  .header-search input { width: 130px; }
}

@media (max-width: 640px) {
  .header-search input { display: none; }
  .header-search { width: 40px; height: 40px; background: var(--bg-main); border-radius: 50%; justify-content: center; }
  .header-search button { width: 40px; height: 40px; border-radius: 50%; background: transparent; color: var(--text-sub); }
  .btn-favorite { display: none; }
  .brand-text { font-size: 15px; }
  .brand-icon { width: 34px; height: 34px; font-size: 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta span { font-size: 12px; }
  .featured-grid { gap: 20px; }
  .feature-card-body { padding: 20px; }
  .feature-card-body h3 { font-size: 18px; }
  .footer-main { row-gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .accordion-title { font-size: 15px; }
}

@media (max-width: 520px) {
  .related-grid { gap: 20px; }
  .section-head h2 { padding-left: 14px; }
  .custom-accordion .accordion-content { padding-left: 24px; }
}

/* roulang page: article */
:root {
  --brand-red: #C8102E;
  --brand-red-dark: #A00F22;
  --brand-red-light: #FDECEB;
  --brand-black: #1A1A1A;
  --brand-black-2: #202124;
  --bg-main: #F5F7FA;
  --bg-alt: #EEF1F5;
  --card-bg: #FFFFFF;
  --business-blue: #2A6FD6;
  --text-main: #1F2937;
  --text-sub: #55606E;
  --text-weak: #8A94A3;
  --border-color: #E5E9F0;
  --radius-card: 14px;
  --radius-btn: 9px;
  --shadow-card: 0 2px 8px rgba(30,40,60,.06);
  --shadow-hover: 0 8px 24px rgba(30,40,60,.12);
  --font-primary: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --section-space: 88px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--business-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-red); }
ul, ol { list-style: none; }
button, input { font-family: inherit; font-size: 1rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(30,40,60,.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top { border-bottom: 1px solid var(--border-color); padding: 12px 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}
.brand:hover { color: var(--brand-red); }
.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, var(--brand-red), var(--brand-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(200, 16, 46, .3);
  flex-shrink: 0;
}
.brand-text { font-weight: 700; letter-spacing: .02em; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, .18);
}
.header-search input {
  border: none;
  background: transparent;
  padding: 8px 12px;
  width: 180px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
}
.header-search input::placeholder { color: var(--text-weak); }
.header-search button {
  border: none;
  background: var(--brand-red);
  color: #fff;
  width: 38px;
  height: 36px;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s;
}
.header-search button:hover { background: var(--brand-red-dark); }
.header-nav { background: #fff; }
.channel-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.channel-tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  background: transparent;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.tab:hover { color: var(--brand-red); background: var(--brand-red-light); }
.tab.active { background: var(--brand-red); color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all .2s ease;
  border: 1px solid transparent;
  min-height: 40px;
  text-decoration: none;
  line-height: 1.2;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
.btn-primary { background: var(--brand-red); color: #fff !important; }
.btn-primary:hover { background: var(--brand-red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(200, 16, 46, .3); }
.btn-primary:active { background: #8E0D1F; transform: translateY(0); }
.btn-outline { background: #fff; color: var(--brand-red) !important; border-color: var(--brand-red); }
.btn-outline:hover { background: var(--brand-red-light); }
.btn-outline:active { background: #F8D6D2; }
.btn-favorite { padding: 8px 16px; font-size: 13px; }
.btn-link { background: transparent; color: var(--brand-red) !important; padding: 8px 4px; }
.btn-link:hover { text-decoration: underline; }
/* ===== 文章页主体 ===== */
.article-banner {
  background: linear-gradient(rgba(26, 26, 26, .78), rgba(200, 16, 46, .36)), url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
  padding: 64px 0;
  color: #fff;
}
.article-banner h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #E6E9EF;
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.5); }
.breadcrumb .current { font-weight: 600; color: #fff; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}
.article-meta .badge {
  background: rgba(255,255,255,.14);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.25);
}
.article-wrap { padding: 56px 0 var(--section-space); }
.article-main {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 48px 56px;
}
.article-content { font-size: 16px; line-height: 1.85; color: var(--text-main); }
.article-content h2 { font-size: 28px; font-weight: 700; margin: 36px 0 16px; line-height: 1.4; }
.article-content h3 { font-size: 22px; font-weight: 600; margin: 28px 0 12px; }
.article-content p { margin-bottom: 18px; }
.article-content img { border-radius: 12px; margin: 24px 0; }
.article-content blockquote {
  border-left: 4px solid var(--brand-red);
  background: #F9FAFB;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-sub);
}
.article-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.article-content ol { list-style: decimal; padding-left: 22px; margin-bottom: 18px; }
.article-content a { color: var(--business-blue); border-bottom: 1px solid rgba(42, 111, 214, .3); }
.article-content a:hover { color: var(--brand-red); border-bottom-color: var(--brand-red); }
.article-empty {
  text-align: center;
  padding: 60px 20px;
}
.article-empty .empty-icon { font-size: 44px; color: var(--text-weak); margin-bottom: 14px; }
.article-empty h2 { font-size: 24px; margin-bottom: 10px; }
.article-empty p { color: var(--text-sub); margin-bottom: 24px; }
.article-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}
.article-pager a { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
/* ===== 相关推荐 ===== */
.related-section { padding: 0 0 var(--section-space); }
.related-section .section-title { margin-bottom: 28px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mini-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform .25s ease, box-shadow .25s ease;
  display: block;
  color: var(--text-main);
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--text-main); }
.mini-card .card-img { aspect-ratio: 16/9; overflow: hidden; }
.mini-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mini-card:hover .card-img img { transform: scale(1.04); }
.mini-card .card-body { padding: 16px 18px; }
.mini-card .card-body h3 { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-card .card-tag { font-size: 12px; color: var(--brand-red); font-weight: 600; margin-bottom: 6px; display: inline-block; }
.mini-card .card-date { font-size: 13px; color: var(--text-weak); }
/* ===== 分类页共享 ===== */
.category-hero { padding: 72px 0; color: #fff; position: relative; }
.category-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,26,26,.86), rgba(200,16,46,.45)); }
.category-hero .container { position: relative; z-index: 2; }
.category-hero h1 { font-size: 36px; margin-bottom: 14px; }
.category-hero p { font-size: 17px; max-width: 640px; color: rgba(255,255,255,.92); }
/* ===== FAQ 区块 ===== */
.faq-section { padding: var(--section-space) 0; background: var(--bg-alt); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 6px 0; }
.faq-item:first-child { border-top: 1px solid var(--border-color); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  transition: color .2s;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--brand-red); }
.faq-icon { color: var(--brand-red); font-size: 20px; transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 8px 18px; font-size: 15px; color: var(--text-sub); line-height: 1.75; }
/* ===== CTA 收藏区 ===== */
.site-cta {
  padding: 64px 0;
  background: #fff;
  border-top: 1px solid var(--border-color);
}
.site-cta .cta-card {
  background: linear-gradient(135deg, #FDF1F0, #FBEAE8);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  border: 1px solid #F0D6D2;
}
.site-cta h2 { font-size: 24px; margin-bottom: 8px; }
.site-cta p { color: var(--text-sub); margin-bottom: 24px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-social { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.cta-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 16px;
  transition: all .25s ease;
}
.cta-social a:hover { background: var(--brand-red); color: #fff; border-color: var(--brand-red); transform: translateY(-2px); }
/* ===== 页脚 ===== */
.site-footer { background: var(--brand-black); color: #F2F4F7; }
.footer-top-border { height: 3px; background: var(--brand-red); }
.footer-main { padding: 56px 0 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-icon { background: var(--brand-red); }
.footer-main p { color: #A6ADBB; font-size: 14px; line-height: 1.7; margin-top: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 16px; color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer-col a { color: #A6ADBB; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { margin-top: 6px; }
.footer-bottom { border-top: 1px solid #333B49; padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { color: #A6ADBB; font-size: 13px; margin: 0; }
/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .article-main { padding: 40px 36px; }
  .footer-main { gap: 20px; }
}
@media (max-width: 768px) {
  :root { --section-space: 56px; }
  .brand-text { font-size: 15px; }
  .header-actions { gap: 8px; }
  .header-search input { width: 120px; }
  .btn-favorite span { display: none; }
  .article-banner { padding: 44px 0; }
  .article-banner h1 { font-size: 26px; }
  .article-main { padding: 28px 20px; border-radius: 12px; }
  .article-content { font-size: 15px; }
  .article-content h2 { font-size: 24px; }
  .article-content h3 { font-size: 19px; }
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-pager { flex-direction: column; }
  .faq-question { font-size: 15px; }
  .footer-main { padding: 40px 0 24px; }
  .site-cta .cta-card { padding: 32px 20px; }
}
@media (max-width: 520px) {
  .header-search { display: none; }
  .brand-text { font-size: 14px; }
  .brand-icon { width: 32px; height: 32px; font-size: 14px; }
  .article-wrap { padding: 32px 0 48px; }
  .container { padding: 0 16px; }
  .article-meta { gap: 10px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; }
}

/* roulang page: category1 */
:root {
  --primary: #C8102E;
  --primary-dark: #A00F22;
  --primary-light: #FDECEB;
  --ink: #1F2937;
  --text: #55606E;
  --muted: #8A94A3;
  --line: #E5E9F0;
  --bg: #F5F7FA;
  --bg-alt: #EEF1F5;
  --white: #FFFFFF;
  --blue: #2A6FD6;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(30, 40, 60, .06);
  --shadow-lg: 0 8px 24px rgba(30, 40, 60, .12);
  --space-section: 96px;
  --font-main: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-head p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
}
@media (max-width: 640px) {
  :root { --space-section: 56px; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 15px; }
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-main);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
  outline: none;
}
.btn i { font-size: 14px; }
.btn:focus-visible {
  outline: 3px solid rgba(200, 16, 46, .35);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 16, 46, .28);
}
.btn-primary:active {
  background: #8E0D1E;
  transform: translateY(0);
  box-shadow: none;
}
.btn-outline {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-outline:active {
  background: #F8DADA;
  transform: translateY(0);
}
.btn-outline-light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .65);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
  border-color: #fff;
}
.btn-favorite {
  height: 40px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 8px;
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header-top {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(200, 16, 46, .3);
}
.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .brand-text { font-size: 14px; }
  .brand-icon { width: 32px; height: 32px; font-size: 14px; }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-search {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  height: 40px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.header-search input {
  border: none;
  background: transparent;
  padding: 0 12px;
  height: 100%;
  font-size: 13px;
  font-family: var(--font-main);
  color: var(--ink);
  outline: none;
  width: 180px;
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  border: none;
  background: var(--primary);
  color: #fff;
  width: 40px;
  height: 100%;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s ease;
}
.header-search button:hover { background: var(--primary-dark); }
@media (max-width: 768px) {
  .header-search { display: none; }
  .btn-favorite span { display: none; }
  .btn-favorite { padding: 0 12px; }
}
.header-nav {
  background: var(--white);
  padding: 8px 0;
}
.channel-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}
.channel-tabs::-webkit-scrollbar { display: none; }
.channel-tabs .tab {
  flex-shrink: 0;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.channel-tabs .tab:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: var(--primary-light);
}
.channel-tabs .tab.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(200, 16, 46, .3);
}
.channel-tabs .tab.active:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ====== Hero ====== */
.hero-category {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0;
}
.hero-category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26, 26, 26, .82), rgba(26, 26, 26, .45) 55%, rgba(200, 16, 46, .28));
}
.hero-category .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  margin-bottom: 20px;
}
.hero-category h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
  max-width: 640px;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, .9);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 768px) {
  .hero-category { min-height: 52vh; padding: 56px 0; }
  .hero-category h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; }
}
@media (max-width: 520px) {
  .hero-category h1 { font-size: 26px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
}

/* ====== Guide Points ====== */
.points-grid { row-gap: 28px; }
.point-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.point-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #E0576B);
  opacity: 0;
  transition: opacity .25s ease;
}
.point-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.point-card:hover::after { opacity: 1; }
.point-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background .25s ease, color .25s ease;
}
.point-card:hover .point-icon {
  background: var(--primary);
  color: #fff;
}
.point-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.point-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

/* ====== Rhythm / Scenarios ====== */
.guide-rhythm { background: var(--bg-alt); }
.rhythm-grid { row-gap: 24px; }
.rhythm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
  border-top: 3px solid var(--primary);
}
.rhythm-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.rhythm-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.rhythm-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.rhythm-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ====== Steps ====== */
.steps-list {
  max-width: 780px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.step-item:hover {
  background: rgba(200, 16, 46, .02);
}
.step-item:first-child { border-top: 1px solid var(--line); }
.step-num {
  font-size: 36px;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  line-height: 1;
  width: 72px;
  flex-shrink: 0;
  text-align: center;
  padding-top: 4px;
}
.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}
@media (max-width: 640px) {
  .step-item { flex-direction: column; gap: 10px; }
  .step-num { text-align: left; font-size: 28px; width: auto; }
}

/* ====== Featured Cards ====== */
.feature-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: var(--ink);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.feature-body { padding: 28px; }
.feature-body .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(200, 16, 46, .35);
  background: rgba(200, 16, 46, .04);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.feature-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
  transition: color .2s ease;
}
.feature-card:hover .feature-body h3 { color: var(--primary); }
.feature-body p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
}
.feature-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feature-link i { transition: transform .2s ease; }
.feature-card:hover .feature-link i { transform: translateX(4px); }

/* ====== FAQ ====== */
.guide-faq { background: var(--bg-alt); }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover {
  border-color: rgba(200, 16, 46, .3);
  box-shadow: var(--shadow-sm);
}
.faq-item[open] {
  border-color: rgba(200, 16, 46, .4);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color .2s ease;
  font-family: var(--font-main);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .3s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}
.faq-answer p { margin-bottom: 8px; }
.faq-answer p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .faq-item summary { font-size: 15px; padding: 18px 18px; }
  .faq-answer { padding: 0 18px 18px; font-size: 14px; }
}

/* ====== Back Links ====== */
.back-links {
  text-align: center;
  margin-top: 48px;
  font-size: 14px;
  color: var(--muted);
}
.back-links a {
  color: var(--primary);
  font-weight: 500;
  margin: 0 8px;
}
.back-links a:hover { text-decoration: underline; }

/* ====== CTA ====== */
.cta-section {
  background:
    linear-gradient(rgba(26, 26, 26, .72), rgba(26, 26, 26, .72)),
    url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
  padding: 72px 0;
}
.cta-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: #fff;
}
.cta-box h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.cta-box p {
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 28px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.cta-share {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.cta-share a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s ease;
  text-decoration: none;
}
.cta-share a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
@media (max-width: 520px) {
  .cta-box h2 { font-size: 22px; }
  .cta-box p { font-size: 14px; }
  .cta-actions .btn { width: 100%; }
}

/* ====== Footer ====== */
.site-footer {
  background: #1A1A1A;
  color: #A6ADBB;
  font-size: 14px;
  line-height: 1.7;
}
.footer-top-border { height: 3px; background: linear-gradient(90deg, var(--primary), #E0576B); }
.footer-main { padding: 56px 0 40px; }
.footer-main .brand { margin-bottom: 16px; }
.footer-main .brand .brand-text { color: #F2F4F7; }
.footer-main p { color: #A6ADBB; font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  color: #F2F4F7;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #A6ADBB;
  font-size: 14px;
  padding: 4px 0;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-col a:hover {
  color: var(--primary);
  padding-left: 6px;
}
.footer-bottom {
  border-top: 1px solid #333B49;
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #7D8695;
  font-size: 13px;
}
.footer-bottom-inner a {
  color: #A6ADBB;
  text-decoration: underline;
}
.footer-bottom-inner a:hover { color: var(--primary); }
@media (max-width: 640px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-main { padding: 40px 0 28px; }
}

/* ====== Foundation Overrides ====== */
.grid-x { display: flex; flex-wrap: wrap; }
.grid-margin-x { margin-left: -12px; margin-right: -12px; }
.grid-margin-x > .cell { margin-left: 12px; margin-right: 12px; }
.cell { flex: 0 0 auto; }
.cell.auto { flex: 1 1 0; }
.cell.shrink { flex: 0 0 auto; }
.cell.large-3 { width: calc(25% - 24px); }
.cell.large-4 { width: calc(33.3333% - 24px); }
.cell.large-5 { width: calc(41.6667% - 24px); }
.cell.large-6 { width: calc(50% - 24px); }
.cell.medium-6 { width: calc(50% - 24px); }
.cell.medium-12 { width: calc(100% - 24px); }
@media (max-width: 1024px) {
  .cell.large-4 { width: calc(50% - 24px); }
  .cell.large-5 { width: calc(100% - 24px); }
  .cell.large-6 { width: calc(100% - 24px); }
  .cell.large-3 { width: calc(33.3333% - 24px); }
}
@media (max-width: 768px) {
  .cell.medium-6 { width: calc(100% - 24px); }
  .cell.large-4 { width: calc(100% - 24px); }
  .cell.large-3 { width: calc(100% - 24px); }
  .cell.medium-12 { width: calc(100% - 24px); }
}
.align-middle { align-items: center; }
.show-for-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ====== Animation ====== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-category .hero-badge { animation: fadeInUp .6s ease both; }
.hero-category h1 { animation: fadeInUp .7s ease .1s both; }
.hero-category .hero-subtitle { animation: fadeInUp .7s ease .2s both; }
.hero-category .hero-actions { animation: fadeInUp .7s ease .3s both; }
.hero-category .hero-meta { animation: fadeInUp .7s ease .4s both; }
