:root {
  --xg-green: #0e9d59;
  --xg-green-dark: #0a7a45;
  --xg-green-deep: #064a31;
  --xg-green-rgb: 14, 157, 89;
  --xg-blue: #2570bb;
  --xg-blue-dark: #1d558f;
  --xg-navy: #15212f;
  --xg-ink: #1b2733;
  --xg-muted: #5f6b7a;
  --xg-soft: #f4f8f6;
  --xg-soft-green: #e7f6ee;
  --xg-line: #e3e9ee;
  --xg-white: #fff;
  --xg-accent: #ec6a2c;
  --xg-accent-dark: #cf5618;
  --xg-gold: #f5a623;
  --xg-radius: 10px;
  --xg-shadow: 0 16px 42px rgba(16, 36, 63, .10);
}

body {
  background: #fff;
  color: var(--xg-ink);
  overflow-x: clip;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--xg-blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--xg-green-dark);
}

.site-content,
.inside-article {
  padding: 0;
}

/* GeneratePress layout "Separate Containers" thêm margin 20px quanh .site-main,
   khiến slider/section full-width bị thụt vào và lệch. Bỏ margin để tràn viền đúng thiết kế.
   (Selector đặc hiệu hơn rule gốc của GP nên luôn thắng, dù bật layout nào.) */
body.separate-containers .site-main,
.separate-containers .site-main {
  margin: 0;
}

.inside-header {
  align-items: center;
  padding-block: 10px;
}

.site-logo,
.site-branding {
  display: none;
}

.xg-header-logo {
  align-items: center;
  display: flex;
}

.xg-header-logo img {
  display: block;
  height: auto;
  max-height: 82px;
  max-width: 340px;
  object-fit: contain;
  width: auto;
}

.main-title {
  font-size: 0;
}

.main-title a {
  font-size: 0;
}

.xg-container {
  margin-inline: auto;
  width: min(1160px, calc(100% - 36px));
}

.xg-banner-slider {
  aspect-ratio: 1600 / 667;
  background: #fff;
  border-bottom: 1px solid var(--xg-line);
  overflow: hidden;
  position: relative;
}

.xg-slider-track {
  animation: xgSlide 20s infinite;
  display: flex;
  height: 100%;
  width: 400%;
}

.xg-slide {
  flex: 0 0 25%;
  height: 100%;
  margin: 0;
}

.xg-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.xg-slider-dots {
  bottom: 14px;
  display: flex;
  gap: 7px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.xg-slider-dots span {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,34,53,.18);
  border-radius: 999px;
  height: 8px;
  width: 28px;
}

@keyframes xgSlide {
  0%, 21% { transform: translateX(0); }
  26%, 46% { transform: translateX(-25%); }
  51%, 71% { transform: translateX(-50%); }
  76%, 96% { transform: translateX(-75%); }
  100% { transform: translateX(0); }
}

.xg-section {
  padding: 68px 0;
}

.xg-seo-intro {
  background: #fff;
  border-bottom: 1px solid var(--xg-line);
  padding: 34px 0 30px;
  text-align: center;
}

.xg-seo-intro h1 {
  color: var(--xg-ink);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0 auto 10px;
  max-width: 980px;
  overflow-wrap: break-word;
}

.xg-seo-intro p {
  color: var(--xg-muted);
  font-size: 17px;
  margin: 0 auto;
  max-width: 820px;
}

.xg-section-alt {
  background: var(--xg-soft);
}

.xg-eyebrow {
  align-items: center;
  background: var(--xg-soft-green);
  border: 1px solid rgba(var(--xg-green-rgb), .18);
  border-radius: 999px;
  color: var(--xg-green-dark);
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 16px;
  padding: 7px 12px;
  text-transform: uppercase;
}

