/* ============== TOUR CARD ============== */
.tour-card {
  overflow: hidden;
}

.tour-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px;
}

/* Desktop’ta 3 alan: media / content / aside */
@media (min-width: 992px) {
  .tour-card__grid {
    grid-template-columns: 320px 1fr 260px;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
  }
}

/* ---------- Media ---------- */
.tour-card__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f7fa;
  min-height: 180px;
}

.tour-card__media-link {
  display: block;
  height: 100%;
}

.tour-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  /* modern tarayıcılar */
}

/* Badge’ler */
.tour-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 25, 37, 0.12);
}

.tour-card__badge+.tour-card__badge {
  top: 46px;
}

/* ikinci badge */
.tour-card__badge--danger {
  background: #d9534f;
}

.tour-card__badge--success {
  background: #2bb170;
}

/* ---------- Body ---------- */
.tour-card__body {
  padding: 0 2px;
}

.tour-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.tour-card__title a {
  color: #0f1c2d;
  text-decoration: none;
}

.tour-card__title a:hover {
  color: var(--bs-primary, #cd2c22);
}

.tour-card__subline .vr {
  height: 14px;
  opacity: 0.2;
}

/* Özellik chip’leri */
.tour-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: #f3f5f8;
  color: #516170;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* ---------- Rating ---------- */
.tour-card__rating {
  align-items: center;
}

.tour-card__rating-badge {
  min-width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary, #cd2c22);
  color: #fff;
  font-weight: 800;
}

/* ---------- Aside (price & CTA) ---------- */
.tour-card__aside {
  display: flex;
  flex-direction: column;

}


.tour-card__deal .badge {
  font-weight: 700;
  border-radius: 8px;
  padding: 6px 10px;
}

.tour-card__price-now {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f1c2d;
  line-height: 1.2;
}

/* Alt meta satırı */
.tour-card__meta {
  color: #6b7a88;
}

/* Hover shadow */
.tour-card:hover {
  box-shadow: 0 10px 28px rgba(15, 25, 37, .09);
  transform: translateY(-1px);
  transition: box-shadow .2s ease, transform .2s ease;
}

/* Sağ üstteki değerlendirme satırı */
.tour-card__aside .rating-row {
  display: flex;
  align-items: center;
  /* dikey ortala */
  gap: .5rem;
  white-space: nowrap;
  /* alt satıra geçmesin */
}

.rating-row .rating-label,
.rating-row .rating-count {
  line-height: 1;
  /* alta kaymayı keser */
}

.rating-row .rating-count {
  font-size: .78rem;
  color: #9aa4b2;
  margin-left: .15rem;
}

/* Rozet zaten varsa, kalsın */
.tour-card__rating-badge {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e11d48;
  color: #fff;
  font-weight: 800;
}