.twws-video-figure .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.twws-video-figure .wp-block-embed__wrapper::before { display: none !important; }
.twws-video { position: absolute; inset: 0; background: #111; color: #fff; }
.twws-video .twws-video-play { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: #111; color: #fff; cursor: pointer; overflow: hidden; text-transform: none; letter-spacing: normal; }
.twws-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); }
.twws-video .twws-video-play[hidden] { display: none; }
.twws-video-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 22%; max-width: 112px; line-height: 0; }
.twws-video-icon svg { display: block; width: 100%; height: auto; }
.twws-video-play:hover .twws-video-icon { filter: brightness(1.15); }
.twws-video button:focus-visible, .twws-video a:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
.twws-video iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.twws-video-consent { position: absolute; inset: 0; z-index: 2; padding: 12px; background: #111f; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; font-size: 14px; line-height: 1.4; overflow: auto; }
.twws-video-consent[hidden] { display: none; }
.twws-video-consent p { margin: 0; }
.twws-video .twws-video-allow { padding: 10px 14px; border: 1px solid #fff; border-radius: 3px; background: #fff; color: #111; font: inherit; cursor: pointer; text-transform: none; letter-spacing: normal; }
.twws-video-consent a { color: #fff; text-decoration: underline; }
/* Public course intro only; no selectors target lesson or enrolled players. */
.twws-course-preview {position:relative;aspect-ratio:16/9;width:100%;background:#111}
