/* roulang page: index */
:root {
  --primary: #0E7C8A;
  --primary-dark: #0A5B66;
  --primary-light: #EAF4F6;
  --gold: #D9A441;
  --gold-dark: #C8942E;
  --dark: #14242B;
  --body-bg: #F6F9FB;
  --card-bg: #FFFFFF;
  --text-main: #1E2A32;
  --text-sub: #5A6B76;
  --text-muted: #8A9BA3;
  --border: #E3EDF0;
  --radius-card: 14px;
  --radius-btn: 10px;
  --shadow: 0 4px 16px rgba(14,124,138,0.07);
  --shadow-hover: 0 8px 24px rgba(14,124,138,0.12);
  --transition: all 0.3s ease;
  --radius-lg: 18px;
}
* {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--body-bg);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-dark);
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea {
  font-family: inherit;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(14,124,138,0.3);
  outline-offset: 2px;
  border-radius: 6px;
}
section {
  padding: 88px 0;
}
.container {
  max-width: 1200px;
}
.text-gold {
  color: var(--gold);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 720px;
  margin-bottom: 40px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .35s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(14,124,138,.08);
}
.navbar {
  padding: 0;
  min-height: 72px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(14,124,138,.25);
}
.brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}
.brand-text em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .5px;
}
.main-nav {
  gap: 8px;
}
.main-nav .nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: 999px;
  position: relative;
}
.main-nav .nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.main-nav .nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}
.search-box input {
  width: 180px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px 0 38px;
  background: var(--body-bg);
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
}
.search-box input::placeholder {
  color: var(--text-muted);
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14,124,138,.08);
}
.nav-cta {
  height: 40px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary-custom {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14,124,138,.25);
}
.btn-primary-custom:active {
  transform: translateY(0);
}
.btn-outline-brand {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline-brand:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217,164,65,.3);
}
.btn-lg-custom {
  height: 48px;
  padding: 0 32px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
}
.navbar-toggler {
  border: none;
  padding: 8px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(14,124,138,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(10,91,102,.86), rgba(14,124,138,.72)), url('/assets/images/backpic/back-1.png') center center/cover no-repeat;
  padding: 120px 0 110px;
  overflow: hidden;
}
.hero .hero-inner {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  margin-bottom: 22px;
}
.hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 18px;
}
.hero-title .highlight {
  color: #FFE1A6;
  position: relative;
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,.92);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-actions .btn-hero {
  height: 48px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid #fff;
}
.btn-hero-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.btn-hero-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  transform: translateY(-2px);
}
.stats-bar {
  display: flex;
  gap: 40px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 24px 36px;
  backdrop-filter: blur(6px);
  max-width: 620px;
}
.stats-item {
  text-align: left;
}
.stats-item .stat-num {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.stats-item .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.78);
  margin-top: 4px;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  color: var(--body-bg);
  z-index: 3;
}

/* ===== Steps ===== */
.steps-section {
  background: var(--body-bg);
}
.steps-timeline {
  position: relative;
  margin-top: 20px;
}
.steps-timeline:before {
  content: '';
  position: absolute;
  left: 25px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--gold));
}
.step-item {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 10px 0 40px;
}
.step-icon {
  width: 52px;
  height: 52px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  box-shadow: var(--shadow);
  z-index: 1;
}
.step-content {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 30px;
  transition: var(--transition);
}
.step-content:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(14,124,138,.25);
}
.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}
.step-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}
.step-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 12px;
  border-radius: 999px;
}

/* ===== Rewards ===== */
.rewards-section {
  background: #fff;
}
.reward-row {
  display: flex;
  align-items: center;
  gap: 52px;
  margin-bottom: 48px;
}
.reward-row:last-child {
  margin-bottom: 0;
}
.reward-row:nth-child(even) {
  flex-direction: row-reverse;
}
.reward-img {
  flex: 0 0 42%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-hover);
}
.reward-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s ease;
}
.reward-img:hover img {
  transform: scale(1.04);
}
.reward-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(217,164,65,.4);
}
.reward-info {
  flex: 1;
}
.reward-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.reward-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}
.reward-desc {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 18px;
}
.reward-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.reward-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(14,124,138,.12);
}
.reward-tag.gold-tag {
  background: #FBF3E2;
  color: var(--gold-dark);
  border-color: rgba(217,164,65,.25);
}

