
/* ============================================================
   TRIPIFYME V2 — PREMIUM HOMEPAGE POLISH
   Phase 2: Spacing · Cards · Hero · Animations · Responsive
============================================================ */

/* ── HEADER MOBILE FIX ───────────────────────────────────────── */
/* Theme hides .header-button at ≤991px — keep our actions row visible */
.header-button.header-actions {
  display: flex !important;
  align-items: center !important;
}

/* ── CSS TOKENS ──────────────────────────────────────────────── */
:root {
  --tm-primary:     #1e3a8a;
  --tm-orange:      #ff5c00;
  --tm-navy-light:  #e8eef8;
  --tm-navy-xlight: #f5f7ff;
  --tm-dark:        #0a1640;
  --section-space:  80px;
  --section-space-mobile: 50px;
}

/* ── KEYFRAMES ───────────────────────────────────────────────── */
@keyframes tmFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes tmFadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0);     }
}
@keyframes tmFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── 1. SECTION SPACING ─────────────────────────────────────── */
.tm-dest-section {
  padding-top: 70px;
  padding-bottom: 40px;
}
.tm-packages-section {
  background: linear-gradient(180deg, #f5f7ff 0%, #eef2ff 100%) !important;
  background-image: none !important;
}
.tm-activities-section {
  background: linear-gradient(180deg, #fff8f4 0%, #fff3ec 100%) !important;
  background-image: none !important;
}
.tm-gallery-section {
  padding-top: 60px;
}
.hotel-section-v3 {
  padding: 0 0 50px 0 !important;
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%) !important;
}
.promo-section {
  padding: 60px 20px !important;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%) !important;
}
.about-section {
  padding: 70px 0 !important;
}
.space, .space-bottom { padding-bottom: 70px !important; }
.space, .space-top    { padding-top: 70px !important; }

/* ── 2. HERO SECTION — PREMIUM UPGRADE ──────────────────────── */
.hero-slide::before {
  background: linear-gradient(
    160deg,
    rgba(12, 20, 70, 0.78) 0%,
    rgba(15, 22, 58, 0.52) 45%,
    rgba(160, 55, 0, 0.18) 100%
  ) !important;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.11) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 50px !important;
  padding: 8px 22px !important;
  margin-bottom: 20px !important;
  animation: tmFadeDown 0.7s ease both !important;
}

.hero-badge span {
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 0 !important;
  background: transparent !important;
}

.hero-title {
  animation: tmFadeUp 0.8s ease 0.15s both !important;
  text-shadow: 0 3px 35px rgba(0, 0, 0, 0.28) !important;
  letter-spacing: -1.5px !important;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #f9c52a 0%, #ff5c00 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.hero-actions {
  animation: tmFadeUp 0.8s ease 0.3s both !important;
}

.inquiry-box {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 50px !important;
  margin-bottom: 60px;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.inquiry-box:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
}

/* ── 3. SECTION HEADER SYSTEM ──────────────────────────────── */
.title-area .sub-title {
  background: transparent !important;
  border: 1px solid rgba(30, 58, 138, 0.28) !important;
  color: var(--tm-primary) !important;
  font-family: var(--title-font) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  padding: 7px 20px !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.title-area .sub-title img,
.sub-title img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Hotel rating ribbon — solid badge replacing clip-path triangle */
.rating-ribbon {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  background: linear-gradient(135deg, #f59e0b 0%, #ff5c00 100%) !important;
  color: #fff !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
  clip-path: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 8px rgba(255,92,0,0.35) !important;
}

.sec-title {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #0f1f5c !important;
  letter-spacing: -0.5px !important;
}

.text-center .sec-title::after,
.title-area .sec-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--tm-primary), var(--tm-orange));
  border-radius: 10px;
  margin: 10px auto 0;
}

/* ── 4. TOGGLE BUTTONS — PREMIUM PILL TABS ──────────────────── */
.toggle-wrapper {
  display: inline-flex !important;
  background: rgba(30, 58, 138, 0.06) !important;
  border-radius: 50px !important;
  padding: 4px !important;
  margin-top: 20px !important;
  border: 1px solid var(--tm-navy-light) !important;
  gap: 2px !important;
  margin-bottom: 30px;
}

.toggle-btn {
  border: none !important;
  background: transparent !important;
  padding: 9px 26px !important;
  border-radius: 50px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: #666 !important;
  letter-spacing: 0.3px !important;
}

