.main-doctors__item-content{
    padding:12px 16px 16px 16px
}
.main-doctors__item{
    border-radius:16px;
    border: 1px solid #EEE;
    overflow: hidden;
}
.main-doctors__item.swiper-slide{
    height: auto;
}
.main-doctors__item-inner{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.main-doctors__item-img-inner
{
    display:flex;
    position: relative;
    min-height: 300px;
}
.main-doctors__soc{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    right:20px;
    top:20px;
    height: calc(100% - 40px);
}
.main-doctors__soc-item{
    width: 40px;
    height: 40px;
}
.main-doctors__soc-item svg{
    width: 100%;
    height: 100%;
}
.main-doctors__item-img{
    display: inline-block;
    height: 100%;
    max-height: 300px;
    overflow: hidden;
}
.main-doctors__item-name{
    color: #DC0D1D;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    line-height: 25px; /* 113.636% */
    margin-bottom: 8px;
}
.main-doctors__item-name:hover{
    color: #DC0D1D;
    text-decoration: none;
}
.main-doctors__item-content{
    display:flex;
    flex-direction:column;
    gap:18px;
    flex:1;
}
.main-doctors__item-content-top{
    display:flex;
    flex-direction:column;
}
.main-doctors__item-content-bot{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top: auto;
}
.main-doctors__item-sections{
    color: #53575E;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px; /* 128.571% */
    margin-bottom: 18px;
    flex-shrink: 0;
}
.main-doctors__sections-delimiter{
    color: #DC0D1D;
}
.main-doctors-props{
    gap: 2px;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}
.main-doctors-props__item{
    display:flex;
    gap:8px;
}
/*.main-doctors__item{*/
/*    display:inline-block;*/
/*    line-height:100%;*/
/*}*/

/*.main-doctors__item-exp{*/
/*    display:inline-block;*/
/*    line-height:100%;*/
/*}*/

.main-doctors-props__title{
    color: #DC0D1D;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.28px;
    line-height: normal;
    flex-shrink:0;
}
.main-doctors-props__val{
    color:#1E1E1E;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.28px;
    line-height: 18px;
}
.main-doctors__rating.rating-info{
    gap:4px;
    justify-content: center;
    /*margin-top: auto;*/
}
.main-doctors__rating.rating-info .rating{
    padding:6px 14px;
    border-radius: 6px;
    background: #F8F8F8;
    max-width: 80px;
    gap:4px;
    align-items:center;
}
.main-doctors__rating.rating-info .rating__icn{
    width: 18px;
    height: 18px;
    margin:0px;

}
.main-doctors__rating.rating-info .rating-info__review{
    padding:6px 14px;
    border-radius: 6px;
    background: #F8F8F8;
    border-bottom: 0px;
    color: #53575E;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.28px;
    /*text-decoration: underline;*/
    position: relative;
}
.main-doctors__rating.rating-info .rating-info__review:after{
    content: '';
    display: block;
    border-bottom: 1px solid #53575E;
    height: 0.5px;
}
.main-doctors__rating.rating-info .rating-info__review:hover{
    border-bottom: 0px;
}
.main-doctors__rating.rating-info .rating__value{
    color: #53575E;
    font-size: 14px;
    font-weight: 500;
    margin:0px;
}
.main-doctors__rating.rating-info .feedback__lst{
    position:relative;
}
.main-doctors__rating.rating-info .feedback__lst a{
    color: #53575E;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.28px;
    /*text-decoration: underline;*/
    border-bottom: 0px;
}
.main-doctors__rating.rating-info .feedback__lst::after{
    color: #53575E;
    border-color:#53575E;
    margin-left: 5px;
}
.main-doctors__rating.rating-info .feedback__lst::before{
    content: '';
    display: block;
    border-bottom: 1px solid #53575E;
    height: 0.5px;
    position: absolute;
    bottom:0;
    width: 100%;
}
.main-doctors__buttons{
    display: flex;
    flex-direction: column;
    gap:8px;
}
.main-doctors__buttons .btn-zapis{
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    border-radius: 8px;
    background: #0BB14B;
    padding: 14px 30px;
}
.main-doctors-qlfc{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-top: 18px;
}
.main-doctors-qlfc__item{
    color: #DC0D1D;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    padding: 8px 30px;
    border-radius: 8px;
    border: 1px solid #DEDEDE;
    background: #FFF;
}
.main-doctors-avards__btn{
    cursor:pointer;
}
.main-doctors-avards__popup{
    display: none;
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.main-doctors-avards__popup.active {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: background 0.3s
    ease;

}
.main-doctors-avards__popup-content{
    position: relative;
    width: 600px;
    background: #fff;
    border: 1px solid #DEDEDE;
    border-radius: 16px;
    padding: 32px;
    padding-right: 16px;
}
.main-doctors-avards__popup-content-title{
    color:#1E1E1E;
    font-size: 30px;
    font-weight: 400;
    line-height: 100%; /* 30px */
    letter-spacing: -0.6px;
}
.main-doctors-avards__popup-content-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 23px;
    border-bottom: 1px solid #DEDEDE;
    margin-right: 10px;
}
.main-doctors-avards__popup-text{
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
    max-height: 515px;
    overflow: auto;
    padding-right: 16px;
}
.main-doctors-avards__popup-text::-webkit-scrollbar {
    width: 3px;
    margin-left: 8px;
}
.main-doctors-avards__popup-text::-webkit-scrollbar-thumb {
    background: #A3A3A3; /* сам ползунок */
    border-color:#A3A3A3;
}

.main-doctors-avards__popup-text-item{
    display:flex;
    align-items:flex-start;
    gap:18px;
}
.main-doctors-avards__popup-text-item-cnt{
    color: #1E1E1E;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%; /* 21.6px */
    letter-spacing: -0.36px;
    word-break: break-word;
}
.main-doctors-avards__popup-text-item-cnt a{
    color: #1E1E1E;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.36px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}
.doctors-avards__popular-pop-close{
    cursor:pointer;
}
.main-doctors-avards__btn-vk-clip{
    margin-top: auto;
    cursor:pointer;
}
.main-doctors__popup-vk-clip .main-doctors-avards__popup-content-title{
    display:none;
}
.main-doctors__popup-vk-clip .main-doctors-avards__popup-content-top{
    border-bottom: 0px;
}
.main-doctors__popup-vk-clip .doctors-avards__popular-pop-close{
    position:absolute;
    right:32px;
}
.main-doctors__popup-vk-clip .main-doctors-avards__popup-text{
    margin-top: 0px;
}
.main-doctors__popup-vk-clip iframe{
    height: 500px;
}
@media(max-width: 768px){
    .main-doctors__soc{
        right:14px;
        top:15px;
    }
    .main-doctors__item-img-inner{
        min-height:240px;
    }
    .main-doctors__item-content{
        padding:8px 12px 6px 12px;
        gap:16px;
    }
    .main-doctors__item-name{
        font-size: 18px;
        font-weight: 400;
        line-height: 20px; /* 111.111% */
    }
    .main-doctors__item-sections{
        font-size: 12px;
        font-weight: 400;
        line-height: 14px; /* 116.667% */
        letter-spacing: -0.24px;
        margin-bottom: 16px;
    }
    .main-doctors-props{
        margin-bottom: 16px;
    }
    .main-doctors__sections-delimiter{
        font-size: 12px;
        font-weight: 400;
        line-height: 14px;
        letter-spacing: -0.24px;
    }
    .main-doctors-props__title{
        font-size: 12px;
        font-weight: 400;
        letter-spacing: -0.24px;
    }
    .main-doctors-props__val{
        font-size: 12px;
        font-weight: 400;
        letter-spacing: -0.24px;
        line-height: 100%;
    }
    .main-doctors__buttons .btn-zapis{
        padding:11px 30px;
        line-height: normal;
    }
    .main-doctors__rating.rating-info{
        gap:2px;
    }
    .main-doctors__rating.rating-info .rating{
        padding:6px 4px;
        gap:2px;
    }
    .main-doctors__rating.rating-info .rating-info__review{
        padding:8px;
        font-size:12px;
        line-height: 100%;
    }
    .main-doctors__rating.rating-info .rating__value{
        font-size:12px;
        letter-spacing: -0.24px;
        line-height: 100%;
    }
    .main-doctors__soc-item{
        width: 32px;
        height: 32px;
    }
    .main-doctors-avards__popup.active{
        align-items: flex-end;
        justify-content: flex-end;
    }
    .main-doctors-avards__popup{
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        justify-content: flex-end;
        align-items: flex-end;
        z-index: 9999;
        transition: background 0.3s
        ease;
    }
    .main-doctors-avards__popup-content{
        width: 100%;
        max-width: 100%;
        background: #fff;
        border-radius: 16px 16px 0 0;
        padding: 32px 16px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        will-change: transform;
        max-height: 97vh;
        overflow: visible;
        padding-right: 12px;
    }
    .main-doctors-avards__popup-content-top{
        padding-bottom: 16px;
    }
    .main-doctors__popup-vk-clip .main-doctors-avards__popup-content-top{
        display:none;
    }
    .main-doctors-avards__popup-content.active {
        transform: translateY(0);
    }
    .main-doctors-avards__popup-content::before {
        content: "";
        display: block;
        width: 24px;
        height: 3px;
        background: #8F8F8F;
        border-radius: 3px;
        margin: 0 auto;
        position: absolute;
        top: 8px;
        left: 0;
        right: 0;
    }
    .doctors-avards__popular-pop-close{
        display:none;
    }
    .main-doctors-avards__popup-content-title{
        color: #1E1E1E;
        font-size: 20px;
        font-weight: 500;
        line-height: 120%;
        letter-spacing: -0.4px;
    }
    .main-doctors-avards__popup-text{
        padding-right: 19px;
        gap:32px;
        max-height: 97vh;
    }
    .main-doctors-avards__popup-text-item{
        gap:16px;
    }
}
@media(max-width: 400px){
    .main-doctors-qlfc__item{
        color: #DC0D1D;
        font-size: 12px;
        line-height: normal;
        padding:10px 17px;
    }
    .main-doctors__rating.rating-info .rating-info__review{
        font-size:11px;
    }
    .main-doctors__rating.rating-info .rating__value{
        font-size:11px;
    }
    .main-doctors__item-img{
        display: inline-block;
        height: 240px;
        overflow: hidden;
    }
}

.main-doctors__show-all {
    display: flex;
    align-items: center;
    color: #DC0D1D;
    font-size: 18px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.36px;
}
.main-doctors__show-all:hover,
.main-doctors__show-all:focus
{
    text-decoration: none;
    color: #DC0D1D;
}
.main-doctors__show-all:after{
    content:"";
    position:relative;
    right:-2px;
    display:block;
    width: 24px;
    height: 24px;
    background:url(/images/svg/si_arrow-right-duotone.svg) no-repeat center/cover;
}
.main-doctors__top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.main-doctors__top .main-page__title{
    margin-bottom: 0px;
}
@media(max-width: 768px){
    .main-doctors__show-all {
        font-size: 14px;
        font-weight: 400;
        line-height: 14px;
        letter-spacing: -0.28px;
        text-transform: lowercase;
    }
}