/* Modern Clinic Card Styles - for .modern-card and sub-elements */
.modern-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(60,60,100,0.13), 0 1.5px 4px 0 rgba(60,60,100,0.07);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 2rem 0;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.modern-card:hover {
  box-shadow: 0 8px 32px 0 rgba(60,60,100,0.18), 0 3px 8px 0 rgba(60,60,100,0.11);
  transform: translateY(-4px) scale(1.012);
}
.modern-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 1px solid #f1f3f9;
  padding-bottom: 1.2rem;
}
.modern-card-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 1.1rem;
  box-shadow: 0 2px 8px rgba(80,80,120,0.10);
  border: 3px solid #f6f8fa;
}
.modern-card-title-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.modern-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a2540;
  margin-bottom: 0.2rem;
}
.modern-card-type-location {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.2rem;
}
.modern-badge {
  background: linear-gradient(90deg, #6a8dff 0%, #7cf7c0 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 0.7rem;
  padding: 0.2rem 0.9rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px rgba(106,141,255,0.08);
}
.modern-card-landmark {
  color: #5e6b8c;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.modern-card-distance {
  color: #7b8798;
  font-size: 0.98rem;
  font-weight: 500;
  margin-left: auto;
  padding-top: 0.2rem;
}
.modern-card-body {
  display: flex;
  flex-direction: row;
  gap: 2.2rem;
  padding: 1.2rem 0 0.6rem 0;
}
.modern-card-doctors {
  flex: 1.1;
  min-width: 210px;
}
.modern-card-stats-about {
  flex: 1.7;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.modern-card-stats {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 0.3rem;
}
.modern-card-stats .stat-item {
  background: #f4f8ff;
  border-radius: 0.7rem;
  padding: 0.7rem 1.1rem;
  text-align: center;
  flex: 1;
  box-shadow: 0 1px 4px rgba(106,141,255,0.04);
}
.modern-card-stats .stat-label {
  font-size: 0.92rem;
  color: #7b8798;
  margin-bottom: 0.2rem;
}
.modern-card-stats .stat-number {
  font-size: 1.15rem;
  font-weight: 600;
  color: #3c4a7a;
}
.modern-card-about .about-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #5e6b8c;
  margin-bottom: 0.1rem;
}
.modern-card-about .about-text {
  font-size: 0.98rem;
  color: #39435c;
  line-height: 1.5;
}
.modern-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 1.2rem;
  padding-top: 0.6rem;
  border-top: 1px solid #f1f3f9;
}
.modern-btn {
  background: linear-gradient(90deg, #6a8dff 0%, #7cf7c0 100%);
  color: #fff;
  border: none;
  border-radius: 0.8rem;
  padding: 0.7rem 1.5rem;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(80,80,120,0.10);
  transition: background 0.2s, transform 0.18s;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.modern-btn:hover {
  background: linear-gradient(90deg, #7cf7c0 0%, #6a8dff 100%);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 900px) {
  .modern-card-body { flex-direction: column; gap: 1.2rem; }
}
@media (max-width: 700px) {
  .modern-card-header { flex-direction: column; gap: 0.7rem; align-items: stretch; }
  .modern-card-img { width: 85px; height: 85px; }
  .modern-card-body { padding: 0.8rem 0 0.4rem 0; }
}
