.ysList {
  padding-top: 2.5rem;
}
.ysList .doctor-item {
  margin-bottom: 1.96%;
}
.ysList .page-header {
  margin-bottom: 40px;
}
.ysList .page-header .page-title {
  font-size: 50px;
  font-weight: 700;
  color: #000;
  margin: 0;
}
.ysList .page-header .header-icon img {
  width: 50px;
  display: block;
}
.ysList .mb-30 {
  margin-bottom: 30px;
}
.ysList .doctor-grid {
  position: relative;
  margin: 0 -0.98%;
}
.ysList .doctor-grid > div {
  padding: 0 0.98%;
}
.ysList .doctor-card {
  background-color: #fff;
  border: none;
  border-radius: 20px;
  border: solid 1px #ededed;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  padding: 20px;
}
.ysList .doctor-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.ysList .doctor-card .doctor-img {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1.6;
}
.ysList .doctor-card .doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ysList .doctor-card .doctor-img:hover img {
  transform: scale(1.02);
}
.ysList .doctor-card .doctor-info {
  padding: 25px 0px 5px;
}
.ysList .doctor-card .doctor-info .doctor-name {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.2;
}
.ysList .doctor-card .doctor-info .doctor-name .doctor-title {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  margin-left: 0.5rem;
}
.ysList .doctor-card .doctor-info .doctor-name .doctor-title > span {
  margin-right: 10px;
}
.ysList .doctor-card .doctor-info .doctor-specialty {
  font-size: 14px;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.4;
  display: flex;
}
.ysList .doctor-card .doctor-info .doctor-specialty .specialty-label {
  font-weight: bold;
}
.ysList .doctor-card .doctor-info .doctor-specialty .specialty-tags {
  flex: 1;
}
.ysList .doctor-card .doctor-info .doctor-specialty .specialty-tags > span {
  background-color: #f2f2f2;
  border-radius: 10px;
  padding: 3px 10px;
  margin-right: 5px;
  font-size: 12px;
}
.ysList .doctor-card .doctor-info .doctor-hospital {
  font-size: 12px;
  color: #808080;
  margin: 0;
  line-height: 1.4;
  display: flex;
  align-items: center;
}
.ysList .doctor-card .doctor-info .doctor-hospital i {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-image: url('../images/icon-map.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0.3rem;
  flex-shrink: 0;
}
.ysList .doctor-card .doctor-info .doctor-hospital span {
  padding: 0 10px;
}
@media (max-width: 767.98px) {
  .ysList {
    padding-top: 1.53846154rem;
  }
  .ysList .page-header {
    margin-bottom: 1.62rem;
  }
  .ysList .page-header .page-title {
    font-size: 1.92rem;
  }
  .ysList .page-header .header-icon img {
    width: 1.92rem;
    display: block;
  }
  .ysList .doctor-item .doctor-card {
    padding: 0.77rem;
  }
  .ysList .doctor-item .doctor-card .doctor-img {
    border-radius: 0.8rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info {
    padding: 1.23rem 0 0.5rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info .doctor-name {
    font-size: 1.23rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info .doctor-name .doctor-title {
    font-size: 0.77rem;
    margin-bottom: 1.04rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info .doctor-name .doctor-title > span {
    margin-right: 0.5rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info .doctor-specialty {
    font-size: 0.77rem;
    line-height: 1.8rem;
    margin-bottom: 1.73rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info .doctor-specialty .specialty-tags > span {
    display: inline-block;
    font-size: 0.77rem;
    padding: 0.1rem 0.7rem;
    margin-bottom: 0.3rem;
    line-height: 2;
    border-radius: 1rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info .doctor-hospital {
    font-size: 0.69rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info .doctor-hospital i {
    width: 0.77rem;
    height: 0.77rem;
  }
  .ysList .doctor-item .doctor-card .doctor-info .doctor-hospital span {
    padding: 0 0.5rem;
  }
}
