/*
 * Embedded YouTube/Vimeo videos (iframe in figure.video): rounded corners like the images (30px, main.css).
 * The HTML5 start video of the home page keeps its own styles (main.css).
 */
figure.video:has(iframe) .embed-responsive {
    overflow: hidden;
    border-radius: 30px;
}

/* start video of the home page: the scroll arrow (main.css, ::before) pulses briefly every 3 seconds */
figure.video:has(div>video[title="Startvideo"])::before {
    animation: talent-arrow-pulse 3s ease-in-out infinite;
}

@keyframes talent-arrow-pulse {
    0%, 76%, 100% { transform: scale(1); }
    84% { transform: scale(1.3); }
    92% { transform: scale(.95); }
}

@media (prefers-reduced-motion: reduce) {
    figure.video:has(div>video[title="Startvideo"])::before {
        animation: none;
    }
}
