.doctors-header {
    min-height: 535px;
}
.doctors-header__subtitle {
    max-width: 579px;
}
.doctors-header__img-wrap {
    position: relative;
}
.doctors-header__img {
    max-width: 522px;
    overflow: hidden;
}
.doctors-header__img-text {
    width: fit-content;
    padding: 6px 16px 7px;
    border-radius: 20px;
    position: absolute;
}
.doctors-header__img-text1 {
    top: 18px;
    left: -16px;
}
.doctors-header__img-text2 {
    top: 20%;
    transform: translateY(-50%);
    right: -16px;
}
.doctors-header__img-text3 {
    bottom: 140px;
    left: -16px;
}
.doctors-header__img-text4 {
    top: 80%;
    transform: translateY(-50%);
    right: -16px;
}
.doctors-header__img-text5 {
    bottom: 20px;
    left: -16px;
}

.doctors-card {
    width: calc((100% - 40px)/3);
    position: relative;
    height: 554px;
    overflow: hidden;
}
.doctors-card__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
    z-index: 0;
    transition: all .4s;
}
.doctors-card:hover .doctors-card__bg {
    transform: scale(105%);
    transition: all .4s;
}
.doctors-card__wrap {
    position: relative;
    z-index: 1;
}
.doctors-card__experience {
	visibility: hidden;
	
    width: fit-content;
    padding: 14px 26px;
    gap: 6px;
}
.doctors-card__experience-string {
    padding-top: 5px;
}
.doctors-card__info-wrap {
    margin-bottom: -118px;
    transition: all .4s;
}
.doctors-card__info-wrap .btn-hover {
    opacity: 0;
    transition: all .4s;
}
.doctors-card:hover .doctors-card__info-wrap {
    margin-bottom: 0;
    transition: all .4s;
}
.doctors-card:hover .doctors-card__info-wrap .btn-hover {
    opacity: 1;
    transition: all .4s;
}
.doctors-card__info {
    padding: 20px;
    min-height: 140px;
}
.doctors-modal__right {
	position: relative;
}
.doctors-modal__right-sticky {
	position: sticky;
    width: auto;
    right: 0;
    left: 0;
    top: 0;
}

/* modal */
.doctors-modal__wrap {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(21, 21, 21, 0.5);
    z-index: 10;
}
.doctors-modal__wrap.active {
    display: block;
}
.doctors-modal {
    position: absolute;
    right: 0;
    height: 100%;
    width: calc(50% - 10px);
    min-width: 950px;
    padding: 56px;
    overflow-y: scroll;
}
.doctors-modal__left,
.doctors-modal__right {
    width: calc((100% - 48px)/2);
}
.doctors-modal__img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}
.close-modal {
    cursor: pointer;
}
/* modal */

@media (max-width: 992px) {
    .doctors-header > div {
        flex-direction: column;
        text-align: center;
    }
    .doctors-card {
        width: 100%;
        max-width: 494px;
        height: 494px;
        margin-inline: auto;
    }
    .doctors-card__info {
        min-height: fit-content;
    }
    .doctors-modal__info {
        flex-direction: column-reverse;
    }
    .doctors-modal__left, .doctors-modal__right {
        width: 100%;
    }
    .doctors-modal {
        min-width: 320px;
        right: 50%;
        transform: translateX(50%);
        width: 90vw;
    }
    .doctors-modal__right-sticky {
    	position: static;
    }
}

@media (max-width: 768px) {
    .doctors-modal {
        padding: 30px;
    }
    .doctors-modal__img {
        height: 80vw;
    }
}

@media (max-width: 600px) {
    .doctors-header__img {
        max-width: 84vw;
    }
	.doctors-header__img-text3 {
	  bottom: 30%;
	  transform: translateY(-50%);
	}
}