/* video.js finds the player and its buttons by id, so the embed must keep those ids. */

/* Copies the Home hero's hidden Webflow background video (.superanne-video, .w-background-video and
   .play-pause-button-2) breakpoint for breakpoint, so the player looks the same. Webflow's tiny
   breakpoint only repeated width/height: 100%, so it has no rule here. */
.sg-hero-player {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
}
.sg-hero-player video {
    position: absolute;
    inset: -100%;
    z-index: -100;
    width: 100%;
    height: 100%;
    margin: auto;
    object-fit: cover;
}
.sg-hero-player-controls {
    position: absolute;
    inset: 0 0 auto auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sg-hero-player-controls button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.sg-hero-player-controls button:focus-visible {
    outline: 2px solid #3b79c3;
    outline-offset: 2px;
    border-radius: 50%;
}
.sg-hero-player-controls img {
    display: block;
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.7));
}

/* Webflow's large breakpoint */
@media screen and (min-width: 1280px) {
    .sg-hero-player {
        display: block;
    }
    .sg-hero-player-controls {
        padding-top: 10px;
        padding-right: 10px;
    }
}
