.videos-page main { background: #f6f8fc; }
.video-library { max-width: 1280px; margin: auto; padding: 64px 28px 96px; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.video-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #dfe5ef; border-radius: 20px; background: #fff; box-shadow: 0 8px 32px #163e7610; }
.video-player { position: relative; aspect-ratio: 9 / 16; background: #101b39; overflow: hidden; }
.video-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(transparent 45%, #101b3933); color: #fff; }
.video-play[hidden] { display: none; }
.video-play svg { width: 66px; height: 66px; padding: 19px; border-radius: 50%; background: #2563eb; box-shadow: 0 4px 24px #101b3940; fill: currentColor; box-sizing: border-box; }
.video-play:hover svg { background: #174dbb; }
.video-play:focus-visible { outline: 3px solid #2563eb; outline-offset: -6px; }
.video-card h2 { margin: 0; padding: 20px; font-size: 18px; line-height: 1.8; font-weight: 700; color: #101b39; }
html[data-theme="dark"] .videos-page main { background: #0b1220; }
html[data-theme="dark"] .video-card { background: #141f31; border-color: #33445d; }
html[data-theme="dark"] .video-card h2 { color: #edf3ff; }
@media (max-width: 1000px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) {
  .video-library { padding: 36px 20px 64px; }
  .video-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