/* ===== Progress ===== */
.progress-section {
  background: var(--primary-light);
  position: relative;
}
.progress-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px;
}
.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.progress-head .progress-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}
.progress-track {
  height: 14px;
  background: #E2ECEE;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--primary), #2BA3B1);
  border-radius: 999px;
  position: relative;
}
.progress-fill:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: rgba(255,255,255,.3);
  border-radius: 999px;
}
.task-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.task-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--body-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: var(--transition);
}
.task-item:hover {
  box-shadow: var(--shadow);
}
.task-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.task-item.done .task-check {
  background: var(--primary);
  color: #fff;
}
.task-item.pending .task-check {
  background: #E2ECEE;
  color: var(--text-muted);
}
.task-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
}
.task-item.pending .task-name {
  color: var(--text-sub);
}
.task-extra {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}
.progress-cta {
  margin-top: 28px;
  text-align: center;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(120deg, rgba(10,91,102,.88), rgba(14,124,138,.78)), url('/assets/images/backpic/back-2.webp') center center/cover no-repeat;
  text-align: center;
  color: #fff;
}
.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 14px;
}
.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,.9);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-note {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-top: 20px;
}

/* ===== News List ===== */
.news-section {
  background: var(--body-bg);
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.news-item {
  display: flex;
  gap: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  transition: var(--transition);
}
.news-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(14,124,138,.2);
}
.news-item:hover .news-title {
  color: var(--primary);
}
.news-thumb {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--primary-light);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-body {
  flex: 1;
  min-width: 0;
}
.news-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-excerpt {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.badge-cat {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}
.news-time {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.read-more {
  margin-left: auto;
  font-weight: 600;
  color: var(--primary);
  font-size: 13px;
  white-space: nowrap;
}
.read-more i {
  transition: transform .3s ease;
}
.read-more:hover {
  color: var(--primary-dark);
}
.read-more:hover i {
  transform: translateX(4px);
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
}
.empty-state i {
  font-size: 36px;
  color: #C5D5D9;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 15px;
}

/* ===== FAQ ===== */
.faq-section {
  background: #fff;
}
.accordion {
  max-width: 820px;
  margin: 0 auto;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.accordion-header {
  background: #fff;
}
.accordion-button {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  background: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 4px rgba(14,124,138,.1);
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230E7C8A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-sub);
  background: #F8FBFC;
  border-top: 1px solid var(--border);
  line-height: 1.8;
}
.accordion-body strong {
  color: var(--text-main);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: #B7C7CE;
  padding: 60px 0 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .brand-icon {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  box-shadow: none;
}
.footer-brand .brand-text {
  color: #fff;
}
.footer-brand .brand-text em {
  color: var(--gold);
}
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #8FA3AC;
  max-width: 320px;
}
.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #8FA3AC;
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}
.footer-contact p {
  font-size: 14px;
  color: #8FA3AC;
  margin-bottom: 8px;
}
.footer-contact i {
  width: 20px;
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #6F8792;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  section {
    padding: 64px 0;
  }
  .navbar {
    min-height: 64px;
  }
  .main-nav {
    margin: 12px 0;
  }
  .main-nav .nav-link {
    padding: 10px 16px;
  }
  .nav-tools {
    margin-top: 10px;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 16px;
  }
  .search-box {
    flex: 1;
  }
  .search-box input {
    width: 100%;
  }
  .hero {
    padding: 90px 0 80px;
  }
  .hero-title {
    font-size: 34px;
  }
  .stats-bar {
    flex-wrap: wrap;
    gap: 24px;
  }
  .reward-row {
    flex-direction: column;
    gap: 28px;
  }
  .reward-row:nth-child(even) {
    flex-direction: column;
  }
  .reward-img {
    flex: auto;
    width: 100%;
  }
  .task-list {
    grid-template-columns: 1fr;
  }
  .news-item {
    flex-direction: column;
  }
  .news-thumb {
    width: 100%;
    height: 160px;
  }
}
@media (max-width: 767.98px) {
  section {
    padding: 48px 0;
  }
  .hero {
    padding: 70px 0 60px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .stats-bar {
    justify-content: center;
    padding: 20px;
  }
  .stats-item {
    text-align: center;
  }
  .steps-timeline:before {
    display: none;
  }
  .step-item {
    flex-direction: column;
    gap: 14px;
    padding-bottom: 28px;
  }
  .step-icon {
    width: 46px;
    height: 46px;
    font-size: 17px;
  }
  .section-title {
    font-size: 25px;
  }
  .cta-title {
    font-size: 28px;
  }
  .cta-buttons .btn-lg-custom {
    width: 100%;
  }
  .progress-wrap {
    padding: 28px 20px;
  }
  .progress-head .progress-num {
    font-size: 26px;
  }
  .news-excerpt {
    -webkit-line-clamp: 2;
  }
  .news-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .reward-title {
    font-size: 20px;
  }
  .step-title {
    font-size: 16px;
  }
}

/* roulang page: category1 */
:root {
      --primary: #0E7C8A;
      --primary-dark: #0A5B66;
      --primary-light: #EAF4F6;
      --gold: #D9A441;
      --gold-dark: #C8942E;
      --bg-page: #F6F9FB;
      --card-bg: #FFFFFF;
      --text-main: #1E2A32;
      --text-sub: #5A6B76;
      --text-muted: #8A9BA3;
      --border-color: #E3EDF0;
      --footer-bg: #14242B;
      --radius-card: 16px;
      --radius-btn: 12px;
      --radius-badge: 999px;
      --radius-input: 10px;
      --shadow-default: 0 4px 16px rgba(14,124,138,0.07);
      --shadow-hover: 0 8px 24px rgba(14,124,138,0.12);
      --font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
      --section-space: 88px;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-family);
      color: var(--text-main);
      background-color: var(--bg-page);
      line-height: 1.8;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4, h5, h6 {
      color: var(--text-main);
      line-height: 1.3;
      font-weight: 700;
    }

    a {
      text-decoration: none;
      color: var(--primary);
      transition: color 0.25s ease;
    }

    a:hover {
      color: var(--primary-dark);
    }

    img {
      max-width: 100%;
      height: auto;
      border-radius: var(--radius-card);
    }

    .container {
      max-width: 1200px;
      padding-left: 24px;
      padding-right: 24px;
    }

    .section-block {
      padding: var(--section-space) 0;
    }

    .section-title-wrap {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title-wrap .section-subtitle {
      display: inline-block;
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
      background: var(--primary-light);
      border-radius: var(--radius-badge);
      padding: 6px 18px;
      margin-bottom: 16px;
      letter-spacing: 1px;
    }

    .section-title-wrap h2 {
      font-size: 30px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .section-title-wrap p {
      color: var(--text-sub);
      max-width: 680px;
      margin: 0 auto;
      font-size: 15px;
    }

    /* ===== Header / Nav ===== */
    .site-header {
      background: #ffffff;
      border-bottom: 1px solid var(--border-color);
      min-height: 72px;
      position: sticky;
      top: 0;
      z-index: 1030;
      box-shadow: 0 2px 12px rgba(20, 36, 43, 0.04);
    }

    .site-header .navbar {
      padding: 0;
      min-height: 72px;
    }

    .brand-logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
    }

    .brand-logo .brand-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: #ffffff;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      box-shadow: 0 4px 12px rgba(14, 124, 138, 0.22);
      flex-shrink: 0;
    }

    .brand-logo .brand-text {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: 0.5px;
      line-height: 1.2;
    }

    .brand-logo .brand-text em {
      display: block;
      font-style: normal;
      font-size: 12px;
      font-weight: 500;
      color: var(--primary);
      letter-spacing: 1.5px;
    }

    .main-nav .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-main);
      padding: 10px 18px !important;
      border-radius: 8px;
      position: relative;
      transition: color 0.25s ease, background 0.25s ease;
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link:focus {
      color: var(--primary);
      background: var(--primary-light);
    }

    .main-nav .nav-link.active {
      color: var(--primary);
      font-weight: 600;
      background: var(--primary-light);
    }

    .main-nav .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 18px;
      right: 18px;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }

    .nav-tools {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .search-box {
      display: flex;
      align-items: center;
      background: var(--bg-page);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-input);
      height: 40px;
      padding: 0 14px;
      gap: 8px;
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .search-box .fa-search {
      color: var(--text-muted);
      font-size: 14px;
    }

    .search-box input {
      border: none;
      outline: none;
      background: transparent;
      font-size: 14px;
      color: var(--text-main);
      width: 150px;
    }

    .search-box input::placeholder {
      color: var(--text-muted);
    }

    .search-box:focus-within {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(14, 124, 138, 0.12);
    }

    .navbar-toggler {
      border: 1px solid var(--border-color);
      border-radius: 10px;
      padding: 6px 10px;
    }

    .navbar-toggler:focus {
      box-shadow: 0 0 0 3px rgba(14, 124, 138, 0.15);
    }

    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(14,124,138,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* ===== Buttons ===== */
    .btn-primary-custom {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--primary);
      color: #ffffff;
      border: 1px solid var(--primary);
      border-radius: var(--radius-btn);
      height: 46px;
      padding: 0 28px;
      font-size: 15px;
      font-weight: 600;
      transition: all 0.28s ease;
      letter-spacing: 0.3px;
    }

    .btn-primary-custom:hover,
    .btn-primary-custom:focus {
      background: var(--primary-dark);
      border-color: var(--primary-dark);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(10, 91, 102, 0.24);
    }

    .btn-primary-custom:active {
      transform: translateY(0);
      box-shadow: 0 4px 12px rgba(10, 91, 102, 0.2);
    }

    .btn-primary-custom:focus-visible {
      outline: none;
      box-shadow: 0 0 0 4px rgba(14, 124, 138, 0.28);
    }

    .btn-outline-custom {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: transparent;
      color: var(--primary);
      border: 1.5px solid var(--primary);
      border-radius: var(--radius-btn);
      height: 46px;
      padding: 0 28px;
      font-size: 15px;
      font-weight: 600;
      transition: all 0.28s ease;
    }

    .btn-outline-custom:hover,
    .btn-outline-custom:focus {
      background: var(--primary-light);
      color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(14, 124, 138, 0.12);
    }

    .btn-outline-custom:active {
      transform: translateY(0);
    }

    .btn-outline-custom:focus-visible {
      outline: none;
      box-shadow: 0 0 0 4px rgba(14, 124, 138, 0.25);
    }

    .btn-gold-custom {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--gold);
      color: #ffffff;
      border: 1px solid var(--gold);
      border-radius: var(--radius-btn);
      height: 48px;
      padding: 0 32px;
      font-size: 16px;
      font-weight: 700;
      transition: all 0.28s ease;
      letter-spacing: 0.5px;
    }

    .btn-gold-custom:hover,
    .btn-gold-custom:focus {
      background: var(--gold-dark);
      border-color: var(--gold-dark);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 8px 22px rgba(217, 164, 65, 0.28);
    }

    .btn-gold-custom:active {
      transform: translateY(0);
    }

    .btn-gold-custom:focus-visible {
      outline: none;
      box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.3);
    }

    .nav-cta {
      height: 40px;
      padding: 0 20px;
      font-size: 14px;
      border-radius: 10px;
    }

    /* ===== Category Page Hero ===== */
    .page-hero {
      position: relative;
      background: linear-gradient(135deg, rgba(14, 124, 138, 0.82) 0%, rgba(10, 91, 102, 0.92) 60%, rgba(10, 91, 102, 0.95) 100%), url('/assets/images/backpic/back-1.png') center / cover no-repeat;
      padding: 80px 0 96px;
      color: #ffffff;
    }

    .page-hero .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.16);
      border: 1px solid rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(6px);
      border-radius: 999px;
      padding: 8px 20px;
      font-size: 14px;
      font-weight: 600;
      color: #ffffff;
      letter-spacing: 0.8px;
      margin-bottom: 22px;
    }

    .page-hero .hero-badge .fa-check-circle {
      color: #ffe3a3;
    }

    .page-hero h1 {
      font-size: 40px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 16px;
      letter-spacing: 1px;
    }

    .page-hero p.hero-desc {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.88);
      max-width: 700px;
      margin-bottom: 30px;
      line-height: 1.9;
    }

    .page-hero .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
    }

    .page-hero .btn-gold-custom {
      border: none;
    }

    .page-hero .btn-hero-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: transparent;
      color: #ffffff;
      border: 1.5px solid rgba(255, 255, 255, 0.7);
      border-radius: var(--radius-btn);
      height: 48px;
      padding: 0 30px;
      font-size: 15px;
      font-weight: 600;
      transition: all 0.28s ease;
    }

    .page-hero .btn-hero-outline:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: #ffffff;
      transform: translateY(-2px);
    }

    .page-hero .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      margin-top: 42px;
    }

    .page-hero .hero-meta .meta-item {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 12px 20px;
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .page-hero .hero-meta .meta-item i {
      font-size: 18px;
      color: #ffe3a3;
    }

    .page-hero .hero-meta .meta-item span {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.9);
    }

    /* ===== Login Methods / 图文交替 ===== */
    .feature-row {
      display: flex;
      align-items: center;
      gap: 40px;
      margin-bottom: 60px;
    }

    .feature-row.row-reverse {
      flex-direction: row-reverse;
    }

    .feature-image {
      flex: 0 0 46%;
    }

    .feature-image img {
      width: 100%;
      border-radius: 16px;
      box-shadow: var(--shadow-hover);
      position: relative;
      z-index: 1;
    }

    .feature-content {
      flex: 1;
    }

    .feature-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--primary-light);
      color: var(--primary);
      font-size: 13px;
      font-weight: 600;
      border-radius: 999px;
      padding: 5px 16px;
      margin-bottom: 16px;
    }

    .feature-content h3 {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 16px;
      line-height: 1.4;
    }

    .feature-content p {
      color: var(--text-sub);
      font-size: 15px;
      line-height: 1.9;
      margin-bottom: 14px;
    }

    .feature-content .feature-points {
      list-style: none;
      padding: 0;
      margin: 18px 0 0;
    }

    .feature-content .feature-points li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 8px 0;
      color: var(--text-main);
      font-size: 14px;
    }

    .feature-content .feature-points li i {
      color: var(--primary);
      margin-top: 5px;
      font-size: 14px;
    }

    /* ===== Login Steps / 时间轴 ===== */
    .steps-section {
      background: var(--primary-light);
      position: relative;
    }

    .steps-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
      opacity: 0.3;
    }

    .steps-list {
      position: relative;
      counter-reset: step;
    }

    .steps-list::before {
      content: '';
      position: absolute;
      left: 30px;
      top: 20px;
      bottom: 20px;
      width: 2px;
      background: linear-gradient(to bottom, var(--primary) 0%, var(--gold) 100%);
      opacity: 0.35;
      border-radius: 2px;
    }

    .step-item {
      display: flex;
      gap: 28px;
      padding: 24px 0;
      position: relative;
    }

    .step-number {
      width: 60px;
      height: 60px;
      background: #ffffff;
      border: 2px solid var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: 700;
      color: var(--primary);
      box-shadow: 0 0 0 5px rgba(14, 124, 138, 0.1);
      flex-shrink: 0;
      z-index: 1;
      counter-increment: step;
    }

    .step-item:first-child .step-number::before {
      content: '1';
    }

    .step-item:nth-child(2) .step-number::before {
      content: '2';
    }

    .step-item:nth-child(3) .step-number::before {
      content: '3';
    }

    .step-card {
      flex: 1;
      background: #ffffff;
      border-radius: var(--radius-card);
      padding: 24px 30px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-default);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .step-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
    }

    .step-card h4 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .step-card h4 i {
      color: var(--primary);
      font-size: 16px;
    }

    .step-card p {
      font-size: 14px;
      color: var(--text-sub);
      margin-bottom: 0;
      line-height: 1.8;
    }

    /* ===== 图文区块 2 ===== */
    .security-block {
      background: #ffffff;
    }

    .security-card {
      background: var(--bg-page);
      border-radius: var(--radius-card);
      padding: 24px;
      border: 1px solid var(--border-color);
      height: 100%;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .security-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
    }

    .security-card .security-icon {
      width: 52px;
      height: 52px;
      background: var(--primary-light);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .security-card h4 {
      font-size: 17px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .security-card p {
      font-size: 14px;
      color: var(--text-sub);
      margin-bottom: 0;
      line-height: 1.75;
    }

    /* ===== FAQ ===== */
    .faq-section {
      background: var(--bg-page);
    }

    .faq-accordion .faq-item {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 14px;
      margin-bottom: 12px;
      overflow: hidden;
      transition: box-shadow 0.3s ease;
    }

    .faq-accordion .faq-item:hover {
      box-shadow: var(--shadow-default);
    }

    .faq-accordion .faq-question {
      all: unset;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 18px 24px;
      cursor: pointer;
      font-size: 15px;
      font-weight: 600;
      color: var(--text-main);
      font-family: var(--font-family);
      text-align: left;
      gap: 16px;
    }

    .faq-accordion .faq-question .faq-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--primary-light);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      transition: transform 0.3s ease, background 0.3s ease;
      flex-shrink: 0;
    }

    .faq-accordion .faq-item.open .faq-question .faq-icon {
      transform: rotate(45deg);
      background: var(--primary);
      color: #ffffff;
    }

    .faq-accordion .faq-answer {
      padding: 0 24px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.4s ease;
      color: var(--text-sub);
      font-size: 14px;
      line-height: 1.85;
    }

    .faq-accordion .faq-item.open .faq-answer {
      padding: 0 24px 20px;
      max-height: 300px;
    }

    /* ===== CTA 区 ===== */
    .cta-section {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: '';
      position: absolute;
      top: -60px;
      right: -60px;
      width: 240px;
      height: 240px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 50%;
    }

    .cta-section::after {
      content: '';
      position: absolute;
      bottom: -30px;
      left: -30px;
      width: 140px;
      height: 140px;
      border: 2px solid rgba(255, 255, 255, 0.08);
      border-radius: 50%;
    }

    .cta-section h2 {
      color: #ffffff;
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .cta-section p {
      color: rgba(255, 255, 255, 0.85);
      font-size: 16px;
      max-width: 640px;
      margin: 0 auto 32px;
    }

    .cta-section .btn-gold-custom {
      min-width: 180px;
    }

    .cta-note {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      color: rgba(255, 255, 255, 0.7);
      font-size: 13px;
      margin-top: 22px;
    }

    .cta-note span i {
      margin-right: 6px;
      color: var(--gold);
    }

    /* ===== Footer ===== */
    .site-footer {
      background: var(--footer-bg);
      color: rgba(255, 255, 255, 0.75);
      padding: 64px 0 0;
    }

    .site-footer .footer-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }

    .site-footer .footer-brand .brand-icon {
      width: 38px;
      height: 38px;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #ffffff;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
    }

    .site-footer .footer-brand .brand-text {
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.2;
    }

    .site-footer .footer-brand .brand-text em {
      display: block;
      font-style: normal;
      font-size: 11px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.6);
      letter-spacing: 1px;
    }

    .site-footer .footer-desc {
      font-size: 14px;
      line-height: 1.9;
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 0;
    }

    .site-footer .footer-title {
      font-size: 15px;
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
    }

    .site-footer .footer-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 30px;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }

    .site-footer .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .site-footer .footer-links li {
      margin-bottom: 10px;
    }

    .site-footer .footer-links a {
      color: rgba(255, 255, 255, 0.65);
      font-size: 14px;
      transition: color 0.25s ease, padding-left 0.25s ease;
    }

    .site-footer .footer-links a:hover {
      color: var(--gold);
      padding-left: 6px;
    }

    .site-footer .footer-contact p {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.65);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .site-footer .footer-contact p i {
      color: var(--primary);
      font-size: 14px;
    }

    .site-footer .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 20px 0;
      margin-top: 50px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.45);
    }

    /* ===== Responsive ===== */
    @media (max-width: 991.98px) {
      .navbar-collapse {
        background: #ffffff;
        border-radius: 16px;
        padding: 16px;
        margin-top: 12px;
        box-shadow: 0 12px 28px rgba(14, 124, 138, 0.1);
        border: 1px solid var(--border-color);
      }

      .main-nav {
        gap: 2px;
      }

      .main-nav .nav-link.active::after {
        display: none;
      }

      .nav-tools {
        margin-top: 14px;
        width: 100%;
        flex-wrap: wrap;
      }

      .search-box {
        flex: 1;
        min-width: 160px;
      }

      .nav-cta {
        flex-shrink: 0;
      }

      .feature-row,
      .feature-row.row-reverse {
        flex-direction: column;
        gap: 24px;
      }

      .feature-image {
        flex: 0 0 100%;
      }

      .page-hero {
        padding: 60px 0 70px;
      }
    }

    @media (max-width: 767.98px) {
      :root {
        --section-space: 56px;
      }

      .section-title-wrap h2 {
        font-size: 26px;
      }

      .container {
        padding-left: 16px;
        padding-right: 16px;
      }

      .page-hero h1 {
        font-size: 28px;
        line-height: 1.35;
      }

      .page-hero p.hero-desc {
        font-size: 15px;
      }

      .page-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .page-hero .btn-gold-custom,
      .page-hero .btn-hero-outline {
        width: 100%;
      }

      .page-hero .hero-meta {
        flex-direction: column;
        gap: 10px;
      }

      .page-hero .hero-meta .meta-item {
        padding: 10px 14px;
      }

      .step-item {
        gap: 16px;
      }

      .step-number {
        width: 46px;
        height: 46px;
        font-size: 16px;
      }

      .step-card {
        padding: 18px 20px;
      }

      .step-card h4 {
        font-size: 16px;
      }

      .cta-section h2 {
        font-size: 26px;
      }

      .cta-section .btn-gold-custom {
        width: 100%;
      }

      .site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
      }
    }

    @media (max-width: 575.98px) {
      .feature-points .feature-points li {
        font-size: 13px;
      }

      .search-box input {
        width: 100%;
      }
    }

