/* roulang page: index */
:root {
  --primary: #b55a2d;
  --primary-dark: #94421e;
  --primary-light: #ead4c2;
  --secondary: #3f3226;
  --secondary-light: #5d4b3a;
  --bg: #f8f2ea;
  --bg-soft: #efe5d6;
  --bg-deep: #2b221c;
  --card: #fffaf3;
  --white: #ffffff;
  --text: #2c2119;
  --text-light: #7c6b5a;
  --border: #dfd0be;
  --border-strong: #3f3226;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(43, 34, 28, .05);
  --shadow-md: 0 10px 30px rgba(43, 34, 28, .08);
  --shadow-lg: 0 20px 60px rgba(43, 34, 28, .13);
  --space-section: 96px;
  --font-serif: "Noto Serif SC", Georgia, "Songti SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .2s ease;
}

a:hover,
a:focus {
  outline: none;
}

button {
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all .25s ease;
}

ul,
ol,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 26px;
  padding-right: 26px;
}

/* Section */
.section {
  padding: var(--space-section) 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--secondary);
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 3px solid var(--border-strong);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .04);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: 1px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo i {
  color: var(--primary);
  font-size: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  padding: 10px 0;
  line-height: 1;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  color: var(--text);
  transition: all .2s ease;
}

.nav-item > a:hover,
.nav-item > a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-item > a.active {
  font-weight: 700;
}

.has-mega .mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 640px;
  background: var(--card);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all .28s ease;
  z-index: 110;
}

.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-panel h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.mega-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-panel li {
  margin-bottom: 8px;
}

.mega-panel li a {
  font-size: 14px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
}

.mega-panel li a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.mega-panel li a i {
  font-size: 12px;
  color: var(--primary);
}

.mega-feature {
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 18px;
}

.mega-feature p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.mega-feature a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: none !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(181, 90, 45, .3);
}

.nav-toggle {
  display: none;
  background: transparent;
  font-size: 22px;
  color: var(--secondary);
  padding: 8px;
}

/* Hero */
.hero {
  position: relative;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 34, 28, .72) 0%, rgba(63, 50, 38, .55) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(248, 242, 234, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 26px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .3);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.9;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  line-height: 1;
  transition: all .25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(181, 90, 45, .35);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(181, 90, 45, .4);
}

.btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .8);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 42px;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.intro-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.intro-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.intro-card:hover::after {
  transform: scaleX(1);
}

.intro-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
}

.intro-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.intro-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Category */
.cat-section {
  background: var(--bg-soft);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: all .35s ease;
  border: 1px solid var(--border);
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.cat-media {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.cat-card:hover .cat-media img {
  transform: scale(1.05);
}

.cat-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(43, 34, 28, .55) 100%);
}

.cat-label {
  position: absolute;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 100px;
}

.cat-body {
  padding: 28px 28px 32px;
}

.cat-body h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.cat-body p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 18px;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  transition: gap .2s ease;
}

.cat-link:hover {
  gap: 14px;
  color: var(--primary-dark);
}

/* Posts */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.post-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.post-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--secondary);
  margin-bottom: 12px;
}

.post-card h3 a {
  color: inherit;
  transition: color .2s ease;
}

.post-card h3 a:hover {
  color: var(--primary);
}

.post-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.post-date {
  font-size: 13px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}

.read-more:hover {
  gap: 12px;
  color: var(--primary-dark);
}

.empty-tip {
  grid-column: 1 / -1;
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  font-size: 16px;
  color: var(--text-light);
}

/* Stats */
.stats-bar {
  background: var(--bg-deep);
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 64px 0;
}

.stat-item {
  text-align: center;
  color: #fff;
  padding: 20px 10px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}

.stat-suffix {
  font-size: 26px;
  color: var(--primary);
}

.stat-label {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Feature */
.feature-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-media::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 60px;
  height: 60px;
  border: 4px solid var(--primary);
  border-right: transparent;
  border-bottom: transparent;
  border-radius: 18px 0 0 0;
  z-index: 2;
}

.feature-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.feature-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--card);
  border: 2px solid var(--border-strong);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.feature-content .section-tag {
  margin-bottom: 12px;
}

.feature-content h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--secondary);
  margin-bottom: 18px;
}

.feature-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 18px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text);
}

.feature-list li i {
  color: var(--primary);
  margin-top: 4px;
  font-size: 15px;
}

/* FAQ */
.faq-bg {
  background: var(--bg-soft);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.faq-list {
    max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
  color: var(--secondary);
  list-style: none;
  transition: all .25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
  color: var(--primary);
  transition: transform .25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  background: var(--bg-soft);
}

.faq-body {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  border-top: 1px solid var(--border);
  margin: 0;
}

.faq-body p {
  padding-top: 18px;
}

/* CTA */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border: 3px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.cta-box::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.cta-box h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}

.cta-box .btn-outline {
  border-color: rgba(255, 255, 255, .7);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, .7);
  padding-top: 72px;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand .brand-logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand .brand-logo i {
  color: var(--primary);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 14px;
  max-width: 340px;
}

.footer-grid h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid ul li {
  margin-bottom: 12px;
}

.footer-grid ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-grid ul li a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-grid ul li a i {
  font-size: 12px;
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, .6);
}

