/* roulang page: index */
:root {
  --primary: #3B82C4;
  --primary-dark: #2C6A9E;
  --primary-light: #EAF1F7;
  --accent: #D9A441;
  --bg: #FAFBFD;
  --card-bg: #FFFFFF;
  --text: #1F2A37;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --border: #E5EAF0;
  --radius: 12px;
  --radius-btn: 8px;
  --radius-pill: 999px;
  --shadow: 0 4px 16px rgba(31, 42, 55, 0.06);
  --shadow-hover: 0 8px 28px rgba(31, 42, 55, 0.10);
  --font-main: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); font-size: 16px; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
a:focus-visible, button:focus-visible { outline: 2px solid rgba(59, 130, 196, 0.35); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; padding: 12px 26px; border-radius: var(--radius-btn); border: 1px solid transparent; transition: all .22s ease; line-height: 1.4; letter-spacing: .2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(59, 130, 196, 0.30); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(59, 130, 196, 0.12); }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.9); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31,42,55,.12); }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }

.section { padding: 84px 0; }
.section-white { background: #fff; }
.section-alt { background: var(--primary-light); }
.section-blue { background: var(--primary-light); }
.section-cta { background: var(--primary-light); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 50px; padding: 0 12px; }
.section-head h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; color: var(--text); line-height: 1.35; position: relative; }
.section-head h2::after { content: ''; display: block; width: 42px; height: 3px; background: var(--primary); border-radius: 2px; margin: 14px auto 0; }
.section-head p { font-size: 15px; color: var(--text-muted); margin-top: 14px; line-height: 1.7; }

.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: .3px; }
.brand-logo { width: 38px; height: 38px; background: var(--primary); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a { font-size: 15px; color: var(--text); padding: 6px 2px; position: relative; font-weight: 500; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: width .24s; }
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after { width: 100%; }
.header-cta { margin-left: 18px; padding: 11px 28px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; border-radius: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle:hover span { background: var(--primary); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--primary); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--primary); }
.mobile-nav { display: none; }

.hero { background: linear-gradient(120deg, rgba(250, 251, 253, 0.92) 0%, rgba(234, 241, 247, 0.88) 100%), url('/assets/images/backpic/back-1.jpg') center 30% / cover no-repeat; padding: 88px 0 72px; border-bottom: 1px solid var(--border); }
.hero-inner { display: flex; flex-direction: column; gap: 48px; }
.hero-content { max-width: 780px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); color: var(--primary); font-size: 14px; border-radius: var(--radius-pill); padding: 7px 18px; margin-bottom: 22px; font-weight: 500; box-shadow: var(--shadow); }
.hero-content h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.28; font-weight: 700; color: var(--text); margin-bottom: 18px; letter-spacing: .3px; }
.hero-desc { font-size: 17px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 30px; max-width: 680px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.compare-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compare-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px; border-top: 3px solid var(--border); transition: transform .22s, box-shadow .22s; }
.compare-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.compare-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 10px; }
.compare-card.recommend { border-top-color: var(--accent); box-shadow: 0 8px 26px rgba(217, 164, 65, 0.16); }
.compare-card.recommend:hover { transform: translateY(-4px); box-shadow: 0 12px 34px rgba(217, 164, 65, 0.22); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(217, 164, 65, 0.12); border-radius: var(--radius-pill); padding: 4px 12px; letter-spacing: .4px; }

