.impl-vk-video {
    box-sizing: border-box;
    width: 100%;
    max-width: 720px;
    margin: 16px auto;
}

.impl-vk-video--vertical {
    max-width: 340px;
}

.impl-vk-video a.impl-vk-video__preview {
    box-sizing: border-box;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 24px 14px;
    border: 1px solid #d1e3df;
    border-radius: 8px;
    background: #f2f8f6;
    color: #373737;
    text-align: center;
    text-decoration: none;
    line-height: 1.45;
}

.impl-vk-video a.impl-vk-video__preview:hover {
    background: #e4f3ee;
}

.impl-vk-video__play {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #373737;
}

.impl-vk-video__play::before {
    content: '';
    margin-left: 3px;
    border: solid transparent;
    border-width: 7px 0 7px 11px;
    border-left-color: #fff;
}

.impl-vk-video__title {
    font-weight: 700;
}

.impl-vk-video__link,
.impl-prodoctorov__write {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.impl-vk-video__player {
    margin-top: 10px;
}

.impl-vk-video__player summary {
    padding: 8px 3px;
    cursor: pointer;
    text-align: left;
}

.impl-vk-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    margin-top: 8px;
    background: #f2f8f6;
}

.impl-vk-video--vertical .impl-vk-video__frame {
    aspect-ratio: 9 / 16;
}

.impl-vk-video__frame iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

[data-page-type=kapy-ot-hrapa] .doc__video:has(> .impl-vk-video),
.expert_opinion__video:has(> .impl-vk-video),
.impl-promo .video:has(> .impl-vk-video) {
    height: auto;
    aspect-ratio: auto;
}

.impl-prodoctorov__content {
    box-sizing: border-box;
    max-width: 850px;
    margin-inline: auto;
    padding: clamp(18px, 4vw, 30px);
    border: 1px solid #d1e3df;
    border-radius: 8px;
    background: #f2f8f6;
    text-align: center;
}

.impl-prodoctorov__content h2 {
    padding: 0;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.3;
}

.impl-prodoctorov__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 18px;
}

.impl-prodoctorov__actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: #373737;
    line-height: 1.45;
}

.impl-prodoctorov__actions a.impl-prodoctorov__read {
    border-radius: 6px;
    background: #d7f0e8;
    font-weight: 700;
}

@media (max-width: 767px) {
    [data-page-type=reviews_page] .review_widget.impl-prodoctorov {
        left: auto;
        width: auto;
    }
}