.footer-bottom a:hover {
  color: #fff;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  :root {
    --space-section: 72px;
  }

  .intro-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-wrap {
    gap: 40px;
  }

  .hero-title {
    font-size: 46px;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  :root {
    --space-section: 56px;
  }

  .section-title {
    font-size: 28px;
  }

  .site-header .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 2px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 26px;
    gap: 12px;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
    padding: 8px 0;
  }

  .has-mega .mega-panel {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    padding: 10px 0 10px 16px;
    margin-top: 6px;
    display: none;
  }

  .has-mega:hover .mega-panel,
  .has-mega:focus-within .mega-panel {
    transform: none;
    display: none;
  }

  .nav-open .has-mega .mega-panel {
    display: block;
  }

  .nav-open .has-mega .mega-panel {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    padding: 12px 16px;
    margin: 8px 0;
    display: block;
    background: var(--bg-soft);
    border-radius: 0 8px 8px 0;
  }

  .nav-cta {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 520px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .intro-grid,
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 48px 0;
  }

  .stat-num {
    font-size: 40px;
  }

  .feature-wrap {
    grid-template-columns: 1fr;
  }

  .feature-media img {
    height: 320px;
  }

  .cta-box {
    padding: 44px 24px;
  }

  .cta-box h2 {
    font-size: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media screen and (max-width: 520px) {
  .header-inner {
    padding: 0 16px;
  }

  .brand-logo {
    font-size: 20px;
  }

  .hero-inner {
    padding: 50px 16px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 24px;
  }

  .cat-media {
    height: 220px;
  }

  .post-card {
    padding: 24px 20px;
    min-height: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-num {
    font-size: 32px;
  }

  .feature-content h2 {
    font-size: 24px;
  }

  .cta-box {
    padding: 36px 18px;
    border-radius: 14px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

/* roulang page: category1 */
:root {
            --primary: #b8893a;
            --primary-dark: #8d6b2b;
            --primary-light: #e6cf9e;
            --accent: #4a6b5a;
            --bg: #f7f2e9;
            --bg-dark: #2d2a24;
            --bg-card: #fffdf8;
            --text: #2e2a24;
            --text-weak: #78716a;
            --border: #e5dccd;
            --shadow: 0 4px 20px rgba(45, 42, 36, 0.08);
            --shadow-lg: 0 12px 40px rgba(45, 42, 36, 0.12);
            --radius: 14px;
            --radius-sm: 8px;
            --space-section: 90px;
            --space-block: 50px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
            line-height: 1.7;
            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 0.25s ease;
        }

        a:hover {
            color: var(--primary-dark);
        }

        ul {
            list-style: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
        }

        .site-header {
            background: rgba(255, 253, 248, 0.96);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
            height: 76px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .brand-logo {
            font-size: 1.35rem;
            font-weight: 800;
            letter-spacing: 0.02em;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text);
            white-space: nowrap;
        }

        .brand-logo i {
            color: var(--primary);
            font-size: 1.3rem;
        }

        .brand-logo:hover {
            color: var(--primary-dark);
        }

        .site-nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-item {
            position: relative;
        }

        .nav-item > a {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 18px;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text);
            border-radius: 8px;
            transition: all 0.25s ease;
        }

        .nav-item > a:hover {
            background: rgba(184, 137, 58, 0.08);
            color: var(--primary-dark);
        }

        .nav-item > a.active {
            background: var(--primary);
            color: #fff;
        }

        .has-mega:hover .mega-panel {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .mega-panel {
            position: absolute;
            top: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            width: 520px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            padding: 24px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 120;
        }

        .mega-panel h4 {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-weak);
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border);
        }

        .mega-panel ul li {
            margin-bottom: 8px;
        }

        .mega-panel ul li a {
            display: block;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 0.92rem;
            color: var(--text);
            transition: all 0.2s ease;
        }

        .mega-panel ul li a:hover {
            background: rgba(184, 137, 58, 0.08);
            color: var(--primary-dark);
            padding-left: 14px;
        }

        .mega-panel ul li a i {
            color: var(--primary);
            margin-right: 6px;
            font-size: 0.8rem;
        }

        .mega-feature {
            margin-top: 16px;
            padding: 16px 20px;
            background: linear-gradient(135deg, rgba(184, 137, 58, 0.12), rgba(74, 107, 90, 0.08));
            border-radius: var(--radius-sm);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .mega-feature p {
            font-size: 0.88rem;
            color: var(--text);
            margin-bottom: 0;
        }

        .mega-feature a {
            font-weight: 700;
            font-size: 0.88rem;
            white-space: nowrap;
        }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.4rem;
            color: var(--text);
            cursor: pointer;
            padding: 8px 12px;
            border-radius: var(--radius-sm);
        }

        .nav-toggle:hover {
            background: rgba(184, 137, 58, 0.1);
        }

        .page-banner {
            background: linear-gradient(135deg, rgba(45, 42, 36, 0.86), rgba(74, 107, 90, 0.72)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            padding: 90px 0 70px;
            color: #fff7ea;
            text-align: center;
            border-bottom: 4px solid var(--primary);
        }

        .page-banner .banner-tag {
            display: inline-block;
            background: rgba(184, 137, 58, 0.25);
            border: 1px solid rgba(230, 207, 158, 0.5);
            padding: 6px 18px;
            border-radius: 30px;
            font-size: 0.85rem;
            letter-spacing: 0.04em;
            color: #f0ddb8;
            margin-bottom: 18px;
        }

        .page-banner h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 16px;
            line-height: 1.3;
            letter-spacing: 0.02em;
        }

        .page-banner p {
            font-size: 1.08rem;
            max-width: 640px;
            margin: 0 auto;
            color: rgba(255, 247, 234, 0.9);
            line-height: 1.8;
        }

        .breadcrumbs {
            margin-top: 18px;
            display: flex;
            justify-content: center;
            gap: 10px;
            font-size: 0.85rem;
            color: rgba(255, 247, 234, 0.7);
        }

        .breadcrumbs a {
            color: #f0ddb8;
        }

        .breadcrumbs a:hover {
            color: #fff;
        }

        .section {
            padding: var(--space-section) 0;
        }

        .section-soft {
            background: #faf6ee;
        }

        .section-head {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-head .section-tag {
            display: inline-block;
            background: rgba(184, 137, 58, 0.12);
            color: var(--primary-dark);
            padding: 5px 16px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            margin-bottom: 14px;
        }

        .section-head h2 {
            font-size: 2.1rem;
            font-weight: 800;
            margin-bottom: 12px;
            color: var(--text);
        }

        .section-head p {
            max-width: 620px;
            margin: 0 auto;
            color: var(--text-weak);
            font-size: 1rem;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 20px;
        }

        .topic-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .topic-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
        }

        .topic-card .card-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .topic-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .topic-card:hover .card-img img {
            transform: scale(1.05);
        }

        .topic-card .card-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(45, 42, 36, 0.25), transparent);
        }

        .topic-card .card-img .card-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            background: rgba(255, 253, 248, 0.92);
            color: var(--primary-dark);
            font-size: 0.78rem;
            font-weight: 700;
            padding: 4px 14px;
            border-radius: 30px;
            z-index: 2;
            letter-spacing: 0.03em;
        }

        .topic-card .card-body {
            padding: 24px 26px 28px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .topic-card .card-meta {
            font-size: 0.8rem;
            color: var(--text-weak);
            display: flex;
            gap: 14px;
            margin-bottom: 10px;
        }

        .topic-card .card-meta i {
            color: var(--primary);
        }

        .topic-card h3 {
            font-size: 1.22rem;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .topic-card h3 a {
            color: var(--text);
        }

        .topic-card h3 a:hover {
            color: var(--primary-dark);
        }

        .topic-card p {
            font-size: 0.92rem;
            color: var(--text-weak);
            line-height: 1.7;
            margin-bottom: 16px;
            flex: 1;
        }

        .card-link {
            font-weight: 600;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .card-link i {
            font-size: 0.75rem;
            transition: transform 0.3s ease;
        }

        .card-link:hover i {
            transform: translateX(4px);
        }

        .features-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 26px;
            margin-top: 20px;
        }

        .feature-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 30px 24px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }

        .feature-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .feature-item .feature-icon {
            width: 58px;
            height: 58px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(184, 137, 58, 0.18), rgba(184, 137, 58, 0.06));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 1.3rem;
            color: var(--primary-dark);
        }

        .feature-item h3 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .feature-item p {
            font-size: 0.85rem;
            color: var(--text-weak);
            line-height: 1.6;
            margin-bottom: 0;
        }

        .info-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            padding: 70px 0;
        }

        .info-block .info-image {
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            position: relative;
            border: 4px solid #fff;
        }

        .info-block .info-image img {
            width: 100%;
            height: 360px;
            object-fit: cover;
        }

        .info-block .info-image::after {
            content: 'hth官方网站 · 主题指南';
            position: absolute;
            bottom: 16px;
            left: 16px;
            background: rgba(45, 42, 36, 0.7);
            color: #f0ddb8;
            padding: 6px 16px;
            border-radius: 30px;
            font-size: 0.8rem;
            backdrop-filter: blur(4px);
        }

        .info-content h2 {
            font-size: 1.9rem;
            font-weight: 800;
            line-height: 1.4;
            margin-bottom: 16px;
        }

        .info-content p {
            color: var(--text-weak);
            margin-bottom: 20px;
            font-size: 1rem;
        }

        .check-list {
            margin: 24px 0;
        }

        .check-list li {
            padding: 8px 0;
            display: flex;
            gap: 12px;
            align-items: flex-start;
            font-size: 0.95rem;
            border-bottom: 1px dashed var(--border);
        }

        .check-list li:last-child {
            border-bottom: none;
        }

        .check-list li i {
            color: var(--primary);
            margin-top: 5px;
            font-size: 0.85rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 8px;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 14px rgba(184, 137, 58, 0.35);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(141, 107, 43, 0.4);
            color: #fff;
        }

        .btn-outline {
            background: transparent;
            color: var(--primary-dark);
            border: 2px solid var(--primary-light);
        }

        .btn-outline:hover {
            background: rgba(184, 137, 58, 0.08);
            transform: translateY(-2px);
        }

        .stat-band {
            background: linear-gradient(135deg, var(--bg-dark), #3a352d);
            padding: 60px 0;
            color: #f0ddb8;
        }

        .stat-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            text-align: center;
        }

        .stat-item .stat-number {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--primary-light);
            margin-bottom: 6px;
            display: block;
        }

        .stat-item .stat-label {
            font-size: 0.9rem;
            color: rgba(240, 221, 184, 0.75);
            letter-spacing: 0.03em;
        }

        .timeline-section {
            background: #faf6ee;
            padding: var(--space-section) 0;
        }

        .timeline {
            position: relative;
            max-width: 760px;
            margin: 0 auto;
            padding: 20px 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 20px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, var(--primary-light), var(--primary), var(--accent));
            border-radius: 3px;
        }

        .timeline-item {
            position: relative;
            padding-left: 60px;
            padding-bottom: 36px;
        }

        .timeline-item:last-child {
            padding-bottom: 0;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 12px;
            top: 6px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--bg-card);
            border: 4px solid var(--primary);
            z-index: 2;
            box-shadow: 0 0 0 4px rgba(184, 137, 58, 0.15);
        }

        .timeline-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px 28px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }

        .timeline-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateX(4px);
        }

        .timeline-card .timeline-type {
            display: inline-block;
            background: rgba(184, 137, 58, 0.12);
            color: var(--primary-dark);
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .timeline-card h3 {
            font-size: 1.18rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .timeline-card p {
            font-size: 0.88rem;
            color: var(--text-weak);
            line-height: 1.7;
            margin-bottom: 0;
        }

        .faq-section {
            padding: var(--space-section) 0;
        }

        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            margin-bottom: 16px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .faq-item summary {
            padding: 22px 28px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s ease;
            list-style: none;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.8rem;
            color: var(--primary);
            transition: transform 0.3s ease;
        }

        .faq-item[open] summary::after {
            transform: rotate(180deg);
        }

        .faq-item[open] summary {
            border-bottom: 1px solid var(--border);
        }

        .faq-item .faq-body {
            padding: 6px 28px 22px;
            color: var(--text-weak);
            font-size: 0.92rem;
            line-height: 1.75;
        }

        .cta-section {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            padding: 70px 0;
            color: #fff;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            opacity: 0.12;
        }

        .cta-inner {
            position: relative;
            z-index: 2;
            max-width: 620px;
            margin: 0 auto;
        }

        .cta-inner h2 {
            font-size: 2.1rem;
            font-weight: 800;
            margin-bottom: 14px;
        }

        .cta-inner p {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 28px;
        }

        .btn-white {
            background: #fff;
            color: var(--primary-dark);
        }

        .btn-white:hover {
            background: #f7f2e9;
            color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
        }

        .site-footer {
            background: var(--bg-dark);
            color: rgba(240, 221, 184, 0.8);
            padding: 70px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr;
            gap: 50px;
            padding-bottom: 40px;
        }

        .footer-brand p {
            margin-top: 18px;
            font-size: 0.9rem;
            color: rgba(240, 221, 184, 0.6);
            max-width: 340px;
            line-height: 1.8;
        }

        .site-footer h4 {
            color: var(--primary-light);
            font-size: 1rem;
            margin-bottom: 20px;
            letter-spacing: 0.04em;
        }

        .site-footer ul li {
            margin-bottom: 12px;
        }

        .site-footer ul li a {
            color: rgba(240, 221, 184, 0.7);
            font-size: 0.9rem;
        }

        .site-footer ul li a i {
            margin-right: 6px;
            font-size: 0.75rem;
            color: var(--primary);
        }

        .site-footer ul li a:hover {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid rgba(240, 221, 184, 0.15);
            padding: 22px 0;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 0.82rem;
            color: rgba(240, 221, 184, 0.5);
        }

        @media (max-width: 1024px) {
            .category-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .features-row {
                grid-template-columns: repeat(2, 1fr);
            }

            .stat-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .container,
            .header-inner {
                padding: 0 20px;
            }

            .header-inner {
                height: 64px;
            }

            .nav-toggle {
                display: block;
            }

            .site-nav {
                position: fixed;
                top: 64px;
                left: 0;
                right: 0;
                background: var(--bg-card);
                flex-direction: column;
                align-items: stretch;
                padding: 16px 20px;
                border-bottom: 2px solid var(--primary);
                box-shadow: var(--shadow-lg);
                transform: translateY(-20px);
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
                z-index: 99;
                max-height: calc(100vh - 64px);
                overflow-y: auto;
            }

            .site-nav.nav-open {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }

            .nav-item > a {
                padding: 14px 16px;
                justify-content: space-between;
                border-radius: 8px;
            }

            .mega-panel {
                position: static;
                width: 100%;
                transform: none;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                margin-top: 8px;
                padding: 16px;
                border-radius: 8px;
                display: none;
            }

            .has-mega.open .mega-panel {
                display: block;
            }

            .page-banner {
                padding: 60px 0 50px;
            }

            .page-banner h1 {
                font-size: 2rem;
            }

            .page-banner p {
                font-size: 0.95rem;
            }

            .section {
                padding: 60px 0;
            }

            .section-head h2 {
                font-size: 1.7rem;
            }

            .info-block {
                grid-template-columns: 1fr;
                gap: 30px;
                padding: 40px 0;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 520px) {
            .container,
            .header-inner {
                padding: 0 14px;
            }

            .brand-logo {
                font-size: 1.1rem;
            }

            .category-grid {
                grid-template-columns: 1fr;
            }

            .features-row {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .stat-grid {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }

            .stat-item .stat-number {
                font-size: 1.8rem;
            }

            .timeline-card {
                padding: 18px;
            }

            .mega-feature {
                flex-direction: column;
                align-items: flex-start;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        .foundation-fix .grid-x {
            display: flex;
            flex-wrap: wrap;
        }

        .foundation-fix .cell {
            flex: 0 0 auto;
            padding-left: 0.9375rem;
            padding-right: 0.9375rem;
        }

/* roulang page: category2 */
:root {
            --primary: #7c5cff;
            --primary-dark: #5a3fd4;
            --primary-light: #eef0ff;
            --accent: #ff7a5c;
            --bg: #f8f7ff;
            --bg-alt: #fff;
            --text: #1d1b2f;
            --text-alt: #efebff;
            --text-weak: #6e6a82;
            --border: #e4e0f0;
            --radius: 18px;
            --radius-sm: 12px;
            --shadow: 0 10px 40px rgba(94, 77, 152, .1);
            --shadow-lg: 0 18px 60px rgba(94, 77, 152, .15);
            --space: 32px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: all .25s ease;
        }

        a:hover {
            color: var(--primary-dark);
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .section {
            padding: 72px 0;
        }

        .section-alt {
            background: var(--bg-alt);
        }

        .section-head {
            text-align: center;
            max-width: 720px;
            margin: 0 auto 44px;
        }

        .section-head .tag {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 13px;
            font-weight: 700;
            padding: 6px 16px;
            border-radius: 30px;
            margin-bottom: 14px;
        }

        .section-head h2 {
            font-size: 38px;
            font-weight: 900;
            line-height: 1.25;
            margin-bottom: 14px;
            color: var(--text);
        }

        .section-head p {
            color: var(--text-weak);
            font-size: 16px;
        }

        /* header */
        .site-header {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid var(--border);
        }

        .header-inner {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 24px;
            height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .brand-logo {
            font-size: 22px;
            font-weight: 900;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--text);
            letter-spacing: -0.3px;
        }

        .brand-logo i {
            color: var(--primary);
            font-size: 26px;
        }

        .nav-toggle {
            display: none;
            background: none;
            border: 0;
            font-size: 24px;
            color: var(--text);
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
        }

        .site-nav {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .nav-item {
            position: relative;
        }

        .nav-item>a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 18px;
            font-weight: 500;
            font-size: 15px;
            color: var(--text);
            border-radius: 10px;
            transition: all .25s;
        }

        .nav-item>a:hover {
            color: var(--primary);
            background: var(--primary-light);
        }

        .nav-item>a.active {
            color: var(--primary-dark);
            background: var(--primary-light);
            font-weight: 700;
        }

        .mega-panel {
            position: absolute;
            top: calc(100% + 14px);
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            width: 640px;
            background: #fff;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border);
            padding: 28px;
            opacity: 0;
            visibility: hidden;
            transition: all .3s ease;
            z-index: 90;
        }

        .nav-item.has-mega:hover .mega-panel,
        .nav-item.has-mega:focus-within .mega-panel {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .mega-panel h4 {
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-weak);
            margin-bottom: 12px;
            font-weight: 700;
        }

        .mega-panel ul {
            list-style: none;
            margin: 0;
        }

        .mega-panel li {
            margin-bottom: 4px;
        }

        .mega-panel li a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 8px;
            color: var(--text);
            font-size: 14px;
        }

        .mega-panel li a:hover {
            background: var(--primary-light);
            color: var(--primary-dark);
            padding-left: 14px;
        }

        .mega-feature {
            margin-top: 18px;
            background: linear-gradient(135deg, var(--primary-light), #f5f2ff);
            border-radius: var(--radius-sm);
            padding: 18px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
        }

        .mega-feature p {
            margin: 0;
            font-weight: 500;
            font-size: 14px;
            color: var(--text);
        }

        .mega-feature a {
            color: var(--primary-dark);
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        /* hero / page banner */
        .page-hero {
            position: relative;
            background: linear-gradient(135deg, #1d1b2f 0%, #2d2850 60%, #453a7d 100%);
            padding: 76px 0 88px;
            overflow: hidden;
        }

        .page-hero:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            opacity: .22;
        }

        .page-hero .container {
            position: relative;
            z-index: 2;
        }

        .page-hero .breadcrumb {
            color: rgba(255, 255, 255, .7);
            font-size: 14px;
            margin-bottom: 18px;
        }

        .page-hero .breadcrumb a {
            color: rgba(255, 255, 255, .85);
        }

        .page-hero h1 {
            font-size: 46px;
            font-weight: 900;
            color: #fff;
            line-height: 1.2;
            margin-bottom: 16px;
        }

        .page-hero p {
            color: rgba(255, 255, 255, .75);
            font-size: 17px;
            max-width: 620px;
            margin-bottom: 28px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, .14);
            color: #fff;
            font-size: 13px;
            font-weight: 500;
            padding: 8px 18px;
            border-radius: 30px;
            margin-bottom: 18px;
            border: 1px solid rgba(255, 255, 255, .2);
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 30px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all .3s ease;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 8px 24px rgba(124, 92, 255, .3);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(124, 92, 255, .4);
        }

        .btn-ghost-light {
            background: transparent;
            border-color: rgba(255, 255, 255, .5);
            color: #fff;
        }

        .btn-ghost-light:hover {
            background: rgba(255, 255, 255, .12);
            color: #fff;
            transform: translateY(-2px);
        }

        .btn-ghost {
            background: transparent;
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-ghost:hover {
            background: var(--primary-light);
            color: var(--primary-dark);
        }

        /* card grid */
        .grid-x {
            margin: -12px;
        }

        .cell {
            padding: 12px;
        }

        .card-tutorial {
            background: #fff;
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all .3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .card-tutorial:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: transparent;
        }

        .card-tutorial .card-img {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16/9;
        }

        .card-tutorial .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .5s ease;
        }

        .card-tutorial:hover .card-img img {
            transform: scale(1.05);
        }

        .card-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            background: rgba(29, 27, 47, .8);
            backdrop-filter: blur(6px);
            color: #fff;
            font-size: 12px;
            font-weight: 500;
            padding: 6px 14px;
            border-radius: 20px;
        }

        .card-body {
            padding: 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .card-body h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.4;
            color: var(--text);
        }

        .card-body p {
            font-size: 14px;
            color: var(--text-weak);
            flex-grow: 1;
            margin-bottom: 18px;
        }

        .card-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 13px;
            color: var(--text-weak);
            padding-top: 14px;
            border-top: 1px solid var(--border);
        }

        .card-meta i {
            color: var(--primary);
            margin-right: 4px;
        }

        /* steps */
        .step-section {
            background: #fff;
        }

        .steps-wrap {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .step-item {
            flex: 1 1 220px;
            max-width: 280px;
            text-align: center;
            padding: 32px 20px;
            background: var(--bg);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            transition: all .3s;
        }

        .step-item:hover {
            background: var(--primary-light);
            border-color: var(--primary);
            transform: translateY(-4px);
        }

        .step-num {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 900;
            font-size: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
            box-shadow: 0 8px 20px rgba(124, 92, 255, .3);
        }

        .step-item h3 {
            font-size: 17px;
            margin-bottom: 8px;
        }

        .step-item p {
            font-size: 14px;
            color: var(--text-weak);
            margin: 0;
        }

        /* category chips */
        .chip-row {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
            margin: -6px;
        }

        .chip-row .cell-chip {
            padding: 6px;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 22px;
            border-radius: 50px;
            background: #fff;
            border: 1px solid var(--border);
            font-size: 14px;
            font-weight: 600;
            color: var(--text);
            transition: all .3s;
        }

        .chip:hover {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .chip i {
            color: var(--primary);
        }

        /* feature blocks */
        .feature-block {
            display: flex;
            gap: 32px;
            align-items: center;
            background: #fff;
            border-radius: calc(var(--radius) * 1.3);
            padding: 32px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            margin-bottom: 24px;
        }

        .feature-block.reverse {
            flex-direction: row-reverse;
        }

        .feature-img {
            flex: 0 0 420px;
            border-radius: var(--radius);
            overflow: hidden;
        }

        .feature-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            min-height: 240px;
        }

        .feature-copy {
            flex: 1;
        }

        .feature-copy .tag {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 12px;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 30px;
            margin-bottom: 12px;
        }

        .feature-copy h3 {
            font-size: 26px;
            font-weight: 800;
            margin-bottom: 12px;
        }

        .feature-copy p {
            color: var(--text-weak);
            font-size: 15px;
            margin-bottom: 18px;
        }

        .feature-list {
            list-style: none;
            margin: 0;
        }

        .feature-list li {
            padding: 6px 0;
            font-size: 14px;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .feature-list li i {
            color: var(--primary);
        }

        /* FAQ */
        .faq-list {
            max-width: 780px;
            margin: 0 auto;
        }

        .faq-item {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            margin-bottom: 14px;
            padding: 22px 28px;
            transition: all .3s;
        }

        .faq-item:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow);
        }

        .faq-item h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }

        .faq-item p {
            font-size: 14px;
            color: var(--text-weak);
            margin: 0;
        }

        /* CTA */
        .cta-section {
            background: linear-gradient(135deg, #1d1b2f, #4a3f8f);
            padding: 76px 0;
            position: relative;
            overflow: hidden;
        }

        .cta-section:before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: .15;
        }

        .cta-section .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .cta-section h2 {
            color: #fff;
            font-size: 36px;
            font-weight: 900;
            margin-bottom: 16px;
        }

        .cta-section p {
            color: rgba(255, 255, 255, .75);
            font-size: 16px;
            max-width: 560px;
            margin: 0 auto 30px;
        }

        /* footer */
        .site-footer {
            background: #171522;
            color: rgba(255, 255, 255, .7);
            padding: 64px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 48px;
            padding-bottom: 44px;
        }

        .footer-brand .brand-logo {
            color: #fff;
            margin-bottom: 14px;
        }

        .footer-brand p {
            font-size: 14px;
            color: rgba(255, 255, 255, .55);
            max-width: 320px;
        }

        .site-footer h4 {
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 18px;
        }

        .site-footer ul {
            list-style: none;
            margin: 0;
        }

        .site-footer ul li {
            margin-bottom: 10px;
        }

        .site-footer ul li a {
            color: rgba(255, 255, 255, .65);
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .site-footer ul li a:hover {
            color: #fff;
            padding-left: 4px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .1);
            padding: 22px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 13px;
            color: rgba(255, 255, 255, .4);
        }

        /* responsive */
        @media(max-width:1024px) {
            .feature-block,
            .feature-block.reverse {
                flex-direction: column;
            }
            .feature-img {
                flex: 0 0 auto;
                width: 100%;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media(max-width:768px) {
            .nav-toggle {
                display: block;
            }
            .site-nav {
                position: fixed;
                top: 72px;
                left: 0;
                right: 0;
                background: #fff;
                flex-direction: column;
                align-items: stretch;
                padding: 16px;
                gap: 8px;
                box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
                display: none;
                max-height: calc(100vh - 72px);
                overflow-y: auto;
            }
            .site-nav.nav-open {
                display: flex;
            }
            .nav-item>a {
                padding: 12px 16px;
            }
            .mega-panel {
                position: static;
                transform: none;
                width: 100%;
                box-shadow: none;
                border: 1px solid var(--border);
                border-radius: var(--radius-sm);
                padding: 16px;
                opacity: 1;
                visibility: visible;
                display: none;
                margin-top: 4px;
            }
            .nav-item.has-mega.open .mega-panel {
                display: block;
            }
            .page-hero h1 {
                font-size: 30px;
            }
            .section-head h2 {
                font-size: 26px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        @media(max-width:520px) {
            .section {
                padding: 48px 0;
            }
            .page-hero {
                padding: 52px 0 60px;
            }
            .hero-actions .btn {
                width: 100%;
                justify-content: center;
            }
            .card-body {
                padding: 18px;
            }
            .feature-block {
                padding: 20px;
            }
            .faq-item {
                padding: 18px;
            }
        }

/* roulang page: article */
:root {
  --primary: #A6502E;
  --primary-dark: #7E3A1F;
  --primary-light: #C9764F;
  --secondary: #2C4A36;
  --secondary-light: #3E6348;
  --accent: #D4A24A;
  --bg: #F6F1E7;
  --bg-alt: #EFE7D9;
  --bg-dark: #221D19;
  --card-bg: #FFFCF5;
  --text: #3A342F;
  --text-light: #8A7F72;
  --text-muted: #A99E92;
  --border: #E3D7C6;
  --border-dark: #3A342F;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(58, 52, 47, 0.06);
  --shadow-md: 0 8px 24px rgba(58, 52, 47, 0.10);
  --shadow-lg: 0 16px 40px rgba(58, 52, 47, 0.14);
  --font-serif: 'Noto Serif SC', serif;
  --font-sans: '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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(166, 80, 46, 0.08);
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(166, 80, 46, 0.2);
  margin-bottom: 14px;
}
.section-head h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.3; color: var(--text); }
.section-head p { color: var(--text-light); margin-top: 14px; font-size: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(166, 80, 46, 0.08);
  border: 1px solid rgba(166, 80, 46, 0.25);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  line-height: 1.4;
  transition: all .2s ease;
}
.tag:hover { background: rgba(166, 80, 46, 0.15); border-color: var(--primary); }
.tag-outline { background: transparent; border: 2px solid rgba(255,255,255,0.6); color: #fff; }
.tag-outline:hover { background: rgba(255,255,255,0.2); border-color: #fff; color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 2px solid var(--border-dark);
  box-shadow: 3px 3px 0 var(--border-dark);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  outline: none;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--border-dark); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--border-dark); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #fff; border-color: var(--border-dark); }
.btn-secondary:hover { background: var(--secondary-light); }
.btn-light { background: var(--card-bg); color: var(--text); border-color: var(--border-dark); }
.btn-light:hover { background: var(--bg-alt); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.site-header {
  background: var(--card-bg);
  border-bottom: 2px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 72px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--text); }
.brand-logo i { color: var(--primary); font-size: 22px; }
.brand-logo:hover { color: var(--primary); }

.nav-toggle { display: none; background: none; border: 2px solid var(--border-dark); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; font-size: 18px; color: var(--text); align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--bg-alt); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  border: 2px solid transparent;
  transition: all .2s ease;
}
.nav-item > a:hover { background: var(--bg-alt); border-color: var(--border); }
.nav-item > a.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 2px 2px 0 var(--border-dark); }

.has-mega:hover .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 620px;
  background: var(--card-bg);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 50;
}
.mega-panel::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--card-bg);
  border-left: 2px solid var(--border-dark);
  border-top: 2px solid var(--border-dark);
}
.mega-panel h4 { font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px dashed var(--border); }
.mega-panel ul li { margin-bottom: 6px; }
.mega-panel ul li a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--text); }
.mega-panel ul li a i { color: var(--primary); font-size: 13px; }
.mega-panel ul li a:hover { background: var(--bg-alt); color: var(--primary); }
.mega-feature {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  border: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mega-feature p { color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500; margin: 0; }
.mega-feature a { color: var(--accent); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mega-feature a:hover { color: #fff; }

.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 86px 0;
  border-bottom: 2px solid var(--border-dark);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,29,25,0.88) 0%, rgba(34,29,25,0.65) 60%, rgba(34,29,25,0.35) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 780px; color: #fff; }
.hero-content .hero-tag { margin-bottom: 18px; }
.hero-content h1 { font-family: var(--font-serif); font-size: clamp(28px, 4.5vw, 44px); font-weight: 700; line-height: 1.35; margin: 20px 0 18px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: rgba(255,255,255,0.85); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; backdrop-filter: blur(4px); }
.hero-meta i { color: var(--accent); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 11px; opacity: 0.6; }

.article-section { padding: 64px 0 32px; }
.article-main-card {
  background: var(--card-bg);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(58, 52, 47, 0.12);
  padding: 32px;
  margin-bottom: 48px;
}
.article-featured-image { margin: 24px 0 28px; }
.article-featured-image img { width: 100%; border-radius: var(--radius); border: 2px solid var(--border); box-shadow: var(--shadow-md); }

.article-content { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-content p { margin-bottom: 1.4em; }
.article-content h2, .article-content h3, .article-content h4 { font-family: var(--font-serif); color: var(--text); margin: 1.6em 0 0.8em; line-height: 1.4; }
.article-content h2 { font-size: 26px; padding-left: 14px; border-left: 5px solid var(--primary); }
.article-content h3 { font-size: 21px; color: var(--primary-dark); }
.article-content h4 { font-size: 18px; }
.article-content ul, .article-content ol { margin: 0 0 1.4em 1.4em; }
.article-content ul li { list-style: disc; margin-bottom: 6px; }
.article-content ol li { list-style: decimal; margin-bottom: 6px; }
.article-content blockquote {
  border-left: 5px solid var(--accent);
  background: var(--bg-alt);
  padding: 18px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.6em 0;
  font-style: italic;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.article-content img { border-radius: var(--radius); margin: 1.4em 0; box-shadow: var(--shadow-md); }
.article-content a { color: var(--primary); border-bottom: 2px solid rgba(166,80,46,0.3); }
.article-content a:hover { color: var(--primary-dark); border-bottom-color: var(--primary); }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.article-content table th, .article-content table td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; }
.article-content table th { background: var(--bg-alt); font-weight: 700; }
.article-content code { background: var(--bg-alt); padding: 2px 8px; border-radius: 4px; font-family: monospace; font-size: 0.9em; }

.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 2px dashed var(--border); }
.article-tags span { font-size: 14px; font-weight: 600; color: var(--text-light); }
.article-tags .tag { font-size: 13px; }

.sidebar-card {
  background: var(--card-bg);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 rgba(58, 52, 47, 0.08);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px dashed var(--border); position: relative; }
.sidebar-card h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 42px; height: 2px; background: var(--primary); }
.sidebar-info { display: flex; flex-direction: column; gap: 14px; }
.sidebar-info .info-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.sidebar-info .info-row i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: rgba(166,80,46,0.1); color: var(--primary); border-radius: 8px; font-size: 13px; }
.sidebar-info .info-row span { color: var(--text-light); font-size: 13px; }
.sidebar-list li { margin-bottom: 10px; }
.sidebar-list li a { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text); background: var(--bg); border: 1px solid transparent; transition: all .2s ease; }
.sidebar-list li a:hover { background: var(--bg-alt); border-color: var(--border); color: var(--primary); }
.sidebar-list li a i { color: var(--primary); font-size: 13px; margin-top: 3px; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tags a { font-size: 13px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); background: var(--bg); }
.sidebar-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.not-found-card { text-align: center; padding: 80px 40px; background: var(--card-bg); border: 2px solid var(--border-dark); border-radius: var(--radius); box-shadow: 4px 4px 0 rgba(58,52,47,0.12); }
.not-found-card i { font-size: 52px; color: var(--primary); margin-bottom: 20px; }
.not-found-card h2 { font-family: var(--font-serif); font-size: 32px; margin-bottom: 12px; }
.not-found-card p { color: var(--text-light); margin-bottom: 28px; }

