.videoPlayer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
}

.videoPlayer iframe,
.videoPlayer video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Inside the gallery slider the slide already has a fixed height, so the ratio must not fight it. */
.splide__slide .videoPlayer {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}

/* Same for the company page's sticky video, which is sized by its container. */
.companyDetail-rs-stickyVideo .videoPlayer {
    height: 100%;
    aspect-ratio: auto;
    border-radius: inherit;
}

.videoSection {
    margin-top: 40px;
}

.videoSection-title {
    color: #000;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    margin-bottom: 16px;
}

.videoSection .videoPlayer + .videoPlayer {
    margin-top: 16px;
}
