/*!
Theme Name: Ngôi sao Phương Đông
Author: HRM
Version: 4.0.1
Text Domain: hrm
*/
@font-face {
  font-family: 'UTM Americana';
  src: url('webfonts/UTMAmericana.woff2') format('woff2'),
    url('webfonts/UTMAmericana.woff') format('woff'),
    url('webfonts/UTMAmericana.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'UTM Americana';
  src: url('webfonts/UTMAmericanaBold.woff2') format('woff2'),
    url('webfonts/UTMAmericanaBold.woff') format('woff'),
    url('webfonts/UTMAmericanaBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EudoxusSans';
  src: url('webfonts/EudoxusSans-Regular.woff2') format('woff2'),
    url('webfonts/EudoxusSans-Regular.woff') format('woff'),
    url('webfonts/EudoxusSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EudoxusSans';
  src: url('webfonts/EudoxusSans-Bold.woff2') format('woff2'),
    url('webfonts/EudoxusSans-Bold.woff') format('woff'),
    url('webfonts/EudoxusSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #7f000a;
  --secondary-color: #be1e2d;
  --text-color: #212121;
  --dark: #565656;
  --gray: #999;
  --fff: #fff;
  --font-family-primary: "Open Sans", Arial, sans-serif;
  --font-family-secondary: 'UTM Americana', Arial, sans-serif;
  --font-family-3: 'EudoxusSans', Arial, sans-serif;
  --brand-green: var(--primary-color);
  --brand-pink: var(--secondary-color);
  --brand-light-gray: #f2f1f1;
  --bs-white-rgb: 255, 255, 255;
  --bs-primary-rgb: 127, 0, 10;
  --bs-secondary-rgb: 190, 30, 45;
  --bs-btn-hover-color: var(--primary-color);
  --bs-btn-hover-bg: var(--fff);
  --bs-btn-hover-border-color: var(--primary-color);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  color: var(--text-color);
  margin: 0;
  font-size: 16px;
}

p {
  margin-bottom: 10px;
}

tbody,
td,
tfoot,
th,
thead,
tr {
  border: 1px solid #e0e0e0;
  padding: 5px;
}

.font-weight-bold {
  font-weight: 700;
}

.btn-brand-green {
  background-color: var(--brand-green);
  border: 1px solid var(--brand-green);
  transition: background-color 0.2s, color 0.2s;
}

.btn-brand-green:hover {
  color: var(--bs-btn-hover-color) !important;
  background-color: var(--bs-btn-hover-bg);
}

/* ==================== 1. TOP BAR ==================== */
.header-top {
  background-color: var(--fff);
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  padding: 6px 0;
}

.header-top .top-left-text {
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.header-top .top-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.header-top .top-nav-links .nav-item {
  position: relative;
}

.header-top .top-nav-links .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: #d1d1d1;
}

.header-top .top-nav-links .nav-link {
  color: var(--secondary-color);
  font-weight: 600;
  padding: 2px 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header-top .top-nav-links .nav-link:hover {
  opacity: 0.85;
}

/* ==================== 2. MIDDLE BAR ==================== */
.header-middle {
  background-color: var(--fff);
}

.site-branding img {
  max-height: 65px;
  width: auto;
  object-fit: contain;
}

/* Khung Hotline Tổng đài miễn phí */
.hotline-box {
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 6px 18px;
  background-color: var(--fff);
  display: inline-flex;
}

.hotline-icon-wrapper {
  background-color: var(--fff);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-icon-wrapper .phone-icon {
  color: var(--primary-color);
  font-size: 15px;
  animation: phone-vibrate 1.8s infinite;
}

@keyframes phone-vibrate {
  0% {
    transform: rotate(0) scale(1);
  }

  10% {
    transform: rotate(-15deg) scale(1.1);
  }

  20% {
    transform: rotate(15deg) scale(1.1);
  }

  30% {
    transform: rotate(-15deg) scale(1.1);
  }

  40% {
    transform: rotate(15deg) scale(1.1);
  }

  50% {
    transform: rotate(0) scale(1);
  }

  100% {
    transform: rotate(0) scale(1);
  }
}

.hotline-info .hotline-title {
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--primary-color);
  margin-bottom: -2px;
}

.hotline-info .hotline-number {
  /* font-family: var(--font-family-secondary); */
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.hotline-info .hotline-number a {
  color: inherit;
}

/* Tiện ích Đăng nhập / Hotline list */
.utility-links {
  font-size: 14px;
  margin-bottom: 15px;
}

.utility-links .hotline-list-btn,
.utility-links .login-btn {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.utility-links .hotline-list-btn:hover,
.utility-links .login-btn:hover {
  opacity: 0.85;
}

/* .utility-links .hotline-list-btn::after {
  content: ' \f107';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
} */
/* Ô tìm kiếm Search Form */
.search-form .input-group {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dcdcdc;
}

.search-form .search-field {
  background-color: #ededed;
  border: none;
  font-size: 14px;
  padding: 8px 15px;
}

.search-form .search-field:focus {
  background-color: var(--fff);
  box-shadow: none;
  outline: none;
}

.search-form .btn-search {
  background-color: var(--primary-color);
  border: none;
  color: var(--fff);
  padding: 0 18px;
  transition: background-color 0.2s;
}

.search-form .btn-search:hover {
  background-color: #1e6420;
  /* hover sẫm màu */
}

/* ==================== 3. NAVIGATION BAR ==================== */
.main-navigation {
  background-color: var(--primary-color);
  color: #fff;
}

.nav-home-btn {
  background-color: var(--secondary-color);
  font-size: 18px;
  height: 48px;
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.nav-home-btn:hover {
  background-color: var(--secondary-color);
}

.main-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-menu-list .menu-item a {
  display: block;
  padding: 13px 10px;
  color: var(--fff);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  transition: background-color 0.2s;
}

.main-menu-list .menu-item a:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Menu Item nổi bật màu vàng (COMBO VOUCHER, LỊCH KHỞI HÀNH) */
.main-menu-list .menu-item.highlight-yellow a {
  color: #fff200 !important;
}

/* 1. Thiết lập mốc định vị cho Container chứa menu */
.main-navigation .container {
  position: relative;
  /* Giúp Mega Menu căn đều khít hai bên lề của trang */
}

/* 2. KHUNG CHÍNH MEGA MENU (Dropdown cấp 1 - ul.sub-menu trực hệ của menu chính) */
.main-menu-list>.menu-item-has-children>.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  /* Chiều rộng co giãn khít theo khung .container */
  background-color: var(--fff);
  border-top: 3px solid var(--secondary-color);
  /* Chỉ viền trên màu đỏ tươi */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 30px 25px !important;
  z-index: -2;

  /* Chuyển đổi cấu trúc danh sách dọc thành hàng ngang song song (Mega Columns) */
  display: flex !important;
  flex-direction: row;
  justify-content: flex-start;
  gap: 25px;

  /* Hiệu ứng trượt và mờ nhẹ mượt mà khi hover */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hiển thị Mega Menu khi hover mục chính */
.main-menu-list>.menu-item-has-children:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 999;
}


/* ==========================================================================
   3. ĐỊNH DẠNG CÁC CỘT CHÂU LỤC / MIỀN (Mục cấp 2 trong sub-menu)
   ========================================================================== */
.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item {
  flex: 1 1 0;
  /* Tự động chia đều chiều rộng thành 4 cột bằng nhau */
  min-width: 0;
  display: block !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Tiêu đề cột (Ví dụ: TOUR CHÂU Á, TOUR CHÂU ÂU,...) */
.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item>a {
  display: block;
  font-family: var(--font-family-3);
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  /* Đỏ sẫm */
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 0 12px 0 !important;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 15px !important;
  letter-spacing: 0.5px;
  pointer-events: none;
  /* Vô hiệu hóa click trực tiếp để đóng vai trò làm Title */
}


/* ==========================================================================
   4. DANH SÁCH QUỐC GIA CON BÊN TRONG CỘT (Dropdown cấp 2 - ul.sub-menu lồng trong)
   ========================================================================== */
.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item>.sub-menu {
  position: static !important;
  /* Gỡ bỏ tuyệt đối định vị bay tự do */
  display: block !important;
  /* Luôn luôn hiển thị phẳng dưới tiêu đề cột */
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;

  /* Tạo giới hạn chiều cao và thanh cuộn giống như hình ảnh mẫu */
  max-height: 250px;
  overflow-y: auto;
  padding-right: 8px !important;
}

/* Tùy biến thanh cuộn dọc (Scrollbar) chuẩn xác như ảnh mẫu */
.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item>.sub-menu::-webkit-scrollbar {
  width: 5px;
}

.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item>.sub-menu::-webkit-scrollbar-track {
  background-color: var(--brand-light-gray);
  border-radius: 10px;
}

.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item>.sub-menu::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  /* Đầu cuộn màu đỏ tươi */
  border-radius: 10px;
}


/* ==========================================================================
   5. ĐỊNH DẠNG CÁC LIÊN KẾT QUỐC GIA (Mục cấp 3 cuối cùng)
   ========================================================================== */
.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item>.sub-menu>.menu-item {
  display: block !important;
  border: none !important;
}

.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item>.sub-menu>.menu-item>a {
  font-family: var(--font-family-primary);
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  /* Xám đen nhẹ */
  padding: 5px 0 !important;
  border: none !important;
  text-transform: none !important;
  display: block !important;
  transition: all 0.15s ease-in-out;
  pointer-events: auto !important;
  /* Đảm bảo liên kết vẫn click được bình thường */
}

/* Hiệu ứng trượt nhẹ sang phải và đổi màu đỏ tươi khi hover từng quốc gia */
.main-menu-list>.menu-item-has-children>.sub-menu>.menu-item>.sub-menu>.menu-item>a:hover {
  color: var(--secondary-color) !important;
  background: transparent !important;
  padding-left: 6px !important;
}

/* Responsive & Mobile */
@media (max-width: 991.98px) {
  .site-branding img {
    max-height: 50px;
  }

  .menu-toggle {
    font-size: 24px;
    color: var(--primary-color);
  }
}

/* ==================== OFF-CANVAS MOBILE MENU ==================== */

/* Backdrop Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-active {
  display: block;
  opacity: 1;
}

/* Off-Canvas Drawer Panel */
.mobile-navigation-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 88vw;
  height: 100%;
  background-color: #fff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
}

.mobile-navigation-drawer.is-open {
  transform: translateX(0);
}

/* Prevent body scroll when drawer is open */
body.mobile-nav-open {
  overflow: hidden;
}


.mobile-drawer-logo {
  padding: 13px 16px;
}

.mobile-drawer-logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgb(255 255 255 / 20%);
}

.mobile-drawer-close:hover {
  opacity: 0.75;
}

/* ---- Drawer Search ---- */
.mobile-drawer-search {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.mobile-drawer-search .search-form .input-group {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dcdcdc;
}

.mobile-drawer-search .search-field {
  background-color: #f5f5f5;
  border: none;
  font-size: 14px;
  padding: 8px 12px;
}

.mobile-drawer-search .btn-search {
  background-color: var(--primary-color);
  border: none;
  color: #fff;
  padding: 0 14px;
}

/* ---- Drawer Navigation Menu ---- */
.mobile-drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list .menu-item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list .menu-item>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: background-color 0.18s, color 0.18s;
}

.mobile-menu-list .menu-item>a:hover,
.mobile-menu-list .menu-item.current-menu-item>a {
  background-color: #f8f8f8;
  color: var(--primary-color);
}

/* Sub-menu toggle arrow */
.mobile-menu-list .menu-item-has-children>a::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.mobile-menu-list .menu-item-has-children.sub-open>a::after {
  transform: rotate(180deg);
}

/* Sub-menu */
.mobile-menu-list .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
}

.mobile-menu-list .menu-item-has-children.sub-open>.sub-menu {
  display: block;
}

.mobile-menu-list .sub-menu .menu-item>a {
  padding: 11px 16px 11px 28px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  border-bottom: 1px solid #eee;
}

.mobile-menu-list .sub-menu .sub-menu .menu-item>a {
  padding-left: 40px;
  font-size: 12.5px;
  color: #777;
}

/* ---- Drawer Footer ---- */
.mobile-drawer-footer {
  padding: 16px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
  background-color: #fafafa;
}

.mobile-home-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mobile-home-link:hover {
  opacity: 0.8;
  color: var(--primary-color);
}

.mobile-hotline-link {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mobile-hotline-link:hover {
  opacity: 0.8;
  color: var(--secondary-color);
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
.social-media ul {
  margin: 0;
  padding: 0;
}

.social-media ul:before,
.social-media ul:after {
  content: '';
  display: table;
}

.social-media ul:after {
  clear: both;
}

.social-media ul:before,
.social-media ul:after {
  content: '';
  display: table;
}

.social-media ul:after {
  clear: both;
}

.social-media ul li {
  display: inline-block;
  vertical-align: top;
  margin-right: 8px;
}

.social-media ul li a {
  display: block;
  font-size: 18px;
  min-width: 27px;
  text-align: center;
}

.top-bar {
  min-height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-shadow: 0px 2px 5px #ddd;
  box-shadow: 0px 2px 5px #ddd;
}

.header-main>.container>.row {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.site-branding img {
  max-width: 200px;
}

.search-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.search-form {
  position: relative;
}

.search-form input[type="search"] {
  padding-right: 33px;
}

.search-form input[type="search"]:focus {
  outline: 0;
}

.search-form .search-submit {
  position: absolute;
  right: 0;
  height: 32px;
  font-size: 0;
  width: 33px;
  background-image: url('images/search.png');
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.search-form .search-submit:focus {
  outline: 0;
}

.page-title-bar {
  padding: 1px;
  color: #fff;
  background-position: center center;
  background-size: cover;
}

.page-title-bar a {
  color: inherit;
}

.page-title-bar .page-header {
  border: 0;
}

.page-title-bar ol {
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.page-title-bar ol li {
  display: inline-block;
  vertical-align: top;
}

.site-header {
  background: rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.1);
}

.site-header .row {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.site-header .row>* {
  display: inline-block;
  width: auto;
}

.site-header .row>.header-right {
  width: 40%;
  justify-items: right;
}

.site-header .header-right>div {
  width: 100%;
}

.header-right ul.dropdown-menu {
  min-width: 200px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

ul#top-nav-menu a {
  display: inline-block;
  padding: 0 12px;
  font-size: 14px;
  color: var(--secondary-color);
}

ul#top-nav-menu a:hover {
  color: var(--primary-color);
}

.header-btn {
  padding-top: 25px;
}

.header-btn .btn {
  font-weight: 700;
  font-size: 18px;
  border-radius: 60px;
  text-align: center;
  text-transform: uppercase;
  min-width: 210px;
  height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 52px;
}

.header-btn .btn i,
.header-btn .btn svg {
  display: none;
}

@media (max-width: 991px) {
  .header-btn .btn {
    font-size: 0;
    min-width: 50px;
  }

  .header-btn .btn i,
  .header-btn .btn svg {
    font-size: 18px;
    display: inline-block;
    margin-bottom: -4px;
  }
}

/*--------------------------------------------------------------
# menu
--------------------------------------------------------------*/
.menu-responsive {
  width: 0;
  left: 0;
  background: #f5f5f5;
  position: fixed;
  height: 100%;
  border-right: 0 solid #4abe63;
  z-index: 99;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
}

.menu-responsive.show-mn {
  left: 0px;
  width: 280px;
  border-right-width: 3px;
}

.menu-open {
  display: none;
}

/*--------------------------------------------------------------
# main
--------------------------------------------------------------*/
.breadcrumb {
  font-size: 14px;
  color: #333;
  margin: 0;
}

.breadcrumb a {
  color: inherit
}

.hrm-breadcrums ol {
  background-color: transparent;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  font-size: 14px;
  color: #333;
}

.breadcrumb .delimiter {
  color: #ccc;
  padding: 0 5px;
  display: inline-block;
}




.tour-single-page .text-brand-green {
  color: var(--brand-green) !important;
}

.tour-single-page .text-brand-pink {
  color: var(--brand-pink) !important;
}

.tour-single-page .btn-brand-pink {
  background-color: var(--brand-pink);
  border-color: var(--brand-pink);
  color: #fff;
  transition: background-color 0.2s ease-in-out;
}

.tour-single-page .btn-brand-pink:hover {
  background-color: #d62363;
  border-color: #d62363;
  color: #fff;
}

.tour-single-page .btn-outline-brand-green {
  color: var(--brand-green);
  border-color: var(--brand-green);
  transition: all 0.2s ease-in-out;
}

.tour-single-page .btn-outline-brand-green:hover {
  background-color: var(--brand-green);
  color: #fff;
}

/* Tab Navigation */
.tour-details-tabs .nav-tabs .nav-link {
  color: #565656;
  background-color: var(--brand-light-gray);
  border-radius: 0;
  transition: all 0.2s ease;
}

.tour-details-tabs .nav-tabs .nav-link.active {
  color: #fff !important;
  background-color: var(--brand-green) !important;
}

.tour-details-tabs .nav-tabs .nav-link:hover:not(.active) {
  background-color: #e2e1e1;
}

/* Khung giá trọn gói */
.tour-booking-card .price-box {
  background-color: #fff5f8;
  border: 1px dashed var(--brand-pink);
}

.tour-booking-card .price-old {
  font-size: 16px;
}

/* Định dạng cấu trúc danh sách & hình ảnh */
.whitespace-pre-line {
  white-space: pre-line;
}

.tour-program-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 10px 0;
}

/* ==========================================================================
   BẢNG LỊCH KHỞI HÀNH 
   ========================================================================== */
.departure-table-title {
  color: var(--theme-secondary, #ef3276);
  font-size: 20px;
  text-transform: uppercase;
}

.table-departure {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f5f5f5;
}

/* Phần Đầu bảng (Thead) */
.table-departure thead th {
  background-color: #cccccc !important;
  color: #212121 !important;
  font-weight: 700;
  padding: 10px;
  border: 1px solid #e0e0e0;
  font-size: 16px;
}

.table-departure thead th:last-child {
  border-right: none;
}

/* Thân bảng (Tbody) */
.table-departure tbody td {
  padding: 6px;
  border: 1px solid #e0e0e0;
  color: #4a4a4a;
  font-size: 16px;
}

.table-departure tbody tr:last-child td {
  border-bottom: none;
}

.table-departure tbody td:last-child {
  border-right: none;
}

/* Định dạng từng cột */
.table-departure .cell-stt {
  color: #7a7a7a;
}

.table-departure .cell-date {
  color: #4a4a4a;
}

.table-departure .price-new {
  color: var(--brand-pink);
  /* font-size: 14px; */
}

.table-departure .price-old {
  color: #7a7a7a;
  font-size: 12px;
  margin-top: 2px;
}

.table-departure .price-regular {
  color: #333;
}

/* Nút đặt hành động */
.btn-schedule-contact {
  background-color: #f0ad4e !important;
  border: 1px solid #eea236 !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  max-width: 110px;
  display: inline-block;
  color: #fff !important;
}

.btn-schedule-contact:hover {
  background-color: #ec971f !important;
  border-color: #d58512 !important;
  opacity: 0.95;
}

.btn-schedule-book {
  background-color: var(--brand-pink, #ef3276) !important;
  border: 1px solid var(--brand-pink, #ef3276) !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  max-width: 110px;
  display: inline-block;
  color: #fff !important;
}

.btn-schedule-book:hover {
  opacity: 0.9;
}

.tour-sidebar,
.widget-area-inner {
  position: relative;
  overflow: initial !important;
  height: 100%;
}

.widget-area .widget-title {
  margin: 0;
  margin-bottom: 20px;
  text-align: center;
  font-size: 18px;
  color: #000;
  padding-bottom: 10px;
  border-bottom: 1px solid #e1e1e1;
}

.widget-area .widget {
  padding: 20px;
  border: 1px solid #979797;
  border-radius: 10px;
  margin-bottom: 20px;
}

.widget-area .widget_hrm_tour_da_xem_widget {
  position: sticky;
  top: 40px;
}

.widget-list-container a {
  color: var(--primary-color);
  font-size: 14px;
}

.widget-list-container .item-price {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 700;
}

.widget-item-row {
  margin-bottom: 15px;
}

.widget-item-row:last-child {
  margin-bottom: 0;
}

.widget_hrm_kinh_nghiem_du_lich_widget .widget-item-row:first-child {
  flex-direction: column !important;
  flex-wrap: wrap;
  align-items: flex-start !important;
  align-content: flex-start !important;
  text-align: left;
}

.widget_hrm_kinh_nghiem_du_lich_widget .widget-item-row:first-child .item-thumb {
  width: 100%;
  margin-bottom: 10px;
  margin-right: 0 !important;
}

.widget_hrm_kinh_nghiem_du_lich_widget .widget-item-row:first-child .item-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.widget-area .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.widget-area .menu .menu-item {
  border-bottom: 1px solid #ededed;
}

.widget-area .menu .menu-item:last-child {
  border-bottom: none;
}

.widget-area .menu .menu-item a {
  display: flex;
  align-items: center;
  padding: 13px 0;
  color: #444444;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.widget-area .menu .menu-item a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #bcbcbc;
  border-radius: 50%;
  margin-right: 12px;
  transition: background-color 0.2s ease;
}

.widget-area .menu .menu-item a:hover {
  color: var(--brand-green);
  background-color: #fafdfa;
}

.widget-area .menu .menu-item a:hover::before {
  background-color: var(--brand-green);
}

.widget-area .menu .menu-item.current-menu-item a {
  color: var(--brand-green);
  font-weight: 700;
}

.widget-area .menu .menu-item.current-menu-item a::before {
  background-color: var(--brand-green);
}

/* -------------------------------------------------------
   Tour Program Timeline (.tpl-day)
------------------------------------------------------- */
.tour-program-list {
  padding: 8px 0;
}

.tpl-day {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-bottom: 0;
}

/* Cột trái: nhãn ngày + icon phương tiện */
.tpl-day__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 90px;
  flex-shrink: 0;
  padding-top: 0;
}

.tpl-day__label {
  background: var(--brand-pink, #e91e8c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
}

.tpl-day__icon {
  margin-top: 10px;
  color: #bbb;
  font-size: 18px;
}

/* Cột giữa: đường timeline + chấm */
.tpl-day__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
  flex-shrink: 0;
  padding-top: 6px;
  position: relative;
  display: none;
}

.tpl-day__line::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #e0e0e0;
}

.tpl-day--last .tpl-day__line::before {
  display: none;
}

.tpl-day__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--brand-pink, #e91e8c);
  background: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Cột phải: nội dung */
.tpl-day__content {
  flex: 1;
  padding: 0 0 30px 40px;
  position: relative;
  border-left: 2px solid #e7e7e7;
}

.tpl-day__content:before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary-color, #7f000a);
  box-shadow: 0 0 0 5px #be1e2e5e;
  position: absolute;
  top: 5px;
  left: -6px;
}

.tpl-day__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-green);
  margin: 0 0 12px 0;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Lưới ảnh ngày */
.tpl-day__images {
  display: block;
  /* grid-template-columns: repeat(3, 1fr); */
  /* gap: 6px; */
  margin-bottom: 14px;
}

.tpl-day__img-wrap {
  /* border-radius: 6px; */
  overflow: hidden;
  /* aspect-ratio: 4/3; */
}

.tpl-day__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nội dung sáng / trưa / chiều / tối */
.tpl-day__time {
  /* font-size: 14px; */
  color: #444;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.tpl-day__time:last-child {
  margin-bottom: 0;
}

.tpl-day__time strong {
  color: #222;
}

@media (max-width: 576px) {
  .tpl-day__left {
    width: 56px;
  }

  .tpl-day__images {
    grid-template-columns: repeat(2, 1fr);
  }

  .tpl-day__content {
    padding-left: 10px;
  }
}

/* === Carousel Thumbnails === */
.carousel-thumbnails {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.carousel-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
  flex: 0 0 auto;
}

.carousel-thumb img {
  display: block;
  width: 72px;
  height: 52px;
  object-fit: cover;
}

.carousel-thumb:hover {
  opacity: 1;
}

.carousel-thumb.active {
  border-color: var(--brand-pink);
  opacity: 1;
}

/* === Tour Card (archive-tour / widget) === */
.tour-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 18px;
  line-height: 1.5;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tour-header .page-title {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.tour-header .counter {
  display: inline-block;
  margin-left: 5px;
}

.tour-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Nút yêu thích trên card tour */
.tour-card__fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  color: #ccc;
  padding: 0;
  line-height: 1;
}
.tour-card__fav-btn:hover,
.tour-card__fav-btn.active {
  background: #fff;
  color: var(--brand-pink, #e91e8c);
}
.tour-card__fav-btn i { font-size: 15px; pointer-events: none; }

.tour-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
  transform: translateY(-3px);
}

/* --- image --- */
.tour-card__img-link {
  display: block;
}

.tour-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.tour-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.tour-card:hover .tour-card__img {
  transform: scale(1.05);
}

/* --- badge GIÁ HOT --- */
.tour-card__badge-hot {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #f9a826, #e85d04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  text-transform: uppercase;
}

/* --- badge KH từ --- */
.tour-card__badge-kh {
  position: absolute;
  top: 12px;
  right: 0;
  background: var(--brand-green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px 4px 12px;
  border-radius: 3px 0 0 3px;
  line-height: 1.4;
}

/* --- body --- */
.tour-card__body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card__title a {
  color: inherit;
  text-decoration: none;
}

.tour-card__title a:hover {
  color: var(--brand-pink);
}

.meta-footer {
  display: flex;
  justify-content: space-between;
}

/* --- meta icons --- */
.tour-card__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tour-card__meta li {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tour-card__meta li i {
  color: var(--brand-green);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

/* --- footer (price + link) --- */
.tour-card__footer {
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  flex-direction: column;
}

.tour-card__price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tour-card__price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-pink);
}

.tour-card__price-old {
  font-size: 13px;
  color: #888;
  text-decoration: line-through;
}

.tour-card__more {
  font-size: 13px;
  /* font-weight: 700; */
  color: var(--brand-green);
  text-decoration: none;
  white-space: nowrap;
}

.tour-card__more:hover {
  color: var(--brand-pink);
}

@media (max-width: 767px) {
  .meta-footer {
    flex-direction: column;
  }

  .tour-card__footer {
    flex-direction: row;
  }
}

/* === Tour Reviews / Comments === */
.tour-reviews-section .review-item:last-child {
  border-bottom: none !important;
}

.tour-reviews-section .star-icon {
  transition: transform 0.15s;
}

.tour-reviews-section .star-icon:hover {
  transform: scale(1.2);
}

.review-form-wrapper textarea:focus,
.review-form-wrapper input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 0.15rem rgba(127, 0, 10, .15);
}

#tourReviewForm button[type=submit] {
  background: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
}

#tourReviewForm button[type=submit]:hover {
  background: #fff;
  color: var(--primary-color);
}

/* ==========================================================================
   Home Tour Blocks
   ========================================================================== */
.home-tour-block {
  padding: 40px 0;
}

.home-tour-block:nth-child(odd) {
  background: #fff;
}

.home-tour-block:nth-child(even) {
  background: #f7f9fa;
}

/* Header khối: tiêu đề + link "Xem thêm" */
.home-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--brand-green, #2d8a42);
}

.home-block__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--brand-green, #2d8a42);
  padding: 8px 18px;
  border-radius: 4px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.home-block__title i {
  font-size: 16px;
  opacity: .9;
}

.home-block__subtitle {
  font-weight: 400;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  opacity: .85;
}

.home-block__more {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-green, #2d8a42);
  text-decoration: none;
  border: 2px solid var(--brand-green, #2d8a42);
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.home-block__more:hover {
  background: var(--brand-green, #2d8a42);
  color: #fff;
}

/* ==========================================================================
   STYLE KHỐI TIN TỨC CO TRÒN BA CỘT
   ========================================================================== */

.hrm-news-grid-custom {
  margin-left: 0;
  margin-right: 0;
  background-color: var(--brand-light-gray);
}

.hrm-news-grid-custom>div {
  margin-top: 15px;
  margin-bottom: 15px;
}

/* Định dạng Tiêu đề mục con bên trái */
.hrm-news-grid-custom .sub-category-title {
  color: var(--brand-green, #7f000a) !important;
}

/* Tiêu đề bài viết nổi bật bên trái */
.hrm-news-grid-custom .featured-post-title a {
  color: var(--brand-pink, #be1e2d) !important;
  line-height: 1.35;
}

.hrm-news-grid-custom .featured-post-title a:hover {
  opacity: 0.9;
}

/* Khung bọc ảnh lớn ở giữa */
.hrm-news-grid-custom .featured-image-wrapper {
  border: 1px solid #ededed;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
}

/* ĐỊNH DẠNG CỘT PHẢI CÓ THANH CUỘN (SCROLL DOWN) CHUẨN MẪU */
.hrm-news-grid-custom .news-scroll-list {
  max-height: 380px;
  /* Giới hạn chiều cao cố định để kích hoạt scroll dọc */
  overflow-y: auto;
  padding-right: 12px;
}

/* Tùy biến thanh cuộn Scrollbar mượt mà */
.hrm-news-grid-custom .news-scroll-list::-webkit-scrollbar {
  width: 5px;
}

.hrm-news-grid-custom .news-scroll-list::-webkit-scrollbar-track {
  background-color: var(--fff);
  border-radius: 10px;
}

.hrm-news-grid-custom .news-scroll-list::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  /* Khớp màu đỏ tươi của hệ thống mới */
  border-radius: 10px;
}

.hrm-news-grid-custom .item-info .item-title {
  font-size: 14px;
}

/* Tinh chỉnh viền dọc ngăn cách cột trái và cột phải trên màn hình lớn */
@media (min-width: 992px) {
  .hrm-news-grid-custom .border-start-lg {
    border-left: 1.5px solid #e2e2e2 !important;
  }
}


/* Tour */

/* Grid card tour */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1199px) {
  .tour-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .home-block__title {
    font-size: 14px;
    padding: 7px 12px;
  }

  .home-block__header {
    flex-wrap: wrap;
  }
}

@media (max-width: 479px) {
  .tour-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Tour Search Form (4-tab)
   ========================================================================== */
.block-search {
  background: #f5f5f5;
  padding: 24px 0 16px;
}

.hrm-tour-search-wrap {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  overflow: visible;
}

/* --- Tabs --- */
.hrm-search-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #eee;
}

.hrm-search-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border: none;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-size: .88rem;
  color: #333;
  border-right: 1px solid #eee;
  transition: background .15s;
  text-decoration: none;
}

.hrm-search-tab:last-child {
  border-right: none;
}

.hrm-search-tab:hover,
.hrm-search-tab.active {
  background: #f9f9f9;
}

.hrm-search-tab.active {
  border-bottom: 3px solid var(--brand-green);
}

.hrm-stab-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.1rem;
}

.hrm-stab-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: .82rem;
  color: #666;
}

.hrm-stab-text strong {
  font-size: .94rem;
  font-weight: 700;
  color: #222;
}

/* --- Form panel --- */
.hrm-search-panel {
  padding: 14px 16px;
}

.hrm-search-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: stretch;
  border: 1px solid #ddd;
  border-radius: 6px;
  /* overflow: hidden; */
}

.hrm-sf-field {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  border-right: 1px solid #ddd;
  background: #fff;
}

.hrm-sf-field:last-of-type {
  border-right: none;
}

.hrm-sf-ico {
  position: absolute;
  left: 12px;
  color: #999;
  font-size: .85rem;
  pointer-events: none;
  z-index: 1;
}

.hrm-search-panel .hrm-sf-control {
  width: 100%;
  height: 48px;
  border: none;
  outline: none;
  padding: 0 10px 0 34px;
  font-size: .85rem;
  color: #444;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.hrm-sf-select .hrm-sf-control {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23aaa'/%3E%3C/svg%3E") no-repeat right 10px center;
}

.hrm-sf-date {
  flex: 1.3 1 0;
  position: relative;
}

.hrm-sf-date .hrm-sf-control {
  cursor: pointer;
  background: transparent;
}

.hrm-sf-submit {
  flex-shrink: 0;
  padding: 0 24px;
  height: 48px;
  background: var(--brand-green);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.hrm-sf-submit:hover {
  background: #5a0007;
}

/* --- Date picker dropdown --- */
.hrm-datepicker {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  padding: 12px 14px;
  min-width: 600px;
}

.hrm-dp-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hrm-dp-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 10px;
  flex: 1;
  color: #555;
  font-size: .82rem;
}

.hrm-dp-input-wrap input {
  border: none;
  outline: none;
  width: 100%;
  font-size: .82rem;
  cursor: pointer;
  background: transparent;
}

.hrm-dp-apply {
  background: var(--brand-green);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: .82rem;
  cursor: pointer;
}

.hrm-dp-cancel {
  background: #f0f0f0;
  color: #555;
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: .82rem;
  cursor: pointer;
}

.hrm-dp-calendars {
  display: flex;
  gap: 16px;
}

.hrm-dp-calendar {
  flex: 1;
}

.hrm-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hrm-cal-title {
  font-weight: 600;
  font-size: .85rem;
  color: #333;
}

.hrm-cal-nav {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #555;
  padding: 0 4px;
  line-height: 1;
}

.hrm-cal-nav:hover {
  color: var(--brand-green);
}

.hrm-cal-nav-placeholder {
  width: 24px;
  display: inline-block;
}

.hrm-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.hrm-cal-dow {
  font-size: .72rem;
  font-weight: 600;
  color: #888;
  padding: 3px 0;
}

.hrm-cal-day {
  font-size: .8rem;
  padding: 5px 2px;
  border-radius: 4px;
  cursor: pointer;
  color: #333;
  transition: background .1s;
}

.hrm-cal-day:hover:not(.disabled):not(.other) {
  background: #e8f5e9;
}

.hrm-cal-day.disabled {
  color: #ccc;
  cursor: default;
}

.hrm-cal-day.other {
  color: #ccc;
  cursor: default;
}

.hrm-cal-day.selected {
  background: var(--brand-green);
  color: #fff;
  border-radius: 4px;
}

.hrm-cal-day.in-range {
  background: #e8f5e9;
  border-radius: 0;
}

.hrm-cal-day.start {
  border-radius: 4px 0 0 4px;
}

.hrm-cal-day.end {
  border-radius: 0 4px 4px 0;
}

/* --- Search result header --- */
.ts-result-title {
  color: var(--brand-green);
}

.ts-sort-wrap .tour-filter-select {
  width: auto;
  max-width: 200px;
}

@media (max-width: 991px) {
  .hrm-search-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .hrm-search-form {
    flex-wrap: wrap;
    border: none;
    gap: 8px;
  }

  .hrm-sf-field {
    border: 1px solid #ddd;
    border-radius: 6px;
    flex: 1 1 45%;
  }

  .hrm-sf-submit {
    width: 100%;
    height: 44px;
    border-radius: 6px;
  }

  .hrm-datepicker {
    min-width: calc(100vw - 32px);
    left: 0;
  }

  .hrm-dp-calendars {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .hrm-search-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .hrm-sf-field {
    flex: 1 1 100%;
  }

  .hrm-stab-icon {
    width: 34px;
    height: 34px;
    font-size: .9rem;
  }

  .hrm-stab-text strong {
    font-size: .82rem;
  }
}

/* ==========================================================================
   Tour Filter Bar (archive-tour)
   ========================================================================== */
.tour-filter-bar {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  padding: 10px 14px;
}

.tour-filter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tour-filter-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
}

.tour-filter-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tour-filter-select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 28px 5px 10px;
  font-size: .82rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 8px center;
  background-size: 10px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  color: #333;
  height: 34px;
  max-width: 145px;
  transition: border-color .15s;
}

.tour-filter-select:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 2px rgba(127, 0, 10, .12);
}

