/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --primary: #1a2a6c;
  --primary-light: #2d4a8e;
  --primary-dark: #0f1a45;
  --secondary: #e8491d;
  --secondary-light: #ff6a3d;
  --accent: #f0c040;
  --accent-light: #f7d97a;
  --bg-dark: #0b0f1a;
  --bg-mid: #141b2d;
  --bg-light: #f4f6fc;
  --bg-white: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #7a7a9a;
  --text-light: #f0f0f8;
  --text-white: #ffffff;
  --border-color: #e0e4f0;
  --border-light: rgba(255,255,255,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-width: 240px;
  --nav-collapsed: 0px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --spacing-section: 100px;
  --spacing-block: 60px;
  --container-max: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-light);
  display: flex;
  min-height: 100vh;
}
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: 1rem; outline: none; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; color: var(--text-primary); font-weight: 700; }
h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; letter-spacing: -0.01em; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }

/* ===== Container ===== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; width: 100%; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ===== Left Sidebar Navigation ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--bg-dark);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform var(--transition);
  overflow-y: auto;
  border-right: 1px solid var(--border-light);
}
.sidebar-logo {
  padding: 28px 20px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.sidebar-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.02em;
}
.sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}
.sidebar-nav a i { width: 20px; text-align: center; font-size: 1.1rem; }
.sidebar-nav a:hover { background: rgba(255,255,255,0.08); color: var(--text-white); }
.sidebar-nav a.active {
  background: rgba(232,73,29,0.2);
  color: var(--secondary-light);
  font-weight: 600;
  border-left: 3px solid var(--secondary);
}
.sidebar-footer {
  padding: 20px 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ===== Main Content Area ===== */
.main-content {
  margin-left: var(--nav-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Mobile Header ===== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-dark);
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-light);
}
.mobile-header .logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}
.mobile-header .hamburger {
  color: var(--text-white);
  font-size: 1.6rem;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.mobile-header .hamburger:hover { background: rgba(255,255,255,0.12); }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  backdrop-filter: blur(4px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 80px 24px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  opacity: 0.35;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,15,26,0.88) 0%, rgba(20,27,45,0.72) 50%, rgba(11,15,26,0.90) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  color: var(--text-white);
}
.hero-badge {
  display: inline-block;
  background: rgba(232,73,29,0.2);
  border: 1px solid rgba(232,73,29,0.3);
  color: var(--secondary-light);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero h1 span { background: linear-gradient(135deg, var(--secondary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,73,29,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,73,29,0.45); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--text-white); background: rgba(255,255,255,0.08); color: var(--text-white); transform: translateY(-2px); }
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* ===== Section Common ===== */
.section { padding: var(--spacing-section) 0; position: relative; }
.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2.4rem;
  font-weight: 800;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
.section-label {
  display: inline-block;
  background: rgba(232,73,29,0.08);
  color: var(--secondary);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-header { text-align: center; margin-bottom: 48px; }

/* ===== Stats / Data Cards ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(232,73,29,0.08), rgba(240,192,64,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--secondary);
  margin: 0 auto 16px;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label { color: var(--text-secondary); font-size: 0.95rem; margin-top: 4px; }

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(232,73,29,0.06), rgba(240,192,64,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ===== Category Entry ===== */
.category-section {
  background: var(--bg-dark);
  color: var(--text-white);
}
.category-section .section-title { color: var(--text-white); }
.category-section .section-subtitle { color: rgba(255,255,255,0.6); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-mid);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(232,73,29,0.3); }
.category-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.category-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.category-card-body h3 { color: var(--text-white); font-size: 1.3rem; margin-bottom: 8px; }
.category-card-body p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; flex: 1; }
.category-card-body .btn { align-self: flex-start; }

