.adns2_container {
    overflow: visible !important;
}

.staff-short-information {
    border: 1px solid #D6DAF1;
    border-radius: 38px;
    display: flex;
    justify-content: space-between;
    max-height: 650px;
    margin-top: 20px;
}

.staff-short-information1 {
    padding: 40px 0 40px 40px;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
}

.staff-shrt-inf__up {
    color: var(--theme-base-color);
}

.staff-short-information1 .staff-post {
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    margin-bottom: 20px;
}

.staff-detail .adns_detail_staff_info_item_title {
    font-size: 18px;
    font-weight: 700;
}

.adns_detail_staff_info_link_map {
    display: flex;
    margin-top: 10px;
    gap: 8px;
    color: black;
}

.staff-short-information .staff-experience,
.staff-short-information .staff-price {
    background: #F2F4FF;
    text-align: center;
    padding: 15px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.staff-shrt-inf__bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.staff-shrt-inf__bottom .adns_detail_staff_info_item_title {
    color: var(--theme-base-color);
}

.staff-shrt-inf__bottom .adns_detail_staff_info_item_value,
.staff-shrt-inf__bottom .staff-current-price {
    color: black;
    font-size: 20px;
}

.staff-old-price {
    text-decoration: line-through;
    font-size: 16px;
    color: #9295B6;
}

.adns2_container .title_block_button {
    display: flex;
    border: 1px solid var(--theme-base-color);
    background: var(--theme-base-color);
    border-radius: 30px;
    padding: 10px 20px;
    gap: 10px;
    color: #fff;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.staff-short-information2 {
    width: 25%;
    color: black;
    margin: 40px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.staff-short-information3 {
    width: 470px;
}

.staff-detail-img,
.staff-detail-img img {
    border-radius: 38px;
}

.staff-detail-img {
    width: 100%;
    height: 100%;
    max-height: 500px;
}

.staff-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-main-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 25px;
}

.staff-main-info__left,
.staff-main-info__right {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    align-self: flex-start;
}

.staff-main-info__left {
    flex: 2;
    color: black;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;

    width: calc(100% - 490px);
    min-width: auto;
    max-width: calc(100% - 490px);

}

.staff-main-info__right {
    flex: 1;
    min-width: 0;
    width: 470px;
}























.doctor_main_info {
    padding: 30px;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    background: rgba(216, 216, 216, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.doctor_main_info .title {
    padding-bottom: 30px;
}

.doctor_main_info .title h1 {}

.doctor_main_info .image {
    width: 100%;
    max-width: 400px;
    height: 400px;
}

.doctor_main_info .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}


.doctor_main_info-padding_border {
    padding: 30px;

    border-radius: 20px;
}

.label-info {

    font-size: 18px;
    padding-bottom: 35px;
}

.doctor_main_info .label-info .label {
    color: #787878;
    padding-bottom: 0px;
}

.doctor_main_info .label-info .info {
    color: var(--theme-base-color);
}

.staff-short-information-mob,
.staff-detail-text-mob {
    display: none;
}




.reviews-card {
    width: 443px;
    min-height: 300px;
    box-shadow: 0 0 10px #0000001c;
    border-radius: 30px;
    position: relative;
    height: 100%;
    padding: 30px;
    transition: 0.3s;
    flex: 0 0 auto;
}

.reviews-card_upper {
    display: flex;
    justify-content: space-between;
}

.reviews-date_content {
    background-color: #F2F4FF;
    color: #3D4BC7;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 16px;
}

.reviews-card_middle {
    color: black;
}

.reviews-card_name {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 10px;
}

.reviews-card_middle {
    padding-bottom: 20px;
}

.reviews-card_bottom {
    display: flex;
    justify-content: space-between;
}

.reviews-card_button1 {
    color: #3D4BC7;
    display: inline-block;
    border: 1px solid #3D4BC7;
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

.reviews-card_button1:hover {
    color: white;
    background-color: #3D4BC7;
}

.reviews-card_button2 a,
.review-modal__text a {
    font-size: 16px;
    background-color: #3D4BC7;
    color: white;
    padding: 5px 18px;
    border-radius: 30px;
    display: inline-block;
}

.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
}

.review-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.review-modal__content {
    position: relative;
    background: #fff;
    border-radius: 30px;
    max-width: 750px;
    width: 100%;
    max-height: 70vh;
    padding: 24px 24px 10px;
    z-index: 1;
}

.review-modal__close {
    position: absolute;
    top: 25px;
    right: 19px;
    background: none;
    border: 1px solid #3D4BC7;
    font-size: 34px;
    cursor: pointer;
    color: #3D4BC7;
    border-radius: 20px;
    padding: 5px 10px;
}

.reviews-modal__name {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.review-modal__text {
    margin: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.review-modal__text a {
    display: block;
    width: fit-content;
}

.review-modal__body .reviews-date_conten {
    width: fit-content;
}

.review-modal__rating,
.reviews-modal__name,
.review-modal__text a {
    margin: 15px 0;
}

.review-modal .reviews-date_content {
    width: fit-content;
}

.review-modal__text p {
    margin-bottom: 10px;
}

.reviews-card_text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 6em;
    line-height: 1.5em;
}

.reviews-card_button2 a:hover {
    color: #fff;
}

.staff-reviews {
    position: relative;
    border: 1px solid #D6DAF1;
    border-radius: 38px;
    display: flex;
    flex-direction: row;
}

.staff-reviews,
.custom-scroll-wrapper {
    min-width: 0;
    width: 100%;
}







.staff-reviews__title {
    padding-left: 10px;
}

.staff-services {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    border: 1px solid #D6DAF1;
    border-radius: 38px;
    height: 100%;
}





.staff-service-card-link:hover {
    color: var(--theme-base-color);
}

.staff-service-card_image.contain-img {
    object-fit: contain;
    margin-top: 5%;
    height: 90%;
}

.staff-service-card_content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    padding: 20px;
    border: 2px solid #ffffff30;
    background: #706e6e2e;
    min-height: 150px;
}

.adns2_services_card_content.contain-img {
    background: #b9b9b92e;
}

.staff-service-title {
    color: white;
    font-weight: 600;
    padding-top: 10px;
    font-size: 20px;
    line-height: 110%;
    text-wrap: wrap;
}

.staff-service-description {
    color: white;
    padding-top: 15px;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 18px;
}

/*
.staff-service-card_content.contain-img .staff-service-title,
.staff-service-card_content.contain-img .staff-service-description,
.staff-service-card_content.contain-img .link_arrow_text{
	color: black;
}
*/
.staff-service-card.pink {
    background: linear-gradient(to bottom, #FF8BB3, white);
}

.staff-service-card.green {
    background: linear-gradient(to bottom, #CAFFD1, white);
}

.staff-service-card.gray {
    background: linear-gradient(to bottom, #CFE4ED, white);
}

.staff-service-card.blue {
    background: linear-gradient(to bottom, #A5DAFF, white);
}

.staff-service-card.red {
    background: linear-gradient(to bottom, #FFB9C0, white);
}

.staff-service-card.yellow {
    background: linear-gradient(to bottom, #FFEFCB, white);
}

.staff-service-card.purple {
    background: linear-gradient(to bottom, #FFD4F1, white);
}



.staff-service-section {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 30px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 700;
    font-size: 14px;
    color: var(--theme-base-color);
}

.staff-service-description ul {
    list-style: none;
    padding-left: 0;
}

.staff-service-description ul li {
    color: white;
}

.staff-service-description ul li::before {
    background: white;
}

.adns2_container .link_arrow {
    top: 20px;
    right: 20px !important;
}

.adns_detail_staff_info_item_value {
    color: #000;
}





.staff-services-wrapper:hover .services-custom-scrollbar {
    opacity: 1;
}

.services-custom-thumb {
    position: absolute;
    width: 100%;
    background: #F2F4FF;
    border: 1px solid #D6DAF1;
    border-radius: 20px;
}



.staff-services__title {
    display: none;
}


@media (max-width: 991px) {
    .adns2_container {
        overflow: hidden !important;
    }

    .staff-short-information {
        display: none;
    }

    .staff-short-information-mob {
        width: 100%;
        position: relative;
        overflow: hidden;
        z-index: 2;
        padding: 80px 0 0;
        display: flex;
        min-height: 100vh;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .staff-detail-img-mob {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .staff-detail-img-mob img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .staff-detail-content-mob {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    .staff-detail-content-mob .text_block {
        background: rgb(0 0 0 / 6%);
        backdrop-filter: blur(15.15px);
        align-items: flex-start;
        padding: 15px;
        color: white;
    }

    .staff-detail-content-mob .text_block h1,
    .staff-detail-content-mob .text_block .staff-mobile-heading {
        color: white;
        font-weight: 700;
        margin: 0;
        font-size: 26px;
    }

    .staff-detail-content-mob .staff-post,
    .staff-detail-content-mob .adns_detail_staff_info_item {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .staff-detail-content-mob .adns_detail_staff_info_item_title {
        font-weight: 700;
    }

    .staff-price-value {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .staff-price-value .staff-old-price {
        color: #FFFFFF80;
    }

    .adns_detail_staff_info_link_map {
        display: flex;
        gap: 10px;
        color: white;
    }

    .staff-detail-botton-mob {
        display: flex;
        justify-content: space-between;
        font-size: 18px;
    }

    .staff-detail-botton-mob .mob-hr {
        width: 1px;
        border-right: 1px solid #8d8e9185;
    }

    .adns2_container .title_block_button {
        background: rgb(255 255 255 / 26%);
        border: 1px solid rgb(255 255 255 / 23%);
        backdrop-filter: blur(15.15px);
        margin-top: 20px;
    }

    .adns_detail_staff_info_link_map,
    .staff-detail-botton-mob .staff-current-price,
    .staff-detail-botton-mob .adns_detail_staff_info_item_value {
        margin-top: 5px;
    }

    .staff-short-information-mob {
        border-radius: 20px;
    }

    .staff-detail-text-mob {
        color: black;
        border: 1px solid #D6DAF1;
        border-radius: 38px;
        padding: 18px;
        margin: 15px 0;
    }

    .staff-detail-text-mob {
        display: block;
        color: black;
    }

    .review-modal__content {
        max-height: 100vh;
    }

    .reviews-card_bottom,
    .reviews-card_upper {
        flex-direction: column;
        gap: 15px;
    }

    .reviews-card_button1,
    .reviews-date_content {
        width: fit-content;
    }

    .reviews-card {
        padding: 20px;
        width: 320px;
    }

    .review-modal__text a {
        font-size: 15px;
    }



    .staff-main-info {
        flex-direction: column;
        align-items: normal;
    }

    .custom-scroll-wrapper {
        padding: 16px;
    }

    .staff-services-wrapper {
        border: none;
    }

    .staff-services__title {
        display: block;
        margin-bottom: 15px;
        color: black;
        font-weight: 700;
        font-size: 30px;
    }

    .staff-main-info__left {
        width: 100%;
        max-width: 100%;

    }

    .staff-main-info__right {
        position: static;
        margin-top: 40px;
        align-self: auto;
    }

    .custom-scroll-content-services {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(300px, 1fr);
        gap: 20px;
        padding: 5px;
        margin: 25px 10px;
        overflow-x: auto;
        overflow-y: visible;
        width: fit-content;
        min-width: 100%;
        margin: 25px 0;
    }

    .custom-scroll-content,
    .custom-scroll-content-services {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .custom-scroll-content-services::-webkit-scrollbar,
    .custom-scroll-content::-webkit-scrollbar,
    .staff-services-wrapper::-webkit-scrollbar {
        display: none;
    }

    .staff-education.active .staff-education__value,
    .staff-work.active .staff-work__value {
        display: flex;
        gap: 20px;
    }

    .staff-education.active .staff-education__title,
    .staff-work.active .staff-work__title {
        margin-bottom: 20px;
    }

    .staff-education.active .staff-education-icon,
    .staff-work.active .staff-work-icon {
        rotate: 180deg;
    }


    .adns_detail_staff_info_item_value {
        color: #ffffff;
    }
}