/* roulang page: article */
:root {
  --primary: #0E7C8A;
  --primary-dark: #0A5B66;
  --primary-light: #EAF4F6;
  --gold: #D9A441;
  --gold-dark: #C8942E;
  --bg: #F6F9FB;
  --card: #FFFFFF;
  --text: #1E2A32;
  --text-2: #5A6B76;
  --text-3: #8A9BA3;
  --border: #E3EDF0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 16px rgba(14,124,138,.07);
  --shadow-hover: 0 8px 24px rgba(14,124,138,.12);
  --transition: all .3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .3s;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  --bs-gutter-x: 24px;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .container {
    --bs-gutter-x: 16px;
  }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .35s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(14, 124, 138, .08);
}

.site-header .navbar {
  min-height: 72px;
  padding: 8px 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.brand-logo:hover .brand-icon {
  transform: rotate(-6deg) scale(1.05);
}

.brand-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .3px;
}

.brand-text em {
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
}

.main-nav .nav-link {
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}

.main-nav .nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.main-nav .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.main-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 210px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 124, 138, .12);
}

.search-box i {
  color: var(--text-3);
  font-size: 14px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--text);
}

.navbar-toggler {
  border: none;
  padding: 6px;
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid rgba(14, 124, 138, .35);
  outline-offset: 2px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230E7C8A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 16px;
    border-radius: 14px;
    box-shadow: var(--shadow-hover);
    margin-top: 12px;
  }

  .nav-tools {
    margin-top: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    width: 100%;
  }

  .nav-cta {
    width: 100%;
  }

  .main-nav .nav-link.active::after {
    display: none;
  }

  .main-nav .nav-link.active {
    background: var(--primary-light);
  }
}

