.ce-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ce-video-card { min-width: 0; overflow: hidden; background: #fff; border-radius: 16px; }
.ce-video-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #222; }
.ce-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ce-video-play:hover, .ce-video-play:focus { background: transparent; }
.ce-video-play:focus-visible { outline: 3px solid #9747d8; outline-offset: -3px; }
.ce-video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ce-video-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.ce-video-play-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding-left: 3px; border-radius: 50%; background: #fff; color: #171717; font-size: 20px; box-sizing: border-box; transition: transform .2s ease; }
.ce-video-play:hover .ce-video-play-icon { transform: scale(1.08); }
.ce-video-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ce-video-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; }
.ce-video-details { padding: 20px; }
.ce-video-name { color: #151515; font-size: 18px; line-height: 1.3; font-weight: 600; }
.ce-video-position { margin-top: 4px; color: #777; font-size: 14px; }
.ce-video-description { margin: 12px 0 0; color: #555; font-size: 15px; line-height: 1.5; }
@media (max-width: 1024px) { .ce-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ce-video-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ce-video-play-icon { transition: none; } }

.ce-video-play[hidden] { display: none; }
.ce-video-modal[hidden] { display: none; }
.ce-video-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 60px 24px 24px; box-sizing: border-box; }
.ce-video-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .84); }
.ce-video-modal-dialog { position: relative; width: min(100%, 1100px, calc((100vh - 110px) * 16 / 9)); }
.ce-video-modal-player { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 12px; box-shadow: 0 18px 70px rgba(0,0,0,.35); }
.ce-video-modal-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ce-video-modal-close { position: absolute; bottom: calc(100% + 12px); right: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(20,20,20,.8); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.ce-video-modal-close:hover, .ce-video-modal-close:focus { background: #fff; color: #111; }
.ce-video-modal-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
