.wp-block-embed-youtube .wp-block-embed__wrapper { position: relative; overflow: hidden; border-radius: inherit; background: #181818; }
.wp-block-embed-youtube:not(.wp-has-aspect-ratio) .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.tb-video { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; cursor: pointer; }
.tb-video__bild { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s ease; }
.tb-video:hover .tb-video__bild,
.tb-video:focus-visible .tb-video__bild { filter: brightness(0.85); }
.tb-video__play {
position: absolute;
top: 50%;
left: 50%;
width: 72px;
height: 72px;
margin: -36px 0 0 -36px;
border-radius: 50%;
background: var(--wp--preset--color--accent-1, #BADA64);
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
transition: transform 0.15s ease;
}
.tb-video__play::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
margin: -12px 0 0 -7px;
border-style: solid;
border-width: 12px 0 12px 20px;
border-color: transparent transparent transparent #181818;
}
.tb-video:hover .tb-video__play,
.tb-video:focus-visible .tb-video__play { transform: scale(1.08); }
.tb-video:focus-visible { outline: 3px solid var(--wp--preset--color--accent-1, #BADA64); outline-offset: -3px; }
.tb-video__hinweis {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 18px 14px 8px;
font-size: 0.75rem;
line-height: 1.4;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}
.wp-block-embed-youtube iframe.tb-video__player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) {
.tb-video__bild,
.tb-video__play { transition: none; }
}
.tb-video .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }