.home-intro__image-card {
    position: relative;
}

.home-intro__image-card.has-video,
.home-advantages__image-card.has-video {
    touch-action: pan-y;
    overscroll-behavior-y: auto;
}

video[data-viewport-play] {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.viewport-video-sound {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.viewport-video-sound:hover,
.viewport-video-sound:focus-visible {
    background: rgba(0, 0, 0, 0.9);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.viewport-video-sound.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
}
