.w-doctors {
  display: grid;
  grid-template-columns: repeat(auto-fill, 360px);
  justify-items: center;
  justify-content: space-around;
  row-gap: 30px;
}
.w-doctors .w-doctors-frame {
  box-shadow: 0 0 2px 1px#d62e51;
  border-radius: 20px;
  overflow: hidden;
  background-color: rgb(241, 241, 241);
}
.w-doctors .w-doctors-frame img {
  border-radius: 20px;
}
.w-doctors .w-doctors-frame h4 {
  line-height: 3;
}
.w-doctors .w-doctors-frame .box-text {
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}
.w-doctors .w-doctors-frame .box-text p:nth-child(3) {
  line-height: 3;
}
.w-doctors .w-doctors-frame .box-text p:last-child {
  margin-bottom: 0;
  background-color: #e8004d;
  padding-top: 10px;
  color: #ffffff;
}
.w-doctors .w-doctors-frame .box-text p:last-child a {
  margin-top: 4px;
  margin-bottom: 4px;
  border: none;
  background: none;
  width: 100%;
}
.w-doctors .w-doctors-frame .box-text p:last-child a:hover {
  box-shadow: none !important;
}
.w-doctors .w-doctors-frame .box-text p:nth-child(4):hover {
  background-color: rgb(191, 16, 96);
}



@media(max-width: 630px){
	.w-doctors {
	display: grid;
	grid-template-columns: repeat(auto-fill, 295px);
	justify-items: center;
	justify-content: space-around;
	row-gap: 30px;}
}