.list-dm-doctor002 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8%;
}

.list-dm-doctor002 ul li {
  width: calc((100% - 3 * 10%) / 4);
  margin-bottom: 0.2rem;
  border-bottom: 4px solid var(--ruifox-color-primary-2);
}

.list-dm-doctor002 ul li a {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.5s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 0.2rem;
}

.list-dm-doctor002 ul li a:hover {
  box-shadow: 0px 0px 15px var(--ruifox-color-primary-3);
}

.list-dm-doctor002 ul li a:hover .r_img .inner-img img {
  transform: scale(1.1);
}

.list-dm-doctor002 ul li a:hover .bottom .name {
  color: var(--ruifox-color-primary-1);
  font-weight: bold;
}

.list-dm-doctor002 ul li a .r_img .inner-img {
  padding-bottom: 133%;
}

.list-dm-doctor002 ul li a .bottom {
  transition: all 0.3s;
  margin-top: 0.12rem;
}

.list-dm-doctor002 ul li a .bottom p {
  text-align: center;
  line-height: 1;
}

.list-dm-doctor002 ul li a .bottom p:not(:first-child) {
  margin-top: 0.1rem;
}

.list-dm-doctor002 ul li a .bottom .name {
  font-size: 0.2rem;
}

.list-dm-doctor002 ul li a .bottom .protit,
.list-dm-doctor002 ul li a .bottom .depart {
  font-size: 0.16rem;
  color: #999;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .list-dm-doctor002 {
    width: 100%;
  }

  .list-dm-doctor002 ul {
    justify-content: space-between;
    gap: 3%;
  }

  .list-dm-doctor002 ul li {
    width: calc((100% - 5%) / 2);
  }
}

/*# sourceMappingURL=list-dm-doctor001.css.map */