/* roulang page: index */
/* ============ Design Tokens ============ */
:root {
  --primary: #f05a28;
  --primary-dark: #d44c1f;
  --primary-rgb: 240, 90, 40;
  --secondary: #14213d;
  --secondary-light: #1d3557;
  --accent: #fca311;
  --accent-rgb: 252, 163, 17;
  --bg-light: #f7f8fc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-dark: #0f172a;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 12px rgba(0,0,0,.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.12);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font-sans: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
}

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.3; }

/* ============ Container ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* ============ Section Common ============ */
.section {
  padding: 90px 0;
}
.section-alt { background: var(--bg-white); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb), .1);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}
.section-head h2 .highlight {
  background: linear-gradient(120deg, var(--primary) 20%, var(--accent) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============ Button ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), .32);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), .42);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(20,33,61,.35);
}
.btn-dark:hover {
  background: #1a2b4e;
  transform: translateY(-2px);
}
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), .5);
  outline-offset: 2px;
}

/* ============ Header & Navigation ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.04);
}
.header-top {
  background: var(--secondary);
  color: #fff;
}
.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}
.brand-logo .brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), .4);
}
.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.12);
  border-radius: 30px;
  padding: 4px 4px 4px 16px;
  border: 1px solid rgba(255,255,255,.16);
  transition: var(--transition);
  max-width: 300px;
  width: 100%;
}
.header-search:focus-within {
  border-color: var(--accent);
  background: rgba(255,255,255,.18);
}
.header-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  width: 100%;
  min-width: 0;
}
.header-search input::placeholder { color: rgba(255,255,255,.6); }
.header-search button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.header-search button:hover { background: var(--primary-dark); }

/* Navigation row */
.header-nav {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.header-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 24px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list li a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 30px;
  position: relative;
  transition: var(--transition);
}
.nav-list li a:hover {
  color: var(--primary);
  background: rgba(var(--primary-rgb), .08);
}
.nav-list li a.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), .1);
  font-weight: 700;
}
.hot-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.hot-tags > span { color: var(--text-light); }
.hot-tags a {
  padding: 4px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
}
.hot-tags a:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), .06);
}
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--secondary);
  color: #fff;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dark);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 130px 0 100px;
  background: linear-gradient(135deg, rgba(15,23,42,.9), rgba(20,33,61,.78)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .3), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 780px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #ffe9d6;
  margin-bottom: 24px;
}
.hero-badge i { color: var(--accent); }
.hero h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 .gradient {
  background: linear-gradient(120deg, var(--accent), #ff7e5f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-item strong {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}
.stat-item strong::after {
  content: '+';
  color: var(--accent);
  font-size: 28px;
  margin-left: 2px;
}
.stat-item span {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ Features ============ */
.features-grid { row-gap: 28px; }
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), .24);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), .1);
  color: var(--primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ============ Category Entry ============ */
.category-entry-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  min-height: 340px;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.category-entry-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.category-entry-cover {
  width: 46%;
  position: relative;
  overflow: hidden;
}
.category-entry-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.category-entry-card:hover .category-entry-cover img { transform: scale(1.05); }
.category-entry-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,.85));
}
.category-entry-info {
  flex: 1;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.category-entry-info .entry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--primary-rgb), .08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 24px;
  margin-bottom: 16px;
}
.category-entry-info h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}
.category-entry-info p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 28px;
}

