/* roulang page: index */
:root {
  --primary: #0C6E54;
  --primary-dark: #094F3D;
  --primary-light: #0E7A60;
  --accent: #C6A15B;
  --dark: #101814;
  --bg: #F6F5F2;
  --white: #FFFFFF;
  --text: #1A2420;
  --muted: #5A645E;
  --muted-light: #A0A8A3;
  --border: rgba(16, 24, 20, 0.10);
  --border-white: rgba(255, 255, 255, 0.20);
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 12px 30px rgba(12, 110, 84, 0.10);
  --font: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: Inter, Roboto, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  background: #E8EAE7;
}

button {
  font-family: var(--font);
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.word-keep {
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  line-height: 1.4;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 110, 84, 0.18);
}

.btn-primary:active {
  transform: translateY(0);
  background: #073C2F;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost:hover {
  background: rgba(12, 110, 84, 0.10);
  border-color: var(--primary-dark);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s ease, color 0.2s ease;
}

.link-more:hover {
  gap: 10px;
  color: var(--primary-dark);
}

.link-more .arrow {
  color: var(--accent);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(246, 245, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.logo-main {
  font-weight: 800;
  color: var(--text);
}

.logo-sub {
  font-weight: 500;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 0 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--text);
  font-weight: 700;
}

.btn-nav {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  padding: 100px 32px 32px;
  background: var(--bg);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer a:not(.btn) {
  display: block;
  padding: 0 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 56px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer a.active {
  color: var(--primary);
}

.mobile-drawer .btn {
  display: inline-flex;
  margin-top: 28px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85vh;
  padding: 130px 0 80px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/images/backpic/back-1.png") center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 1.4s ease forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 20, 0.92) 0%, rgba(16, 24, 20, 0.60) 55%, rgba(12, 110, 84, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-kicker {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  animation: fadeUp 0.6s 0.15s ease forwards;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 52px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s ease forwards;
}

.hero-desc {
  max-width: 600px;
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.80);
  opacity: 0;
  animation: fadeUp 0.7s 0.45s ease forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s ease forwards;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border-white);
  opacity: 0;
  animation: fadeUp 0.7s 0.75s ease forwards;
}

.hero-stat .stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.hero-stat .stat-label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.60);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Section base ===== */
.section {
  padding: 96px 0;
}

.section-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
}

.section-desc {
  max-width: 620px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.section-head {
  margin-bottom: 44px;
}

/* ===== Table of Contents ===== */
.toc-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.toc {
  display: flex;
  gap: 40px;
  padding: 18px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.toc a {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 6px 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.toc-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.25s ease;
}

.toc a:hover {
  color: var(--primary);
  border-bottom-color: rgba(12, 110, 84, 0.25);
}

.toc a:hover .toc-num {
  color: var(--accent);
}

/* ===== Featured ===== */
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.featured-card {
  display: flex;
  align-items: stretch;
  gap: 40px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.featured-card:nth-child(even) {
  flex-direction: row-reverse;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 110, 84, 0.35);
  box-shadow: var(--shadow);
}

.featured-media {
  flex: 0 0 48%;
  min-width: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #E8EAE7;
}

.featured-media.lazy-load {
  position: relative;
}

.featured-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-card:hover .featured-media img {
  transform: scale(1.04);
}

.featured-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}

.featured-num {
  margin-bottom: 10px;
  font-family: var(--font-en);
  font-size: 52px;
  line-height: 1;
  font-weight: 800;
  color: rgba(198, 161, 91, 0.72);
}

.featured-tag {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(12, 110, 84, 0.10);
  border-radius: 999px;
}

.featured-body h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text);
  transition: color 0.25s ease;
}

.featured-card:hover .featured-body h3 {
  color: var(--primary);
}

.featured-body p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* ===== Updates / CMS ===== */
.updates-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.updates-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.updates-feature {
  background: rgba(246, 245, 242, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.updates-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #E8EAE7;
}

.uf-body {
  padding: 28px;
}

.uf-body h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text);
}

.uf-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px dashed var(--border);
}

.news-item {
  padding: 18px 4px;
  border-bottom: 1px dashed var(--border);
  border-radius: 4px;
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.news-item:hover {
  padding-left: 12px;
  background: rgba(12, 110, 84, 0.04);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.news-cat {
  display: inline-block;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid rgba(12, 110, 84, 0.25);
  border-radius: 999px;
}

.news-item time {
  font-size: 14px;
  color: var(--muted);
}

.news-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.news-item h3 a {
  color: var(--text);
  transition: color 0.2s ease;
}

.news-item h3 a:hover {
  color: var(--primary);
}

.news-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: padding-left 0.2s ease;
}

.news-link:hover {
  padding-left: 4px;
}

.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px dashed var(--border);
}

.empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  font-size: 26px;
  color: var(--muted-light);
  border: 1px dashed var(--border);
  border-radius: 50%;
}

/* ===== Related ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 110, 84, 0.35);
  box-shadow: var(--shadow);
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #E8EAE7;
}

.related-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.related-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text);
}

.related-body p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.related-more {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.related-more .arrow {
  color: var(--accent);
  transition: transform 0.25s ease;
}

.related-card:hover .related-more .arrow {
  transform: translate(2px, -2px);
}

/* ===== CTA ===== */
.cta-block {
  background: var(--dark);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 64px 0;
}

.cta-title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}

.cta-desc {
  max-width: 460px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-fav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 4px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-fav .fav-icon {
  font-size: 16px;
}

.btn-fav:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(198, 161, 91, 0.10);
}

.btn-fav:active {
  background: rgba(198, 161, 91, 0.18);
}

.btn-fav.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(198, 161, 91, 0.10);
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-share:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-share:active {
  transform: translateY(0);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, border-left-color 0.25s ease;
}

.faq-item.open {
  border-color: rgba(12, 110, 84, 0.30);
  border-left-color: var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: none;
  user-select: none;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--muted);
  transition: background 0.25s ease, transform 0.25s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-item.open .faq-icon::before {
  background: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.70);
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 48px;
  padding-top: 56px;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand .logo-main {
  color: #fff;
}

.footer-brand .logo-sub {
  color: var(--accent);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.footer-col a {
  display: inline-block;
  margin-bottom: 8px;
  padding-bottom: 4px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.60);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-col a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 20px 0 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 2000;
  padding: 12px 26px;
  font-size: 14px;
  color: #fff;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .section {
    padding: 72px 0;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .featured-card,
  .featured-card:nth-child(even) {
    flex-direction: column;
  }

  .featured-media {
    width: 100%;
  }

  .hero h1 {
    font-size: 42px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 56px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 44px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .featured-list {
    gap: 32px;
  }

  .featured-card {
    padding: 16px;
    gap: 24px;
  }

  .featured-num {
    font-size: 40px;
  }

  .featured-body h3 {
    font-size: 20px;
  }

  .toc {
    gap: 24px;
  }

  .toc a {
    font-size: 14px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 0;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-actions {
    width: 100%;
  }

  .btn-fav,
  .btn-share {
    flex: 1;
    justify-content: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* roulang page: category1 */
:root {
  --color-primary: #0C6E54;
  --color-primary-dark: #094F3D;
  --color-primary-light: #0E7A60;
  --color-dark: #101814;
  --color-accent: #C6A15B;
  --color-bg: #F6F5F2;
  --color-white: #FFFFFF;
  --color-title: #1A2420;
  --color-text: #5A645E;
  --color-border: rgba(16, 24, 20, 0.10);
  --radius-card: 8px;
  --radius-img: 6px;
  --radius-btn: 4px;
  --shadow-card: 0 12px 30px rgba(12, 110, 84, 0.10);
  --container-w: 1200px;
  --spacer-lg: 96px;
  --spacer-md: 48px;
  --spacer-sm: 24px;
  --font-main: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "Inter", "Roboto", sans-serif;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-title);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-btn);
  transition: all var(--transition);
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(12, 110, 84, 0.18); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-primary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-2px); }
.btn-outline-light:active { transform: translateY(0); }
.btn-outline-light:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-nav { padding: 9px 22px; font-size: 14px; }

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 245, 242, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 12px rgba(16, 24, 20, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: baseline; gap: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.logo-main { color: var(--color-title); font-weight: 800; }
.logo-sub { color: var(--color-primary); font-weight: 500; margin-left: 1px; }
.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.2s ease;
}
.nav-link:hover { color: var(--color-title); }
.nav-link.active { color: var(--color-title); font-weight: 600; }
.nav-link.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-title); border-radius: 2px; transition: all 0.3s ease; }
.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); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 20, 0.88) 0%, rgba(12, 110, 84, 0.62) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 680px;
}
.hero-index {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 18px;
  padding: 5px 14px;
  border: 1px solid rgba(198, 161, 91, 0.45);
  border-radius: 40px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 34px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== TOC ========== */
.toc-section {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.toc-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}
.toc-scroll::-webkit-scrollbar { height: 3px; }
.toc-scroll::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 4px; }
.toc-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.toc-item span {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 700;
  transition: color 0.25s ease;
}
.toc-item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(12, 110, 84, 0.05);
}
.toc-item:hover span { color: var(--color-accent); }