.post-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.post-list { display: grid; gap: 22px; }
.post-card { display: flex; gap: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; transition: transform .22s, box-shadow .22s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.post-card:hover h3 { color: var(--primary); }
.post-thumb { width: 200px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--primary-light); }
.post-thumb img { width: 100%; height: 140px; object-fit: cover; }
.post-body { flex: 1; min-width: 0; }
.post-body h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.5; transition: color .2s; }
.post-body>p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 13px; padding: 4px 14px; border-radius: var(--radius-pill); font-weight: 500; }
.post-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; }
.side-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.side-links { display: grid; gap: 12px; }
.side-links a { font-size: 14px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 6px; }
.side-links a::before { content: '→'; color: var(--primary); font-weight: 700; }
.side-links a:hover { color: var(--primary); }
.empty-state { background: #F8FAFC; border: 2px dashed var(--border); border-radius: var(--radius); padding: 56px 24px; text-align: center; }
.empty-icon { font-size: 42px; display: block; margin-bottom: 14px; }
.empty-state p { color: var(--text-muted); font-size: 15px; }
.empty-state .empty-en { font-size: 13px; color: #A0AEC0; margin-top: 4px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 28px; transition: transform .22s, box-shadow .22s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-card { position: relative; }
.service-icon { font-size: 24px; color: var(--primary); display: inline-flex; width: 54px; height: 54px; background: var(--primary-light); border-radius: 16px; align-items: center; justify-content: center; margin-bottom: 18px; transition: background .2s; }
.service-card:hover .service-icon { background: rgba(59, 130, 196, 0.16); }
.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.link-more { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.link-more:hover { color: var(--primary-dark); gap: 8px; }
.link-more span { transition: transform .2s; }

.access-card { text-align: center; padding: 36px 28px; }
.access-card .service-icon { margin-left: auto; margin-right: auto; }
.access-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.access-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 10px 0; }
.stat-item { text-align: center; }
.stat-number { font-family: "DIN Alternate", Arial, sans-serif; font-size: 44px; font-weight: 700; color: var(--accent); display: block; line-height: 1.15; letter-spacing: 1px; }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 8px; display: block; }

.timeline-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; position: relative; transition: transform .22s, box-shadow .22s; }
.timeline-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.timeline-item::before { content: ''; position: absolute; top: 34px; right: -24px; width: 24px; height: 2px; background: var(--border); }
.timeline-item:last-child::before { display: none; }
.tl-marker { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 15px; font-weight: 700; }
.timeline-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.comment-card { border-left: 4px solid var(--primary); }
.comment-stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.comment-text { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }
.comment-user { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.user-name { font-weight: 600; color: var(--text); }
.user-tag { font-size: 13px; color: var(--text-muted); background: var(--primary-light); padding: 4px 12px; border-radius: var(--radius-pill); }

.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .22s, border-color .22s; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item.open { border-left: 3px solid var(--primary); box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text); text-align: left; background: transparent; transition: color .2s; }
.faq-q:hover { color: var(--primary); }
.faq-icon { font-size: 22px; color: var(--primary); font-weight: 400; flex-shrink: 0; transition: transform .3s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; padding: 0 24px 20px; }

.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; margin-bottom: 20px; }
.about-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-hover); width: 100%; height: 320px; object-fit: cover; }