/* ===== Buttons ===== */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 124, 138, .25);
}

.btn-primary-custom:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(14, 124, 138, .2);
}

.btn-primary-custom:focus-visible {
  outline: 3px solid rgba(14, 124, 138, .35);
  outline-offset: 2px;
}

.nav-cta {
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* ===== Breadcrumb ===== */
.breadcrumb-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  color: var(--text-3);
}

.breadcrumb-list li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--border);
  font-weight: 400;
}

.breadcrumb-list a {
  color: var(--text-3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .3s;
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

.breadcrumb-list li.active {
  color: var(--text);
  font-weight: 500;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 576px) {
  .breadcrumb-list {
    font-size: 13px;
  }

  .breadcrumb-list li.active {
    max-width: 180px;
  }
}

/* ===== Article Section ===== */
.article-section {
  padding: 48px 0 64px;
}

.article-layout {
  max-width: 780px;
  margin: 0 auto;
}

.article-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 44px;
  border: 1px solid var(--border);
  transition: box-shadow .3s ease;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text);
  word-break: break-word;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.badge-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  transition: var(--transition);
}

.badge-category:hover {
  background: var(--primary);
  color: #fff;
}

.meta-item {
  color: var(--text-3);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-summary {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 16px 0 0;
  padding: 14px 18px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Article Body ===== */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
  word-break: break-word;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  line-height: 1.4;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body a {
  color: var(--primary);
  font-weight: 500;
  border-bottom: 1px solid rgba(14, 124, 138, .3);
  transition: var(--transition);
}

.article-body a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.8;
  padding-left: 4px;
}

.article-body blockquote {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--text);
  font-style: normal;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 24px auto;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.article-body th,
.article-body td {
  padding: 12px 14px;
  border: 1px solid var(--border);
}

.article-body th {
  background: var(--primary-light);
  font-weight: 600;
  color: var(--text);
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ===== Not Found ===== */
.article-not-found {
  text-align: center;
  padding: 60px 20px;
}

.not-found-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: 20px;
  color: var(--primary);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-not-found h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.article-not-found p {
  color: var(--text-3);
  margin-bottom: 24px;
}

/* ===== Article Pager ===== */
.article-pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pager-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
  flex: 1;
  max-width: 260px;
}

.pager-link strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  display: block;
  transition: color .3s;
}

