/* --- Cấu trúc chính --- */
.clinic-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Mỗi dòng (1 cơ sở) */
.clinic-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-wrap: nowrap;
}

.clinic-row.even {
  background-color: #ffffff;
}

.clinic-row.odd {
  background-color: #f8f9fa;
}

.clinic-row:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Thông tin bên trái */
.clinic-info {
  flex: 1;
  padding-right: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clinic-name {
  font-weight: 700;
  color: #b30000;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.clinic-detail {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #333;
}

/* Khung bản đồ bên phải */
.map-container {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

/* iframe bản đồ giữ nguyên kích thước */
.map-container iframe {
  border: 0;
  border-radius: 10px;
  width: 400px;
  height: 250px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .clinic-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .clinic-info {
    padding-right: 0;
    margin-bottom: 15px;
  }

  .map-container iframe {
    width: 100% !important;
    height: 250px !important;
  }
}