/* ============================================================
   VOE RJ — Tour Card Component
   ============================================================ */
.voe-tour-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden; /* but wait, whatsapp button breaks out */
  position: relative;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  font-family: 'Manrope', sans-serif;
  z-index: 1; /* For hovering context */
}

/* We need overflow visible if the WA button breaks out.
   So let's structure the image border-radius explicitly instead of overflow hidden on the parent */
.voe-tour-card {
  overflow: visible;
}

.voe-tour-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.vtc-image {
  width: 100%;
  height: 220px;
  position: relative;
}
.vtc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.vtc-body {
  padding: 20px 24px 0 24px;
  display: flex;
  flex-direction: column;
}

.vtc-location {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 4px;
}

.vtc-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.vtc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vtc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #111827;
}

.vtc-features li i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.vtc-feat-green, .vtc-feat-green i {
  color: #16A34A !important;
  font-weight: 600;
}

.vtc-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 20px 24px;
  border: none;
}

.vtc-price-section {
  padding: 0 64px 0 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.vtc-price-label {
  font-size: 14px;
  color: #111827;
  margin-bottom: 2px;
}

.vtc-price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.vtc-price-value strong {
  font-size: 26px;
  font-weight: 900;
  color: #111827;
}

.vtc-price-value span {
  font-size: 15px;
  color: #111827;
  font-weight: 500;
}

.vtc-price-sub {
  font-size: 13px;
  color: #6B7280;
  margin-top: 2px;
}

.vtc-whatsapp-btn {
  position: absolute;
  right: -1px; /* To overlap border */
  top: 50%;
  transform: translateY(-50%);
  background: #25D366;
  color: #fff;
  width: 48px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 0 0 12px;
  font-size: 24px;
  text-decoration: none;
  box-shadow: -2px 4px 10px rgba(0,0,0,0.1);
  transition: background 0.2s;
  z-index: 2;
}
.vtc-whatsapp-btn:hover {
  background: #1EBE5D;
}

.vtc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 24px 24px;
  margin-top: auto;
}

.vtc-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #111827;
}

.vtc-rating i {
  color: #FACC15;
  font-size: 20px;
}

.vtc-cta {
  background: #FFC300;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.voe-tour-card:hover .vtc-cta {
  background: #e5b000;
}

/* Fix width for home page flex grid and related track */
.premium-flights-grid .voe-tour-card,
.fp-v2-related-track .voe-tour-card {
  width: calc(33.333% - 16px);
  min-width: 320px;
}

/* Ensure images fit within different contexts */
@media (max-width: 1024px) {
  .premium-flights-grid .voe-tour-card,
  .fp-v2-related-track .voe-tour-card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .premium-flights-grid .voe-tour-card,
  .fp-v2-related-track .voe-tour-card {
    width: 100%;
  }
  .vtc-image {
    height: 180px;
  }
}