.tour-filter-sort-select {
  max-width: 210px;
}

.tour-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  padding: 4px 0;
}

.tour-filter-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: var(--brand-green);
  flex-shrink: 0;
}

.tour-filter-sort-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  border-left: 1px solid #ddd;
  padding-left: 12px;
  margin-left: 4px;
}

.tour-filter-sort-label {
  font-size: .82rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .tour-filter-bar {
    padding: 8px 10px;
  }

  .tour-filter-select {
    max-width: none;
    width: 100%;
  }

  .tour-filter-sort-wrap {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #eee;
    padding-top: 8px;
    margin-left: 0;
    width: 100%;
  }

  .tour-filter-sort-select {
    max-width: none;
    width: 100%;
  }
}

/* ==========================================================================
   Related Tours Sale-off Section
   ========================================================================== */
.related-tours-section {
  padding: 0 0 32px;
}

.related-tours-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-pink);
  display: flex;
  align-items: center;
}

.tour-scroll-nav {
  background-color: var(--brand-light-gray);
}

.tour-scroll-nav .nav-link {
  transition: all 0.3s ease;
}

.tour-scroll-nav .nav-link.active,
.tour-scroll-nav .nav-link:hover {
  background: var(--primary-color);
  color: #fff;
}

.notes-content {
  font-size: 14px;
}

