.video-library, .video-detail { padding: 64px 0 84px; background: #f5f7f8; }
.video-library-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding-bottom: 42px; }
.video-eyebrow { display: block; margin-bottom: 12px; color: #557d83; font: 700 12px/1.6 "Source Sans Pro", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.video-library-intro h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.4; margin: 0 0 16px; color: #163b48; }
.video-intro-text p { max-width: 65ch; margin: 0; color: #536773; font-size: 16px; line-height: 1.9; }
.video-channel-link { display: flex; gap: 14px; align-items: center; padding: 21px 24px; border: 1px solid #d8e1e2; border-radius: 14px; background: #fff; color: #203e4d; box-shadow: 0 6px 22px #18333d08; font-size: 14px; }
.video-channel-link:hover { border-color: #b26351; color: #7d3427; }
.video-channel-link svg { width: 34px; height: 34px; fill: #b04636; }
.video-channel-link svg path { fill: #fff; }
.video-channel-link small { display: block; margin-top: 5px; font: 14px "Source Sans Pro", sans-serif; color: #677b85; }
.video-library-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-top: 32px; border-top: 1px solid #dce4e6; }
.video-library-heading h2 { font-size: 23px; margin: 0; }
.video-library-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.video-library-stats span { padding: 7px 13px; border-radius: 30px; background: #e8eeed; color: #385e63; font: 600 14px "Source Sans Pro", sans-serif; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.video-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e0e7e8; border-radius: 16px; box-shadow: 0 8px 25px #193a4607; transition: transform .2s, box-shadow .2s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px #193a4612; }
.video-card-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; background: #153440; }
.video-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-card:hover .video-card-cover img { transform: scale(1.035); }
.video-card-play { position: absolute; display: grid; place-items: center; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fffffff0; color: #204854; box-shadow: 0 4px 22px #0003; }
.video-card-play svg { width: 24px; height: 24px; fill: currentColor; margin-left: -3px; }
.video-card-duration { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 5px; background: #07151cdb; color: #fff; font: 600 13px "Source Sans Pro", sans-serif; }
.video-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.video-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #6c818b; font: 13px "Source Sans Pro", sans-serif; }
.video-card h2 { margin: 15px 0 13px; font-size: 19px; line-height: 1.55; }
.video-card h2 a { color: #1b4350; }
.video-card h2 a:hover { color: #007e91; }
.video-card-body > p { color: #667982; font-size: 14px; line-height: 1.85; margin-bottom: 24px; }
.video-card-link { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; color: #007b8d; font: 700 15px "Source Sans Pro", sans-serif; }
.video-library-note { display: grid; grid-template-columns: 1fr auto; gap: 10px 30px; align-items: center; margin-top: 44px; padding: 30px; border: 1px solid #e9dec6; border-radius: 16px; background: #fbf8ef; }
.video-library-note strong { color: #5a563f; font-size: 17px; }
.video-library-note p { grid-column: 1; margin: 0; color: #746e5d; font-size: 14px; line-height: 1.8; }
.video-library-note a { grid-column: 2; grid-row: 1 / 3; color: #645b3d; font: 600 15px "Source Sans Pro", sans-serif; }
.video-library-notes { margin-top: 35px; }
.video-empty { padding: 30px; background: #fff; border: 1px solid #dce4e6; border-radius: 12px; font-size: 16px; }
.video-back-link { display: inline-flex; gap: 12px; margin-bottom: 28px; color: #46717a; font: 600 15px "Source Sans Pro", sans-serif; }
.video-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; align-items: start; }
.video-detail-main { min-width: 0; }
.video-detail-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 18px; color: #64808a; font: 14px "Source Sans Pro", sans-serif; }
.video-detail-perex p { color: #405f6b; font-size: 17px; line-height: 1.9; margin-bottom: 25px; }
.video-player { overflow: hidden; position: relative; aspect-ratio: 16/9; min-height: 200px; border-radius: 16px; background: #0d2029; box-shadow: 0 12px 30px #122f3d15; }
.video-player-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #0d2029; }
.video-player-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, #03142155); }
.video-player-poster > img { width: 100%; height: 100%; object-fit: cover; }
.video-player-play { position: absolute; z-index: 1; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; min-width: max-content; padding: 17px 23px; border: 1px solid #ffffffb3; border-radius: 40px; background: #fffffff2; color: #143d49; font: 700 16px "Source Sans Pro", sans-serif; box-shadow: 0 6px 28px #0003; }
.video-player-play svg { width: 25px; height: 25px; fill: currentColor; }
.video-player-poster:hover .video-player-play { background: #ffe6b8; border-color: #ffe6b8; }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player-privacy { margin: 16px 0; color: #6d7f89; font: 13px/1.75 "Source Sans Pro", sans-serif; }
.video-player-privacy a { color: #356c78; text-decoration: underline; }
.video-player-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid #dce4e6; }
.video-watch-link { color: #007b8d; font: 700 15px "Source Sans Pro", sans-serif; }
.video-reset-button { padding: 4px 0; border: 0; background: none; color: #657882; font: 14px "Source Sans Pro", sans-serif; text-decoration: underline; cursor: pointer; }
.video-reset-button[hidden] { display: none; }
.video-article-content h2 { margin-top: 35px; font-size: 25px; line-height: 1.4; }
.video-article-content p, .video-article-content li { color: #405e6b; font-size: 16px; line-height: 1.95; }
.video-article-content a { color: #007e91; text-decoration: underline; text-underline-offset: 3px; }
.video-article-content ul { padding-left: 24px; list-style: disc; margin-bottom: 24px; }
.video-chapters { margin: 20px 0 28px; padding: 0; list-style: none; border-top: 1px solid #dce4e6; }
.video-chapters li { border-bottom: 1px solid #dce4e6; }
.video-chapters button { display: flex; gap: 15px; align-items: baseline; width: 100%; padding: 12px 0; border: 0; background: none; color: #32525f; text-align: left; cursor: pointer; font-size: 15px; }
.video-chapters button span { flex-shrink: 0; min-width: 42px; color: #007e91; font: 700 14px "Source Sans Pro", sans-serif; }
.video-reading-link { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 40px; padding: 28px; border-radius: 14px; background: #e7efed; }
.video-reading-link > div { flex: 1; min-width: 200px; }
.video-reading-link h2 { margin: 0 0 10px; font-size: 20px; }
.video-reading-link p { margin: 0; color: #55706e; font-size: 14px; }
.video-detail-sidebar { padding: 25px; border: 1px solid #dfe7e8; border-radius: 16px; background: #fff; }
.video-detail-sidebar > h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.5; }
.video-related { display: grid; grid-template-columns: 95px minmax(0, 1fr); align-items: start; gap: 12px; padding: 17px 0; border-bottom: 1px solid #edf1f2; }
.video-related-image { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; background: #153440; }
.video-related-image img { width: 100%; height: 100%; object-fit: cover; }
.video-related-image > span { position: absolute; right: 3px; bottom: 3px; padding: 1px 3px; border-radius: 3px; background: #07151cdb; color: #fff; font: 10px "Source Sans Pro", sans-serif; }
.video-related-title { color: #2e5360; font: 600 14px/1.6 "Source Sans Pro", sans-serif; }
.video-sidebar-channel { padding-top: 24px; }
.video-sidebar-channel strong { display: block; color: #48686b; font-size: 14px; line-height: 1.6; }
.video-sidebar-channel p { margin: 12px 0; color: #78898e; font-size: 13px; line-height: 1.8; }
.video-sidebar-channel a { color: #007b8d; font: 600 14px "Source Sans Pro", sans-serif; }
.video-library a:focus-visible, .video-detail a:focus-visible, .video-detail button:focus-visible { outline: 3px solid #0093a8; outline-offset: 4px; }
@media (max-width: 1199px) { .video-detail-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; } .video-detail-sidebar { padding: 20px; } }
@media (max-width: 991px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .video-library-intro, .video-detail-grid { grid-template-columns: 1fr; gap: 28px; } .video-channel-link { justify-self: start; } .video-detail-sidebar { max-width: none; } .video-related { grid-template-columns: 130px minmax(0, 1fr); } .video-related-title { font-size: 16px; } }
@media (max-width: 575px) { .video-library, .video-detail { padding: 38px 0 50px; } .video-grid { grid-template-columns: 1fr; gap: 22px; } .video-library-heading { align-items: flex-start; flex-direction: column; } .video-library-note { display: block; padding: 23px; } .video-library-note p { margin: 12px 0; } .video-card-body { padding: 22px; } .video-player-play { padding: 13px 18px; } .video-reading-link { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .video-card, .video-card-cover img { transition: none; } .video-card:hover, .video-card:hover .video-card-cover img { transform: none; } }