/* ========== Section Head ========== */
.section-head { margin-bottom: 48px; }
.section-index {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-num);
}
.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-title);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
}
.section-head p { font-size: 15px; color: var(--color-text); max-width: 560px; }

/* ========== Featured ========== */
.featured-section { padding: var(--spacer-lg) 0; }
.featured-list { display: flex; flex-direction: column; gap: 48px; }
.featured-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  align-items: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.featured-num {
  position: absolute;
  top: 10px;
  left: 24px;
  font-family: var(--font-num);
  font-size: 56px;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}
.featured-media { border-radius: var(--radius-img); overflow: hidden; position: relative; z-index: 2; }
.featured-media img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); background: #e8e7e3; }
.featured-item:hover .featured-media img { transform: scale(1.04); }
.featured-content { position: relative; z-index: 2; padding-left: 8px; }
.featured-item:nth-child(even) .featured-media { order: 2; }
.featured-item:nth-child(even) .featured-content { order: 1; padding-left: 0; padding-right: 8px; }
.featured-item:nth-child(even) .featured-num { left: auto; right: 24px; }
.featured-item:nth-child(odd) .featured-content { padding-left: 12px; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(12, 110, 84, 0.08);
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.featured-content h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; color: var(--color-title); line-height: 1.4; }
.featured-content p { font-size: 15px; color: var(--color-text); line-height: 1.8; margin-bottom: 18px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 3px;
  transition: gap 0.25s ease;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}
.text-link:hover { gap: 10px; }
.text-link:hover::after { width: 100%; }
.text-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }

/* ========== Recommend ========== */
.recommend-section { padding: var(--spacer-lg) 0; background: var(--color-white); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.recommend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.recommend-card {
  display: flex;
  gap: 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 18px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
}
.recommend-card:hover { border-color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(12, 110, 84, 0.08); }
.recommend-img { width: 130px; height: 110px; border-radius: var(--radius-img); overflow: hidden; flex-shrink: 0; background: #e8e7e3; }
.recommend-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.recommend-card:hover .recommend-img img { transform: scale(1.05); }
.recommend-body { flex: 1; min-width: 0; }
.recommend-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--color-title); }
.recommend-body p { font-size: 14px; color: var(--color-text); line-height: 1.7; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recommend-body span { font-size: 13px; font-weight: 600; color: var(--color-accent); display: inline-flex; align-items: center; gap: 4px; transition: transform 0.25s ease; }
.recommend-card:hover .recommend-body span { transform: translateX(3px); }
.recommend-card:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* ========== FAQ ========== */
.faq-section { padding: var(--spacer-lg) 0; }
.faq-list { max-width: 820px; display: flex; flex-direction: column; gap: 16px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open { border-left: 3px solid var(--color-primary); box-shadow: 0 4px 16px rgba(12, 110, 84, 0.06); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-title);
  text-align: left;
  gap: 16px;
  transition: color 0.25s ease;
}
.faq-question:hover { color: var(--color-primary); }
.faq-question:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; border-radius: var(--radius-card); }
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-text);
  transition: all 0.25s ease;
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--color-accent); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; }
.faq-answer p { padding: 0 26px 22px; font-size: 15px; color: var(--color-text); line-height: 1.8; }

/* ========== CTA ========== */
.cta-section {
  background: var(--color-dark);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 280px; }