/* ============ Article List ============ */
.article-grid { row-gap: 24px; }
.article-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: block;
  height: 100%;
  position: relative;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), .18);
}
.article-card .article-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.badge {
  display: inline-block;
  background: rgba(var(--primary-rgb), .1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
}
.article-time {
  font-size: 13px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}
.article-card:hover h3 { color: var(--primary); }
.article-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.card-link i { transition: transform .3s ease; }
.article-card:hover .card-link i { transform: translateX(4px); }
.empty-tip {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 16px;
}

/* ============ Steps Timeline ============ */
.steps-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: #fff;
}
.steps-section .section-head h2 { color: #fff; }
.steps-section .section-head p { color: rgba(255,255,255,.72); }
.steps-grid { position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,.1);
  transform: translateX(-50%);
}
.step-item {
  position: relative;
  padding: 24px 0 24px 50%;
  width: 50%;
}
.step-item:nth-child(even) {
  padding-left: 0;
  padding-right: 50%;
  text-align: right;
}
.step-item .step-num {
  position: absolute;
  top: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb), .2);
  z-index: 2;
}
.step-item:nth-child(odd) .step-num { left: calc(100% - 23px); }
.step-item:nth-child(even) .step-num { right: calc(100% - 23px); }
.step-item .step-content {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.step-item .step-content:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}
.step-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.step-item p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.75);
  margin-bottom: 0;
}

/* ============ Topic Cards ============ */
.topic-grid { row-gap: 28px; }
.topic-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  height: 320px;
}
.topic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.topic-card:hover img { transform: scale(1.08); }
.topic-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}
.topic-card-overlay .topic-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.topic-card-overlay h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}
.topic-card-overlay p {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  margin-bottom: 0;
}
.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ============ FAQ ============ */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.faq-item.active {
  border-color: rgba(var(--primary-rgb), .3);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  background: transparent;
}
.faq-question:hover { color: var(--primary); }
.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), .1), rgba(var(--accent-rgb), .1)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  padding: 90px 0;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(4px);
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 360px; }
.footer-brand .brand-logo {
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
}
.footer-links h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .hero { padding: 100px 0 80px; }
  .category-entry-card { flex-direction: column; }
  .category-entry-cover { width: 100%; height: 240px; }
  .category-entry-cover::after { background: linear-gradient(180deg, transparent 60%, rgba(255,255,255,.85)); }
  .category-entry-info { padding: 32px; }
  .header-search { max-width: 220px; }
  .hot-tags { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
  .section-head { margin-bottom: 40px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 28px; }
  .stat-item strong { font-size: 30px; }
  .mobile-toggle { display: flex; }
  .header-nav .container { flex-direction: column; align-items: stretch; gap: 0; }
  .header-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }
  .header-nav.open {
    max-height: 400px;
    overflow: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
  }
  .nav-list li a {
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
  }
  .steps-grid::before { display: none; }
  .step-item, .step-item:nth-child(even) {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }
  .step-item .step-num, .step-item:nth-child(odd) .step-num, .step-item:nth-child(even) .step-num {
    left: 16px;
    right: auto;
    top: 28px;
  }
  .step-item .step-content {
    margin-left: 60px;
    padding: 18px;
  }
  .cta-content h2 { font-size: 30px; }
}