.cta-card { text-align: center; background: #fff; border-radius: 18px; box-shadow: var(--shadow-hover); padding: 56px 48px; max-width: 780px; margin: 0 auto; }
.cta-badge { display: inline-block; font-size: 13px; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-pill); padding: 6px 16px; margin-bottom: 16px; font-weight: 500; }
.cta-card h2 { font-size: clamp(22px, 2.5vw, 30px); margin-bottom: 12px; color: var(--text); }
.cta-card p { font-size: 15px; color: var(--text-secondary); margin-bottom: 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.site-footer { background: #1F2A37; color: #9CA3AF; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 56px; padding-bottom: 44px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-logo:hover { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 280px; }
.footer-links h3, .footer-info h3 { font-size: 15px; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-links a { display: block; font-size: 14px; color: #9CA3AF; padding: 5px 0; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-info p { font-size: 14px; line-height: 1.75; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: #7A8699; }

@media (max-width: 992px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: none; flex-direction: column; gap: 8px; padding: 16px 24px 24px; border-top: 1px solid var(--border); background: #fff; box-shadow: 0 16px 30px rgba(31,42,55,.08); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 13px 18px; border-radius: 10px; font-size: 15px; color: var(--text); font-weight: 500; transition: background .2s; }
  .mobile-nav a:hover { background: var(--primary-light); color: var(--primary); }
  .mobile-nav .btn { margin-top: 10px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .timeline-item::before { display: none; }
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .hero { padding: 68px 0 56px; }
  .compare-strip { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 64px 0; }
}
@media (max-width: 768px) {
  .post-card { flex-direction: column; }
  .post-thumb { width: 100%; }
  .post-thumb img { height: 180px; }
  .post-side { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-head { margin-bottom: 38px; }
}
@media (max-width: 576px) {
  .container { padding: 0 16px; }
  .hero-desc { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .grid-4, .grid-3, .timeline-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .stat-number { font-size: 30px; }
  .cta-actions .btn { width: 100%; }
  .about-media img { height: 220px; }
  .compare-card { padding: 24px 20px; }
  .card { padding: 24px 20px; }
  .faq-q { padding: 18px 18px; font-size: 15px; }
  .faq-a p { padding: 0 18px 18px; }
  .section { padding: 52px 0; }
}

/* roulang page: article */
:root {
  --primary: #3B82C4;
  --primary-dark: #2C6A9E;
  --primary-light: #EAF1F7;
  --gold: #D9A441;
  --bg: #FAFBFD;
  --card-bg: #FFFFFF;
  --text: #1F2A37;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --border: #E5EAF0;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 4px 16px rgba(31, 42, 55, 0.06);
  --shadow-lg: 0 8px 28px rgba(31, 42, 55, 0.10);
  --transition: 0.2s ease;
  --container: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style-position: inside;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(59, 130, 196, 0.15);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid rgba(59, 130, 196, 0.35);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(0);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(31, 42, 55, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo:hover {
  text-decoration: none;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(59, 130, 196, 0.25);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 28px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 2px 10px rgba(59, 130, 196, 0.25);
  flex-shrink: 0;
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(59, 130, 196, 0.30);
}

.header-cta:focus-visible {
  outline: 2px solid rgba(59, 130, 196, 0.35);
  outline-offset: 2px;
}

/* ===== Breadcrumb ===== */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--border);
}

.breadcrumb .current {
  color: var(--primary);
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Article Main ===== */
.article-main {
  padding: 40px 0 60px;
}

.article-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px 56px 56px;
  margin-bottom: 48px;
  position: relative;
}

.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 56px;
  right: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 0 0 6px 6px;
}

.article-header {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
  padding: 0 8px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.meta-category {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  line-height: 1.5;
}

.meta-date {
  font-size: 13px;
  color: var(--text-muted);
}

.article-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
}

.article-title-divider {
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin: 28px auto 0;
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.article-content p {
  margin-bottom: 1.2em;
  text-align: justify;
}

.article-content h2 {
  font-size: 1.5em;
  font-weight: 700;
  margin: 1.8em 0 0.8em;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  color: var(--text);
}

.article-content h3 {
  font-size: 1.2em;
  font-weight: 600;
  margin: 1.6em 0 0.6em;
  color: var(--text);
}

.article-content h4 {
  font-size: 1.05em;
  font-weight: 600;
  margin: 1.4em 0 0.5em;
  color: var(--text-secondary);
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.6em auto;
  box-shadow: var(--shadow);
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--primary-dark);
}

.article-content ul,
.article-content ol {
  margin: 1em 0 1.2em;
  padding-left: 1.4em;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 0.5em;
  padding-left: 4px;
}

.article-content blockquote {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.6em 0;
  color: var(--text-secondary);
  font-style: normal;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.article-content th {
  background: var(--primary-light);
  font-weight: 600;
}

.article-content code {
  background: var(--primary-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.article-content pre {
  background: #1F2A37;
  color: #E5EAF0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 1.6em 0;
  font-size: 14px;
  line-height: 1.7;
}

.article-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.article-empty {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 32px;
  border-radius: 50%;
  margin-bottom: 24px;
}

.article-empty h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.article-empty p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.article-footer-nav {
  max-width: 780px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Related ===== */
.related-section {
  margin-top: 16px;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  display: block;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--text);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--text);
}

.related-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.related-info {
  padding: 20px 22px 22px;
}

.related-info h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--text);
  transition: color var(--transition);
}

.related-card:hover .related-info h3 {
  color: var(--primary);
}

.related-info p {
  font-size: 14px;
  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-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.related-card:hover .related-link {
  gap: 8px;
}

/* ===== CTA ===== */
.site-cta {
  background: linear-gradient(135deg, rgba(59, 130, 196, 0.08) 0%, rgba(217, 164, 65, 0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  text-align: center;
}

.site-cta h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.site-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background: #1F2A37;
  color: #9CA3AF;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
}

.footer-brand .footer-logo span:last-child {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h3,
.footer-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #9CA3AF;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: #6B7280;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 400px;
    padding-bottom: 20px;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  @media (max-width: 992px) {
    .header-cta {
      display: none;
    }
  }

  .header-cta.open {
    display: flex;
    margin: 16px 20px 20px;
    width: calc(100% - 40px);
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 72px;
    padding: 12px 20px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-card {
    padding: 32px 24px 40px;
  }

  .article-card::before {
    left: 24px;
    right: 24px;
  }

  .article-content {
    font-size: 15px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .article-main {
    padding: 24px 0 48px;
  }

  .article-card {
    padding: 24px 18px 32px;
    border-radius: 10px;
  }

  .article-title {
    font-size: 22px;
  }

  .article-footer-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .article-footer-nav .btn {
    width: 100%;
  }

  .site-cta {
    padding: 48px 0;
  }

  .breadcrumb .current {
    max-width: 180px;
  }

  .related-info {
    padding: 16px 18px;
  }
}