.pager-link i {
  color: var(--primary);
  font-size: 14px;
}

.pager-link:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: #fff;
}

.pager-link:hover strong {
  color: var(--primary);
}

.pager-home {
  justify-content: center;
  max-width: 170px;
  background: var(--primary-light);
  border-color: transparent;
}

.pager-home:hover {
  background: var(--primary);
  color: #fff;
}

.pager-home:hover i {
  color: #fff;
}

/* ===== Related Section ===== */
.related-section {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin: 12px auto 0;
}

.section-head p {
  color: var(--text-3);
  font-size: 15px;
  margin-top: 10px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  height: 100%;
  transition: var(--transition);
}

.related-card:hover {
  background: #fff;
  border-color: rgba(14, 124, 138, .25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.related-card img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.related-body {
  min-width: 0;
}

.related-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-body p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-body a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.related-body a:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ===== Footer ===== */
.site-footer {
  background: #14242B;
  color: #A7B8BF;
  padding-top: 64px;
}

.site-footer .container {
  padding-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-icon {
  background: var(--primary);
  color: #fff;
}

.footer-brand .brand-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-brand .brand-text em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #8FA3AC;
  max-width: 360px;
  margin-top: 12px;
}

.footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #8FA3AC;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .6;
  transition: opacity .3s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact p {
  color: #8FA3AC;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--gold);
  width: 18px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6E8289;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .article-section {
    padding: 32px 0 48px;
  }

  .article-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .article-header h1 {
    font-size: 26px;
  }

  .article-meta {
    gap: 10px;
  }

  .meta-item {
    font-size: 13px;
  }

  .article-body h2 {
    font-size: 21px;
  }

  .article-body h3 {
    font-size: 18px;
  }

  .related-section {
    padding: 48px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .related-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-card img {
    width: 100%;
    height: 150px;
  }

  .article-pager {
    flex-direction: column;
  }

  .pager-link,
  .pager-home {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .brand-text {
    font-size: 17px;
  }

  .article-header .badge-category {
    font-size: 12px;
  }

  .article-body {
    font-size: 15px;
  }

  .article-summary {
    font-size: 13px;
    padding: 12px 14px;
  }
}