.tour-meta-grid {
  font-size: 14px;
}

.tour-meta-grid .row>* {
  margin-top: 10px;
}

/* Mặc định tất cả các ngôi sao là màu xám */
#starRatingInput .star-icon {
  color: #ccc;
  transition: color 0.1s ease-in-out;
  font-size: 1.2rem;
  cursor: pointer;
  margin-right: 3px;
}

.star-rating-wp>span {
  display: inline-block;
}

/* TRẠNG THÁI TỰ NHIÊN: Tô màu vàng cho các sao từ 1 đến giá trị đã click chọn */
#starRatingInput .star-icon.active {
  color: #ffc107 !important;
}

/* TRẠNG THÁI HOVER 
      Khi chuột đang rê vào vùng chọn sao, ta sẽ DÙNG CSS ÉP BUỘC ĐỔI MÀU toàn bộ các sao theo thời gian thực, 
      bất chấp trạng thái click trước đó đang là bao nhiêu sao. */
/* 1. Trước hết, chuyển toàn bộ sao về màu xám khi bắt đầu hover vào container */
#starRatingInput[data-hover-val] .star-icon {
  color: #ccc !important;
}

/* 2. Ép các ngôi sao có số thứ tự nhỏ hơn hoặc bằng vị trí chuột đang đứng chuyển sang màu vàng */
#starRatingInput[data-hover-val="1"] .star-icon[data-val="1"],
#starRatingInput[data-hover-val="2"] .star-icon[data-val="1"],
#starRatingInput[data-hover-val="2"] .star-icon[data-val="2"],
#starRatingInput[data-hover-val="3"] .star-icon[data-val="1"],
#starRatingInput[data-hover-val="3"] .star-icon[data-val="2"],
#starRatingInput[data-hover-val="3"] .star-icon[data-val="3"],
#starRatingInput[data-hover-val="4"] .star-icon[data-val="1"],
#starRatingInput[data-hover-val="4"] .star-icon[data-val="2"],
#starRatingInput[data-hover-val="4"] .star-icon[data-val="3"],
#starRatingInput[data-hover-val="4"] .star-icon[data-val="4"],
#starRatingInput[data-hover-val="5"] .star-icon {
  color: #ffc107 !important;
}