/* ===== Latest Posts / CMS List ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--bg-mid);
}
.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.post-card-meta .tag {
  background: rgba(232,73,29,0.08);
  color: var(--secondary);
  padding: 2px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem;
}
.post-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.4; }
.post-card-body h3 a { color: var(--text-primary); text-decoration: none; }
.post-card-body h3 a:hover { color: var(--secondary); }
.post-card-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.post-card-body .read-more {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-card-body .read-more:hover { gap: 10px; }
.empty-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Process / Steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  padding: 28px 16px;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(232,73,29,0.25);
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), rgba(232,73,29,0.2));
  pointer-events: none;
}
.process-step h4 { font-size: 1.1rem; margin-bottom: 6px; }
.process-step p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: rgba(232,73,29,0.2); }
.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  gap: 16px;
  user-select: none;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--secondary); }
.faq-question i { color: var(--text-muted); transition: transform var(--transition); font-size: 1rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--secondary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--bg-dark);
  color: var(--text-white);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--text-white); font-size: 2.4rem; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 580px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-section .btn { font-size: 1.1rem; padding: 16px 44px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.footer-brand .logo-text { font-size: 1.2rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; display: block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer h4 { color: var(--text-white); font-size: 1rem; margin-bottom: 16px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--secondary-light); }
.footer-bottom {
  max-width: var(--container-max);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

/* ===== Scrollbar ===== */
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

/* ===== Responsive ===== */

