main {
  padding: 30px 20px;
  max-width: 100vw;
  margin: 0 auto;
}

main h2,
main h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #cc4d86;
}

main h3 {
  text-align: right;
  margin-bottom: 10px;
}

main .text {
  font-size: 20px;
  text-align: center;
  line-height: 1.8;
  color: #5a4a4a;
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
  padding-bottom: 20px;
}

main .text::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 3px;
  background-color: #c0a78a;
  border-radius: 2px;
}

.first-aid {
  margin-bottom: 40px;
  padding: 0 20px;
}

.first-aid ul.text2 {
  list-style-type: disc;
  padding-right: 40px;
  font-size: 20px;
  color: #5a4a4a;
  line-height: 1.8;
}

.first-aid ul.text2 li {
  margin-bottom: 15px;
}

main .text2 {
  font-size: 20px;
  color: #5a4a4a;
  margin: 0 auto 40px;
  margin-right: 20px;
  padding-right: 20px;
}

.clinic-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
}

.clinic-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 4px solid #cc4d86;
}

.clinic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.clinic-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.clinic-info {
  padding: 20px;
}

.clinic-info p {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.5;
  color: #cc4d86;
}

.clinic-info p:first-child {
  font-weight: bold;
  font-size: 18px;
}

@media (max-width: 768px) {
  .clinic-container {
    grid-template-columns: 1fr;
  }
}