.toggle-btn.active {
  background: linear-gradient(90deg, var(--tm-primary) 0%, #2d55c8 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(30, 58, 138, 0.30) !important;
}

.toggle-btn:not(.active):hover {
  background: rgba(30, 58, 138, 0.09) !important;
  color: var(--tm-primary) !important;
}

/* ── 5. DESTINATION SLIDER CARDS ────────────────────────────── */
.destination-box .destination-img {
  border-radius: 20px !important;
  overflow: hidden !important;
}

.destination-box .destination-img img {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.destination-box:hover .destination-img img {
  transform: scale(1.09) !important;
}

.destination-content {
  background: linear-gradient(
    to top,
    rgba(10, 18, 65, 0.92) 0%,
    rgba(10, 18, 65, 0.30) 60%,
    transparent 100%
  ) !important;
  border-radius: 0 0 20px 20px !important;
}

.destination-box .box-title a {
  transition: color 0.2s ease !important;
}
.destination-box:hover .box-title a { color: #f9c52a !important; }

/* ── 6. TOUR / PACKAGE CARDS ────────────────────────────────── */
.tour-box {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 22px rgba(30, 58, 138, 0.08) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease !important;
  background: #fff !important;
}

.tour-box:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 18px 44px rgba(30, 58, 138, 0.15) !important;
}

.tour-box_img,
.tour-box .global-img {
  overflow: hidden !important;
}

.tour-box_img img,
.tour-box .global-img img {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 100% !important;
}

.tour-box:hover .tour-box_img img,
.tour-box:hover .global-img img {
  transform: scale(1.08) !important;
}

.tour-content .box-title a {
  font-weight: 700 !important;
  color: var(--tm-dark) !important;
  transition: color 0.2s ease !important;
}
.tour-content .box-title a:hover { color: var(--tm-orange) !important; }

.tour-box_price .currency { color: var(--tm-orange) !important; }

.tour-action .th-btn.style4 {
  /* border-radius: 8px !important; */
  font-size: 12px !important;
  padding: 8px 16px !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.tour-action .th-btn.style4:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(255, 92, 0, 0.30) !important;
}

/* ── 7. HOTEL SECTION CARDS ─────────────────────────────────── */
.section-header-v3 { margin-bottom: 50px !important; }
.section-header-v3 h2 {
  font-size: 36px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, var(--tm-dark) 0%, var(--tm-primary) 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.section-header-v3 p { color: #6c757d !important; font-size: 15px !important; }
.section-header-v3 span { color: var(--tm-orange) !important; }

.hotel-card-v3 {
  background: #fff !important;
  border: 1px solid rgba(30, 58, 138, 0.10) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 22px rgba(30, 58, 138, 0.07) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease !important;
}
.hotel-card-v3:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(30, 58, 138, 0.22) !important;
  box-shadow: 0 18px 44px rgba(30, 58, 138, 0.13) !important;
}

.hotel-image-box {
  border-radius: 14px !important;
  overflow: hidden !important;
}
.hotel-image-box img {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.hotel-card-v3:hover .hotel-image-box img { transform: scale(1.07) !important; }

.hotel-content-v3 .location {
  color: var(--tm-orange) !important;
  font-weight: 600 !important;
}
.hotel-content-v3 h3 { color: var(--tm-dark) !important; }
.features-v3 { color: #6c757d !important; }
.features-v3 i { color: var(--tm-orange) !important; }
.hotel-bottom-v3 h4 { color: var(--tm-primary) !important; font-weight: 800 !important; }
.hotel-grid-v3 { gap: 24px !important; }

/* ── 8. PROMO / ATTRACTIONS CARDS ───────────────────────────── */
.promo-card {
  border-radius: 20px !important;
  height: 310px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14) !important;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease !important;
}
.promo-card:hover {
  transform: translateY(-9px) scale(1.01) !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22) !important;
}
.promo-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 18, 65, 0.88) 0%,
    rgba(0, 0, 0, 0.08) 55%,
    transparent 100%
  ) !important;
  transition: opacity 0.3s ease !important;
}
.promo-card:hover .promo-overlay { opacity: 0.85 !important; }
.promo-content h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}
.promo-tag {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(6px) !important;
  border-radius: 50px !important;
  padding: 3px 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}