.xg-section-title {
  color: var(--xg-ink);
  font-size: clamp(27px, 3.1vw, 40px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.14;
  margin: 0 0 14px;
  max-width: 780px;
  overflow-wrap: break-word;
}

.xg-section-lead {
  color: var(--xg-muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 30px;
  max-width: 760px;
}

.xg-hero {
  background:
    linear-gradient(135deg, rgba(238,246,242,.96), rgba(246,248,250,.98)),
    linear-gradient(135deg, #fff, #eef6f2);
  color: var(--xg-ink);
  overflow: hidden;
  padding: 60px 0 48px;
  position: relative;
}

.xg-hero::after {
  background: var(--xg-line);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  bottom: 0;
}

.xg-hero-grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(360px, .78fr) minmax(420px, 1.22fr);
}

.xg-brand-logo {
  display: block;
  height: auto;
  margin: 0 0 18px;
  max-width: 310px;
  width: 62%;
}

.xg-hero h1 {
  color: var(--xg-ink);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 820px;
}

.xg-hero p {
  color: var(--xg-muted);
}

.xg-hero-sub {
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 650;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 660px;
}

.xg-hotline {
  align-items: center;
  border-radius: var(--xg-radius);
  display: inline-flex;
  gap: 14px;
  margin-bottom: 22px;
}

.xg-hotline-large {
  background: #fff;
  border: 1px solid var(--xg-line);
  box-shadow: 0 14px 34px rgba(23,34,53,.08);
  color: var(--xg-ink);
  padding: 12px 16px;
}

.xg-hotline-large span {
  color: var(--xg-muted);
  font-size: 14px;
  font-weight: 850;
}

.xg-hotline-large strong {
  color: var(--xg-green-dark);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}

.xg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.xg-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.xg-btn:hover {
  transform: translateY(-1px);
}

.xg-btn-primary {
  background: var(--xg-green-dark);
  color: #fff;
}

.xg-btn-green {
  background: var(--xg-green);
  color: #fff;
}

.xg-btn-zalo,
.xg-btn-blue {
  background: var(--xg-blue-dark);
  color: #fff;
}

.xg-btn-ghost,
.xg-btn-outline {
  background: #fff;
  border-color: var(--xg-line);
  color: var(--xg-ink);
}

.xg-hero-actions .xg-btn {
  min-width: 148px;
}

.xg-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.xg-trust-list li {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 999px;
  color: var(--xg-ink);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 13px;
}

.xg-hero-media {
  position: relative;
}

.xg-hero-media img {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(23,34,53,.10);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.xg-hero-badge {
  background: rgba(255,255,255,.96);
  border-radius: var(--xg-radius);
  bottom: 16px;
  border: 1px solid var(--xg-line);
  box-shadow: 0 14px 34px rgba(23,34,53,.10);
  color: var(--xg-ink);
  left: 16px;
  padding: 12px 15px;
  position: absolute;
  width: min(280px, calc(100% - 36px));
}

.xg-hero-badge strong {
  color: var(--xg-green-dark);
  display: block;
  font-size: 24px;
  line-height: 1;
}

.xg-hero-badge span {
  color: var(--xg-muted);
  display: block;
  font-size: 13px;
  font-weight: 750;
  margin-top: 6px;
}

.xg-booking-band {
  background: #fff;
  border-bottom: 1px solid var(--xg-line);
  padding: 50px 0;
}

.xg-booking-grid,
.xg-price-grid,
.xg-faq-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
}

.xg-form {
  display: grid;
  gap: 12px;
}

.xg-booking {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 14px;
  box-shadow: var(--xg-shadow);
  margin: 0;
  padding: 22px;
}

.xg-form input,
.xg-form select,
.xg-form textarea {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 9px;
  color: var(--xg-ink);
  min-height: 48px;
  padding: 11px 13px;
  width: 100%;
}

.xg-form input:focus,
.xg-form select:focus,
.xg-form textarea:focus {
  border-color: var(--xg-green);
  box-shadow: 0 0 0 3px rgba(var(--xg-green-rgb),.14);
  outline: none;
}

.xg-route-list,
.xg-benefit-grid,
.xg-review-grid,
.xg-blog-grid,
.xg-step-grid,
.xg-gallery-grid {
  display: grid;
  gap: 20px;
}

.xg-benefit-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xg-route-list-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.xg-review-grid,
.xg-blog-grid,
.xg-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xg-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xg-card,
.xg-review,
.xg-post-card,
.xg-step {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: var(--xg-radius);
  box-shadow: 0 8px 24px rgba(23, 34, 53, .045);
  padding: 22px;
}

.xg-card h3,
.xg-review h3,
.xg-post-card h3,
.xg-post-card h2,
.xg-step h3 {
  color: var(--xg-ink);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 9px;
}

.xg-post-card h2 a,
.xg-post-card h3 a {
  color: var(--xg-ink);
  text-decoration: none;
}

.xg-post-card h2 a:hover,
.xg-post-card h3 a:hover {
  color: var(--xg-green-dark);
}

.xg-card p,
.xg-review p,
.xg-post-card p,
.xg-step p {
  color: var(--xg-muted);
  margin: 0;
}

.xg-icon {
  align-items: center;
  background: var(--xg-soft-green);
  border-radius: 999px;
  color: var(--xg-green-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 14px;
  width: 44px;
}

.xg-route-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.xg-route-card h3 a {
  color: var(--xg-ink);
  text-decoration: none;
}

.xg-route-price {
  color: var(--xg-green-dark);
  display: block;
  font-size: 17px;
  font-weight: 900;
  margin: 12px 0 16px;
}

.xg-mini-cta {
  background: var(--xg-soft);
  border: 1px solid var(--xg-line);
  border-radius: 9px;
  color: var(--xg-ink);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  margin-top: auto;
  padding: 10px 12px;
  text-decoration: none;
}

.xg-price-table-wrap {
  overflow-x: auto;
}

.xg-price-table {
  background: #fff;
  border-collapse: collapse;
  border-radius: 14px;
  box-shadow: var(--xg-shadow);
  overflow: hidden;
  width: 100%;
}

.xg-price-table th,
.xg-price-table td {
  border-bottom: 1px solid var(--xg-line);
  padding: 17px 20px;
  text-align: left;
}

.xg-price-table th {
  background: var(--xg-navy);
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.xg-price-table td:last-child {
  color: var(--xg-green-dark);
  font-weight: 900;
}

.xg-step span {
  align-items: center;
  background: var(--xg-navy);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  margin-bottom: 16px;
  width: 40px;
}

.xg-review-head {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.xg-review small {
  color: var(--xg-muted);
  display: block;
  font-weight: 750;
  margin-top: -5px;
}

.xg-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--xg-green), var(--xg-blue));
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.xg-stars {
  color: var(--xg-gold);
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 2px;
}

.xg-gallery-grid figure {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: var(--xg-radius);
  box-shadow: 0 10px 28px rgba(16, 36, 63, .06);
  margin: 0;
  overflow: hidden;
}

.xg-gallery-grid img,
.xg-post-card img,
.xg-thumb-fallback {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.xg-gallery-grid figcaption {
  color: var(--xg-ink);
  font-weight: 850;
  padding: 13px 15px;
}

.xg-post-card {
  overflow: hidden;
  padding: 0;
}

.xg-post-card img,
.xg-thumb-fallback {
  border-radius: var(--xg-radius) var(--xg-radius) 0 0;
  margin: 0;
}

.xg-thumb-fallback {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(16,36,63,.88), rgba(var(--xg-green-rgb),.70)),
    url("../img/hero-xe-ghep.svg") center / cover no-repeat;
  color: #fff;
  display: flex;
  font-size: 21px;
  font-weight: 900;
  padding: 18px;
  text-decoration: none;
}

.xg-post-card .xg-post-cat,
.xg-post-card h3,
.xg-post-card p {
  margin-left: 20px;
  margin-right: 20px;
}

/* Tiêu đề thẻ ở trang chuyên mục (archive dùng h2) */
.xg-post-card h2 {
  margin: 18px 20px 9px;
}

.xg-post-card .xg-post-cat {
  color: var(--xg-green-dark);
  display: inline-block;
  font-size: 13px;
  font-weight: 850;
  margin-top: 18px;
  text-decoration: none;
}

.xg-post-card p {
  margin-bottom: 22px;
}

.xg-faq-list {
  display: grid;
  gap: 12px;
}

.xg-faq-list details {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: var(--xg-radius);
  padding: 17px 19px;
}

.xg-faq-list summary {
  color: var(--xg-ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 850;
}

.xg-faq-list p {
  color: var(--xg-muted);
  margin: 12px 0 0;
}

.xg-cta {
  background:
    linear-gradient(135deg, var(--xg-navy) 10%, var(--xg-green-deep) 75%, var(--xg-green-dark) 100%);
  color: #fff;
}

.xg-cta h2,
.xg-cta p,
.xg-cta .xg-eyebrow {
  color: #fff;
}

.xg-cta .xg-eyebrow {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

.xg-hero .xg-eyebrow {
  background: #fff;
  border-color: var(--xg-line);
  color: var(--xg-green-dark);
}

.xg-cta-inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
}

.xg-footer-seo {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(var(--xg-green-rgb), .22), transparent 60%),
    var(--xg-navy);
  color: #b9c6d6;
  padding: 0;
}

.xg-footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  padding: 56px 0 44px;
}

.xg-footer-seo h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: .3px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  position: relative;
}

.xg-footer-seo h3::after {
  background: var(--xg-green);
  border-radius: 2px;
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 34px;
}

.xg-footer-logo {
  background: #fff;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 16px;
}

.xg-footer-logo img {
  display: block;
  height: auto;
  width: 190px;
}

.xg-footer-desc {
  color: #aebccd;
  margin: 0 0 18px;
  max-width: 420px;
}

.xg-footer-contact {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.xg-footer-contact li {
  align-items: flex-start;
  color: #cdd8e6;
  display: flex;
  gap: 10px;
}

.xg-footer-contact svg {
  color: var(--xg-green);
  flex: 0 0 auto;
  height: 20px;
  margin-top: 2px;
  width: 20px;
}

.xg-footer-contact a {
  color: #cdd8e6;
  text-decoration: none;
}

.xg-footer-contact a:hover {
  color: #fff;
}

.xg-footer-social {
  display: flex;
  gap: 10px;
}

.xg-soc {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  padding: 9px 14px;
  text-decoration: none;
  transition: transform .18s ease, opacity .18s ease;
}

.xg-soc svg {
  fill: currentColor;
}

.xg-soc:hover {
  color: #fff;
  transform: translateY(-2px);
}

.xg-soc-zalo {
  background: var(--xg-blue-dark);
}

.xg-soc-fb {
  background: #1877f2;
}

.xg-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.xg-footer-col li {
  margin: 0 0 11px;
}

.xg-footer-col a {
  color: #b9c6d6;
  text-decoration: none;
  transition: color .15s ease, padding-left .15s ease;
}

.xg-footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.xg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.xg-footer-bottom .xg-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding: 20px 0;
}

.xg-footer-bottom p {
  color: #8c9bad;
  font-size: 14px;
  margin: 0;
}

.xg-sticky-mobile {
  background: #fff;
  border-top: 1px solid var(--xg-line);
  bottom: 0;
  box-shadow: 0 -8px 24px rgba(16,36,63,.12);
  display: none;
  gap: 8px;
  left: 0;
  padding: 8px;
  position: fixed;
  right: 0;
  z-index: 999;
}

.xg-sticky-mobile .xg-btn {
  flex: 1;
  min-height: 44px;
  padding: 10px;
}

.xg-breadcrumb {
  color: var(--xg-muted);
  font-size: 14px;
  margin: 18px 0;
}

.xg-article-wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 320px;
  padding: 34px 0 64px;
}