.cta-text h2 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 10px; letter-spacing: -0.01em; }
.cta-text p { font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.bookmark-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.bookmark-btn:hover { border-color: var(--color-accent); color: var(--color-accent); background: rgba(198, 161, 91, 0.1); transform: translateY(-2px); }
.bookmark-btn.bookmarked { border-color: var(--color-accent); color: var(--color-accent); background: rgba(198, 161, 91, 0.12); }
.bookmark-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.share-wrap { position: relative; }
.share-btn { background: var(--color-primary); color: #fff; }
.share-btn:hover { background: var(--color-primary-light); transform: translateY(-2px); }
.share-btn.active { background: var(--color-primary-dark); }
.share-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.share-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 10px 0;
  min-width: 160px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s ease;
  z-index: 50;
}
.share-popover.show { opacity: 1; visibility: visible; transform: translateY(0); }
.share-popover::after {
  content: "";
  position: absolute;
  top: 100%; right: 24px;
  border: 6px solid transparent;
  border-top-color: var(--color-white);
}
.share-option {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--color-title);
  transition: background 0.2s ease, color 0.2s ease;
}
.share-option:hover { background: rgba(12, 110, 84, 0.06); color: var(--color-primary); }
.share-option:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* ========== Footer ========== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, 0.55); max-width: 340px; margin-top: 10px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  width: fit-content;
}
.footer-col a:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.footer-col a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ========== Media Queries ========== */
@media (max-width: 1023px) {
  .featured-item { grid-template-columns: 1fr; gap: 20px; }
  .featured-item:nth-child(even) .featured-media { order: 0; }
  .featured-item:nth-child(even) .featured-content { order: 0; padding: 0; }
  .featured-item:nth-child(odd) .featured-content { padding: 0; }
  .featured-media img { height: 240px; }
  .hero { min-height: 56vh; }
  .hero h1 { font-size: 42px; }
  .recommend-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .header-inner { height: 60px; }
  .logo { font-size: 19px; }
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(246, 245, 242, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.35s ease;
    z-index: -1;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { font-size: 20px; padding: 12px 0; }
  .btn-nav { font-size: 16px; padding: 12px 32px; margin-top: 10px; }
  .nav-toggle { display: flex; z-index: 10; }
  .hero { min-height: 52vh; }
  .hero-content { padding-top: 100px; padding-bottom: 50px; }
  .hero h1 { font-size: 34px; }
  .hero-desc { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .section-head h2 { font-size: 24px; }
  .section-index { font-size: 11px; }
  .featured-section { padding: 64px 0; }
  .featured-item { padding: 16px; }
  .featured-num { font-size: 40px; top: 8px; left: 16px; }
  .featured-item:nth-child(even) .featured-num { right: 16px; }
  .featured-media img { height: 200px; }
  .featured-content h3 { font-size: 18px; }
  .toc-section { padding: 14px 0; }
  .toc-item { padding: 8px 18px; font-size: 13px; }
  .recommend-section { padding: 64px 0; }
  .recommend-card { flex-direction: column; align-items: flex-start; padding: 14px; }
  .recommend-img { width: 100%; height: 160px; }
  .faq-section { padding: 64px 0; }
  .faq-question { padding: 18px 20px; font-size: 15px; }
  .faq-answer p { padding: 0 20px 18px; font-size: 14px; }
  .cta-section { padding: 48px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (min-width: 1400px) {
  .hero { background-position: center top; }
}

/* roulang page: article */
:root {
  --primary: #0C6E54;
  --primary-dark: #094F3D;
  --primary-light: #0E7A60;
  --dark: #101814;
  --accent: #C6A15B;
  --bg-warm: #F6F5F2;
  --white: #FFFFFF;
  --text-dark: #1A2420;
  --text-body: #4A554F;
  --text-muted: #7A847E;
  --border: rgba(16, 24, 20, 0.10);
  --border-light: rgba(16, 24, 20, 0.06);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --radius-btn: 4px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 20, 0.04);
  --shadow-hover: 0 12px 30px rgba(12, 110, 84, 0.10);
  --transition: 200ms ease;
  --container: 1200px;
  --font-sans: -apple-system, "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-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

ul, ol {
  list-style-position: inside;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========== Header / Nav ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease;
}

.site-header.scrolled {
  background: rgba(246, 245, 242, 0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.logo-main {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  transition: color var(--transition);
}

.logo-sub {
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--primary);
  transition: color var(--transition);
}

.site-header:not(.scrolled) .logo-main { color: #fff; }
.site-header:not(.scrolled) .logo-sub { color: rgba(255, 255, 255, 0.72); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 2px;
  transition: color var(--transition), transform var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 4px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}

.nav-link:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary-dark);
  font-weight: 600;
}

.site-header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.86); }
.site-header:not(.scrolled) .nav-link:hover { color: #fff; }
.site-header:not(.scrolled) .nav-link.active { color: #fff; }
.site-header:not(.scrolled) .nav-link::after { background: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 110, 84, 0.18);
}

.btn-primary:active {
  transform: translateY(0);
  background: #083F30;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: rgba(12, 110, 84, 0.08);
  border-color: var(--primary-dark);
}

.btn-outline:active {
  background: rgba(12, 110, 84, 0.14);
}

.btn-nav {
  padding: 9px 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  color: var(--text-dark);
  transition: color var(--transition);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 240ms ease, opacity 240ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Article Hero ========== */
.article-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background-color: var(--dark);
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(75deg, rgba(16, 24, 20, 0.92) 0%, rgba(16, 24, 20, 0.76) 55%, rgba(12, 110, 84, 0.48) 100%);
}

.article-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  opacity: 0.45;
}

.breadcrumb .current {
  color: #fff;
  opacity: 0.92;
}

.article-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.meta-date,
.meta-author {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.article-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  max-width: 880px;
  margin-top: 16px;
  letter-spacing: 0.01em;
}

/* ========== Article TOC ========== */
.article-toc {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.toc-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.toc-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid var(--border-light);
}

.toc-links {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.toc-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.toc-links a .toc-num {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.toc-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(12, 110, 84, 0.04);
}

/* ========== Article Body ========== */
.article-section {
  padding: 64px 0 16px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  /* padding: 48px 56px; */
  padding: 48px;
}

.article-body > * + * {
  margin-top: 1.4em;
}

.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--border-light);
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 1.8em;
}

.article-body p {
  color: var(--text-body);
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition);
}