.promo-btn.orange {
  background: linear-gradient(90deg, var(--tm-orange) 0%, #ff8c2b 100%) !important;
  font-weight: 700 !important;
}
.promo-btn:hover {
  opacity: 1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 16px rgba(255, 92, 0, 0.38) !important;
}

/* ── 9. GALLERY CARDS ───────────────────────────────────────── */
.gallery-card .box-img,
.gallery-card .global-img {
  overflow: hidden !important;
  border-radius: 14px !important;
}
.gallery-card .box-img img,
.gallery-card .global-img img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.gallery-card:hover .box-img img,
.gallery-card:hover .global-img img {
  transform: scale(1.10) !important;
}

/* ── 10. BLOG CARDS ─────────────────────────────────────────── */
.blog-box {
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease !important;
  box-shadow: 0 4px 18px rgba(30, 58, 138, 0.07) !important;
}
.blog-box:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 42px rgba(30, 58, 138, 0.13) !important;
}
.blog-box .blog-img,
.blog-box .global-img { overflow: hidden !important; }
.blog-box .blog-img img,
.blog-box .global-img img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.blog-box:hover .blog-img img,
.blog-box:hover .global-img img { transform: scale(1.07) !important; }

/* ── 11. CTA BUTTONS ─────────────────────────────────────────── */
.th-btn {
  transition: transform 0.2s ease, box-shadow 0.25s ease !important;
}
.th-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(255, 92, 0, 0.28) !important;
}

/* ── 12. SLIDER NAV ARROWS ──────────────────────────────────── */
.tour-prev,
.tour-next {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1.5px solid var(--tm-navy-light) !important;
  box-shadow: 0 2px 12px rgba(30, 58, 138, 0.10) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s !important;
  color: var(--tm-primary) !important;
  font-size: 14px !important;
}
.tour-prev:hover,
.tour-next:hover {
  background: var(--tm-primary) !important;
  border-color: var(--tm-primary) !important;
  color: #fff !important;
  transform: scale(1.08) !important;
}

/* ── 13. FOOTER ENHANCEMENT ─────────────────────────────────── */
.footer-tripify {
  background:
    linear-gradient(180deg, rgba(6, 10, 32, 0.97) 0%, rgba(8, 14, 38, 0.99) 100%),
    url('/assets/img/bg/footer.jpg') center/cover !important;
}
.footer-newsletter h3 {
  font-size: 24px !important;
  font-weight: 800 !important;
}
.newsletter-box {
  display: flex !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  margin-top: 20px !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.newsletter-box input {
  flex: 1 !important;
  padding: 14px 18px !important;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 14px !important;
  outline: none !important;
}
.newsletter-box input::placeholder { color: rgba(255,255,255,0.45) !important; }
.newsletter-box button {
  background: linear-gradient(90deg, var(--tm-primary) 0%, var(--tm-orange) 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 22px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: opacity 0.2s ease !important;
  letter-spacing: 0.3px !important;
}
.newsletter-box button:hover { opacity: 0.88 !important; }

.footer-social {
  display: flex !important;
  gap: 10px !important;
  margin-top: 22px !important;
}
.footer-social i {
  margin-right: 0 !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15px !important;
  transition: background 0.25s ease, color 0.25s ease,
              transform 0.2s ease, border-color 0.25s ease !important;
}
.footer-social i:hover {
  background: var(--tm-orange) !important;
  border-color: var(--tm-orange) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
}
.footer-links h5 {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  position: relative !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
}
.footer-links h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--tm-orange);
  border-radius: 10px;
}
.footer-links ul { list-style: none !important; padding: 0 !important; }
.footer-links li {
  color: rgba(255, 255, 255, 0.60) !important;
  font-size: 14px !important;
  margin-bottom: 9px !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}
.footer-links li:hover { color: rgba(255,255,255,0.95) !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(0,0,0,0.22) !important;
  padding: 18px 0 !important;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.50) !important;
  font-size: 13px !important;
  margin: 0 !important;
}
.footer-bottom-links span {
  margin-left: 18px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}
.footer-bottom-links span:hover { color: rgba(255,255,255,0.90) !important; }
.footer-brand p {
  color: rgba(255,255,255,0.62) !important;
  line-height: 1.75 !important;
  font-size: 14px !important;
}