.xg-toc,
.xg-related,
.xg-sidebar-box {
  background: var(--xg-soft);
  border: 1px solid var(--xg-line);
  border-radius: var(--xg-radius);
  padding: 18px;
}

.xg-entry-content h2 {
  margin-top: 34px;
}

.xg-entry-content .xg-inline-cta {
  background: var(--xg-soft-green);
  border: 1px solid rgba(var(--xg-green-rgb), .25);
  border-left: 4px solid var(--xg-green);
  border-radius: 10px;
  margin: 24px 0;
  padding: 14px 18px;
}

.xg-entry-content .xg-inline-cta a {
  font-weight: 800;
}

.xg-entry-content img {
  border-radius: var(--xg-radius);
  height: auto;
  max-width: 100%;
}

@media (max-width: 1080px) {
  .xg-route-list-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .xg-hero-grid,
  .xg-booking-grid,
  .xg-price-grid,
  .xg-faq-grid,
  .xg-cta-inner,
  .xg-article-wrap {
    grid-template-columns: 1fr;
  }

  .xg-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .xg-footer-about {
    grid-column: 1 / -1;
  }

  .xg-brand-logo {
    max-width: 280px;
  }

  .xg-benefit-grid-six,
  .xg-review-grid,
  .xg-blog-grid,
  .xg-step-grid,
  .xg-gallery-grid,
  .xg-route-list-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 68px;
  }

  .xg-container {
    width: min(100% - 28px, 1160px);
  }

  .xg-section {
    padding: 52px 0;
  }

  .xg-seo-intro {
    padding: 26px 0 24px;
    text-align: left;
  }

  .xg-seo-intro h1 {
    font-size: 24px;
  }

  .xg-section-title {
    font-size: 22px;
  }

  .xg-seo-intro p {
    font-size: 16px;
  }

  .xg-header-logo img {
    max-height: 58px;
    max-width: 245px;
  }

  .xg-slider-dots {
    bottom: 8px;
  }

  .xg-hero {
    padding: 48px 0 38px;
  }

  .xg-hero h1 {
    font-size: 32px;
  }

  .xg-brand-logo {
    width: 78%;
  }

  .xg-hero-sub {
    font-size: 16px;
  }

  .xg-benefit-grid-six,
  .xg-route-list-five,
  .xg-review-grid,
  .xg-blog-grid,
  .xg-step-grid,
  .xg-gallery-grid {
    grid-template-columns: 1fr;
  }

  .xg-hotline-large {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .xg-actions {
    flex-direction: column;
  }

  .xg-btn {
    width: 100%;
  }

  .xg-hero-badge {
    position: static;
    margin-top: 12px;
    width: 100%;
  }

  .xg-booking {
    padding: 18px;
  }

  .xg-sticky-mobile {
    display: flex;
  }
}

