:root {
  --blue: #1f6fe5;
  --blue-dark: #155bb5;
  --orange: #ff6a00;
  --ink: #16294a;
  --muted: #5b6b85;
  --line: #e3e9f2;
  --bg-alt: #f4f8fd;
  --radius: 14px;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-GilroyLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-Gilroy.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-GilroyMedium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-GilroyBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/assets/fonts/SVN-GilroyHeavy.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Be Vietnam Pro", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: var(--blue); text-decoration: none; }
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.center { text-align: center; margin-top: 22px; }
.btn-primary {
  background: var(--blue); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 34px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 58px; }
.logo { display: inline-flex; align-items: center; line-height: 1; }
.logo-img { display: block; height: 32px; width: auto; }
.logo-smile { color: var(--orange); }
.logo-trip { color: var(--blue-dark); }
.logo-sub { display: block; font-size: 9px; font-weight: 400; color: var(--muted); letter-spacing: 0.2px; }
.main-nav { display: flex; gap: 26px; margin: 0 auto; height: 100%; align-items: center; }
.main-nav a {
  color: #212427; font-size: 14px; font-weight: 500; padding: 6px 2px;
  position: relative; transition: all 0.3s ease; text-decoration: none; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px;
  background-color: rgb(56, 56, 56); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after, .main-nav a:focus::after { transform: scaleX(1); }
.main-nav a.active { color: #212427; font-weight: 600; }
.main-nav a.active::after { background-color: #666666; transform: scaleX(1); }
/* dropdown submenu giong smiletrip.vn goc */
.nav-item-sub { position: relative; height: 100%; display: inline-flex; align-items: center; }
.nav-item-sub::after { content: ""; position: absolute; top: 100%; left: -10px; right: -10px; height: 14px; }
.nav-sub {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  background: #fff; border-radius: 12px; box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
  padding: 8px; min-width: 230px; z-index: 90;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .22s ease, visibility 0s linear .2s;
}
.nav-item-sub:hover .nav-sub, .nav-item-sub:focus-within .nav-sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .2s ease, transform .22s ease;
}
.nav-sub a {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px;
  color: #212427; border-radius: 8px; white-space: nowrap; font-weight: 500;
}
.nav-sub a::after { display: none; }
.nav-sub a:hover { background: #f5f7fb; color: #212427; }
.nav-sub img { width: 22px; height: 22px; flex-shrink: 0; }
.nav-sub img.img-hover { display: none; }
.nav-sub a:hover img.img { display: none; }
.nav-sub a:hover img.img-hover { display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.login-btn { background: #0d6efd; color: #fff; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 8px; white-space: nowrap; transition: background .2s ease, transform .15s ease; }
.login-btn:hover { background: #0b5ed7; transform: translateY(-1px); }
.main-nav a.nav-login { display: none; }
body.nav-open { overflow: hidden; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

.fb-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid #dee2e6; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: #0d6efd;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.fb-btn:hover { background: #0d6efd; border-color: #0d6efd; color: #fff; }

/* ---------- Language / Currency dropdown (giống smiletrip.vn gốc) ---------- */
.lang-currency-dropdown { position: relative; }
.currency-btn {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dee2e6;
  background: #fff; border-radius: 8px; padding: 5px 10px; font-size: 13px; cursor: pointer; color: #212427;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.currency-btn:hover { border-color: #3563ed; }
.lang-currency-dropdown.open .currency-btn {
  border-color: #a9c3ff;
  box-shadow: 0 0 0 4px rgba(53, 99, 237, .15);
}
.currency-btn .fw-semibold { font-weight: 600; font-size: 13px; }
.flag-slot { display: inline-flex; width: 20px; height: 20px; }
.flag-slot svg { width: 20px; height: 20px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.dropdown-arrow { transition: transform .25s ease; }
.lang-currency-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
.language-currency-panel {
  position: absolute; top: 100%; right: 0; min-width: 450px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
  padding: 1.25rem; z-index: 100; margin-top: 0.75rem;
  opacity: 0; transform: translateY(8px); transform-origin: top right; visibility: hidden;
  transition: opacity 180ms ease, transform 200ms ease, visibility 0s linear 180ms; pointer-events: none;
}
.lang-currency-dropdown.open .language-currency-panel {
  opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto;
  transition: opacity 180ms ease, transform 200ms ease, visibility 0s;
}
.dropdown-section:not(:last-child) { margin-bottom: 1.1rem; }
.dropdown-section-title { font-size: 0.95rem; font-weight: 700; color: #333; margin-bottom: 0.85rem; }
.dropdown-divider { border: 0; border-top: 1px solid #e9ecef; margin: 0 0 1.1rem; }
.pill-list { list-style: none; display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0; padding: 0; }
.pill-list li { flex: 1 1 48%; }
.pill-currency li { flex: 0 0 calc(50% - 0.25rem); width: calc(50% - 0.25rem); }
.lang-item, .currency-item {
  display: block; width: 100%; background-color: #fff; border: 1.5px solid #e0e0e0; color: #212427;
  font-size: 0.9rem; padding: 0.3rem 1rem; border-radius: 22px; white-space: nowrap;
  font-weight: 500; cursor: pointer; text-align: center; transition: all 0.2s ease; flex: 1;
}
.lang-item:hover, .currency-item:hover { background-color: #f8f9fa; border-color: #ccc; color: #212427; }
.lang-item.active, .currency-item.active { background-color: #3563ed; color: #fff; border-color: #3563ed; font-weight: 600; }
.lang-item.active:hover, .currency-item.active:hover { background-color: #0056b3 !important; border-color: #0056b3 !important; color: #fff !important; }

/* ---------- Hero + background slider (giống smiletrip.vn gốc) ---------- */
.hero { position: relative; background: #a8d4f5; min-height: 480px; display: flex; flex-direction: column; justify-content: center; }
.homepage-slider-container {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;
}
.homepage-slider { position: relative; width: 100%; height: 100%; }
.homepage-slider .slide-item {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1s ease-in-out;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.homepage-slider .slide-item.active { opacity: 1; z-index: 1; }
.hero-inner { position: relative; z-index: 10; width: 100%; padding: 150px 20px 24px; }

/* ---------- Search card (giống smiletrip.vn gốc) ---------- */
.search-card {
  background: #fff; border: 2px solid #fff; border-radius: 8px;
  box-shadow: 0 18px 50px rgba(21, 91, 181, 0.25);
  padding: 16px; margin: 18px auto 0; position: relative; z-index: 5; max-width: 1080px;
}
.trip-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.trip-tab { cursor: pointer; font-size: 15px; font-weight: 600; color: #10061F; padding: 8px 18px; border-radius: 8px; transition: background .2s ease, color .2s ease; background: #f1f3f6; }
.trip-tab input { position: absolute; opacity: 0; pointer-events: none; }
.trip-tab:hover { background: #e4e9f2; }
.trip-tab.active { background: #1f6fe5; color: #fff; }
.trip-tab.active:hover { background: #1f6fe5; }
.cabin-wrap { position: relative; margin-left: 10px; }
.cabin-select {
  background: none; border: 0; border-radius: 6px; font-size: 15px; font-weight: 600;
  color: #10061F; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 6px;
  transition: color .2s ease;
}
.cabin-select:hover { color: #1f6fe5; }
.cabin-select:focus { outline: none; }
.cabin-select:focus-visible { outline: 1.5px solid #212427; outline-offset: 2px; }
.cabin-wrap.open .cabin-select { outline: 1.5px solid #212427; outline-offset: 2px; }
.cabin-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #e0e0e0;
  border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, .15); z-index: 60; width: 320px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 200ms ease; pointer-events: none;
}
.cabin-menu[hidden] { display: none; }
.cabin-wrap.open .cabin-menu { opacity: 1; transform: none; pointer-events: auto; }
.cabin-opt {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  border-radius: 8px; padding: 10px 12px; cursor: pointer; transition: background .2s ease;
}
.cabin-opt b { display: block; font-size: 14.5px; color: #212427; font-weight: 600; }
.cabin-opt small { display: block; font-size: 12.5px; color: #666; margin-top: 3px; line-height: 1.45; }
.cabin-opt:hover { background: #f8f9fa; }
.cabin-opt.selected { background: #e3f2fd; }

/* fields row */
.seg-grid { display: grid; grid-template-columns: 1fr 44px 1fr 1.35fr 1fr; gap: 10px; align-items: stretch; }
.ap-field {
  display: flex; align-items: center; gap: 8px; border: 1px solid #dee2e6; border-radius: 6px;
  padding: 0 10px; background: #fff; position: relative; min-width: 0; transition: border-color .2s ease, box-shadow .2s ease;
}
.ap-field:focus-within { border-color: #1f6fe5; box-shadow: 0 0 0 3px rgba(31, 111, 229, .12); }
.ap-field svg { flex-shrink: 0; }
.ap-field.err { border-color: #e11d2e; }
.ap-input { border: 0; outline: 0; font-size: 15px; font-weight: 500; width: 100%; color: #10061F; background: transparent; padding: 12px 0; }
.ap-input::placeholder { color: #8a94a3; font-weight: 400; }
.swap-btn {
  width: 40px; height: 40px; border: 0; background: transparent; align-self: center; justify-self: center;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  transform-origin: center center; will-change: transform;
}
.swap-btn.spinning { animation: switch-spin 420ms cubic-bezier(0.2, 0.9, 0.2, 1); }
@keyframes switch-spin {
  0% { transform: rotate(0deg) scale(1); }
  30% { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

/* airport suggestion panel */
.ap-panel {
  position: absolute; top: calc(100% + 8px); left: 0; width: 340px; max-width: calc(100vw - 40px); max-height: 340px; overflow-y: auto;
  background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
  z-index: 70; padding: 8px;
  opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 200ms ease; pointer-events: none;
}
.ap-field.open .ap-panel { opacity: 1; transform: none; pointer-events: auto; }
.ap-group-title {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: 0; border-bottom: 1px solid #e0e0e0; padding: 8px 4px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: #333;
}
.ap-group-title .t { display: inline-flex; align-items: center; gap: 6px; color: #3563ed; }
.ap-group-title .chev { color: #666; font-size: 12px; transition: transform .2s ease; }
.ap-group.closed .chev { transform: rotate(-90deg); }
.ap-group.closed .ap-items { display: none; }
.ap-item {
  display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0;
  padding: 9px 12px 9px 28px; cursor: pointer; border-radius: 4px; text-align: left;
}
.ap-item:hover { background: #f5f7fa; }
.ap-item svg { flex-shrink: 0; color: #666; }
.ap-item .t { font-weight: 500; font-size: 13px; color: #212427; }
.ap-item .t b { color: #3563ed; }
.ap-empty { padding: 14px; font-size: 13px; color: #666; text-align: center; }

/* date box */
.date-box {
  display: flex; align-items: stretch; border: 1px solid #e1e1ea; border-radius: 6px; background: #fff;
  min-width: 0; transition: border-color .2s ease, box-shadow .2s ease;
}
.date-box:focus-within { border-color: #1f6fe5; box-shadow: 0 0 0 3px rgba(31, 111, 229, .12); }
.date-box.err { border-color: #e11d2e; }
.date-half { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 12px; flex: 1; min-width: 0; }
.date-half svg { flex-shrink: 0; }
.date-half input { border: 0; outline: 0; width: 100%; font-size: 15px; font-weight: 500; color: #10061F; background: transparent; padding: 12px 0; cursor: pointer; }
.date-half.disabled { opacity: 0.45; }
.date-half.disabled input { cursor: not-allowed; }
.date-div { width: 1px; background: #e1e1ea; margin: 8px 0; flex-shrink: 0; }
.date-box.single .date-div, .date-box.single #returnWrap { display: none; }

/* calendar popup */
.cal-popup {
  position: absolute; left: 16px; right: 16px; top: auto; margin-top: 8px; background: #fff;
  border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, .1); z-index: 80; padding: 8px 16px 16px;
  opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 200ms ease; pointer-events: none;
}
.search-card.cal-open .cal-popup { opacity: 1; transform: none; pointer-events: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 4px; }
.cal-nav { border: 0; background: none; font-size: 26px; color: #3563ed; cursor: pointer; padding: 4px 12px; line-height: 1; }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-titles { display: flex; flex: 1; }
.cal-titles b { flex: 1; text-align: center; font-size: 16px; font-weight: 500; color: #3563ed; }
.cal-months { display: flex; gap: 24px; }
.cal-month { flex: 1; min-width: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { text-align: center; color: #666; font-weight: 500; font-size: 13px; padding: 6px 0; }
.cal-dow.wk { color: #ff9800; }
.cal-day {
  border: 0; background: none; height: 40px; margin: 2px; border-radius: 8px; font-size: 15px; color: #333;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.cal-day:not(:disabled):hover { background: #eef3fe; }
.cal-day:disabled { color: rgba(57, 57, 57, .35); cursor: default; background: none; }
.cal-day.adj { visibility: hidden; pointer-events: none; }
.cal-day.in-range { background: #e5eff7; border-radius: 0; color: #3264ff; font-weight: 700; }
.cal-day.range-start { background: #3264ff; color: #fff; font-weight: 700; border-radius: 4px 0 0 4px; }
.cal-day.range-end { background: #3264ff; color: #fff; font-weight: 700; border-radius: 0 4px 4px 0; }
.cal-day.range-start.range-end { border-radius: 4px; }
.cal-day.today:not(.range-start):not(.range-end) { box-shadow: inset 0 0 0 1.5px #3264ff; }

/* passengers */
.pax-box {
  display: flex; align-items: center; gap: 8px; border: 1px solid #e1e1ea; border-radius: 6px;
  padding: 0 12px; background: #fff; position: relative; min-width: 0; cursor: pointer; user-select: none;
  font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.pax-box:focus-within, .pax-box.open { border-color: #1f6fe5; box-shadow: 0 0 0 3px rgba(31, 111, 229, .12); }
.pax-box span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.pax-menu {
  position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid #e0e0e0;
  border-radius: 12px; box-shadow: 0 18px 48px rgba(0, 0, 0, .18); z-index: 70; width: 300px; padding: 16px;
  opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 200ms ease; pointer-events: none;
}
.pax-box.open .pax-menu { opacity: 1; transform: none; pointer-events: auto; }
.pax-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dotted #bcbcbc; }
.pax-row:last-of-type { border-bottom: 0; }
.pax-row b { display: block; font-size: 15px; }
.pax-row small { display: block; font-size: 12px; color: #475569; }
.pax-ctrl { display: flex; align-items: center; gap: 12px; }
.pax-ctrl button {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid #d1d5db; background: #f3f4f6;
  cursor: pointer; font-size: 16px; line-height: 1; color: #111; display: inline-flex; align-items: center; justify-content: center;
}
.pax-ctrl button:hover { background: #e5e7eb; }
.pax-ctrl button:disabled { opacity: 0.35; cursor: default; }
.pax-ctrl b { min-width: 18px; text-align: center; font-size: 15px; }
.pax-done {
  width: 100%; margin-top: 12px; border: 0; border-radius: 8px; background: #1f6fe5; color: #fff;
  font-size: 14px; font-weight: 700; padding: 10px; cursor: pointer;
}
.pax-done:hover { background: #155bb5; }

/* multi-city */
#mcWrap { margin-top: 10px; }
.mc-seg { display: grid; grid-template-columns: 1fr 44px 1fr 1fr 40px; gap: 10px; align-items: stretch; margin-bottom: 10px; }
.mc-seg .date-box { grid-column: auto; }
.mc-del {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e0e0e0; background: #fff; color: #e11d2e;
  font-size: 20px; cursor: pointer; align-self: center; justify-self: center; line-height: 1;
}
.mc-del:hover { border-color: #e11d2e; }
.add-seg {
  border: 0; background: none; color: #3563ed; font-size: 15px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0; width: 100%;
}
.add-seg:hover { color: #0d47a1; }
.add-seg svg { flex-shrink: 0; }

.search-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 12px; flex-wrap: wrap; }
.direct-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #475569; cursor: pointer; }
.direct-check input { accent-color: #1f6fe5; width: 16px; height: 16px; cursor: pointer; }
.search-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #1f6fe5; color: #fff; border: 0;
  border-radius: 6px; padding: 12px 26px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s ease;
}
.search-btn:hover { background: #155bb5; }
.search-note { font-size: 13px; color: #155bb5; margin-top: 8px; min-height: 18px; }
.search-note.err { color: #e11d2e; }

/* bubble loi validation - giong smiletrip.vn goc */
.err-msg { position: relative; }
.err-msg:after {
  position: absolute;
  left: -1px;
  bottom: 100%;
  padding: 8px 10px;
  max-width: 100%;
  border: 1px solid #d9481b;
  opacity: 1;
  background-color: #d9481b;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  white-space: normal;
  content: attr(data-error);
  z-index: 100
}
.err-msg:before {
  position: absolute;
  left: 30px;
  top: 0;
  border: 9px solid transparent;
  border-top-color: #d9481b;
  content: "";
  z-index: 10;
}

/* anchor offset duoi header sticky */
section[id] { scroll-margin-top: 70px; }
/* khoang cach tu day search-card xuong section uu dai */
#uu-dai { padding-top: 64px; }

/* ---------- Promo carousel ---------- */
.carousel-wrap { position: relative; }
.carousel { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; z-index: 5;
  box-shadow: 0 4px 14px rgba(0,0,0,.1); line-height: 1;
}
.car-btn.prev { left: -14px; }
.car-btn.next { right: -14px; }
/* promo slider muot: transform thay vi native scroll */
#promoTrack.slide-mode { display: block; overflow: hidden; }
#promoTrack .promo-inner {
  display: flex; gap: 18px;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.21, 1);
  will-change: transform;
}
#promoTrack .promo-inner.no-anim { transition: none !important; }
#promoTrack.slide-mode .promo-card { flex: 0 0 calc(33.333% - 12px); min-width: 280px; }
.promo-card {
  flex: 0 0 calc(33.333% - 12px); min-width: 280px; border-radius: var(--radius); color: #fff;
  padding: 26px 22px; min-height: 210px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
}
.promo-img { padding: 0; min-height: 0; display: block; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.promo-img img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--radius); }
.promo-jp { background: linear-gradient(135deg, #ffb300, #ff6a00 60%, #e63c00); }
.promo-vj30 { background: linear-gradient(135deg, #2f9df0, #155bb5 65%, #0d3b66); }
.promo-vj40 { background: linear-gradient(135deg, #ff8a5c, #e63c71 60%, #a3124d); }
.promo-top { font-size: 15px; }
.promo-top b { font-size: 42px; font-weight: 900; }
.promo-code { background: rgba(255,255,255,.22); border: 1.5px dashed #fff; border-radius: 10px; padding: 8px 14px; font-size: 13px; align-self: flex-start; }
.promo-code b { font-size: 24px; letter-spacing: 2px; }
.promo-big { font-size: 52px; font-weight: 900; line-height: 1; }
.promo-big span { display: block; font-size: 15px; font-weight: 600; }
.promo-gift { font-size: 15px; }
.promo-sub { font-size: 13px; opacity: 0.9; }

/* ---------- Cheap flights (matched to smiletrip.vn) ---------- */
#gia-re { background: #fff; padding-top: 16px; padding-bottom: 0; font-family: "SVN-Gilroy", -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
#gia-re .container { max-width: 1320px; padding-left: 12px; padding-right: 12px; }
#gia-re .section-title { color: #212529; font-size: 36px; font-weight: 700; line-height: 1.5; margin-bottom: 16px; }
#gia-re .center { margin-top: 32px; }
#gia-re .btn-primary { background: #3563ed; font-family: inherit; font-size: 14.4px; font-weight: 600; line-height: 1.5; padding: 12px 32px; border-radius: 25px; }
.origin-tabs { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; margin: 10px 0 24px; }
.origin-label { font-size: 19.2px; color: #000; margin: 0 12px 0 16px; padding: 0; line-height: 1.5; flex: 0 0 auto; white-space: nowrap; }
.origin-tab-scroll {
  display: flex; align-items: center; gap: 16px; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
}
.origin-tab-scroll::-webkit-scrollbar { display: none; }
.origin-tab { flex: 0 0 auto; border: 0; background: none; font-family: inherit; font-size: 14.4px; font-weight: 400; color: #666; padding: 8px 16px; line-height: 1.5; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.origin-tab.active { background: #3563ed; color: #fff; font-weight: 400; }
.flight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flight-card { border: 1px solid rgba(0, 0, 0, .176); border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, .1); margin: 10px 0; overflow: hidden; background: #fff; }
.deal-card { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.deal-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21, 91, 181, .14); }
.flight-img { position: relative; }
.flight-img > img { display: block; width: 100%; height: 168px; aspect-ratio: auto; object-fit: cover; }
.airline-badge {
  position: absolute; left: 5%; bottom: 10px; background: #fff;
  border-radius: 20px; padding: 5px; line-height: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  width: 90px; height: 35px; display: flex; align-items: center; justify-content: center;
}
.airline-badge img { height: 25px; width: auto; max-width: 80px; display: block; }
.flight-body { padding: 16px; }
.flight-body h3 { font-size: 16.8px; font-weight: 600; line-height: 1.5; color: #212529; margin: 0 0 4px; }
.flight-meta { display: flex; justify-content: space-between; align-items: flex-start; font-size: 16px; line-height: 1.5; color: #212529; }
.flight-meta > div:last-child { text-align: right; }
.flight-meta .lbl { color: #000; display: block; font-size: 16px; font-weight: 500; }
.flight-meta > div:first-child .lbl::first-letter { font-size: .8em; }
.flight-meta .date { color: #3563ed; font-weight: 600; font-size: 16px; display: block; }
.flight-meta .price { color: #f7941d; font-weight: 700; font-size: 16px; display: block; }

/* ---------- Why ---------- */
.st-whyus__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
  align-items: stretch;
}
.st-whyus__item {
  height: 100%;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  padding: 16px 16px 14px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.st-whyus__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  border-color: rgba(15, 83, 193, .18);
}
.st-whyus__icon {
  height: 55px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 10px;
}
.st-whyus__icon img {
  height: 55px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
.st-whyus__heading {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink, #111827);
  text-align: center;
}
.st-whyus__desc {
  --clamp-lines: 3;
  margin: 0;
  color: var(--muted, #6b7280);
  font-size: 14px;
  line-height: 1.65;
}
.st-whyus__desc.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: var(--clamp-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.st-whyus__desc.is-expanded { display: block; overflow: visible; }
.st-whyus__toggle {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue, #0f53c1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.st-whyus__toggle:hover { text-decoration: underline; }
.st-whyus__list {
  margin: 10px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 3px;
  color: var(--ink, #111827);
  font-size: 14px;
  line-height: 1.55;
}
.st-whyus__list li { position: relative; margin: 0; padding-left: 30px; }
.st-whyus__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(15, 83, 193, .12);
  color: var(--blue, #0f53c1);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Certificates (slide giống smiletrip.vn) ---------- */
.slider-wrapper {
  position: relative;
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
}
.slider-content {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-content::-webkit-scrollbar { display: none; }
.certificate-item {
  flex: 0 0 20%;
  max-width: 20%;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
}
.img-circle-wrapper {
  width: 100px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-circle-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.text-sml {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-top: 8px;
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .4);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: .3s;
  padding: 0;
}
.nav-btn:hover {
  background-color: rgba(0, 0, 0, .8);
  transform: translateY(-50%) scale(1.1);
}
.nav-btn svg { width: 24px; height: 24px; }
.nav-btn.prev-btn { left: 10px; }
.nav-btn.next-btn { right: 10px; }
@media (max-width: 500px) {
  .certificate-item { flex: 0 0 50%; max-width: 50%; }
  .text-sml { font-size: .75rem; }
  .nav-btn { width: 30px; height: 30px; }
  .nav-btn svg { width: 16px; height: 16px; }
  .nav-btn.prev-btn { left: 0; }
  .nav-btn.next-btn { right: 0; }
}
@media (min-width: 500px) and (max-width: 768px) {
  .certificate-item { flex: 0 0 33.333%; max-width: 33.333%; }
  .text-sml { font-size: .75rem; }
  .nav-btn { width: 30px; height: 30px; }
  .nav-btn svg { width: 16px; height: 16px; }
  .nav-btn.prev-btn { left: 0; }
  .nav-btn.next-btn { right: 0; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .certificate-item { flex: 0 0 25%; max-width: 25%; }
}

/* ---------- Top routes (giống smiletrip.vn) ---------- */
.prority-plan { position: relative; }
#prority-tab-content { display: grid; grid-template-columns: auto auto auto auto; gap: 16px; }
@media (max-width: 1280px) { #prority-tab-content { grid-template-columns: auto auto auto; } }
@media (max-width: 1024px) { #prority-tab-content { grid-template-columns: auto auto; } }
#prority-tab-content a { font-size: 12px; color: #000; text-decoration: none; line-height: 1.7; }
@media (min-width: 640px) { #prority-tab-content a { font-size: 14px; } }
#prority-tab-content a:hover { color: #155ED2; text-decoration: underline; }
.list-item-action {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.list-item-action > li > button {
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #155ED2;
  background: #fff;
  border: 1px solid #155ED2;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
@media (min-width: 640px) { .list-item-action > li > button { font-size: 14px; } }
@media (min-width: 1280px) { .list-item-action > li > button { padding: 10px 16px; } }
@media (min-width: 1400px) { .list-item-action > li > button { font-size: 16px; } }
.list-item-action > li > button:hover,
.list-item-action > li > button.item-active { background: #155ED2; color: #fff; }
.item-fly {
  position: absolute;
  right: 10px;
  bottom: -29px;
  width: 308px;
  height: 207px;
  pointer-events: none;
}
.item-fly img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1279.98px) {
  .item-fly { width: 200px; height: 45px; right: 0; bottom: 0; }
}
@media (max-width: 768px) {
  .list-item-action {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .list-item-action::-webkit-scrollbar { display: none; }
  .list-item-action > li { flex: 0 0 auto; }
}

/* ---------- Partners (marquee như smiletrip.vn) ---------- */
.airline-partner-section { overflow: hidden; }
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.mbc-3 { margin-bottom: 1rem; }
.marquee-track { display: flex; width: max-content; }
.marquee-seq { display: flex; gap: 1rem; margin-right: 1rem; }
.scroll-left { animation: scrollLeft 60.3s linear infinite; }
.scroll-right { animation: scrollRight 60.3s linear infinite; }
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.partner-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 20px;
  width: 160px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.partner-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 768px) {
  .partner-card { width: 120px; height: 45px; padding: 5px 10px; }
  .marquee-seq { gap: .5rem; margin-right: .5rem; }
  .mbc-3 { margin-bottom: .5rem; }
}

/* ---------- Footer (theo smiletrip.vn) ---------- */
.site-footer { background: #f4f4f4; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 24px; padding: 36px 8px 28px; }
.footer-col h6 { color: #333; font-size: 1rem; font-weight: 700; text-transform: uppercase; margin: 22px 0 12px; }
.footer-col h6:first-child { margin-top: 0; }
.footer-logo { display: block; margin-bottom: 12px; text-decoration: none; }
.footer-logo img { height: 26px; width: auto; display: block; }
.footer-slogan { font-size: 13px; color: #444; font-weight: 500; margin-top: 1px; }
.ft-contact { list-style: none; margin: 0; padding: 0; font-size: 14px; color: #444; }
.ft-contact li { margin-bottom: 8px; }
.ft-row { display: flex; align-items: flex-start; gap: 8px; }
.ft-ico { color: #ffc107; flex-shrink: 0; display: inline-flex; margin-top: 2px; }
.ft-ico svg { width: 14px; height: 14px; display: block; }
.ft-row > span:last-child { font-weight: 500; color: #444; }
.ft-mail { color: #444; font-weight: 700; text-decoration: none; }
.ft-mail:hover { color: #ff9f2b; }
.ft-phone { color: #3563ed; font-weight: 700; }
.ft-office-title {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-weight: 700; color: #111; margin-top: 16px;
}
.ft-map { color: #3563ed; font-weight: 600; text-decoration: none; white-space: nowrap; margin-left: auto; }
.ft-map:hover { text-decoration: underline; }
.footer-link { color: #444; font-weight: 500; text-decoration: none; font-size: 14px; transition: color .2s; display: inline; }
.footer-link:hover { color: #ff9f2b; text-decoration: underline; }
.ft-links { list-style: none; margin: 0 0 4px; padding: 0; }
.ft-links li { margin-bottom: 8px; line-height: 1.4; }
.bct-badge { margin-top: 14px; }
.bct-badge img { width: 140px; display: block; }

.social-follow { max-width: 320px; }
.social-group + .social-group { margin-top: 14px; }
.social-group-title {
  display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: #333; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 8px;
}
.social-group-title svg { width: 15px; height: 15px; flex-shrink: 0; }
.social-group-title .ic-fb { color: #1877f2; }
.social-group-title .ic-tt { color: #010101; }
.social-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.social-item {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%;
  padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #e6e6e6;
  color: #444; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.social-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-item.fb svg { color: #1877f2; }
.social-item.tt svg { color: #010101; }
.social-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-item:hover { transform: translateX(2px); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.social-item.fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.social-item.tt:hover { background: #010101; border-color: #010101; color: #fff; }
.social-item.fb:hover svg, .social-item.tt:hover svg { color: #fff; }
.social-zalo { display: inline-flex; margin-top: 14px; }
.social-zalo svg { display: block; }

.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.partner-cell {
  background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.07);
  display: flex; align-items: center; justify-content: center; padding: 4px; height: 40px; overflow: hidden;
}
.partner-cell img { height: 20px; max-width: 100%; width: auto; object-fit: contain; }

.copyright-bar { background: #3563ed; color: #fff; text-align: center; padding: 12px 16px; }
.copyright-bar small { font-size: .8rem; opacity: .9; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .st-whyus__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .flight-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .social-follow { max-width: 100%; }
  .social-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .seg-grid, .mc-seg { grid-template-columns: 1fr 44px 1fr; }
  .seg-grid .date-box, .seg-grid .pax-box { grid-column: 1 / -1; }
  .cal-months { flex-direction: column; }
  #calTitleR, #calMonthR { display: none; }
}
@media (max-width: 720px) {
  .main-nav {
    display: flex; position: absolute; top: 59px; left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 0; height: auto; margin: 0;
    background: #fff; padding: 0 16px 8px;
    border-bottom: 1px solid #E5E7EB;
    border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;
    max-height: calc(100vh - 59px); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none;
    transition: clip-path .25s ease, visibility 0s linear .25s;
  }
  .main-nav.open {
    clip-path: inset(0 0 0 0); visibility: visible; pointer-events: auto;
    transition: clip-path .25s ease, visibility 0s linear 0s;
  }
  .main-nav > a, .main-nav .nav-item-sub > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; margin: 0; color: #6B7280; font-size: 14px; font-weight: 500;
    line-height: 1.5; border-top: 1px solid #E9ECEF; background: transparent; white-space: nowrap;
  }
  .main-nav > *:first-child > a, .main-nav > a:first-child { border-top: 0; }
  .main-nav > a:hover, .main-nav .nav-item-sub > a:hover { background: #F8F9FA; color: #111827; }
  .main-nav a::after { display: none; }
  .nav-item-sub { display: block; width: 100%; height: auto; }
  .nav-sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; padding: 0; min-width: 0;
  }
  .nav-sub a {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 0 14px 16px; margin: 0; color: #6B7280; font-size: 14px; font-weight: 500;
    line-height: 1.5; border-top: 1px solid #E9ECEF; background: transparent; white-space: nowrap;
  }
  .nav-sub a:hover { background: #F8F9FA; color: #111827; }
  .nav-sub img { display: none !important; }
  .main-nav a.nav-login { display: flex; }
  .menu-toggle { display: flex; }
  .login-btn { display: none; }
  .hero { min-height: 380px; }
  .hero-inner { padding: 40px 20px 0; }
  .seg-grid, .mc-seg { grid-template-columns: 1fr; }
  .mc-seg .mc-del { justify-self: end; }
  .swap-btn { transform: rotate(90deg); justify-self: center; }
  .cal-popup { left: 12px; right: 12px; }
  .promo-card { flex-basis: 82%; }
  #promoTrack.slide-mode .promo-card { flex: 0 0 82%; min-width: 0; }
  .flight-grid, .st-whyus__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .car-btn.prev { left: 2px; }
  .car-btn.next { right: 2px; }
  .language-currency-panel {
    position: fixed; top: 60px; left: 12px; right: 12px; width: auto; max-width: none;
    transform-origin: top center;
  }
  .pill-list li, .pill-currency li { flex: 1 1 46%; min-width: 0; }
  .lang-item, .currency-item { font-size: 12px; padding: 5px 8px; }
  #gia-re { padding-bottom: 16px; }
  #gia-re .container { padding-left: 16px; padding-right: 16px; }
  #gia-re .section-title { font-size: 20px; }
  .origin-label { font-size: 13.6px; margin: 0 8px; padding-right: 8px; }
  .site-footer { margin-top: 0; }
  .footer-grid { padding: 24px 16px 0; gap: 0; }
  .footer-company { margin-bottom: 8px; }
  .footer-col h6 { margin: 0 0 16px; line-height: 1.2; }
  .footer-logo { margin-bottom: 16px; }
  .footer-logo img { width: auto; }
  .footer-slogan { font-size: 14px; color: #444; font-weight: 500; line-height: 1.5; margin-top: 0; }
  .ft-contact { color: #6c757d; }
  .ft-contact li { margin-bottom: 4px; }
  .ft-row > span:last-child { font-weight: 400; color: #6c757d; }
  .ft-row > span.ft-phone { font-weight: 700; color: #3563ed; }
  .ft-row > a.ft-mail { font-weight: 700; color: #6c757d; }
  .ft-links { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
  .ft-links li { line-height: 1.5; }
  .footer-link { font-size: 14px; color: #444; font-weight: 500; }
  .social-item { line-height: 19px; }
  .partner-cell { height: 44px; }
  .copyright-bar { padding: 16px 0; }
  .copyright-bar small { font-size: 12.8px; line-height: 20px; }
}

/* ---------- Trang danh muc bai viet (giong smiletrip.vn goc) ---------- */
.crumb { padding: 22px 0 0; font-size: 14px; color: #475569; }
.crumb a { color: #475569; }
.crumb a:hover { color: var(--blue); }
.crumb .sep { margin: 0 8px; }
.crumb .cur { font-weight: 700; color: var(--ink); }
.page-h1 { font-size: 38px; font-weight: 800; margin: 14px 0 24px; letter-spacing: -0.5px; }
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21, 91, 181, .14); }
.post-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h2 {
  font-size: 19px; line-height: 1.35; color: var(--blue); font-weight: 800; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-body p {
  font-size: 14.5px; color: #475569; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.page-more { text-align: center; margin: 30px 0 10px; }
.post-card.post-hidden { display: none; }
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .page-h1 { font-size: 30px; }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .page-h1 { font-size: 26px; }
}

/* ---------- Trang chi tiet bai viet ---------- */
.art-wrap { max-width: 860px; margin: 0 auto; padding-bottom: 8px; }
.art-h1 { font-size: 32px; font-weight: 800; line-height: 1.35; margin: 14px 0 10px; letter-spacing: -0.3px; }
.art-meta { color: #8a94a3; font-size: 13px; margin-bottom: 6px; }
.art-hero { width: 100%; height: auto; border-radius: 12px; margin: 14px 0 20px; display: block; }
.art-lead { font-size: 17px; font-weight: 600; line-height: 1.65; color: #16294a; margin-bottom: 18px; }
.art-body { font-size: 16px; line-height: 1.8; color: #26313f; }
.art-body h2 { font-size: 22px; font-weight: 800; color: #155bb5; margin: 26px 0 12px; line-height: 1.4; }
.art-body p { margin: 0 0 14px; }
.art-body ul, .art-body ol { margin: 0 0 16px 22px; }
.art-body li { margin-bottom: 8px; }
.art-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px auto; display: block; }
.art-body strong { color: #16294a; }
.art-back { margin-top: 26px; }
.art-back a { font-weight: 600; }
.related-h { font-size: 24px; font-weight: 800; margin: 38px 0 18px; }
@media (max-width: 720px) {
  .art-h1 { font-size: 24px; }
  .art-lead { font-size: 16px; }
}

/* ---------- Hub diem den Viet Nam (giong smiletrip.vn goc) ---------- */
.vn-hero {
  background: url('https://file.smiletrip.vn/Images/background/bg-home.webp') center/cover no-repeat;
  height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 34px; color: #fff;
}
.vn-hero h1 { font-size: 40px; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.vn-hero .iata-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; line-height: 1.3; }
.vn-hero .iata-row img { height: 26px; }
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 6px; }
.dest-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21, 91, 181, .14); }
.dest-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dest-card b { display: block; text-align: center; color: var(--blue); font-size: 20px; padding: 14px 10px 18px; }
/* newsletter */
.news-panel {
  display: grid; grid-template-columns: 240px 1fr; background: #eef6fd;
  border-radius: 16px; overflow: hidden; margin: 40px 0 8px;
}
.news-art { background: linear-gradient(180deg, #ffe9d2, #ffd9ae); position: relative; min-height: 300px; }
.news-balloon { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: 110px; }
.news-plane { position: absolute; bottom: 30px; left: 8px; width: 120px; }
.news-form { padding: 30px 36px; }
.news-form h2 { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 8px; }
.news-form > p { text-align: center; color: #33475f; font-size: 14.5px; margin-bottom: 20px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; }
.news-form label { display: block; font-size: 14px; font-weight: 600; color: #33475f; }
.news-form label .req { color: #e11d2e; }
.news-form input {
  width: 100%; margin-top: 6px; border: 1px solid #d5dce5; border-radius: 12px; background: #fff;
  padding: 12px 16px; font-size: 14px; outline: none; color: var(--ink);
}
.news-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 229, .12); }
.news-form input::placeholder { color: #9aa5b3; }
.news-interest { display: block; margin-top: 14px; }
.news-foot { margin-top: 18px; text-align: right; }
/* tour cards */
#tourTrack .tour-card {
  flex: 0 0 calc(25% - 14px); min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
#tourTrack .tour-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21, 91, 181, .14); }
.tour-img { position: relative; display: block; }
.tour-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tour-badge {
  position: absolute; top: 12px; left: 12px; width: 78px; height: 78px; border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 21px; line-height: 1.05;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.tour-badge small { font-size: 10px; font-weight: 600; }
.tour-route {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .94);
  border-radius: 8px; font-weight: 800; font-size: 13px; text-align: center; padding: 8px 10px; line-height: 1.35;
}
.tour-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.tour-body b { font-size: 16.5px; color: var(--blue); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-meta { font-size: 13.5px; color: var(--ink); }
.tour-meta .stars { color: #f5a623; letter-spacing: 1px; }
.tour-price { font-size: 14px; color: var(--ink); }
.tour-price b { font-size: 18px; color: var(--orange); }
@media (max-width: 1024px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  #tourTrack .tour-card { flex-basis: calc(50% - 9px); }
  .news-panel { grid-template-columns: 1fr; }
  .news-art { min-height: 150px; }
}
@media (max-width: 720px) {
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest-card b { font-size: 16px; }
  .vn-hero { height: 220px; }
  .vn-hero h1 { font-size: 28px; }
  #tourTrack .tour-card { flex-basis: 82%; }
  .news-grid { grid-template-columns: 1fr; }
  .news-form { padding: 24px 20px; }
}
