.mg-help-videos { --mg-videos-ink: #0b1b30; --mg-videos-muted: #5e7089; color: var(--mg-videos-ink); }
.mg-help-videos--landing { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.mg-help-videos__intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.mg-help-videos__intro .section-sub { margin-bottom: 0; }
.mg-help-videos__channel { display: inline-flex; align-items: center; gap: 13px; padding: 13px 18px; border: 1px solid #bcd4e8; border-radius: 999px; color: #075b93; font-weight: 700; white-space: nowrap; transition: background .2s, transform .2s; }
.mg-help-videos__channel:hover { background: #e6f3fb; transform: translateY(-2px); }
.mg-help-videos__channel:focus-visible, .mg-help-videos__content a:focus-visible { outline: 3px solid #0a7abf; outline-offset: 3px; }
.mg-help-videos__play:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 8px #0a7abf; }
.mg-help-videos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mg-help-videos__card { overflow: hidden; border: 1px solid #dbe5ee; border-radius: 20px; background: #fff; box-shadow: 0 14px 36px -30px rgba(6, 28, 48, .5); transition: transform .2s, box-shadow .2s; }
.mg-help-videos__card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -30px rgba(6, 28, 48, .45); }
.mg-help-videos__poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b263c; }
.mg-help-videos__poster img { width: 100%; height: 100%; object-fit: cover; }
.mg-help-videos__poster:not(.mg-help-videos__poster--playing)::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(3, 20, 36, .55)); }
.mg-help-videos__play { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; width: 100%; color: #fff; background: rgba(4, 21, 38, .18); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; border: 0; transition: background .2s; }
.mg-help-videos__play:hover { background: rgba(4, 21, 38, .38); }
.mg-help-videos__play-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: #0a7abf; font-size: 22px; box-shadow: 0 9px 30px rgba(0, 0, 0, .25); }
.mg-help-videos__duration { position: absolute; z-index: 2; right: 13px; bottom: 12px; padding: 3px 7px; border-radius: 5px; color: #fff; background: rgba(0, 0, 0, .72); font-size: 12px; font-weight: 700; pointer-events: none; }
.mg-help-videos__poster iframe { display: block; width: 100%; height: 100%; border: 0; }
.mg-help-videos__content { padding: 21px 23px 23px; }
.mg-help-videos__meta { display: flex; justify-content: space-between; color: #0a70ae; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mg-help-videos__content h3 { margin: 12px 0 8px; color: var(--mg-videos-ink); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.2; letter-spacing: -.025em; }
.mg-help-videos__content p { margin: 0 0 18px; color: var(--mg-videos-muted); font-size: 14px; line-height: 1.55; }
.mg-help-videos__content a { color: #075b93; font-size: 13px; font-weight: 700; }
.mg-help-videos__content a:hover { text-decoration: underline; }
[data-theme="dark"] .mg-help-videos--landing { --mg-videos-ink: #f1f5fa; --mg-videos-muted: #a2b4c7; }
[data-theme="dark"] .mg-help-videos__card { background: #102039; border-color: #24415c; }
[data-theme="dark"] .mg-help-videos__channel { color: #9bd6fa; border-color: #3a6684; }
[data-theme="dark"] .mg-help-videos__channel:hover { background: #143b58; }
[data-theme="dark"] .mg-help-videos__content a { color: #9bd6fa; }
[data-theme="dark"] .mg-help-videos__meta { color: #9bd6fa; }
@media (max-width: 900px) { .mg-help-videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mg-help-videos__intro { align-items: start; flex-direction: column; } .mg-help-videos__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mg-help-videos__card, .mg-help-videos__channel, .mg-help-videos__play { transition: none; } }

/* Library controls enhance the complete server-rendered catalog. */
.mg-video-library [hidden] { display: none !important; }
.mg-video-library { margin-top: 38px; }
.mg-video-library__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.mg-video-library__eyebrow { color: #147067; font-size: 11px; font-weight: 800; letter-spacing: .12em; margin: 0 0 9px; }
.mg-video-library h2, .mg-video-routes h2 { color: #0b1b30; font-size: clamp(23px, 3vw, 32px); line-height: 1.14; letter-spacing: -.025em; margin: 0; }
.mg-video-library__count { margin: 0; color: #536680; font-size: 13px; white-space: nowrap; }
.mg-video-library__filters { display: grid; gap: 17px; padding: 22px; margin-bottom: 27px; border: 1px solid #dbe5ee; border-radius: 18px; background: #f5f9fb; }
.mg-video-library__search { display: grid; gap: 7px; color: #243c53; font-size: 13px; font-weight: 700; margin: 0; }
.mg-video-library__search input { width: 100%; max-width: 620px; min-height: 48px; padding: 11px 15px; border: 1px solid #a5bbc9; border-radius: 12px; background: #fff; color: #152e43; font: inherit; font-size: 15px; font-weight: 400; }
.mg-video-library__search input::placeholder { color: #5e7089; opacity: 1; }
.mg-video-library__topics { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-video-library__topic { min-height: 44px; padding: 9px 15px; border: 1px solid #bacdd9; border-radius: 999px; color: #264b63; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.mg-video-library__topic:hover { background: #e4f0f5; }
.mg-video-library__topic[aria-pressed="true"] { border-color: #0a524e; background: #0a524e; color: #fff; }
.mg-video-library__topic:focus-visible, .mg-video-library__search input:focus-visible, .mg-video-library__empty button:focus-visible, .mg-video-routes a:focus-visible { outline: 3px solid #167db0; outline-offset: 4px; }
.mg-video-library__empty { padding: 24px; border-radius: 14px; background: #f0f6fa; color: #364c64; }
.mg-video-library__empty button { border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; margin-left: 5px; background: transparent; color: #075b93; font: inherit; font-weight: 700; cursor: pointer; }
.mg-video-routes { margin-top: 42px; padding: 29px; border: 1px solid #d3e4e1; border-radius: 20px; background: #edf5f2; }
.mg-video-routes > div > p:not(.mg-video-library__eyebrow) { color: #3f5c62; max-width: 760px; line-height: 1.6; margin: 13px 0 22px; }
.mg-video-routes__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mg-video-routes__links a { display: grid; gap: 8px; padding: 20px; border: 1px solid #bcd3cd; border-radius: 15px; background: #fff; color: #24494d; line-height: 1.5; }
.mg-video-routes__links a:hover { border-color: #206b61; background: #f9fffc; }
.mg-video-routes__links strong { display: flex; gap: 10px; justify-content: space-between; color: #0a524e; font-size: 17px; }
.mg-video-routes__links a > span { font-size: 14px; }
.mg-video-routes__note { color: #486267; margin: 19px 0 0; font-size: 12px; line-height: 1.6; }
@media (max-width: 640px) { .mg-video-library__heading { display: block; } .mg-video-library__count { margin-top: 12px; } .mg-video-library__filters { padding: 17px; } .mg-video-routes { padding: 22px; } .mg-video-routes__links { grid-template-columns: 1fr; } }