/* ── 14. ABOUT SECTION ───────────────────────────────────────── */
.about-section {
  background: linear-gradient(180deg, #fafbff 0%, #f5f7ff 100%) !important;
}
.about-title { font-weight: 800 !important; color: var(--tm-dark) !important; }
.feature-box {
  border-radius: 12px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.feature-box:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 22px rgba(30, 58, 138, 0.10) !important;
}

/* ── 15. GLOBAL IMAGE HOVER ──────────────────────────────────── */
.global-img {
  overflow: hidden !important;
}
.global-img img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.global-img:hover img { transform: scale(1.07) !important; }

/* ── 16. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .sec-title { font-size: 30px !important; }
  .section-header-v3 h2 { font-size: 30px !important; }
  .hotel-card-v3 { padding: 22px !important; }
  .hotel-image-box { width: 220px !important; height: 170px !important; }
}

@media (max-width: 991px) {
  :root { --section-space: 60px; }
  .tm-dest-section { padding-top: 50px !important; padding-bottom: 24px !important; }
  .hotel-section-v3 { padding: 55px 0 !important; }
  .promo-section { padding: 50px 16px !important; }
  .about-section { padding: 55px 0 !important; }
  .space, .space-top    { padding-top: 55px !important; }
  .space, .space-bottom { padding-bottom: 55px !important; }
  .sec-title { font-size: 28px !important; }
  .promo-card { height: 270px !important; }
  .hotel-grid-v3 { grid-template-columns: 1fr !important; gap: 18px !important; }
  .hotel-card-v3 { flex-direction: column !important; align-items: flex-start !important; }
  .hotel-card-v3.reverse { flex-direction: column !important; }
  .hotel-image-box { width: 100% !important; height: 210px !important; }
}

@media (max-width: 768px) {
  :root { --section-space: 50px; }
  .sec-title { font-size: 24px !important; }
  .section-header-v3 h2 { font-size: 24px !important; }
  .about-title { font-size: 26px !important; }
  .footer-newsletter h3 { font-size: 20px !important; }
  .toggle-btn { padding: 8px 18px !important; font-size: 12px !important; }
  .promo-container { gap: 16px !important; }
  .promo-card { height: 245px !important; }
  .hotel-grid-v3 { gap: 16px !important; }
  .footer-links { padding: 32px 0 !important; }
  .footer-brand { margin-bottom: 32px !important; }
  .newsletter-box { flex-direction: column !important; }
  .newsletter-box button { padding: 13px 18px !important; text-align: center !important; }
  .footer-bottom .container > div {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }
  .footer-bottom-links span { margin-left: 10px !important; }
}

@media (max-width: 576px) {
  .sec-title { font-size: 22px !important; }
  .promo-container { grid-template-columns: 1fr !important; gap: 14px !important; }
  .promo-card { height: 230px !important; }
  .hotel-grid-v3 { gap: 14px !important; }
  .hotel-card-v3 { padding: 16px !important; gap: 16px !important; }
  .hotel-image-box { height: 190px !important; }
  .features-v3 { grid-template-columns: 1fr 1fr !important; font-size: 13px !important; }
  .tour-prev, .tour-next { width: 36px !important; height: 36px !important; }
  .toggle-btn { padding: 7px 15px !important; }
}

@media (max-width: 480px) {
  .sec-title { font-size: 20px !important; }
  .footer-social i { width: 34px !important; height: 34px !important; font-size: 13px !important; }
  .promo-section { padding: 36px 12px !important; }
  .hotel-section-v3 { padding: 36px 0 !important; }
  .tm-dest-section { padding-top: 36px !important; }
  .space, .space-top    { padding-top: 44px !important; }
  .space, .space-bottom { padding-bottom: 44px !important; }
}

/* ── UNIFIED LISTING CARDS — IMAGE OVERLAY + BADGES ──────────── */

/* Bottom gradient overlay on all tour-box images */
.tour-box_img.global-img {
  position: relative !important;
}
.tour-box_img.global-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 18, 65, 0.55) 0%,
    transparent 55%
  );
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.tour-box:hover .tour-box_img.global-img::after {
  opacity: 0.7;
}

/* Image height — consistent across all cards */
.tour-box_img.global-img img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Content area padding */
.tour-content {
  padding: 16px 18px 18px !important;
}

/* Title max 2 lines */
.tour-content .box-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  margin-bottom: 0 !important;
}

/* Tour action row alignment */
.tour-content .tour-action {
  display: flex !important;
  align-items: center !important;
  /* justify-content: flex-end !important; */
  margin-top: 12px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(30, 58, 138, 0.07) !important;
}

/* Consistent card height on listing grids */
.col-xxl-4 .tour-box,
.col-xl-6 .tour-box {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.col-xxl-4 .tour-content,
.col-xl-6 .tour-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.col-xxl-4 .tour-content .tour-action,
.col-xl-6 .tour-content .tour-action {
  margin-top: auto !important;
}

/* Responsive image height adjustments */
@media (max-width: 768px) {
  .tour-box_img.global-img img {
    height: 200px !important;
  }
}
@media (max-width: 480px) {
  .tour-box_img.global-img img {
    height: 185px !important;
  }
  .tour-content {
    padding: 14px 14px 14px !important;
  }
}

/* END TRIPIFYME V2 PREMIUM HOMEPAGE POLISH */
