/* Tarjetas de hospitales abajo css */

.hospital-location-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hospital-card {
  width: 200px;
  text-align: center;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s;
}

.hospital-card:hover {
  transform: translateY(-5px);
}

.hospital-card img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #eee;
}

.hospital-card h4 {
  margin: 0.4rem 0 0.8rem;
  font-size: 1rem;
  color: #333;
}

.hospital-card h4 a {
  text-decoration: none;
  color: #333;
}

@media (max-width: 1200px) {
  .hospital-header {
    margin: 1rem 0.7rem 0 0.7rem;
  }
}
@media (max-width: 450px) {
.hospital-location-grid {
  gap: 0.3rem;
  margin-top: 0.3rem;
  margin-bottom: 2rem;
}}


@media (max-width: 399px) {
.hospital-card {
  width: 100%;
}}