.related-section { padding: 64px 0; background: var(--bg-alt); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.related-card { background: var(--card-bg); border: 2px solid var(--border-dark); border-radius: var(--radius); box-shadow: 3px 3px 0 rgba(58,52,47,0.10); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.related-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--border-dark); }
.related-card .card-img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.related-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-card:hover .card-img img { transform: scale(1.04); }
.related-card .card-img .card-date { position: absolute; top: 12px; left: 12px; background: rgba(34,29,25,0.85); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.related-card .card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.related-card .card-body h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; line-height: 1.45; margin-bottom: 10px; color: var(--text); }
.related-card .card-body h3 a:hover { color: var(--primary); }
.related-card .card-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.related-card .card-link { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.related-card .card-link:hover { color: var(--primary-dark); gap: 10px; }

.faq-section { padding: 72px 0; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border: 2px solid var(--border-dark); border-radius: var(--radius); margin-bottom: 14px; box-shadow: 2px 2px 0 rgba(58,52,47,0.06); overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg); }
.faq-item summary i { color: var(--primary); transition: transform .3s ease; }
.faq-item[open] summary i.fa-plus { transform: rotate(45deg); color: var(--secondary); }
.faq-item .faq-answer { padding: 0 22px 20px 44px; color: var(--text-light); font-size: 15px; line-height: 1.8; }
.faq-item .faq-answer a { color: var(--primary); font-weight: 500; border-bottom: 1px solid rgba(166,80,46,0.3); }