/* Tablet & Small Desktop */
@media (max-width: 1100px) {
  :root { --nav-width: 220px; --spacing-section: 80px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 2.8rem; }
  .stats-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --spacing-section: 60px; --spacing-block: 40px; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .mobile-header { display: flex; }
  .mobile-overlay.active { display: block; }
  .main-content { margin-left: 0; padding-top: 64px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }
  .hero { min-height: 440px; padding: 60px 20px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-badge { font-size: 0.75rem; padding: 4px 14px; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-grid { grid-template-columns: 1fr; gap: 16px; }
  .posts-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-step::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-links { align-items: center; }
  .btn { padding: 12px 28px; font-size: 0.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.95rem; margin-bottom: 32px; }
  .stat-number { font-size: 1.8rem; }
  .category-card-img { height: 160px; }
  .post-card-img { height: 160px; }
  .cta-section h2 { font-size: 1.6rem; }
  .cta-section { padding: 60px 20px; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .stat-card { padding: 24px 16px; }
  .feature-card { padding: 24px 16px; }
  .post-card-body { padding: 16px; }
  .faq-question { padding: 14px 16px; font-size: 0.95rem; }
}

/* ===== Fade In Animation ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { animation: fadeUp 0.8s ease forwards; }
.section { animation: fadeUp 0.6s ease both; }

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #1a1a2e;
            --primary-light: #2d2d4a;
            --primary-dark: #0f0f1a;
            --accent: #e94560;
            --accent-hover: #d63850;
            --accent-soft: #fde8ec;
            --gold: #f5a623;
            --gold-light: #fce4b8;
            --bg-body: #f4f6fb;
            --bg-card: #ffffff;
            --bg-dark: #16213e;
            --bg-section-alt: #eef1f7;
            --text-primary: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-light: #8a8aaa;
            --text-white: #ffffff;
            --border: #e2e6ef;
            --border-light: #f0f2f7;
            --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
            --shadow-md: 0 6px 24px rgba(26, 26, 46, 0.10);
            --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.14);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --sidebar-width: 240px;
            --header-height: 64px;
            --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }

        body {
            font-family: var(--font-family);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            display: flex;
            min-height: 100vh;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }

        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
        }

        button {
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text-primary);
        }

        /* ===== Layout ===== */
        .app-wrapper {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }

        /* ===== Sidebar Navigation (Left App Shell) ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-dark);
            color: var(--text-white);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
            transition: transform var(--transition);
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 20px 20px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            min-height: 72px;
        }

        .sidebar-brand .logo-icon {
            width: 38px;
            height: 38px;
            background: var(--accent);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 800;
            color: #fff;
            flex-shrink: 0;
        }

        .sidebar-brand .logo-text {
            font-size: 20px;
            font-weight: 800;
            letter-spacing: -0.5px;
            color: #fff;
            line-height: 1.2;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            overflow-y: auto;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: rgba(255, 255, 255, 0.65);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

        .sidebar-nav a i {
            width: 20px;
            text-align: center;
            font-size: 17px;
            flex-shrink: 0;
        }

        .sidebar-nav a:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
        }

        .sidebar-nav a.active {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 4px 16px rgba(233, 69, 96, 0.35);
        }

        .sidebar-nav a.active::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: var(--accent);
            border-radius: 0 4px 4px 0;
        }

        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            font-size: 12px;
            color: rgba(255, 255, 255, 0.3);
            text-align: center;
        }

        /* ===== Main Content Area ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== Mobile Header ===== */
        .mobile-header {
            display: none;
            position: sticky;
            top: 0;
            z-index: 999;
            background: var(--bg-dark);
            padding: 0 20px;
            height: var(--header-height);
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
        }

        .mobile-header .logo-text {
            font-size: 18px;
            font-weight: 800;
            color: #fff;
        }

        .mobile-header .menu-toggle {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 22px;
            border-radius: var(--radius-sm);
            background: rgba(255, 255, 255, 0.08);
            transition: var(--transition);
        }

        .mobile-header .menu-toggle:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        /* ===== Hero / Banner ===== */
        .category-banner {
            position: relative;
            padding: 60px 48px 72px;
            background: var(--bg-dark);
            overflow: hidden;
            min-height: 280px;
            display: flex;
            align-items: center;
        }

        .category-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.20;
            z-index: 0;
        }

        .category-banner::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(22, 33, 62, 0.92) 0%, rgba(26, 26, 46, 0.80) 100%);
            z-index: 1;
        }

        .category-banner .banner-content {
            position: relative;
            z-index: 2;
            max-width: 720px;
        }

        .category-banner .breadcrumb {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 20px;
        }

        .category-banner .breadcrumb a {
            color: rgba(255, 255, 255, 0.6);
            transition: var(--transition);
        }

        .category-banner .breadcrumb a:hover {
            color: var(--accent);
        }

        .category-banner .breadcrumb .sep {
            color: rgba(255, 255, 255, 0.2);
        }

        .category-banner h1 {
            font-size: 40px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -1px;
            line-height: 1.2;
            margin-bottom: 16px;
        }

        .category-banner h1 span {
            color: var(--accent);
        }

        .category-banner p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            max-width: 600px;
            line-height: 1.7;
        }

        .category-banner .banner-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(233, 69, 96, 0.2);
            color: var(--accent);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 18px;
            border: 1px solid rgba(233, 69, 96, 0.25);
        }

        /* ===== Container ===== */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

        /* ===== Section ===== */
        .section {
            padding: 64px 0;
        }

        .section-alt {
            background: var(--bg-section-alt);
        }

        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-header h2 {
            font-size: 32px;
            font-weight: 800;
            letter-spacing: -0.5px;
            margin-bottom: 12px;
        }

        .section-header h2 span {
            color: var(--accent);
        }

        .section-header p {
            font-size: 17px;
            color: var(--text-secondary);
            max-width: 560px;
            margin: 0 auto;
        }

        .section-header .badge {
            display: inline-block;
            background: var(--accent-soft);
            color: var(--accent);
            padding: 4px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 14px;
        }

        /* ===== Card Grid ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--border);
        }

        .card .card-img {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
        }

        .card .card-body {
            padding: 20px 22px 24px;
        }

        .card .card-tag {
            display: inline-block;
            background: var(--accent-soft);
            color: var(--accent);
            font-size: 12px;
            font-weight: 600;
            padding: 2px 12px;
            border-radius: 50px;
            margin-bottom: 10px;
        }

        .card .card-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .card .card-title a {
            color: var(--text-primary);
        }

        .card .card-title a:hover {
            color: var(--accent);
        }

        .card .card-text {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 14px;
        }

        .card .card-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: var(--text-light);
        }

        .card .card-meta i {
            margin-right: 4px;
        }

        /* ===== Feature / Icon Blocks ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .feature-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 32px 28px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .feature-card .icon-wrap {
            width: 64px;
            height: 64px;
            background: var(--accent-soft);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 26px;
            color: var(--accent);
            transition: var(--transition);
        }

        .feature-card:hover .icon-wrap {
            background: var(--accent);
            color: #fff;
        }

        .feature-card h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .feature-card p {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* ===== List / Timeline ===== */
        .guide-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            max-width: 800px;
            margin: 0 auto;
        }

        .guide-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            background: var(--bg-card);
            padding: 20px 24px;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }

        .guide-item:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--border);
        }

        .guide-item .step-num {
            width: 44px;
            height: 44px;
            background: var(--accent);
            color: #fff;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 800;
            flex-shrink: 0;
        }

        .guide-item .guide-content h4 {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .guide-item .guide-content p {
            font-size: 15px;
            color: var(--text-secondary);
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: var(--transition);
        }

        .faq-item:hover {
            border-color: var(--border);
        }

        .faq-item .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 22px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            background: none;
            text-align: left;
            gap: 12px;
        }

        .faq-item .faq-question i {
            color: var(--text-light);
            font-size: 14px;
            transition: var(--transition);
            flex-shrink: 0;
        }

        .faq-item.active .faq-question i {
            transform: rotate(180deg);
            color: var(--accent);
        }

        .faq-item .faq-answer {
            padding: 0 22px 18px;
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.7;
            display: none;
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: var(--bg-dark);
            position: relative;
            overflow: hidden;
            padding: 72px 0;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
            opacity: 0.10;
            z-index: 0;
        }

        .cta-section .cta-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 640px;
            margin: 0 auto;
        }

        .cta-section h2 {
            font-size: 34px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .cta-section p {
            font-size: 17px;
            color: rgba(255, 255, 255, 0.65);
            margin-bottom: 32px;
            line-height: 1.7;
        }

        .cta-section .btn-group {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ===== Buttons ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 4px 16px rgba(233, 69, 96, 0.30);
        }

        .btn-primary:hover {
            background: var(--accent-hover);
            box-shadow: 0 8px 28px rgba(233, 69, 96, 0.40);
            transform: translateY(-2px);
        }

        .btn-outline-light {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.25);
        }

        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.10);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
        }

        .btn-sm {
            padding: 8px 20px;
            font-size: 13px;
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--primary-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 48px 24px 24px;
            margin-top: auto;
        }

        .footer-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 32px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .footer-brand .logo-text {
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.5px;
            display: block;
            margin-bottom: 12px;
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.5);
            max-width: 320px;
        }

        .footer h4 {
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-links a {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.5);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent);
            padding-left: 4px;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 20px auto 0;
            text-align: center;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.25);
        }

        /* ===== Tags ===== */
        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .tag {
            display: inline-block;
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 500;
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            transition: var(--transition);
        }

        .tag:hover {
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(233, 69, 96, 0.25);
        }

        /* ===== Pagination ===== */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 40px;
        }

        .pagination a,
        .pagination span {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 600;
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            color: var(--text-secondary);
            transition: var(--transition);
        }

        .pagination a:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .pagination .active {
            background: var(--accent);
            border-color: var(--accent);
            color: #fff;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            .category-banner h1 {
                font-size: 32px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --sidebar-width: 0px;
            }

            .sidebar {
                transform: translateX(-100%);
                width: 280px;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .mobile-header {
                display: flex;
            }

            .main-content {
                margin-left: 0;
            }

            .category-banner {
                padding: 40px 24px 48px;
                min-height: 220px;
            }

            .category-banner h1 {
                font-size: 26px;
            }

            .category-banner p {
                font-size: 15px;
            }

            .card-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .features-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .section {
                padding: 40px 0;
            }

            .section-header h2 {
                font-size: 24px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .guide-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            .cta-section h2 {
                font-size: 26px;
            }

            .container {
                padding: 0 16px;
            }

            .pagination a,
            .pagination span {
                width: 36px;
                height: 36px;
                font-size: 13px;
            }
        }

        @media (max-width: 520px) {
            .category-banner {
                padding: 28px 16px 36px;
                min-height: 180px;
            }

            .category-banner h1 {
                font-size: 22px;
            }

            .category-banner p {
                font-size: 14px;
            }

            .section-header h2 {
                font-size: 20px;
            }

            .btn {
                padding: 10px 20px;
                font-size: 14px;
            }

            .feature-card {
                padding: 24px 18px;
            }

            .card .card-body {
                padding: 16px 18px 20px;
            }

            .footer {
                padding: 32px 16px 20px;
            }
        }

        /* ===== Overlay for mobile ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 999;
            backdrop-filter: blur(4px);
        }

        .sidebar-overlay.active {
            display: block;
        }

        /* ===== Animations ===== */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-up {
            animation: fadeUp 0.6s ease forwards;
        }

        .delay-1 {
            animation-delay: 0.1s;
        }
        .delay-2 {
            animation-delay: 0.2s;
        }
        .delay-3 {
            animation-delay: 0.3s;
        }

/* roulang page: article */
:root {
  --primary: #1a2a6c;
  --primary-light: #2d4ba0;
  --primary-dark: #0f1b4a;
  --accent: #e8b830;
  --accent-light: #f0d060;
  --accent-dark: #c99a1e;
  --bg: #f5f7fc;
  --bg-card: #ffffff;
  --bg-sidebar: #0f1b4a;
  --bg-sidebar-hover: #1a2a6c;
  --text: #1a1a2e;
  --text-light: #5a5a7a;
  --text-lighter: #8a8aaa;
  --text-sidebar: #c8d0e8;
  --text-sidebar-active: #ffffff;
  --border: #e2e6f0;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(26, 42, 108, 0.08);
  --shadow-hover: 0 12px 40px rgba(26, 42, 108, 0.15);
  --shadow-sidebar: 2px 0 30px rgba(15, 27, 74, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 820px;
  --sidebar-width: 240px;
  --header-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg);
  display: flex; min-height: 100vh;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; outline: none; }
ul, ol { list-style: none; }

/* ===== Sidebar ===== */
.sidebar {
  position: fixed; top: 0; left: 0; width: var(--sidebar-width); height: 100vh;
  background: var(--bg-sidebar); color: var(--text-sidebar);
  display: flex; flex-direction: column; z-index: 1000;
  box-shadow: var(--shadow-sidebar); transition: transform var(--transition);
  overflow-y: auto;
}
.sidebar-brand {
  padding: 28px 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.logo-text {
  font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px;
  display: flex; align-items: center; gap: 10px;
}
.logo-text i { color: var(--accent); font-size: 26px; }
.logo-sub {
  font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 2px;
  margin-top: 4px; text-transform: uppercase;
}
.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-radius: var(--radius-sm); color: var(--text-sidebar);
  font-size: 15px; font-weight: 500; transition: var(--transition);
  margin-bottom: 4px;
}
.sidebar-nav a i { width: 20px; text-align: center; font-size: 16px; color: rgba(255,255,255,0.4); transition: var(--transition); }
.sidebar-nav a:hover { background: var(--bg-sidebar-hover); color: #fff; }
.sidebar-nav a:hover i { color: var(--accent); }
.sidebar-nav a.active { background: var(--primary-light); color: var(--text-sidebar-active); }
.sidebar-nav a.active i { color: var(--accent); }
.sidebar-footer-link {
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.sidebar-footer-link a {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  color: rgba(255,255,255,0.3); transition: var(--transition);
}
.sidebar-footer-link a:hover { color: rgba(255,255,255,0.7); }

/* ===== Main Content ===== */
.main-content {
  margin-left: var(--sidebar-width); flex: 1; min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ===== Article Banner ===== */
.article-banner {
  position: relative; background: var(--primary-dark);
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 60px 40px 50px;
}
.article-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.2; pointer-events: none;
}
.article-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,27,74,0.85) 0%, rgba(26,42,108,0.6) 100%);
  pointer-events: none;
}
.article-banner-content {
  position: relative; z-index: 1; text-align: center; max-width: 700px;
}
.article-banner-content .breadcrumb {
  font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.article-banner-content .breadcrumb a { color: rgba(255,255,255,0.6); }
.article-banner-content .breadcrumb a:hover { color: #fff; }
.article-banner-content .breadcrumb span { color: var(--accent); }
.article-banner-content .category-badge {
  display: inline-block; background: var(--accent); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 20px;
  letter-spacing: 1px; margin-bottom: 14px;
}
.article-banner-content h1 {
  font-size: 32px; font-weight: 700; color: #fff; line-height: 1.3;
  margin-bottom: 14px; letter-spacing: 0.5px;
}
.article-banner-content .meta {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  font-size: 14px; color: rgba(255,255,255,0.55); flex-wrap: wrap;
}
.article-banner-content .meta i { margin-right: 4px; }

/* ===== Article Body ===== */
.article-section {
  flex: 1; max-width: var(--max-width); width: 100%; margin: 0 auto;
  padding: 48px 24px 60px;
}
.article-body {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 48px 52px; box-shadow: var(--shadow);
}
.article-body .featured-image {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 32px;
}
.article-body .featured-image img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); }
.article-body .content {
  font-size: 16px; line-height: 1.9; color: var(--text);
}
.article-body .content p { margin-bottom: 1.4em; }
.article-body .content h2, .article-body .content h3 {
  margin-top: 1.6em; margin-bottom: 0.6em; font-weight: 600; color: var(--primary-dark);
}
.article-body .content h2 { font-size: 22px; }
.article-body .content h3 { font-size: 18px; }
.article-body .content ul, .article-body .content ol { margin-bottom: 1.4em; padding-left: 24px; }
.article-body .content ul li { list-style: disc; margin-bottom: 0.4em; }
.article-body .content ol li { list-style: decimal; margin-bottom: 0.4em; }
.article-body .content blockquote {
  border-left: 4px solid var(--accent); padding: 12px 20px; margin: 1.4em 0;
  background: rgba(232, 184, 48, 0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light); font-style: italic;
}
.article-body .content a { color: var(--primary-light); text-decoration: underline; }
.article-body .content img { border-radius: var(--radius-sm); margin: 1.2em 0; }