/* ── Visa Archive ── */
.visa-archive-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 48px 0 36px;
  margin-bottom: 48px;
  text-align: center;
}

.visa-archive-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.visa-archive-hero p {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 580px;
  margin: 0 auto;
}

/* Region section */
.visa-region-section {
  margin-bottom: 56px;
}

.visa-region-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-color);
}

.visa-region-heading h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.visa-region-heading a {
  margin-left: auto;
  font-size: .85rem;
  color: var(--primary-color);
  text-decoration: none;
  white-space: nowrap;
}

.visa-region-heading a:hover {
  text-decoration: underline;
}

/* Visa card */
.visa-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: transform .22s, box-shadow .22s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.visa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(12, 90, 54, .18);
}

.visa-card__img-wrap {
  position: relative;
  width: 100%;
  padding-top: 62%;
  overflow: hidden;
  background: #eef2ef;
}

.visa-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.visa-card:hover .visa-card__img {
  transform: scale(1.05);
}

.visa-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.visa-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a2d1e;
  margin: 0 0 10px;
  line-height: 1.4;
  flex: 1;
}

.visa-card__title a {
  color: inherit;
  text-decoration: none;
}

.visa-card__title a:hover {
  color: var(--primary-color);
}

.visa-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: .8rem;
  color: #666;
}