@media (max-width: 520px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 30px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .header-top .container { min-height: 54px; }
  .header-search { display: none; }
  .feature-card { padding: 24px; }
  .category-entry-info h3 { font-size: 24px; }
  .article-card { padding: 20px; }
  .topic-card { height: 240px; }
  .faq-question { padding: 18px 20px; font-size: 15px; }
  .faq-answer-inner { padding: 0 20px 20px; }
  .footer-grid { flex-direction: column; gap: 32px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .step-item .step-content { margin-left: 50px; }
}

/* roulang page: category1 */
:root {
  --primary: #1e3a8a;
  --primary-light: #3b5bbf;
  --primary-dark: #14296a;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --bg: #f6f8fc;
  --bg-white: #ffffff;
  --bg-soft: #eef2f8;
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 36px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--primary-light);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-top {
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-logo:hover {
  color: var(--primary);
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 17px;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border-radius: 40px;
  padding: 6px 8px 6px 16px;
  border: 1px solid transparent;
  transition: var(--transition);
  flex: 0 1 360px;
}

.header-search:focus-within {
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.header-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
  width: 100%;
}

.header-search button {
  border: none;
  background: var(--primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.header-search button:hover {
  background: var(--primary-dark);
}

.header-nav {
  background: var(--bg-white);
}

.header-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  border-radius: 30px;
  transition: var(--transition);
  line-height: 1.4;
}

.nav-list li a i {
  font-size: 13px;
  color: var(--primary);
}

.nav-list li a:hover {
  color: var(--primary);
  background: rgba(30, 58, 138, 0.06);
}

.nav-list li a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.nav-list li a.active i {
  color: var(--accent-light);
}

.hot-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hot-tags::-webkit-scrollbar {
  display: none;
}

.hot-tags span {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.hot-tags a {
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}

.hot-tags a:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: rgba(30, 58, 138, 0.06);
}

/* ===== Breadcrumb ===== */
.breadcrumb-bar {
  padding: 20px 0 0;
}

.breadcrumb-bar .container {
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb-bar a {
  color: var(--primary);
}

.breadcrumb-bar i {
  margin: 0 6px;
  font-size: 12px;
  color: #a0aec0;
}

/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  padding: 80px 0 72px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1a2f75 45%, #0d1f4a 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('/assets/images/backpic/back-1.png') no-repeat center/cover;
  opacity: 0.15;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(4px);
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.page-hero h1 i {
  color: var(--accent);
  margin-right: 10px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0f172a;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.page-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hero-stat .num span {
  color: var(--accent);
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ===== Section Base ===== */
.section-block {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-head .sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-head p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-item:hover .card-thumb img {
  transform: scale(1.05);
}

.card-thumb .card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(30, 58, 138, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 22px;
  flex: 1;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition);
}

.card-item:hover .card-body h3 {
  color: var(--primary);
}

.card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
}

.card-meta a {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-meta a i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.card-meta a:hover i {
  transform: translateX(3px);
}

/* ===== Feature Split ===== */
.feature-split {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.2) 0%, transparent 40%);
}

.feature-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 16px;
}

.feature-content h2 i {
  color: var(--accent);
  margin-right: 6px;
}

.feature-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}

.feature-list li i {
  color: var(--primary);
  background: rgba(30, 58, 138, 0.08);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== Steps / Timeline ===== */
.steps-section {
  background: var(--bg);
}

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-wrap::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--border-light) 100%);
  z-index: 0;
}

.step-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.step-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
  border: 3px solid #fff;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Rules List ===== */
.rules-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rule-card {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.rule-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.rule-card .rule-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.rule-card:nth-child(2n) {
  border-left-color: var(--accent);
}

.rule-card:nth-child(2n) .rule-icon {
  background: var(--accent);
  color: #0f172a;
}

.rule-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.rule-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===== Notice Info Bar ===== */
.info-bar {
  padding: 24px 0;
}

.info-bar-inner {
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.info-bar-inner i {
  font-size: 24px;
  color: var(--accent-dark);
}

.info-bar-inner p {
  flex: 1;
  font-size: 14px;
  color: #92400e;
  line-height: 1.6;
  margin: 0;
  min-width: 260px;
}

.info-bar-inner a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  color: var(--primary);
  transition: var(--transition);
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-item[open] {
  border-color: var(--primary-light);
}

.faq-item .faq-body {
  padding: 0 24px 22px;
}

.faq-item .faq-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section {
  padding: 64px 0;
  background: var(--bg);
}

.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, #172b63 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 18%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.cta-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.cta-actions .btn-primary {
  background: var(--accent);
  color: #0f172a;
}

.cta-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ===== Footer ===== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 0;
  font-size: 14px;
}

.site-footer .container {
  max-width: 1200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand .brand-logo:hover {
  color: #fff;
}

.footer-brand .brand-logo .brand-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #0f172a;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 420px;
  margin-top: 4px;
}

.footer-links h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links li a i {
  font-size: 12px;
  color: var(--accent);
}

