.profile-header .top{background: var(--c-dark-blue); position: relative;}
.profile-header .cover-wrapper{max-width: 1980px;margin-left: auto;margin-right: auto;overflow: hidden;}
.profile-header .cover-wrapper{max-height: 30rem;min-height: 8.125rem;text-align: center;}
.profile-header .cover-content{position: absolute;top: 0;left: 0;right: 0;bottom: 0;}
.profile-header .cover-content .container{height: 100%}
/*.profile-header .top .container{min-height: 8.125rem;position: relative;}*/
.profile-header .top .container.watermark{background: url('../img/profile_bg_symbol.svg') no-repeat right top 2.375rem;}
.profile-header .avatar{position: absolute;bottom: -1.25rem;width: 6.688rem;height: 6.688rem;border-radius: 50%;overflow: hidden;object-position: center;}
.profile-header .avatar img{width: 100%;height: 100%;object-fit: cover;}
.profile-header .details{border-bottom: 1px solid var(--c-beige);font-size: 0.875rem;padding-bottom: 20px;}
.profile-header.specialist-header .details .meta {gap: 10px;padding-bottom: 10px;}
.profile-header.specialist-header .details .flex-x{gap:10px;padding-bottom: 30px;}
.profile-header.specialist-header .details .meta{margin-right: auto;max-width: 50%;}
.profile-header.specialist-header .details .meta .expertise{display: inline-flex;gap: 8px;line-height: 1.125rem;font-size: 0.875rem;padding: 6px 10px;border-radius: 100px;align-items: center;
    border: 1px solid var(--c-beige, #ECE5E3); margin-bottom: 10px; }
.profile-header.specialist-header .details .meta .expertise i { color:var(--c-primary); }
.profile-header.specialist-header .details .buttons-wrapper {display: flex; gap: 12px;}
.profile-header .details h1{margin-top: 2.5rem;margin-bottom: 10px;}
.profile-header .details .address-wrapper{line-height: 1.5rem;display: flex;justify-content: start;gap:5px;align-items: center;flex-wrap: wrap;row-gap: 12px;margin-bottom: 10px;}
.profile-header .details .address-wrapper i{font-size:1.25rem;color:var(--c-primary)}
.profile-header .details .rating-wrapper a,
.profile-header .details .address-wrapper a{text-decoration: underline;color:var(--c-primary);margin-left: 7px;}
.profile-header .details .rating-wrapper a:hover,
.profile-header .details .address-wrapper a:hover{text-decoration: none}
.profile-header .details .btn{width: 100%}
.profile-header .details .rating-wrapper{margin-bottom: 20px;display: flex;align-items: center;gap:1rem}
.profile-header .details .rating-wrapper i{color:var(--c-primary)}
.profile-header .details .rating-wrapper a{margin-left: -4px}

.spec-contacts .socials{display:flex;justify-content:start;gap:10px}
.spec-contacts .socials a{display:inline-block;width:34px;line-height:32px;height:34px;border:1px solid #FFF; text-align:center;font-size:14px;color:#FFF;text-decoration:none;border-radius:50%;background-color: var(--c-primary);text-decoration: none;}
.spec-contacts .socials a i{color:#FFF;font-size: 14px;}
.spec-contacts .socials a:hover{background:#FFF;color:var(--c-primary);text-decoration: none;border-color: var(--c-primary);}
.spec-contacts .socials a:hover i{color:var(--c-primary)}

.profile-block{padding-top: 2.5rem}
.profile-info{padding-top: 2.5rem; padding-bottom: 2.5rem;}
.profile-info.bborder{padding-bottom: 0}
.profile-info.bborder .container{padding-bottom: 5rem;}
.profile-info h2{margin-bottom: 20px}
.profile-info h2.mb60{margin-bottom: 60px}
.profile-info .grid-buttons{display: flex;gap:20px;flex-wrap: wrap;}
.profile-info .grid-buttons a{
    display: flex;flex-direction: column;
    gap:1.75rem;border: 1px solid var(--c-beige, #ECE5E3);
    background: #FFF;border-radius: 5px;padding:2.5rem;
    justify-content: center;text-decoration: none;
    width: 100%;
    align-items: center;}
.profile-info .grid-buttons a > div {font-weight: 500;text-align: center;}
.profile-info .grid-buttons i{font-size: 2.125rem;color:var(--c-primary)}
.profile-info .grid-buttons i:not(.ri-arrow-drop-right-line){font-size: 1.5rem}
.profile-info .grid-buttons a:hover{background: var(--c-primary);color:white;}
.profile-info .grid-buttons a:hover i{color:white}
.profile-info .load-more-wrapper{justify-content: center;display: none;}
.profile-info .header{display: flex;justify-content: space-between;align-items: center;gap: 16px;flex-wrap: wrap;margin-bottom: 20px;}
.profile-info .header h2{margin:0;order:2}
.profile-info .header .button-list{order:1;gap:9px;row-gap: 9px;width: 100%;}
.profile-info .header .btn{padding: 13px 19px;width:100%}
.profile-info .pap-grid{flex-wrap:nowrap;margin-bottom:20px;gap:0}

.spec-contacts{font-size: 0.875rem;line-height: 1.5rem; display: flex;gap: 15px;margin-bottom: 20px;flex-wrap: wrap;}
.spec-contacts > div{display:flex;gap:10px;align-items: center;width: 100%;border-bottom: 1px solid var(--c-beige);padding-bottom: 10px;margin-bottom: 10px;}
.spec-contacts > div:last-child{border:0;padding-bottom: 0;margin-bottom: 0;}
.spec-contacts a{color:var(--c-primary);text-decoration: none;}
.spec-contacts a:hover{text-decoration: underline;}
.spec-contacts i{font-size: 1.25rem;color:var(--c-primary)}
.spec-contacts .phone-toggle{color:var(--c-primary);text-decoration: underline;cursor: pointer;}
.spec-contacts .phone-toggle:hover{text-decoration: none}

.profile-info .description p{margin-bottom: 0.875rem}
.profile-info .description ul,
.profile-info .description ol{padding-left:30px}
.profile-info .description ul li{list-style-type: disc}
.profile-info .expand{position: relative;transition: height 0.5s ease-in-out;}
.profile-info .expand:not(.open)::after{position: absolute;left:0;bottom:0;width: 100%;}
.profile-info .expand{height: 220px;overflow: hidden;}
.profile-info .expand:nth-child(2){height: 162px}
.profile-info .expand:after{
    opacity: 1;
    background: linear-gradient(0deg, #fff, hsla(0, 0%, 100%, 0));
    bottom: 0;
    content: "";
    height: 3rem;
    left: 0;
    position: absolute;
    right: 0;
    transition: all 325ms cubic-bezier(0,.93,.25,.85);
    z-index: 1;
}
.profile-info .expand.open:after{height: 0}
.notifications-edit,
.profile-edit{padding-top: 3.125rem; padding-bottom: 3.125rem;}

.profile-header.specialist-header .details .more,
.profile-info .more{color:var(--c-primary);text-decoration: none;text-transform: uppercase;font-size: 0.875rem;line-height: 1.25rem;margin-top: 20px;display: inline-flex;align-items: center;}
.profile-header.specialist-header .details .more{margin-top: 0}
.profile-header.specialist-header .details .more:before,
.profile-info .more::before{content:"\ea50";font-family:"remixicon";font-size: 1.25rem;margin-right: 10px;}
.profile-header.specialist-header .details .more.open:before,
.profile-info .more.open::before{content: "\ea56"}

.profile-info .procedures-list li{display: flex;gap: 0.5rem;align-items: center;margin-bottom: 5px;flex-wrap: wrap;}
.profile-info .procedures-list li img{width: 36px; height: 36px; border-radius: 50%;}
.profile-info .procedures-list li.parent{margin-bottom: 12px;padding-top: 7px;}
.profile-info .procedures-list li:not(.parent){line-height: 30px;}
.profile-info .procedures-list li .price{line-height: 0.875rem;font-size: 0.875rem;padding: 6px 7px;border-radius: 100px;white-space: nowrap;
    border: 1px solid var(--c-beige, #ECE5E3); }
.profile-info .procedures-list li a.price{
	text-decoration: none;
}
.profile-info .procedures-list li a.price:hover{
	text-decoration: underline;
}
.profile-info .q-card .header{margin-bottom: 15px}

.notifications-edit .settings-section{padding-bottom: 10px;border-bottom: 1px solid var(--c-beige);margin-bottom: 30px;}
.notifications-edit .settings-section:last-of-type{padding-bottom: 0;border:0;margin:0}
.notifications-edit .settings-section h3{margin-bottom: 20px}
.notifications-edit .settings-section label{font-size: 0.875rem}
.notifications-edit .settings-section .notes{font-size: 0.875rem;line-height: 24px;font-style: italic;color:var(--c-brown);margin-top: 1.5rem;}
.notifications-edit .settings-section .form-check{margin-bottom: 20px}
.notifications-edit .settings-section .form-check .form-check-input{margin-top: 2px;}

.media-slider-item{position: relative;border-radius: var(--br);overflow: hidden;display: block;background: #c0c0c059;}
.media-slider-item img{width: 100%; height: 130px; object-fit: cover;display: block;}
.media-slider-item.image-contain img{object-fit: contain !important}
.media-slider-item.video::after{content:" ";position: absolute;top: 0;bottom: 0;left: 0;right: 0;background: rgba(26, 26, 24, 0.6) url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.7973 11.7844L39.5646 25.066C39.7278 25.1616 39.8631 25.2981 39.9572 25.4621C40.0512 25.6261 40.1007 25.8119 40.1007 26.001C40.1007 26.19 40.0512 26.3758 39.9572 26.5398C39.8631 26.7038 39.7278 26.8404 39.5646 26.9359L16.7973 40.2175C16.6324 40.3138 16.4449 40.3647 16.2539 40.3652C16.0629 40.3657 15.8752 40.3156 15.7098 40.2202C15.5444 40.1247 15.4071 39.9872 15.312 39.8216C15.2168 39.656 15.1672 39.4682 15.168 39.2772V12.7204C15.1679 12.5298 15.2182 12.3425 15.3136 12.1775C15.4091 12.0125 15.5464 11.8756 15.7117 11.7807C15.877 11.6857 16.0644 11.6361 16.255 11.6367C16.4456 11.6374 16.6327 11.6883 16.7973 11.7844Z' fill='white'/%3E%3C/svg%3E%0A") no-repeat center center;}
.media-slider-item.video:hover::after{background-size: 70px;}

@media print,
screen and (min-width: 36em) {
    .profile-info .grid-buttons a{width: calc(50% - 20px)}
    .profile-info .header h2{order:1}
    .profile-info .header .button-list{order:2;width: auto;}
    .profile-info .header .btn{width:auto}
}

@media print,
screen and (min-width: 48em) {
    .profile-header .details .btn{width: auto}
    .profile-header .details{padding-bottom: 0}
    .profile-header .details .rating-wrapper{margin-bottom: 10px}
    .spec-contacts{flex-wrap: nowrap;}
    .spec-contacts > div{width: auto;padding-right: 15px;border-right: 1px solid var(--c-beige);padding-bottom: 0;margin-bottom: 0;border-bottom: 0;}
    .profile-info .pap-grid{flex-wrap:wrap;gap:20px}
    .profile-info .load-more-wrapper{display: flex;margin-bottom: 30px;}
    .profile-info.bborder .container{border-bottom: 1px solid var(--c-beige)}
    .media-slider-item img{height: 234px}
}

@media print,
screen and (min-width: 62em) {
    .profile-header .avatar{bottom: -2.375rem;width: 10rem;height: 10rem;}
    /*.profile-header .top .container{min-height: 12.5rem}*/
    .profile-header .cover-wrapper{min-height: 12.5rem}
    .profile-header .details h1{margin-top: 3.625rem;margin-bottom: 6px;}
    .profile-info .grid-buttons a{width: calc(25% - 15px)}
    .profile-info{padding-top: 5rem; padding-bottom: 5rem;}
    .profile-block{padding-top: 5rem}
}
.reviews .overall-num{font-size: 40px; font-weight: 400;color:var(--c-dark)}
.reviews .rating-wrapper{font-size: 0.875rem; row-gap: 10px; line-height: 24px;}
.reviews-list{display: flex;flex-direction: column;gap: 10px;}
.review-item{display: flex;flex-direction: column;gap: 20px;}
.review-item .r-header{line-height: 1em}
.review-item .r-header strong{font-weight: 500}
.review-item .date{color: var(--c-brown);font-size: 0.875rem; display: flex; gap: 5px;}
.review-item .date i{font-size: 1rem}

@media print, screen and (max-width: 767px) {
    .profile-header.specialist-header .details .buttons-wrapper {
        width: 100%;
        flex-direction: column;
    }
    .profile-header.specialist-header .details .meta {
        max-width: 100%;
    }
}
