/* Optional styles for the YouTube player fallback/action link. */
.video .youtube-actions{position:absolute;right:10px;bottom:10px;z-index:3;opacity:0;transition:opacity .2s}
.video:hover .youtube-actions{opacity:1}
.video .youtube-actions a{display:block;padding:7px 10px;border-radius:7px;background:rgba(0,0,0,.78);color:#fff;text-decoration:none;font-size:12px}
.youtube-error{flex-direction:column;gap:10px;text-align:center;padding:20px}
.youtube-error a{color:#fff;text-decoration:none;background:#d71920;padding:8px 12px;border-radius:7px}


/* Responsive YouTube embed: keep the player strictly inside the 16:9 card. */
.video {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.video iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}