/* Ẩn footer mặc định GeneratePress — dùng footer tuỳ biến xg-footer-seo trên mọi trang. */
.site-footer {
  display: none;
}

.xg-intro-actions {
  justify-content: center;
  margin-top: 20px;
}

.xg-benefit-card {
  text-align: center;
}

.xg-feature-icon {
  align-items: center;
  background: var(--xg-soft-green);
  border: 1px solid rgba(var(--xg-green-rgb),.16);
  border-radius: 50%;
  color: var(--xg-green-dark);
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  margin-bottom: 16px;
  width: 52px;
}

.xg-featured-routes {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xg-featured-route {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(23,34,53,.07);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.xg-route-image {
  background: var(--xg-soft);
  display: block;
  overflow: hidden;
}

.xg-route-image img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform .25s ease;
  width: 100%;
}

.xg-route-image:hover img {
  transform: scale(1.025);
}

.xg-route-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.xg-route-label {
  color: var(--xg-green-dark);
  font-size: 13px;
  font-weight: 850;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.xg-featured-route h3 {
  font-size: 21px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.xg-featured-route h3 a {
  color: var(--xg-ink);
  text-decoration: none;
}

.xg-featured-price {
  color: var(--xg-accent);
  display: block;
  font-size: 27px;
  line-height: 1;
  margin-bottom: 16px;
}

.xg-featured-price small {
  color: var(--xg-muted);
  font-size: 14px;
  font-weight: 750;
}

.xg-featured-route ul {
  color: var(--xg-muted);
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.xg-featured-route li {
  border-bottom: 1px solid var(--xg-line);
  padding: 8px 0;
}

.xg-featured-route li::before {
  color: var(--xg-green);
  content: "✓";
  font-weight: 900;
  margin-right: 9px;
}

.xg-route-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
}

.xg-route-actions .xg-btn {
  min-height: 46px;
  padding-inline: 10px;
  width: 100%;
}

.xg-price-table td:last-child {
  font-size: 19px;
}

.xg-area-grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
}

.xg-area-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.xg-area-list li {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 8px;
  color: var(--xg-ink);
  font-weight: 800;
  padding: 12px 14px;
}

.xg-area-list li::before {
  color: var(--xg-green);
  content: "✓";
  margin-right: 9px;
}

.xg-map {
  border: 1px solid var(--xg-line);
  border-radius: 12px;
  box-shadow: var(--xg-shadow);
  min-height: 420px;
  overflow: hidden;
}

.xg-map iframe {
  border: 0;
  display: block;
  height: 420px;
  width: 100%;
}

.xg-gallery-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xg-step-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xg-review blockquote {
  border: 0;
  color: var(--xg-ink);
  font-size: 18px;
  font-style: normal;
  margin: 14px 0 20px;
  padding: 0;
}

.xg-review > h3 {
  margin-bottom: 2px;
}

@media (max-width: 920px) {
  .xg-area-grid {
    grid-template-columns: 1fr;
  }

  .xg-featured-routes,
  .xg-gallery-six,
  .xg-step-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .xg-featured-routes,
  .xg-gallery-six,
  .xg-step-grid-four,
  .xg-footer-grid,
  .xg-area-list {
    grid-template-columns: 1fr;
  }

  .xg-featured-route {
    padding: 0;
  }

  .xg-featured-route h3 {
    font-size: 22px;
  }

  .xg-map,
  .xg-map iframe {
    height: 340px;
    min-height: 340px;
  }
}

/* ============================================================
   v2 — Icon SVG, menu điều hướng, nút liên hệ nổi, tinh chỉnh
   ============================================================ */

/* SVG icon trong card lợi ích */
.xg-feature-icon svg {
  fill: currentColor;
  height: 26px;
  width: 26px;
}

.xg-benefit-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.xg-benefit-card:hover {
  border-color: rgba(var(--xg-green-rgb), .35);
  box-shadow: 0 18px 40px rgba(16, 36, 63, .10);
  transform: translateY(-3px);
}

/* ---- Menu điều hướng (GeneratePress) theo tông xanh ---- */
.main-navigation,
.main-navigation .inside-navigation {
  background: transparent;
}

.main-navigation .main-nav ul li a {
  color: var(--xg-ink);
  font-weight: 700;
  letter-spacing: .1px;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-parent > a {
  color: var(--xg-green-dark);
}

.main-navigation .main-nav ul li.current-menu-item > a {
  box-shadow: inset 0 -3px 0 var(--xg-green);
}

/* Submenu (dropdown Tuyến xe) */
.main-navigation .main-nav ul ul {
  border-top: 3px solid var(--xg-green);
  box-shadow: var(--xg-shadow);
}

/* ---- Nút liên hệ nổi (desktop) ---- */
.xg-float-contact {
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: fixed;
  right: 18px;
  z-index: 998;
}

.xg-float-btn {
  align-items: center;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  position: relative;
  text-decoration: none;
  width: 56px;
}

.xg-float-zalo {
  background: var(--xg-blue-dark);
}

.xg-float-call {
  background: var(--xg-green);
}

.xg-float-btn svg {
  position: relative;
  z-index: 2;
}

.xg-float-ring {
  animation: xgPulse 1.8s ease-out infinite;
  border-radius: 999px;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.xg-float-zalo .xg-float-ring {
  box-shadow: 0 0 0 0 rgba(29, 79, 134, .55);
}

.xg-float-call .xg-float-ring {
  box-shadow: 0 0 0 0 rgba(var(--xg-green-rgb), .55);
}

.xg-float-label {
  background: #172235;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-right: 10px;
  opacity: 0;
  padding: 8px 12px;
  pointer-events: none;
  position: absolute;
  right: 100%;
  transform: translateX(8px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}

.xg-float-btn:hover .xg-float-label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes xgPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--xg-green-rgb), .5); }
  70% { box-shadow: 0 0 0 16px rgba(var(--xg-green-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--xg-green-rgb), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .xg-float-ring { animation: none; }
}

/* Ẩn nút nổi trên mobile vì đã có thanh sticky dưới cùng */
@media (max-width: 640px) {
  .xg-float-contact {
    display: none;
  }

}

/* ============================================================
   v3 — Hero, thanh số liệu, review, trang bài viết, nút bấm
   ============================================================ */

/* ---- Hero intro nâng cấp ---- */
.xg-seo-intro {
  background:
    radial-gradient(900px 300px at 50% -40%, rgba(var(--xg-green-rgb), .10), transparent 70%),
    linear-gradient(180deg, #f3faf6 0%, #fff 100%);
  padding-block: 44px 40px;
}

.xg-intro-eyebrow {
  margin-inline: auto;
}

.xg-intro-actions {
  justify-content: center;
}

.xg-intro-actions .xg-btn {
  min-width: 200px;
}

/* ---- Thanh số liệu uy tín ---- */
.xg-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 30px auto 0;
  max-width: 760px;
  padding: 0;
}

.xg-stats li {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(16, 36, 63, .05);
  padding: 16px 10px;
}

.xg-stats strong {
  color: var(--xg-green-dark);
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1;
}

.xg-stats span {
  color: var(--xg-muted);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
}

/* ---- Nút bấm: thêm chiều sâu ---- */
.xg-btn-green {
  box-shadow: 0 8px 18px rgba(var(--xg-green-rgb), .22);
}

.xg-btn-zalo,
.xg-btn-blue {
  box-shadow: 0 8px 18px rgba(29, 79, 134, .22);
}

.xg-btn:hover {
  box-shadow: 0 12px 26px rgba(16, 36, 63, .18);
}

/* ---- Review: attribution dưới trích dẫn ---- */
.xg-review {
  display: flex;
  flex-direction: column;
}

.xg-review blockquote {
  flex: 1;
  margin: 14px 0 18px;
}

.xg-review .xg-review-head {
  border-top: 1px solid var(--xg-line);
  margin: 0;
  padding-top: 16px;
}

.xg-review .xg-review-head h3 {
  font-size: 16px;
  margin: 0;
}

/* ---- Trang bài viết đơn (single) ---- */
.entry-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 850;
  line-height: 1.18;
  margin: 6px 0 10px;
}

.entry-meta {
  color: var(--xg-muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.post-thumbnail {
  margin: 0 0 26px;
}

.post-thumbnail img {
  border-radius: 14px;
  box-shadow: var(--xg-shadow);
  height: auto;
  width: 100%;
}

.xg-entry-content {
  color: #28323f;
  font-size: 17.5px;
  line-height: 1.8;
}

.xg-entry-content p {
  margin: 0 0 20px;
}

.xg-entry-content h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 850;
  line-height: 1.25;
  margin: 40px 0 14px;
  padding-left: 14px;
  position: relative;
  scroll-margin-top: 90px;
}

.xg-entry-content h2::before {
  background: var(--xg-green);
  border-radius: 3px;
  bottom: 4px;
  content: "";
  left: 0;
  position: absolute;
  top: 4px;
  width: 5px;
}

.xg-entry-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 28px 0 10px;
}

.xg-entry-content ul,
.xg-entry-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.xg-entry-content li {
  margin-bottom: 8px;
}

.xg-entry-content a {
  font-weight: 700;
}

.xg-entry-content strong {
  color: var(--xg-ink);
}

/* Mục lục */
.xg-toc {
  margin-bottom: 26px;
}

.xg-toc strong {
  color: var(--xg-ink);
  display: block;
  font-size: 15px;
  margin-bottom: 10px;
}

.xg-toc ol {
  margin: 0;
  padding-left: 20px;
}

.xg-toc li {
  margin-bottom: 7px;
}

.xg-toc a {
  text-decoration: none;
}

.xg-toc a:hover {
  text-decoration: underline;
}

/* Sidebar dính khi cuộn */
.xg-sidebar {
  align-self: start;
}

.xg-sidebar-box {
  position: sticky;
  top: 24px;
}

.xg-sidebar-box h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.xg-related ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.xg-related li {
  margin-bottom: 8px;
}

@media (max-width: 920px) {
  .xg-sidebar-box {
    position: static;
  }
}

@media (max-width: 640px) {
  .xg-stats {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xg-intro-actions .xg-btn {
    min-width: 0;
  }

  .xg-entry-content {
    font-size: 17px;
  }
}

/* ---- Hotline trên header (desktop) ---- */
.xg-header-cta {
  margin-left: auto;
}

.xg-header-phone {
  align-items: center;
  background: var(--xg-soft-green);
  border: 1px solid rgba(var(--xg-green-rgb), .2);
  border-radius: 12px;
  color: var(--xg-ink);
  display: inline-flex;
  gap: 11px;
  padding: 8px 16px 8px 12px;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}

.xg-header-phone:hover {
  box-shadow: 0 10px 24px rgba(var(--xg-green-rgb), .18);
  color: var(--xg-ink);
  transform: translateY(-1px);
}

.xg-header-phone-ico {
  align-items: center;
  background: var(--xg-green);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.xg-header-phone-text small {
  color: var(--xg-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.xg-header-phone-text strong {
  color: var(--xg-green-dark);
  display: block;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .xg-header-cta {
    display: none;
  }
}

/* ---- Dải CTA trước footer ---- */
.xg-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}

.xg-cta-actions .xg-btn {
  font-size: 18px;
  min-height: 56px;
}

@media (max-width: 920px) {
  .xg-cta-actions {
    min-width: 0;
  }
}

/* ============================================================
   v4 — Trang Bảng giá
   ============================================================ */
.xg-price-block {
  margin-bottom: 40px;
}

.xg-price-head {
  margin-bottom: 18px;
}

.xg-price-head .xg-section-title {
  margin-bottom: 8px;
}

.xg-price-tag {
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .3px;
  margin-bottom: 12px;
  padding: 6px 14px;
  text-transform: uppercase;
}

.xg-price-tag-green { background: var(--xg-green); }
.xg-price-tag-blue { background: var(--xg-blue-dark); }
.xg-price-tag-amber { background: var(--xg-accent); }

.xg-pricing-page .xg-price-table th:last-child,
.xg-pricing-page .xg-price-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.xg-pricing-page .xg-price-table td:nth-child(2) {
  color: var(--xg-green-dark);
  font-size: 18px;
  font-weight: 900;
}

.xg-pricing-page .xg-mini-cta {
  background: var(--xg-green);
  border: 0;
  color: #fff;
  margin: 0;
  padding: 8px 16px;
}

.xg-pricing-page .xg-mini-cta:hover {
  background: var(--xg-green-dark);
}

.xg-seat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.xg-seat-card {
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(16, 36, 63, .05);
  padding: 22px 10px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease;
}

.xg-seat-card:hover {
  border-color: rgba(var(--xg-green-rgb), .4);
  transform: translateY(-3px);
}

.xg-seat-card strong {
  color: var(--xg-green-dark);
  display: block;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.xg-seat-card span {
  color: var(--xg-muted);
  font-size: 14px;
  font-weight: 700;
}

.xg-price-notes {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.xg-price-note {
  align-items: flex-start;
  background: var(--xg-soft-green);
  border: 1px solid rgba(var(--xg-green-rgb), .16);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  padding: 18px;
}

.xg-note-ico {
  align-items: center;
  background: var(--xg-green);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.xg-price-note strong {
  color: var(--xg-ink);
  display: block;
  margin-bottom: 4px;
}

.xg-price-note p {
  color: var(--xg-muted);
  font-size: 14.5px;
  margin: 0;
}

@media (max-width: 920px) {
  .xg-seat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xg-price-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .xg-seat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   Trang Liên hệ
   ============================================================ */
.xg-contact-grid {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.xg-contact-info .xg-section-title {
  font-size: 24px;
  margin-bottom: 18px;
}

.xg-contact-info .xg-section-title + .xg-section-title,
.xg-contact-info form + .xg-section-title {
  margin-top: 34px;
}

.xg-contact-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.xg-contact-list li {
  align-items: center;
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
}

.xg-contact-ico {
  align-items: center;
  background: var(--xg-soft-green);
  border-radius: 12px;
  color: var(--xg-green-dark);
  display: inline-flex;
  flex: 0 0 auto;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.xg-contact-ico svg {
  height: 24px;
  width: 24px;
}

.xg-contact-list strong {
  color: var(--xg-muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.xg-contact-list a,
.xg-contact-list div > span {
  color: var(--xg-ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.xg-contact-list a:hover {
  color: var(--xg-green-dark);
}

.xg-form-note {
  color: var(--xg-muted);
  margin: 0 0 16px;
}

.xg-contact-form textarea {
  resize: vertical;
}

.xg-contact-form .xg-btn {
  width: 100%;
}

.xg-contact-map .xg-section-title {
  font-size: 24px;
  margin-bottom: 18px;
}

.xg-map-cta {
  margin-top: 14px;
  width: 100%;
}

@media (max-width: 920px) {
  .xg-contact-grid {
    grid-template-columns: 1fr;
  }
}