.footer-links li a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0;
}

.footer-bottom p {
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-hero h1 {
    font-size: 34px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .steps-wrap::before {
    display: none;
  }

  .feature-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .header-top .container {
    height: 56px;
  }

  .header-search {
    flex-basis: 200px;
  }

  .header-search input {
    width: 100%;
    min-width: 0;
  }

  .header-nav .container {
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 10px;
  }

  .nav-list {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding-bottom: 2px;
  }

  .nav-list li a {
    padding: 6px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hot-tags {
    display: none;
  }

  .page-hero {
    padding: 56px 0 48px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .page-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
  }

  .hero-stat .num {
    font-size: 22px;
  }

  .section-block {
    padding: 48px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-image img {
    min-height: 240px;
  }

  .cta-card {
    flex-direction: column;
    padding: 36px 24px;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .breadcrumb-bar {
    padding-top: 16px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .header-search {
    flex-basis: 140px;
  }

  .brand-logo {
    font-size: 17px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .nav-list li a {
    padding: 6px 10px;
    font-size: 13px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .page-hero p {
    font-size: 14px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 10px 20px;
    font-size: 14px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .steps-wrap {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .info-bar-inner {
    padding: 16px;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 14px;
  }

  .faq-item .faq-body {
    padding: 0 16px 16px;
  }

  .cta-card {
    padding: 28px 16px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* roulang page: article */
:root {
  --primary: #1e3a5f;
  --primary-dark: #152d4a;
  --primary-light: #2d5a8e;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-soft: #fef3c7;
  --bg-primary: #f8fafc;
  --bg-light: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(30,58,95,.06);
  --shadow-md: 0 4px 20px rgba(30,58,95,.1);
  --shadow-lg: 0 12px 40px rgba(30,58,95,.14);
  --transition: all .3s ease;
  --font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); font-size: 16px; line-height: 1.75; color: var(--text-primary); background: var(--bg-primary); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul,ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; cursor: pointer; border: 2px solid transparent; transition: var(--transition); line-height: 1.4; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.35); }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.tag { display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 500; background: var(--bg-light); color: var(--text-secondary); border: 1px solid var(--border-color); transition: var(--transition); }
.tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head .section-sub { display: inline-block; padding: 4px 16px; background: var(--accent-soft); color: var(--accent-hover); border-radius: 50px; font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 12px; }
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--text-primary); letter-spacing: -1px; line-height: 1.3; }
.section-head p { margin-top: 12px; color: var(--text-secondary); font-size: 15px; }

.site-header { position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
.header-top { background: var(--white); border-bottom: 1px solid var(--border-color); padding: 12px 0; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--primary); }
.brand-logo:hover { opacity: .85; }
.brand-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg,var(--primary),var(--primary-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; box-shadow: var(--shadow-sm); }
.header-search { display: flex; align-items: center; background: var(--bg-light); border-radius: 50px; padding: 4px; border: 1px solid var(--border-color); max-width: 360px; flex: 1; }
.header-search input { background: transparent; border: none; outline: none; flex: 1; padding: 8px 16px; font-size: 14px; color: var(--text-primary); }
.header-search button { background: var(--primary); border: none; color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.header-search button:hover { background: var(--primary-dark); }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--primary); cursor: pointer; padding: 8px; }
.header-nav { background: var(--primary); border-top: 1px solid rgba(255,255,255,.08); }
.header-nav .container { display: flex; align-items: center; flex-wrap: wrap; min-height: 48px; }
.nav-list { display: flex; gap: 4px; }
.nav-list li a { display: block; padding: 14px 20px; color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500; border-radius: 0 0 8px 8px; transition: var(--transition); }
.nav-list li a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-list li a.active { color: #fff; background: rgba(255,255,255,.15); box-shadow: inset 0 -3px 0 var(--accent); }
.hot-tags { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); flex-wrap: wrap; padding: 8px 0; }
.hot-tags span { margin-right: 4px; }
.hot-tags a { display: inline-block; padding: 4px 12px; border-radius: 50px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: 13px; transition: var(--transition); }
.hot-tags a:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 12px; color: rgba(255,255,255,.4); }

.article-hero { background: linear-gradient(135deg, rgba(30,58,95,.95), rgba(45,90,142,.82)), url('/assets/images/backpic/back-1.png') center/cover no-repeat; padding: 70px 0 50px; color: #fff; position: relative; }
.article-hero .container { position: relative; z-index: 2; }
.article-title { font-size: 40px; font-weight: 800; line-height: 1.25; letter-spacing: -1px; margin-bottom: 16px; max-width: 900px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14px; color: rgba(255,255,255,.85); }
.meta-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: rgba(255,255,255,.13); border-radius: 50px; backdrop-filter: blur(4px); }
.meta-item i { color: var(--accent); }
.meta-item .cat-label { color: var(--accent); font-weight: 600; }

.article-info-bar { background: var(--bg-light); border-bottom: 1px solid var(--border-color); padding: 18px 0; }
.article-info-bar .info-bar-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.info-item { display: flex; align-items: center; gap: 12px; background: var(--white); padding: 10px 22px; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.info-item i { font-size: 20px; color: var(--primary); }
.info-item .info-label { font-size: 13px; color: var(--text-muted); display: block; line-height: 1.3; }
.info-item .info-value { font-size: 15px; font-weight: 700; color: var(--text-primary); display: block; }

.article-layout-section { padding: 60px 0 20px; }
.article-layout { gap: 32px; }
.article-main { }
.article-detail-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 44px; border: 1px solid var(--border-color); }
.article-content-body { font-size: 16.5px; line-height: 2; color: var(--text-primary); }
.article-content-body h2 { font-size: 26px; font-weight: 700; margin: 36px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); color: var(--primary); }
.article-content-body h3 { font-size: 21px; font-weight: 700; margin: 28px 0 14px; color: var(--primary); }
.article-content-body h4 { font-size: 18px; font-weight: 600; margin: 22px 0 12px; color: var(--text-primary); }
.article-content-body p { margin-bottom: 20px; text-align: justify; }
.article-content-body ul, .article-content-body ol { margin: 0 0 20px 24px; }
.article-content-body ul li { list-style: disc; margin-bottom: 8px; }
.article-content-body ol li { list-style: decimal; margin-bottom: 8px; }
.article-content-body img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin: 24px 0; width: 100%; }
.article-content-body blockquote { border-left: 4px solid var(--accent); background: var(--bg-light); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; color: var(--text-secondary); font-style: italic; }
.article-content-body a { color: var(--primary); border-bottom: 1px solid var(--primary-light); }
.article-content-body a:hover { color: var(--accent); border-color: var(--accent); }
.article-content-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-content-body th, .article-content-body td { padding: 12px 16px; border: 1px solid var(--border-color); text-align: left; }
.article-content-body th { background: var(--primary); color: #fff; font-weight: 600; }
.article-not-found { text-align: center; padding: 60px 20px; }
.not-found-icon { font-size: 64px; color: var(--accent); margin-bottom: 24px; }
.article-not-found h2 { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.article-not-found p { color: var(--text-secondary); margin-bottom: 28px; }

.article-sidebar .sidebar-widget { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 28px; margin-bottom: 24px; border: 1px solid var(--border-color); }
.sidebar-widget .widget-title { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 8px; }
.widget-list li a { display: flex; align-items: center; gap: 8px; padding: 10px 0; color: var(--text-secondary); font-size: 14.5px; border-bottom: 1px dashed var(--border-color); transition: var(--transition); }
.widget-list li:last-child a { border-bottom: none; }
.widget-list li a i { color: var(--accent); font-size: 12px; transition: var(--transition); }
.widget-list li a:hover { color: var(--primary); padding-left: 6px; }
.widget-list li a:hover i { transform: translateX(3px); }
.sidebar-widget .widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.article-tags-section { padding: 0 0 40px; }
.article-tags-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 18px 24px; box-shadow: var(--shadow-sm); }
.tag-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); font-size: 15px; }

.related-section { padding: 70px 0; background: var(--bg-light); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.related-section .section-head h2 { font-size: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.related-thumb { position: relative; height: 180px; overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.related-card:hover .related-thumb img { transform: scale(1.06); }
.related-cat { position: absolute; top: 14px; left: 14px; background: rgba(30,58,95,.88); color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 12px; backdrop-filter: blur(4px); }
.related-info { padding: 20px; }
.related-info h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-info p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.related-meta i { margin-right: 4px; }
.related-meta .read-more { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: var(--primary); transition: var(--transition); }
.related-card:hover .read-more { background: var(--primary); color: #fff; }
.related-empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--text-muted); background: var(--white); border-radius: var(--radius-md); border: 1px dashed var(--border-color); }

.category-section { padding: 70px 0; }
.category-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden; }
.category-card::before { content:''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0; transition: var(--transition); }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card:hover::before { opacity: 1; }
.category-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent-hover); margin-bottom: 16px; }
.category-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.category-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.category-link { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.category-link i { transition: var(--transition); }
.category-card:hover .category-link i { transform: translateX(4px); }

.cta-section { padding: 60px 0; }
.cta-box { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius-lg); padding: 50px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-box::after { content:''; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.05); top: -80px; right: -60px; }
.cta-box::before { content:''; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.04); bottom: -50px; left: 20%; }
.cta-content h2 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-content p { color: rgba(255,255,255,.8); font-size: 15px; }

