.tours-page-wrapper {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0px;
}
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tour-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.3s ease;
}
.tour-card-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-card-content {
  position: relative;
  background: #fff;
  margin-top: -30px;
  padding: 40px 20px 20px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}
.tour-card-title {
  font-size: 1rem;
  margin: 0 0 8px;
  line-height: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
}
.tour-card-title a {
  text-decoration: none;
  color: #333;
}
.tour-card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.tour-card-location,
.tour-card-price {
  margin: 0;
  font-size: 0.9rem;
}
.tour-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
}
.tour-card-price {
  color: #e8604c;
}
.tour-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(0,0,0,0.05);
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 15px;
}
.meta-left {
  display: flex;
  gap: 10px;
  align-items: center;
}
.tour-card-itinerary,
.tour-card-guests {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #333;
}
.tour-card-explore {
  display: inline-block;
  padding: 8px 18px;
  background: #e8604c;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1em;
  margin-left: 12px;
  transition: background 0.3s;
  text-align: center;
}
.tour-card-explore:hover {
  background: #c84c3b;
}
.pagination {
  text-align: center;
  margin-top: 30px;
}
.pagination a,
.pagination span {
  margin: 0 5px;
  padding: 8px 12px;
  background: #e8604c;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}
.pagination .current {
  background: #c84c3b;
}

@media (max-width: 991px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tour-card-image {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .tours-grid {
    grid-template-columns: 1fr;
  }
  .tour-card-image {
    height: 170px;
  }
  .tour-card-content {
    padding: 18px 8px 12px;
    margin-top: -18px;
  }
  .tour-card-title {
    font-size: 1.03rem;
    height: 2.2em;
  }
  .tour-card-meta {
    padding: 8px;
    font-size: 0.98em;
    gap: 10px;
  }
  .tour-card-explore {
    padding: 8px 18px;
    font-size: 1em;
    margin-left: 12px;
    width: auto;
    display: inline-block;
    text-align: center;
  }
  .tour-card-itinerary, .tour-card-guests {
    font-size: 0.96em;
  }
}

@media (max-width: 400px) {
  .tour-card-image {
    height: 140px;
  }
}