.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 0;
  border-top: 2px solid var(--border-dark);
}
.cta-overlay { position: absolute; inset: 0; background: rgba(34,29,25,0.78); }
.cta-section .container { position: relative; z-index: 2; text-align: center; }
.cta-section h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.5vw, 38px); color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 620px; margin: 0 auto 28px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.75); border-top: 4px solid var(--primary); padding: 64px 0 24px; }
.site-footer .brand-logo { color: #fff; margin-bottom: 16px; }
.site-footer .brand-logo i { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); max-width: 320px; }
.site-footer h4 { color: #fff; font-family: var(--font-serif); font-size: 17px; margin-bottom: 18px; margin-top: 12px; letter-spacing: 1px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); font-size: 14px; transition: all .2s ease; }
.site-footer ul li a i { font-size: 12px; color: var(--accent); }
.site-footer ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.4); }

@media (max-width: 1024px) {
  .section { padding: 60px 0; }
  .mega-panel { left: 0; transform: translateX(0) translateY(10px); }
  .has-mega:hover .mega-panel { transform: translateX(0) translateY(0); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 2px solid var(--border-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.nav-open { display: flex; }
  .nav-item > a { width: 100%; justify-content: space-between; padding: 12px 16px; border-radius: var(--radius-sm); }
  .mega-panel { position: static; transform: none; opacity: 1; visibility: visible; width: 100%; box-shadow: none; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-top: 8px; display: none; }
  .has-mega:hover .mega-panel { display: block; }
  .mega-panel::before { display: none; }
  .mega-feature { flex-direction: column; align-items: flex-start; }
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .page-hero { padding: 60px 0; }
  .article-main-card { padding: 20px; }
  .article-section { padding: 40px 0 24px; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .page-hero { padding: 48px 0; }
  .hero-content h1 { font-size: 28px; }
  .hero-meta { gap: 10px; }
  .hero-meta span { padding: 4px 12px; font-size: 13px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-main-card { padding: 16px; }
  .faq-item summary { font-size: 15px; padding: 14px 16px; }
  .faq-item .faq-answer { padding: 0 16px 16px 36px; }
  .related-card .card-body { padding: 18px; }
}