.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; padding-bottom: 40px; }
.footer-brand .brand-logo { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-logo .brand-icon { background: rgba(255,255,255,.12); }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.65); max-width: 420px; }
.footer-links h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-links h4::after { content:''; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--accent); }
.footer-links ul li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: rgba(255,255,255,.7); font-size: 14px; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--accent); padding-left: 5px; }
.footer-links ul li a i { font-size: 12px; color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.45); }

@media (max-width: 1024px) {
  .container { padding: 0 16px; }
  .article-title { font-size: 34px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 40px 40px; }
}
@media (max-width: 768px) {
  .header-top-inner { flex-wrap: wrap; }
  .header-search { order: 3; max-width: 100%; flex-basis: 100%; }
  .menu-toggle { display: block; }
  .header-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary); box-shadow: var(--shadow-lg); }
  .header-nav.nav-open { display: block; }
  .header-nav .container { flex-direction: column; align-items: flex-start; padding: 16px; gap: 12px; }
  .nav-list { flex-direction: column; width: 100%; }
  .nav-list li a { border-radius: 8px; padding: 12px 16px; width: 100%; }
  .hot-tags { margin-left: 0; width: 100%; padding: 8px 0 0; border-top: 1px solid rgba(255,255,255,.1); justify-content: flex-start; }
  .section { padding: 50px 0; }
  .article-hero { padding: 50px 0 40px; }
  .article-title { font-size: 28px; }
  .article-layout { gap: 24px; }
  .article-detail-card { padding: 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .category-card-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-box .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .info-item { padding: 8px 16px; }
  .article-info-bar .info-bar-grid { gap: 16px; }
}
@media (max-width: 520px) {
  .article-title { font-size: 24px; }
  .article-meta { gap: 10px; }
  .meta-item { padding: 5px 12px; font-size: 13px; }
  .article-detail-card { padding: 18px; }
  .article-content-body { font-size: 15.5px; }
  .related-info h3 { font-size: 15px; }
  .section-head h2 { font-size: 26px; }
  .cta-content h2 { font-size: 22px; }
  .cta-box { padding: 28px 20px; }
}