/* ===== Tags ===== */
.article-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags .tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px;
  background: var(--bg); border-radius: 20px; font-size: 13px; color: var(--text-light);
  transition: var(--transition); border: 1px solid var(--border);
}
.article-tags .tag i { font-size: 12px; color: var(--accent); }
.article-tags .tag:hover { background: var(--primary-light); color: #fff; border-color: var(--primary-light); }
.article-tags .tag:hover i { color: #fff; }

/* ===== Share ===== */
.article-share {
  display: flex; align-items: center; gap: 14px; margin-top: 28px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.article-share span { font-size: 14px; color: var(--text-lighter); font-weight: 500; }
.article-share a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--bg);
  color: var(--text-light); font-size: 16px; transition: var(--transition);
  border: 1px solid var(--border);
}
.article-share a:hover { background: var(--primary-light); color: #fff; border-color: var(--primary-light); }

/* ===== Article Nav ===== */
.article-nav {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border);
}
.article-nav a {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: var(--bg); border-radius: var(--radius-sm); flex: 1;
  font-size: 14px; color: var(--text); transition: var(--transition);
  border: 1px solid var(--border); max-width: 48%;
}
.article-nav a i { color: var(--primary-light); font-size: 14px; transition: var(--transition); }
.article-nav a:hover { background: var(--bg-card); border-color: var(--primary-light); box-shadow: var(--shadow); }
.article-nav a:hover i { transform: translateX(-2px); }
.article-nav a.next { text-align: right; justify-content: flex-end; }
.article-nav a.next:hover i { transform: translateX(2px); }
.article-nav a .nav-label { display: block; font-size: 11px; color: var(--text-lighter); margin-bottom: 2px; }
.article-nav a .nav-title { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Related Posts ===== */
.related-section { margin-top: 60px; }
.related-section h2 {
  font-size: 24px; font-weight: 600; color: var(--primary-dark);
  margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}
.related-section h2 i { color: var(--accent); }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.related-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid var(--border);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.related-card .card-img { width: 100%; height: 160px; object-fit: cover; }
.related-card .card-body { padding: 16px 18px 20px; }
.related-card .card-body .card-cat {
  font-size: 12px; color: var(--primary-light); font-weight: 600;
  margin-bottom: 6px; letter-spacing: 0.5px;
}
.related-card .card-body h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.related-card .card-body h3 a { color: var(--text); }
.related-card .card-body h3 a:hover { color: var(--primary-light); }
.related-card .card-body .card-date { font-size: 12px; color: var(--text-lighter); }

/* ===== Error State ===== */
.article-error {
  text-align: center; padding: 100px 24px; background: var(--bg-card);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.article-error i { font-size: 64px; color: var(--text-lighter); margin-bottom: 20px; }
.article-error h2 { font-size: 28px; color: var(--primary-dark); margin-bottom: 12px; }
.article-error p { color: var(--text-light); margin-bottom: 24px; font-size: 16px; }
.article-error .btn-back {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 32px;
  background: var(--primary); color: #fff; border-radius: var(--radius-sm);
  font-weight: 500; transition: var(--transition);
}
.article-error .btn-back:hover { background: var(--primary-light); color: #fff; transform: translateY(-2px); }

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.7);
  padding: 48px 40px 24px; margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  max-width: 1100px; margin: 0 auto 32px;
}
.footer-brand .logo-text { font-size: 20px; margin-bottom: 12px; color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: 1px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: rgba(255,255,255,0.3); max-width: 1100px; margin: 0 auto;
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== Mobile Toggle ===== */
.mobile-toggle {
  display: none; position: fixed; top: 16px; left: 16px; z-index: 1100;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  align-items: center; justify-content: center; font-size: 20px;
  box-shadow: var(--shadow); transition: var(--transition);
}
.mobile-toggle:hover { background: var(--primary-light); }
.mobile-overlay { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-body { padding: 36px 32px; }
  .article-banner-content h1 { font-size: 28px; }
}
@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .sidebar {
    transform: translateX(-100%); border-right: none;
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-overlay.open {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 999; backdrop-filter: blur(2px);
  }
  .main-content { margin-left: 0; }
  .article-banner { min-height: 220px; padding: 80px 24px 40px; }
  .article-banner-content h1 { font-size: 24px; }
  .article-banner-content .meta { gap: 12px; font-size: 13px; flex-wrap: wrap; }
  .article-section { padding: 28px 16px 40px; }
  .article-body { padding: 24px 20px; border-radius: var(--radius); }
  .article-body .featured-image { margin-bottom: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 36px 24px 20px; }
}
@media (max-width: 520px) {
  .article-banner-content h1 { font-size: 20px; }
  .article-body { padding: 18px 14px; }
  .article-body .content { font-size: 15px; }
  .article-tags .tag { font-size: 12px; padding: 4px 12px; }
  .article-share a { width: 34px; height: 34px; font-size: 14px; }
  .related-card .card-img { height: 140px; }
  .related-card .card-body { padding: 12px 14px 16px; }
  .related-card .card-body h3 { font-size: 15px; }
}
