.smart-video-container {
    margin: 1.2em 0;
    max-width: 100%;
}

.smart-video-container .video-switch-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.smart-video-container .video-switch-button {
    cursor: pointer;
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.smart-video-container .video-switch-button:hover {
    background: #e9e9e9;
}

.smart-video-container .video-switch-button.is-active {
    background: #222;
    border-color: #222;
    color: #fff;
}

.smart-video-container .youtube-video,
.smart-video-container .vkontakte-video,
.vkontakte-embed-wrapper {
    max-width: 100%;
}

.smart-video-container iframe,
.vkontakte-embed-wrapper iframe {
    display: block;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.smart-video-unavailable {
    padding: 12px 16px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #555;
}