.article-body a:hover {
  color: var(--primary-dark);
}

.article-body ul,
.article-body ol {
  padding-left: 1.2em;
}

.article-body ul li,
.article-body ol li {
  margin-top: 0.55em;
}

.article-body blockquote {
  border-left: 3px solid var(--primary);
  background: rgba(12, 110, 84, 0.06);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dark);
}

.article-body img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 1.5em 0;
  width: auto;
}

.article-body code {
  background: rgba(16, 24, 20, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 15px;
}

.article-body th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--text-dark);
}

.article-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== Not Found ========== */
.not-found {
  text-align: center;
  padding: 56px 20px;
}

.not-found-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(12, 110, 84, 0.08);
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.not-found p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ========== Related Section ========== */
.related-section {
  padding: 72px 0 16px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-index {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
}

.section-head p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.related-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.related-link {
  display: block;
  height: 100%;
}

.related-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm);
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.related-card:hover .related-thumb img {
  transform: scale(1.04);
}

.related-content {
  position: relative;
  padding: 16px 18px 20px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid rgba(12, 110, 84, 0.25);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

.related-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  padding-right: 24px;
}

.related-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.6;
}

.related-arrow {
  position: absolute;
  top: 20px;
  right: 18px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: transform 200ms ease;
}

.related-card:hover .related-arrow {
  transform: translate(2px, -2px);
}

/* ========== Share Bar ========== */
.share-section {
  padding: 48px 0 80px;
}

.share-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.share-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.share-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.share-actions {
  display: flex;
  gap: 12px;
}

.btn-fav.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(198, 161, 91, 0.10);
}

.icon {
  flex-shrink: 0;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 32px;
  font-size: 14px;
}

.site-footer .logo-main {
  color: #fff;
}

.site-footer .logo-sub {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  max-width: 340px;
  margin-top: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.footer-col a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== Responsive ========== */
@media (max-width: 1023px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-hero h1 {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu .nav-link {
    font-size: 16px;
    padding: 12px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-menu .nav-link.active {
    color: var(--primary);
    font-weight: 600;
  }

  .nav-menu .btn-nav {
    margin-top: 12px;
    width: 100%;
  }

  .site-header:not(.scrolled) .nav-link {
    color: var(--text-dark);
  }

  .site-header:not(.scrolled) .nav-link:hover {
    color: var(--primary);
  }

  .site-header:not(.scrolled) .nav-link.active {
    color: var(--primary);
  }

  .site-header:not(.scrolled) .logo-main {
    color: var(--text-dark);
  }

  .site-header:not(.scrolled) .logo-sub {
    color: var(--primary);
  }

  .site-header:not(.scrolled) .nav-toggle {
    color: var(--text-dark);
  }

  .article-hero {
    min-height: 420px;
  }

  .article-hero .container {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .article-hero h1 {
    font-size: 28px;
  }

  .article-meta-top {
    margin-top: 16px;
    gap: 8px;
  }

  .toc-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .toc-label {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .toc-links {
    width: 100%;
  }

  .article-section {
    padding: 48px 0 8px;
  }

  .article-body {
    padding: 24px;
    border-radius: var(--radius);
  }

  .article-body h2 {
    font-size: 22px;
  }

  .article-body h3 {
    font-size: 18px;
  }

  .article-body blockquote {
    padding: 14px 16px;
  }

  .related-section {
    padding: 56px 0 8px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .share-section {
    padding: 40px 0 64px;
  }

  .share-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px;
  }

  .share-actions {
    justify-content: center;
  }

  .share-actions .btn {
    flex: 1;
    padding: 12px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .article-hero h1 {
    font-size: 24px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  .meta-date,
  .meta-author {
    font-size: 13px;
  }

  .toc-links a {
    font-size: 12px;
    padding: 5px 10px;
  }

  .related-content h3 {
    font-size: 16px;
  }
}