.visa-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.visa-card__btn {
  display: block;
  text-align: center;
  background: var(--primary-color);
  color: #fff !important;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s;
}

.visa-card__btn:hover {
  background: var(--secondary-color);
}

/* Region nav pills */
.visa-region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.visa-region-nav a {
  background: #f0f5f2;
  color: var(--primary-color);
  border: 1.5px solid #c3dace;
  border-radius: 30px;
  padding: 6px 18px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s, color .18s;
}

.visa-region-nav a:hover,
.visa-region-nav a.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ── Visa Region Taxonomy ── */
.visa-region-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 44px 0 32px;
  margin-bottom: 40px;
}

.visa-region-hero h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.visa-region-hero .breadcrumb-visa {
  font-size: .88rem;
  opacity: .8;
}

.visa-region-hero .breadcrumb-visa a {
  color: #fff;
  text-decoration: none;
}

.visa-region-hero .breadcrumb-visa a:hover {
  text-decoration: underline;
}

.visa-region-desc {
  margin-bottom: 32px;
  color: #555;
  font-size: .97rem;
  line-height: 1.7;
  max-width: 760px;
}

/* Visa card (shared with archive-visa.php — duplicate kept here for self-containment) */
.visa-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: transform .22s, box-shadow .22s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.visa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(12, 90, 54, .18);
}

