.student-videos { padding: 72px 0; background: #f4f7fa; color: #0b2f53; }
.student-videos-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.student-videos-kicker { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #805b20; }
.student-videos h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; letter-spacing: -.025em; }
.student-videos-heading p:last-child { margin: 14px 0 0; color: #52667a; font-size: 17px; }
.student-videos-preview-label { flex-shrink: 0; border: 1px solid #cdd8e2; padding: 7px 10px; font-size: 12px; letter-spacing: .08em; }
.student-videos-notice { color: #52667a; font-size: 14px; margin: 20px 0 28px; }
.student-videos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.student-video-card { min-width: 0; background: #fff; border: 1px solid #d9e2e9; border-radius: 6px; overflow: hidden; }
.student-video-poster { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; aspect-ratio: 16 / 9; padding: 20px; border: 0; border-radius: 0; background: #0b2f53; color: #fff; cursor: pointer; font: inherit; }
.student-video-card:nth-child(even) .student-video-poster { background: #173e60; }
.student-video-poster { overflow: hidden; text-decoration: none; }
.student-video-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.student-video-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(8,31,54,.78)); pointer-events: none; }
.student-video-poster .student-video-play { position: relative; z-index: 1; background: rgba(8,31,54,.86); }
.student-video-watch, .student-video-duration { position: absolute; z-index: 1; bottom: 14px; font-size: 14px; color: #fff; }
.student-video-watch { left: 16px; font-weight: 650; }
.student-video-duration { right: 16px; padding: 3px 6px; border-radius: 3px; background: rgba(8,31,54,.9); }
.student-video-caption .student-video-profile { color: #0b2f53; font-weight: 600; margin-bottom: 10px; }
.student-video-player { display: block; width: 100%; max-height: 65svh; aspect-ratio: 16 / 9; object-fit: contain; background: #081f36; }
.student-video-dialog .student-video-dialog-profile { font-weight: 650; color: #0b2f53; }
.student-video-error[hidden], .student-video-dialog-profile[hidden] { display: none; }
.student-video-slot { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 12px; color: #d6e0e9; font-size: 12px; letter-spacing: .1em; }
.student-video-slot > span { color: #ddbb7c; }
.student-video-play { display: grid; place-items: center; width: 52px; height: 52px; padding-left: 3px; border-radius: 50%; border: 1px solid #ddbb7c; color: #ddbb7c; font-size: 20px; transition: background .2s, color .2s; }
.student-video-poster:hover .student-video-play { background: #ddbb7c; color: #0b2f53; }
.student-video-placeholder { font-size: 14px; color: #d6e0e9; }
.student-video-caption { padding: 22px; }
.student-video-caption > span { color: #805b20; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.student-video-caption h3 { margin: 8px 0; font-size: 21px; color: #0b2f53; }
.student-video-caption p { margin: 0; font-size: 14px; line-height: 1.6; color: #52667a; }
.student-videos-all { display: inline-flex; align-items: center; gap: 22px; margin-top: 30px; padding: 12px 0; border-bottom: 1px solid #805b20; color: #0b2f53; font-size: 16px; font-weight: 650; }
.student-video-dialog { width: min(880px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 24px; border: 1px solid #d9e2e9; border-radius: 8px; color: #0b2f53; background: #fff; }
.student-video-dialog::backdrop { background: rgba(8,31,54,.8); }
.student-video-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.student-video-dialog h2 { margin: 0; font-size: 22px; }
.student-video-dialog-close { padding: 12px 16px; border: 1px solid #cdd8e2; background: #fff; color: #0b2f53; cursor: pointer; font: inherit; }
.student-video-screen { display: grid; align-content: center; justify-items: center; gap: 14px; aspect-ratio: 16 / 9; padding: 20px; background: #0b2f53; color: #fff; text-align: center; }
.student-video-screen strong { font-size: clamp(20px, 3vw, 30px); }
.student-video-screen span { font-size: 14px; color: #ddbb7c; }
.student-video-dialog > p { margin: 18px 0 0; font-size: 16px; line-height: 1.6; color: #52667a; }
.student-videos :is(button, a):focus-visible, .student-video-dialog button:focus-visible { outline: 3px solid #b88a3d; outline-offset: 3px; }
@media (max-width: 900px) { .student-videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .student-videos { padding: 48px 0; } .student-videos-grid { grid-template-columns: 1fr; gap: 20px; } .student-videos-heading { flex-direction: column; gap: 16px; } .student-video-dialog { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .student-video-play { transition: none; } }
