/* Scoped to native video views and explicitly selected contextual players. */
.sxVideoPlacement { clear: both; width: 100%; max-width: 760px; min-width: 0; margin: 32px auto 38px; padding: 22px; border: 1px solid #253b2a; border-radius: 6px; background: #081108; box-sizing: border-box; }
.sxVideoPlacement * { box-sizing: border-box; }
.sxVideoPlacement h2 { margin: 0 0 12px; color: #f2ffe8; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.35; font-weight: bold; text-shadow: none; overflow-wrap: anywhere; }
.sxVideoPlacement h2 a { color: inherit; text-decoration: none; }
.sxVideoPlacement h2 a:hover { color: #b5e77f; text-decoration: underline; text-underline-offset: 3px; }
.sxVideoPlacementDuration { margin: 0 0 16px; color: #b7c3b0; font-size: 13px; line-height: 1.6; }
.sxVideoPlacement a { text-shadow: none; }
.sxVideoPlacement :is(a, iframe):focus-visible { outline: 2px solid #a6e75c; outline-offset: 4px; }
.sxVideoPlacement iframe:focus-visible { outline-offset: -4px; }
.sxIntroWithVideo > .sxVideoPlacement { display: flex; flex-direction: column; flex: 1 1 380px; clear: none; width: auto; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.sxIntroWithVideo > .sxVideoPlacement > .sxVideoPlayer { order: -1; flex: none; margin: 0 0 16px; }
.sxIntroWithVideo > .sxVideoPlacement > h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.35; }
.sxIntroWithVideo > .sxVideoPlacement > .sxVideoPlacementDuration { margin: 0 0 6px; }
.sxVideoLibrary, .sxVideoDetail { min-width: 0; }
.sxVideoLibrary *, .sxVideoDetail * { box-sizing: border-box; }
.sxVideoLibrary [hidden], .sxVideoDetail [hidden] { display: none !important; }
.sxVideoEnhanced { display: none !important; }
.sxVideoReady .sxVideoEnhanced { display: grid !important; }
.sxVideoLibrary a, .sxVideoDetail a { text-shadow: none; }
.sxVideoLibrary :is(a, button, input, select, summary):focus-visible,
.sxVideoDetail :is(a, iframe):focus-visible { outline: 2px solid #a6e75c; outline-offset: 4px; }
.sxVideoIntro { margin: 0 0 22px; font-size: 18px; line-height: 1.6; }
.sxVideoCurrent { margin: 0 0 20px; color: #a6e75c; }
.sxVideoFilters { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; padding: 22px; border: 1px solid #253b2a; border-radius: 6px; background: #081108; }
.sxVideoFilters label { display: block; margin: 0 0 7px; color: #d5e1cd; font-size: 14px; line-height: 1.5; }
.sxVideoFilters :is(input, select, button) { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #385b2c; border-radius: 3px; background: #0b160c; color: #edf4e8; font: inherit; font-size: 16px; line-height: 1.4; box-shadow: none; }
.sxVideoFilters input::placeholder { color: #adbaa6; opacity: 1; }
.sxVideoFilters select { appearance: auto; }
.sxVideoFilters button { cursor: pointer; padding-inline: 22px; background: #122410; }
.sxVideoFilters button:hover { border-color: #83b950; background: #193615; }
.sxVideoSearch { min-width: 0; }
.sxVideoAdvanced { grid-column: 1 / -1; min-width: 0; }
.sxVideoAdvanced summary, .sxVideoBrowse summary { min-height: 44px; padding-block: 12px; cursor: pointer; color: #b5e77f; line-height: 1.5; }
.sxVideoFilterFields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 10px; }
.sxVideoFieldsThree { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sxVideoFilterFields > div { min-width: 0; }
.sxVideoStatus { padding: 16px; margin-block: 20px; border: 1px solid #87b451; border-radius: 4px; background: #13210f; }
.sxVideoBrowse { margin: 15px 0; }
.sxVideoBrowse ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0 0 10px 20px; list-style: disc; }
.sxVideoBrowse a { display: inline-block; padding-block: 7px; }
.sxVideoResults { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin: 22px 0; color: #b3c0ae; }
.sxVideoResults p { margin: 0; }
.sxVideoResults a { padding-block: 8px; }
.sxVideoGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.sxVideoCard { min-width: 0; border: 1px solid #253b2a; border-radius: 6px; background: #081108; overflow: hidden; }
.sxVideoCardLink { display: block; color: #f2ffe8; }
.sxVideoPoster { position: relative; aspect-ratio: 16 / 9; background: #050905; overflow: hidden; border-bottom: 1px solid #253b2a; }
.sxVideoPoster img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border: 0; padding: 0; margin: 0; }
.sxVideoPosterEmpty { display: grid; place-items: center; height: 100%; color: #98af8b; font-size: 44px; }
.sxVideoDuration { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border: 1px solid #41613b; border-radius: 3px; background: #0b160cf2; color: #f2ffe8; font-size: 12px; line-height: 1.6; }
.sxVideoCard h2 { margin: 0; padding: 18px 18px 12px; color: #f2ffe8; font-size: 21px; font-weight: bold; line-height: 1.35; overflow-wrap: anywhere; text-shadow: none; }
.sxVideoCardLink:hover h2 { color: #b5e77f; text-decoration: underline; text-underline-offset: 3px; }
.sxVideoMeta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; color: #b7c3b0; font-size: 13px; line-height: 1.6; }
.sxVideoCard .sxVideoMeta { padding: 0 18px 18px; }
.sxVideoThemes { display: flex; flex-wrap: wrap; flex-basis: 100%; gap: 3px 15px; padding: 0; margin: 0; list-style: none; }
.sxVideoThemes a { color: #b5e77f; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.sxVideoThemes li { padding: 0; margin: 0; }
.sxVideoPagination { margin-top: 30px; padding-top: 22px; border-top: 1px solid #253b2a; }
.sxVideoPagination > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.sxVideoPagination :is(a, span) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; }
.sxVideoPagination [aria-current] { border: 1px solid #82b34f; border-radius: 3px; background: #152512; color: #f2ffe8; }
.sxVideoPagination a:hover { background: #142511; }
.sxVideoEmpty { padding-block: 24px; }
.sxVideoBack { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; }
.sxVideoTitle { margin: 0 0 20px; font-size: clamp(25px, 3.2vw, 38px); line-height: 1.25; color: #f2ffe8; overflow-wrap: anywhere; }
.sxVideoDetail .sxVideoMeta { margin-bottom: 22px; }
.sxVideoPlayer { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #030703; border: 1px solid #304a2b; border-radius: 6px; overflow: hidden; }
.sxVideoPlayer > img, .sxVideoPlayer > iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; padding: 0; margin: 0; border: 0; }
.sxVideoPlay { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: calc(100% - 32px); width: max-content; padding: 10px 24px; background: #0b190cf5; border: 1px solid #a6e75c; border-radius: 4px; color: #f2ffe8; text-align: center; font-size: 17px; line-height: 1.4; box-shadow: 0 2px 14px #0008; }
.sxVideoPlay:hover { background: #1c3616; color: #fff; }
.sxVideoPlaybackNotice { margin: 14px 0 28px; color: #b7c3b0; font-size: 14px; line-height: 1.65; }
.sxVideoPlaybackNotice a { white-space: normal; text-decoration: underline; text-underline-offset: 3px; }
.sxVideoPending { margin: 24px 0; padding: 24px; border: 1px solid #304a2b; border-radius: 6px; background: #081108; }
.sxVideoPending h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.4; color: #f2ffe8; }
.sxVideoPending p { margin: 0; line-height: 1.7; color: #b7c3b0; }
.sxVideoChapters { margin: 28px 0; padding: 20px; border: 1px solid #253b2a; border-radius: 6px; background: #081108; }
.sxVideoChapters h2, .sxVideoRelated h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.4; color: #f2ffe8; }
.sxVideoChapters ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.sxVideoChapters li { min-width: 0; margin: 0; }
.sxVideoChapters a { display: flex; gap: 12px; align-items: baseline; min-height: 44px; padding-block: 9px; line-height: 1.6; }
.sxVideoChapters a > span:last-child { overflow-wrap: anywhere; }
.sxVideoChapterTime { flex: 0 0 4.5em; color: #b7c3b0; font-variant-numeric: tabular-nums; }
.sxVideoDescription { margin-top: 30px; padding-top: 24px; border-top: 1px solid #253b2a; line-height: 1.7; }
.sxVideoDescription a, .sxVideoRelated a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.sxVideoRelated { margin-top: 28px; padding-top: 24px; border-top: 1px solid #253b2a; }
.sxVideoRelated ul { margin: 0; padding-left: 20px; list-style: disc; }
.sxVideoRelated li { margin-bottom: 10px; line-height: 1.6; }
@media (max-width: 1050px) {
  .sxVideoGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sxVideoFilterFields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sxVideoPlacement { margin-block: 26px; padding: 14px; }
  .sxVideoGrid, .sxVideoFilterFields, .sxVideoChapters ol { grid-template-columns: minmax(0, 1fr); }
  .sxVideoFilters { padding: 14px; gap: 10px; }
  .sxVideoFilters button { padding-inline: 12px; }
  .sxVideoChapters { padding: 14px; }
  .sxVideoPlay { bottom: 12px; padding-inline: 15px; font-size: 16px; }
  .sxVideoCard h2 { font-size: 22px; }
}
@media print {
  .sxVideoReady .sxVideoFilters, .sxVideoFilters, .sxVideoBrowse, .sxVideoBack, .sxVideoPagination, .sxVideoPlay { display: none !important; }
  .sxVideoGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sxVideoCard { break-inside: avoid; }
}