.visa-card__img-wrap {
  position: relative;
  width: 100%;
  padding-top: 62%;
  overflow: hidden;
  background: #eef2ef;
}

.visa-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.visa-card:hover .visa-card__img {
  transform: scale(1.05);
}

.visa-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.visa-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a2d1e;
  margin: 0 0 10px;
  line-height: 1.4;
  flex: 1;
}

.visa-card__title a {
  color: inherit;
  text-decoration: none;
}

.visa-card__title a:hover {
  color: var(--primary-color);
}

.visa-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: .8rem;
  color: #666;
}

.visa-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.visa-card__btn {
  display: block;
  text-align: center;
  background: var(--primary-color);
  color: #fff !important;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s;
}

.visa-card__btn:hover {
  background: var(--secondary-color);
}

/* Sibling regions list */
.visa-other-regions {
  background: #f7faf8;
  border: 1px solid #d6e9dc;
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 36px;
}

.visa-other-regions h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.visa-other-regions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visa-other-regions ul li a {
  display: inline-block;
  background: #fff;
  border: 1.5px solid #c3dace;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .85rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: background .18s, color .18s;
}

.visa-other-regions ul li a:hover,
.visa-other-regions ul li a.current {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ── Single Visa ── */
.visa-single-hero {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
  background: #eef2ef;
  position: relative;
}

.visa-single-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.visa-single-hero .no-img {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: .3;
}

/* Breadcrumb */
.visa-breadcrumb {
  font-size: .85rem;
  color: #888;
  margin-bottom: 16px;
}

.visa-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.visa-breadcrumb a:hover {
  text-decoration: underline;
}

/* Title */
.visa-single-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a2d1e;
  margin-bottom: 16px;
  line-height: 1.35;
}

/* Quick info pills */
.visa-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: #f7faf8;
  border-radius: 10px;
  border: 1px solid #d6e9dc;
}

.visa-quick-info .qi-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: #444;
}

.visa-quick-info .qi-item strong {
  color: var(--primary-color);
}

/* Content */
.visa-single-content {
  font-size: .97rem;
  line-height: 1.78;
  color: #333;
}

.visa-single-content h2,
.visa-single-content h3 {
  color: var(--primary-color);
  margin-top: 1.6em;
}

/* ── Sidebar ── */
.visa-sidebar-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
  overflow: hidden;
  margin-bottom: 24px;
}

/* Price box */
.vsb-price-head {
  background: var(--primary-color);
  color: #fff;
  padding: 16px 20px;
  text-align: center;
}

.vsb-price-head .vsb-label {
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 4px;
}

.vsb-price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.5px;
}

.vsb-price-body {
  padding: 16px 20px;
}

.vsb-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .88rem;
  color: #444;
}

.vsb-meta-row:last-child {
  border-bottom: none;
}

.vsb-meta-row i {
  width: 18px;
  text-align: center;
  color: var(--primary-color);
}

.vsb-meta-row strong {
  color: #1a2d1e;
}

/* Contact button */
.vsb-cta {
  display: block;
  background: var(--secondary-color);
  color: #fff !important;
  text-align: center;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 0 0 12px 12px;
  transition: background .2s;
  letter-spacing: .02em;
}

.vsb-cta:hover {
  background: var(--secondary-color);
}

.vsb-cta i {
  margin-right: 6px;
}

/* Detail box (includes / excludes / note) */
.vsb-detail-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
  overflow: hidden;
  margin-bottom: 24px;
}

.vsb-detail-head {
  padding: 12px 18px;
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vsb-detail-head.inc {
  background: var(--primary-color);
}

.vsb-detail-head.exc {
  background: var(--secondary-color);
}

.vsb-detail-head.note {
  background: #f39c12;
}

.vsb-detail-body {
  padding: 14px 18px;
  font-size: .88rem;
  line-height: 1.7;
  color: #444;
}

.vsb-detail-body ul {
  margin: 0;
  padding-left: 18px;
}

.vsb-detail-body ul li {
  margin-bottom: 4px;
}

/* Contact form */
.vsb-contact-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
  overflow: hidden;
  margin-bottom: 24px;
}

.vsb-contact-head {
  background: var(--primary-color);
  color: #fff;
  padding: 12px 18px;
  font-size: .92rem;
  font-weight: 700;
}

.vsb-contact-body {
  padding: 18px;
}

.vsb-contact-body .form-group {
  margin-bottom: 12px;
}

.vsb-contact-body .form-control {
  border-radius: 8px;
  border: 1.5px solid #d6e9dc;
  font-size: .88rem;
  padding: 8px 12px;
  width: 100%;
  transition: border-color .2s;
}

.vsb-contact-body .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.vsb-contact-body textarea.form-control {
  resize: vertical;
  min-height: 80px;
  height: 80px;
}

.vsb-contact-submit {
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.vsb-contact-submit:hover {
  background: var(--secondary-color);
}

.vsb-form-notice {
  font-size: .8rem;
  color: #888;
  margin-top: 8px;
  text-align: center;
}

.vsb-form-msg {
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  display: none;
  font-size: .88rem;
}

.vsb-form-msg.success {
  background: #d4edda;
  color: #155724;
  display: block;
}

.vsb-form-msg.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}

/* Related visas */
.visa-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #eef2ef;
}

.visa-related h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 22px;
}

/* Mini card for related */
.visa-mini-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .07);
  margin-bottom: 14px;
  transition: box-shadow .2s;
  text-decoration: none;
  color: inherit;
}

.visa-mini-card:hover {
  box-shadow: 0 4px 16px rgba(12, 90, 54, .15);
  color: inherit;
}

.visa-mini-card__img {
  width: 80px;
  min-height: 70px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eef2ef;
}

