/**
 * Course lessons and topics: the play button a YouTube video waits behind
 * (inc/course-video.php, 19 Nov 2026). It fills the 16:9 box of
 * .focus-video__wrapper (focus-mode.css) the way the iframe did, and on the
 * click the player in mu-plugins/mmc-pillar-enqueue.php puts a
 * youtube-nocookie.com iframe in its place, which focus-mode.css sizes as
 * before. No image and no remote address here: a thumbnail would come from
 * YouTube (i.ytimg.com) before the click.
 */
.focus-video__wrapper .mmc-video-facade,
.focus-video__wrapper .mmc-video-link {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 16px;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--cp-primary, #0d3a2c);
    color: #fff;
    font: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.focus-video__wrapper .mmc-video-facade__play {
    position: relative;
    width: 4.25rem;
    height: 4.25rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: background 0.2s, transform 0.2s;
}
.focus-video__wrapper .mmc-video-facade__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 1.25rem solid var(--cp-primary, #0d3a2c);
    border-top: 0.85rem solid transparent;
    border-bottom: 0.85rem solid transparent;
}
.focus-video__wrapper .mmc-video-facade__label {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}
.focus-video__wrapper .mmc-video-facade__note {
    max-width: 30em;
    font-size: 0.8125rem;
    line-height: 1.4;
    opacity: 0.85;
}
.focus-video__wrapper .mmc-video-facade:hover .mmc-video-facade__play,
.focus-video__wrapper .mmc-video-facade:focus-visible .mmc-video-facade__play {
    background: var(--cp-secondary, #c9a84c);
    transform: scale(1.06);
}
.focus-video__wrapper .mmc-video-facade:focus-visible,
.focus-video__wrapper .mmc-video-link:focus-visible {
    outline: 3px solid var(--cp-secondary, #c9a84c);
    outline-offset: -3px;
}
@media (max-width: 480px) {
    .focus-video__wrapper .mmc-video-facade { gap: 6px; padding: 10px; }
    .focus-video__wrapper .mmc-video-facade__play { width: 3.25rem; height: 3.25rem; }
    .focus-video__wrapper .mmc-video-facade__note { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .focus-video__wrapper .mmc-video-facade__play { transition: none; }
    .focus-video__wrapper .mmc-video-facade:hover .mmc-video-facade__play,
    .focus-video__wrapper .mmc-video-facade:focus-visible .mmc-video-facade__play { transform: none; }
}