.visa-mini-card__body {
  padding: 10px 12px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visa-mini-card__title {
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1a2d1e;
  line-height: 1.35;
}

.visa-mini-card__price {
  font-size: .82rem;
  color: var(--primary-color);
  font-weight: 700;
}

.pagination-wrapper ul.page-numbers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}

.pagination-wrapper ul.page-numbers li {
  display: inline-block;
}

.pagination-wrapper ul.page-numbers li a,
.pagination-wrapper ul.page-numbers li span {
  display: block;
  padding: 6px 12px;
  background: #f0f0f0;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.pagination-wrapper ul.page-numbers li a:hover {
  background: var(--primary-color);
  color: #fff;
}

.pagination-wrapper ul.page-numbers li .current {
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
}

/* ==========================================================================
   STYLE TRANG LỖI 404 BẮT MẮT (HRM TOUR TRAVEL THEME)
   ========================================================================== */

.hrm-404-page {
  background-color: #f7f9fa;
}

/* Hiệu ứng khinh khí cầu nhấp nhô sống động */
@keyframes balloonFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(4deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.hrm-404-page .balloon-animation {
  animation: balloonFloat 5s ease-in-out infinite;
  transform-origin: center bottom;
}

/* Định dạng mã lỗi 404 nổi bật */
.hrm-404-page .error-code {
  font-size: 110px;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-pink, #ef3276), #be1e2d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  text-shadow: 2px 5px 15px rgba(239, 50, 118, 0.15);
}

.hrm-404-page .error-title {
  color: var(--brand-green, #27822a);
  font-size: 26px;
  letter-spacing: -0.5px;
}

.hrm-404-page .error-desc {
  font-size: 15px;
  line-height: 1.6;
}

/* Định dạng Ô Tìm Kiếm */
.hrm-404-page .search-box-404 .input-group {
  border-radius: 30px;
  /* Bo tròn dài hiện đại */
  overflow: hidden;
  border: 1px solid #ddd;
}

.hrm-404-page .search-box-404 .form-control {
  border: none;
  padding: 14px 20px;
  font-size: 14px;
}

.hrm-404-page .search-box-404 .form-control:focus {
  box-shadow: none;
  background-color: #fff;
}

.hrm-404-page .search-box-404 .btn-search {
  background-color: var(--brand-green, #27822a);
  border: none;
  padding: 0 25px;
  transition: background-color 0.2s;
}

.hrm-404-page .search-box-404 .btn-search:hover {
  background-color: #1e6420;
}

/* Định dạng Nút */
.hrm-404-page .btn-brand-pink {
  background-color: var(--brand-pink, #ef3276);
  border: none;
  border-radius: 30px;
  transition: all 0.2s ease-in-out;
}

.hrm-404-page .btn-brand-pink:hover {
  background-color: #d62363;
  transform: translateY(-2px);
}

.hrm-404-page .btn-outline-brand-green {
  color: var(--brand-green, #27822a);
  border: 2px solid var(--brand-green, #27822a);
  background-color: transparent;
  border-radius: 30px;
  transition: all 0.2s ease-in-out;
}

.hrm-404-page .btn-outline-brand-green:hover {
  background-color: var(--brand-green, #27822a);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .hrm-404-page .error-code {
    font-size: 80px;
  }

  .hrm-404-page .error-title {
    font-size: 20px;
  }
}

.no-results.not-found {
  border-color: #e5e5e5 !important
}

.no-results.not-found .page-title {
  color: #1a1a1a !important;
  letter-spacing: -.3px
}

@keyframes compassPulse {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.05)
  }

  100% {
    transform: scale(1)
  }
}

.illustration-none svg {
  animation: compassPulse 4s ease-in-out infinite
}

.search-none-box .input-group {
  border-radius: 4px;
  overflow: hidden
}

.search-none-box .form-control:focus {
  box-shadow: none;
  border-color: var(--brand-green, #27822a)
}

.popular-suggestions .badge {
  transition: all .2s ease-in-out;
  font-size: 12px
}

.popular-suggestions .badge:hover {
  background-color: var(--brand-pink, #ef3276) !important;
  color: #fff !important;
  border-color: var(--brand-pink, #ef3276) !important
}

.main-cf7-wrapper .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 15px;
}

.main-cf7-wrapper input[type="text"],
.main-cf7-wrapper input[type="email"],
.main-cf7-wrapper input[type="tel"],
.main-cf7-wrapper textarea {
  width: 100% !important;
  padding: 10px 15px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  outline: none !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease-in-out !important;
}

.main-cf7-wrapper textarea {
  height: 120px;
}

.main-cf7-wrapper input:focus,
.main-cf7-wrapper textarea:focus {
  border-color: #1b3a60 !important;
  box-shadow: 0 0 0 3px rgba(27, 58, 96, 0.1) !important;
}

.main-cf7-wrapper input[type="submit"],
.main-cf7-wrapper .wpcf7-submit {
  width: 100% !important;
  background-color: #1b3a60 !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 20px !important;
  font-weight: bold !important;
  font-size: 16px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s !important;
}

.main-cf7-wrapper input[type="submit"]:hover,
.main-cf7-wrapper .wpcf7-submit:hover {
  background-color: #122844 !important;
}

.main-cf7-wrapper .wpcf7-spinner {
  float: right;
}

.hrm-terms-page {
  font-family: var(--font-family-primary);
  color: var(--text-color);
}

.hrm-terms-page .bg-light-gray {
  background-color: var(--brand-light-gray);
}

.hrm-terms-page .header-utm {
  font-family: var(--font-family-secondary);
  color: var(--primary-color);
}

.hrm-terms-page .text-secondary-color {
  color: var(--secondary-color);
}

.hrm-terms-page .text-primary-color {
  color: var(--primary-color);
}

/* Kiểu dáng danh mục điều khoản */
.terms-item {
  border-bottom: 1px dashed #e9e9e9;
  padding-bottom: 15px;
}

.terms-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.terms-title {
  /* font-family: var(--font-family-3); */
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.terms-number {
  background-color: var(--secondary-color);
  color: var(--fff);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-right: 10px;
}

/* Sidebar bên phải */
.brand-badge-info {
  background-color: var(--brand-light-gray);
}

.brand-name-title {
  font-family: var(--font-family-secondary);
  color: var(--primary-color);
  font-size: 20px;
}

.terms-sidebar-box {
  border-color: #ededed !important;
}

.terms-sidebar-box .sidebar-title {
  border-bottom: 2px solid var(--secondary-color);
  font-family: var(--font-family-3);
  color: var(--primary-color);
}

.terms-sidebar-box .office-title {
  font-size: 15px;
  font-family: var(--font-family-3);
}

/* Nút liên hệ tùy biến dựa theo biến bs-btn-hover */
.btn-contact-custom {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--fff);
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.btn-contact-custom:hover {
  color: var(--bs-btn-hover-color) !important;
  background-color: var(--bs-btn-hover-bg) !important;
  border-color: var(--bs-btn-hover-border-color) !important;
}

.text-justify {
  text-align: justify;
}

h1.page-title {
  margin-top: 10px;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 35px;
}

.list-articals .artical {
  position: relative;
  margin-bottom: 50px;
  display: flex;
}

.artical .artical-image {
  width: 250px;
}

.artical .artical-image img {
  width: 100%;
  /* height: 100%; */
  /* object-fit: cover; */
}

.artical .artical-content {
  width: calc(100% - 165px);
  padding-left: 15px;
  overflow: hidden;
}

.artical .artical-content .title {
  text-decoration: none;
  color: #333;
  margin-bottom: 5px;
  display: block;
  display: -webkit-box;
  height: 50.4px;
  font-size: 18px;
  line-height: 1.4em;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artical .artical-content .description {
  color: #666;
  display: block;
  display: -webkit-box;
  height: 63px;
  font-size: 15px;
  line-height: 1.4em;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artical .artical-content .info {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}

.single-post h1.entry-title {
  font-size: 20px;
}

.entry-meta {
  font-size: 14px;
  color: #777;
}

.entry-meta a {
  color: inherit
}

.entry-meta>span {
  margin-right: 15px;
  display: inline-block;
}

footer.entry-footer {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

footer.entry-footer>span {
  margin-right: 15px;
  display: inline-block;
}

footer.entry-footer a {
  color: inherit;
}

/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
footer.site-footer {
  background: var(--primary-color);
  padding-top: 35px;
  /* padding-bottom: 10px; */
  color: var(--fff);
}

.footer-top .widget-title {
  margin-bottom: 20px;
}

.footer-top ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.footer-top ul ul {
  padding-left: 24px;
}

.footer-top ul li {
  margin-bottom: 8px;
  ;
}

.footer-top .menu a {
  color: #fff;
}


.footer-bottom {
  /* font-weight: 700; */
  font-size: 14px;
  line-height: 54px;
  /* text-transform: uppercase; */
}

.footer-bottom .row {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer-bottom .row .col {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.footer-bottom img.logo_footer {
  width: 100px;
  max-width: 100%;
}

.footer-bottom .copy-col-last {
  text-align: right;
}

@media (min-width: 1200px) {

  .h3,
  h3 {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# responsive
--------------------------------------------------------------*/
/********* FB Responsive **********/
.hrm-comment-facebook .fb_iframe_widget,
.hrm-comment-facebook .fb_iframe_widget iframe[style],
.hrm-comment-facebook .fb_iframe_widget iframe span[style],
.hrm-comment-facebook .fb_iframe_widget span,
.fb-comments,
.fb-comments iframe[style],
.fb-comments span,
.fb-comments iframe span[style] {
  width: 100% !important;
  max-width: 100% !important;
}

/********* / FB Responsive **********/
@media (max-width: 991px) {
  .container {
    max-width: 100%;
  }
}

/********************************* MIN WIDTH  *********************************/
@media (min-width: 768px) {
  #wpadminbar #wp-admin-bar-site-name a.ab-item {
    max-width: 100px;
  }
}

div#wpadminbar {
  z-index: 98;
}

/* ==========================================================================
   Home Gallery Blocks (Khách hàng tiêu biểu & Giải thưởng du lịch)
   ========================================================================== */
.home-gallery-block {
  padding: 40px 0;
  background: #fff;
}

.home-gallery-block.giai-thuong {
  background: #f7f9fa;
}

.home-gallery__heading {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  letter-spacing: .06em;
  margin: 0 0 28px;
  position: relative;
}

.home-gallery__heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-green, #2d8a42);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* --- Swiper wrapper --- */
.home-gallery-swiper {
  position: relative;
  padding: 0 44px;
}

/* --- Logo khách hàng --- */
.kh-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  padding: 10px 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow .2s, border-color .2s;
}

.kh-logo-wrap:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
  border-color: var(--brand-green, #2d8a42);
}

.kh-logo-wrap img {
  max-height: 66px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter .25s;
}

.kh-logo-wrap:hover img {
  filter: grayscale(0%);
}

/* --- Giải thưởng --- */
.gt-item {
  text-align: center;
}

.gt-item img {
  max-height: 160px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: transform .25s;
}

.gt-item:hover img {
  transform: scale(1.04);
}

.gt-caption {
  font-size: 12px;
  color: #555;
  margin: 10px 0 0;
  line-height: 1.4;
}

/* --- Navigation buttons chung --- */
.kh-swiper .swiper-button-prev,
.kh-swiper .swiper-button-next,
.gt-swiper .swiper-button-prev,
.gt-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  background: var(--brand-green, #2d8a42);
  border-radius: 50%;
  color: #fff;
  top: 50%;
  transform: translateY(-30%);
}

.kh-swiper .swiper-button-prev::after,
.kh-swiper .swiper-button-next::after,
.gt-swiper .swiper-button-prev::after,
.gt-swiper .swiper-button-next::after {
  font-size: 14px;
}

.kh-swiper .swiper-button-prev,
.gt-swiper .swiper-button-prev {
  left: 0;
}

.kh-swiper .swiper-button-next,
.gt-swiper .swiper-button-next {
  right: 0;
}

@media (max-width: 767px) {
  .home-gallery-swiper {
    padding: 0 36px;
  }

  .home-gallery__heading {
    font-size: 18px;
  }

  .kh-logo-wrap {
    height: 70px;
  }

  .gt-item img {
    max-height: 120px;
  }
}


/* ==========================================================================
   STYLE TRANG KHÁCH HÀNG (ACCOUNT TEMPLATE REUSING EXISTING CLASSES)
   ========================================================================== */

.hrm-account-template {
  background-color: var(--brand-light-gray);
  font-family: var(--font-family-primary);
}

/* Tái sử dụng CSS của Card danh mục tin tức đầu trang cho Sidebar */
.account-sidebar-menu {
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background-color: var(--fff);
  overflow: hidden;
}

.account-sidebar-menu .nav-link {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease-in-out;
}

.account-sidebar-menu .nav-link.color-red,
.account-sidebar-menu .nav-link.color-red svg {
  color: #b13333;
}

.account-sidebar-menu .nav-link:last-child {
  border-bottom: none;
}

.account-sidebar-menu .nav-link i,
.account-sidebar-menu .nav-link svg {
  margin-right: 12px;
  font-size: 16px;
  color: inherit;
  transition: color 0.2s;
}

/* Trạng thái Tab Active - chuyển sang màu đỏ tươi của hệ thống mới */
.account-sidebar-menu .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: var(--brand-light-gray);
  font-weight: 700;
}

.account-sidebar-menu .nav-link.active i {
  color: var(--secondary-color) !important;
}

.account-sidebar-menu .nav-link:hover:not(.active) {
  background-color: rgba(190, 30, 45, 0.02);
  color: var(--secondary-color);
}

/* Khung nội dung chính bên phải (Card bọc ngoài giống trang Quy định chung) */
.account-content-pane {
  padding: 35px 30px;
  background-color: var(--fff);
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Tiêu đề tiêu chuẩn */
.account-content-pane .pane-heading {
  color: var(--primary-color);
  /* Đỏ sẫm chủ đạo */
  font-size: 20px;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #ededed;
  position: relative;
}

/* Vệt chỉ đỏ ngăn cách giống tiêu đề khối tin tức đã lập trình */
.account-content-pane .pane-heading::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2px;
  background-color: var(--secondary-color);
  /* Chỉ viền đỏ tươi */
}

/* Bảng phân rã thông tin chi tiết */
.profile-details-grid .detail-row {
  border-color: #f1f1f1 !important;
}

.profile-details-grid .detail-label {
  font-family: var(--font-family-primary);
  font-size: 14px;
}

.profile-details-grid .detail-val {
  font-family: var(--font-family-primary);
  font-size: 14px;
}

/* Tùy biến nút close và form điều khiển trong Modal */
.modal-header .btn-close {
  box-shadow: none;
}

.modal-content .form-control {
  border-radius: 4px;
  font-size: 13.5px;
  padding: 8px 12px;
}

.modal-content .form-control:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: none;
}

.modal-footer .btn-secondary {
  font-weight: 600;
  border-radius: 4px;
}

/* ==========================================================================
   STYLE TRANG ĐĂNG NHẬP / ĐĂNG KÝ (TÁI SỬ DỤNG HOÀN TOÀN CSS ĐÃ CÓ)
   ========================================================================== */

.auth-card {
  border: 1px solid #e2e2e2 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
}

/* Thừa hưởng hệ thống nút bấm chuyển đổi Tab từ Trang tài khoản */
.auth-card .nav-tabs .nav-link {
  font-family: var(--font-family-3);
  font-size: 15px;
  color: var(--text-color);
  background-color: #f1f1f1;
  border-radius: 0;
  transition: all 0.2s ease-in-out;
}

.auth-card .nav-tabs .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: var(--fff) !important;
  border-bottom: 2px solid var(--secondary-color);
}

.auth-card .nav-tabs .nav-link:hover:not(.active) {
  color: var(--secondary-color);
  background-color: #f0f2f4;
}

/* Biểu mẫu Form Controls */
.auth-card .form-control {
  border-radius: 4px;
  font-size: 13.5px;
  padding: 10px 14px;
}

.auth-card .form-control:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: none;
}