.video-page,
.video-page * {
  box-sizing: border-box;
}

.video-page {
  --video-navy: #0a2148;
  --video-ink: #10243d;
  --video-blue: #1261d6;
  --video-blue-dark: #0b4eb7;
  --video-red: #cc2d3c;
  --video-muted: #5f6f86;
  --video-line: #dce6f3;
  --video-bg: #f4f8fd;
  --video-panel: #ffffff;
  --video-soft: #eef5ff;
  --video-shadow: 0 18px 45px rgba(18, 49, 93, .1);
  overflow-x: hidden;
  background: linear-gradient(180deg, #f6f9fd 0, #fff 42%, #f7fbff 100%);
  color: var(--video-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.video-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.video-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 34%, rgba(246, 250, 255, .2) 58%, rgba(238, 247, 255, .06) 100%),
    url("/images/brand/video-hero-banner.webp") center right / cover no-repeat,
    linear-gradient(90deg, #ffffff 0%, #f9fbff 42%, #eef5ff 100%);
  isolation: isolate;
}

.video-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(18, 97, 214, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 97, 214, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 44%, rgba(0, 0, 0, .36) 100%);
}

.video-hero__inner {
  display: flex;
  min-height: 330px;
  align-items: center;
}

.video-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  min-width: 0;
  padding: 36px 0;
}

.video-hero h1 {
  margin: 0;
  color: var(--video-navy);
  font-size: clamp(50px, 4.4vw, 62px);
  font-weight: 650;
  line-height: 1;
}

.video-hero__description {
  max-width: 720px;
  margin: 16px 0 0;
  color: #2c3d58;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.video-hero__channel {
  margin-top: 24px;
}

.video-console {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(22, 119, 255, .12), transparent 28%),
    radial-gradient(circle at 86% 38%, rgba(80, 166, 255, .16), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 45%, #f6faff 100%);
}

.video-console::before,
.video-console::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.video-console::before {
  inset: 0;
  background:
    linear-gradient(rgba(22, 119, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 72%);
}

.video-console::after {
  left: -120px;
  bottom: 170px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(22, 119, 255, .12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 42px rgba(255, 255, 255, .2);
}

.video-console__decor {
  position: absolute;
  pointer-events: none;
}

.video-console__decor--arc {
  right: -160px;
  bottom: 210px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(22, 119, 255, .12);
  border-radius: 50%;
}

.video-console__decor--grid {
  right: 6%;
  top: 120px;
  width: 230px;
  height: 230px;
  opacity: .42;
  background-image: radial-gradient(circle, rgba(22, 119, 255, .22) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle, #000 0, transparent 72%);
}

.video-console__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  padding: 52px 0 90px;
}

.video-channel-link {
  display: inline-flex;
  min-height: 54px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(22, 119, 255, .22);
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
  color: #075ad7;
  font-size: 15px;
  font-weight: 750;
  padding: 0 24px;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(31, 91, 167, .08);
  backdrop-filter: blur(10px);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background-color .28s ease;
}

.video-channel-link svg {
  flex: 0 0 auto;
}

.video-channel-link__youtube {
  width: 24px;
  height: 24px;
  color: #e62117;
}

.video-channel-link__arrow {
  width: 18px;
  height: 18px;
}

.video-channel-link:hover {
  border-color: rgba(22, 119, 255, .52);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 28px rgba(22, 119, 255, .25);
  transform: translateY(-3px);
}

.video-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .52);
  padding: 8px;
  scrollbar-width: none;
  backdrop-filter: blur(10px);
}

.video-tabs::-webkit-scrollbar {
  display: none;
}

.video-tabs__button {
  min-height: 50px;
  flex: 1 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #102a56;
  cursor: pointer;
  font: 700 15px Arial, Helvetica, sans-serif;
  padding: 0 28px;
  transition: transform .28s ease, background-color .28s ease, border-color .28s ease, color .28s ease, box-shadow .28s ease;
}

.video-tabs__button:hover,
.video-tabs__button:focus-visible {
  background: rgba(229, 241, 255, .78);
  color: #075ad7;
}

.video-tabs__button.is-active {
  border-color: rgba(22, 119, 255, .24);
  background: linear-gradient(135deg, #1677ff, #075ad7);
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 119, 255, .25);
}

.video-stage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, .95fr);
  gap: 28px;
  align-items: start;
  margin-top: 36px;
}

.video-stage.is-switching .video-player,
.video-stage.is-switching .video-main__content,
.video-stage.is-switching .video-playlist-card {
  animation: video-soft-switch .32s ease both;
}

.video-main,
.video-sidebar {
  min-width: 0;
}

.video-main,
.video-playlist-card {
  border: 1px solid rgba(22, 119, 255, .18);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 50px rgba(31, 91, 167, .1);
  backdrop-filter: blur(14px);
}

.video-main {
  overflow: hidden;
  border-radius: 22px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  animation: video-fade-up .55s ease both;
}

.video-main:hover {
  border-color: rgba(22, 119, 255, .28);
  box-shadow: 0 24px 62px rgba(31, 91, 167, .14);
  transform: translateY(-4px);
}

.video-player {
  position: relative;
  overflow: hidden;
  background: #e8f1fb;
}

.video-player::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
}

.video-player iframe,
.video-player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-player iframe {
  border: 0;
}

.video-player__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 50%;
  background: rgba(8, 39, 92, .68);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, background-color .25s ease;
}

.video-player__close:hover,
.video-player__close:focus-visible {
  background: rgba(7, 90, 215, .84);
  transform: translateY(-2px);
}

.video-player__close svg {
  width: 21px;
  height: 21px;
}

.video-player__poster {
  display: block;
  border: 0;
  background: #e8f1fb;
  cursor: pointer;
  padding: 0;
}

.video-player__poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 39, 92, .32), transparent 30%),
    linear-gradient(0deg, rgba(255, 255, 255, .12), transparent 46%);
  pointer-events: none;
}

.video-player__poster img,
.video-list__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player__poster img {
  transition: transform .35s ease;
}

.video-player__poster:hover img,
.video-player__poster:focus-visible img {
  transform: scale(1.025);
}

.video-player__poster img.is-missing,
.video-list__thumb img.is-missing {
  opacity: 0;
}

.video-player__title {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 22px;
  z-index: 2;
  color: #fff;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 6px 18px rgba(8, 39, 92, .28);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 78px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  background: #ef3346;
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 32px rgba(4, 24, 56, .24);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.video-play svg {
  width: 34px;
  height: 34px;
  transform: translateX(2px);
}

.video-player__poster:hover .video-play,
.video-player__poster:focus-visible .video-play {
  background: #d92537;
  box-shadow: 0 18px 38px rgba(239, 51, 70, .32);
  transform: translate(-50%, -50%) scale(1.07);
}

.video-main__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: end;
  padding: 34px;
}

.video-main__content p {
  margin: 0;
  color: #075ad7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.video-main__content span {
  display: block;
  max-width: 780px;
  margin-top: 12px;
  color: #5f7292;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.7;
}

.video-quote,
.video-cta__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1677ff, #075ad7);
  box-shadow: 0 10px 28px rgba(22, 119, 255, .25);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  padding: 0 24px;
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.video-quote svg,
.video-cta__button svg {
  width: 17px;
  height: 17px;
}

.video-quote {
  flex: 0 0 auto;
}

.video-quote:hover,
.video-cta__button:hover {
  box-shadow: 0 16px 34px rgba(22, 119, 255, .32);
  transform: translateY(-3px);
}

.video-sidebar {
  display: grid;
  gap: 18px;
  animation: video-fade-up .65s ease .08s both;
}

.video-playlist-card {
  border-radius: 18px;
  padding: 22px;
}

.video-sidebar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(37, 99, 235, .12);
  padding-bottom: 16px;
}

.video-sidebar__top p {
  margin: 0;
  color: #075ad7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.video-sidebar__top span {
  color: #5f7292;
  font-size: 13px;
  font-weight: 700;
}

.video-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.video-list__item {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, .45);
  color: var(--video-ink);
  cursor: pointer;
  padding: 10px;
  text-align: left;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.video-list__item.is-active {
  border-color: rgba(22, 119, 255, .24);
  background: rgba(232, 244, 255, .82);
  box-shadow: 0 10px 28px rgba(22, 119, 255, .12);
}

.video-list__item:hover,
.video-list__item:focus-visible {
  border-color: rgba(22, 119, 255, .28);
  background: rgba(238, 247, 255, .9);
  transform: translateY(-2px);
}

.video-list__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #dfeaf6;
}

.video-list__thumb::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
}

.video-list__thumb img {
  position: absolute;
  inset: 0;
}

.video-list__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: #075ad7;
  transform: translate(-50%, -50%);
}

.video-list__play svg {
  width: 15px;
  height: 15px;
  transform: translateX(1px);
}

.video-list__duration {
  position: absolute;
  right: 5px;
  bottom: 5px;
  border-radius: 5px;
  background: rgba(8, 39, 92, .8);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 5px;
}

.video-list__copy {
  min-width: 0;
}

.video-list__copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #08275c;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.video-list__copy span {
  display: block;
  margin-top: 7px;
  color: #6d7f9d;
  font-size: 12px;
  font-weight: 650;
}

.video-cta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  border: 1px solid rgba(22, 119, 255, .2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 50%, rgba(22, 119, 255, .18), transparent 26%),
    linear-gradient(110deg, #eef7ff 0%, #cfe8ff 55%, #8fc4ff 100%);
  color: #08275c;
  margin-top: 58px;
  padding: 42px 54px;
  box-shadow: 0 18px 50px rgba(31, 91, 167, .1);
  animation: video-fade-up .7s ease .14s both;
}

.video-cta::before,
.video-cta::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.video-cta::before {
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, .35) 44%, transparent 48%),
    linear-gradient(rgba(22, 119, 255, .08) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px;
  opacity: .7;
}

.video-cta::after {
  right: 12%;
  top: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(22, 119, 255, .18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(255, 255, 255, .16);
}

.video-cta > * {
  position: relative;
  z-index: 1;
}

.video-cta__icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #1677ff 0%, #075ad7 68%, rgba(7, 90, 215, .18) 70%);
  color: #fff;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .45), 0 18px 34px rgba(22, 119, 255, .22);
}

.video-cta__icon svg {
  width: 34px;
  height: 34px;
}

.video-cta h2 {
  margin: 0;
  color: #08275c;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 750;
  line-height: 1.12;
}

.video-cta p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #35506f;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.65;
}

.video-cta__button {
  min-width: 170px;
  flex: 0 0 auto;
}

.video-channel-link:focus-visible,
.video-tabs__button:focus-visible,
.video-player__poster:focus-visible,
.video-player__close:focus-visible,
.video-list__item:focus-visible,
.video-quote:focus-visible,
.video-cta__button:focus-visible {
  outline: 3px solid rgba(18, 97, 214, .28);
  outline-offset: 3px;
}

@keyframes video-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes video-soft-switch {
  from {
    opacity: .55;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .video-hero {
    min-height: 320px;
    background-position: center right;
  }

  .video-hero__inner {
    min-height: 320px;
  }

  .video-hero h1 {
    font-size: clamp(48px, 5.4vw, 58px);
  }

  .video-hero__description {
    font-size: 15px;
  }

  .video-console__inner {
    width: min(100% - 40px, 1180px);
    padding: 48px 0 78px;
  }

  .video-stage {
    grid-template-columns: minmax(0, 1.35fr) minmax(286px, .85fr);
    gap: 22px;
  }

  .video-main__content {
    padding: 28px;
  }

  .video-list {
    gap: 10px;
  }

  .video-list__item {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .video-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .video-cta__button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .video-container {
    width: min(100% - 32px, 1180px);
  }

  .video-hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 56%, rgba(238, 247, 255, .48) 100%),
      url("/images/brand/video-hero-banner.webp") 70% bottom / min(680px, 160vw) auto no-repeat,
      linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  }

  .video-hero::before {
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .4) 30%, rgba(0, 0, 0, .25) 100%);
  }

  .video-hero__inner {
    min-height: 0;
    padding: 36px 0 86px;
  }

  .video-hero__content {
    width: min(100%, 620px);
    padding: 0;
  }

  .video-hero h1 {
    font-size: clamp(38px, 10.5vw, 46px);
  }

  .video-hero__description {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.62;
  }

  .video-console__inner {
    width: min(100% - 32px, 1180px);
    padding: 28px 0 70px;
  }

  .video-channel-link {
    justify-self: start;
  }

  .video-tabs {
    gap: 5px;
    margin-inline: 0;
    border-radius: 14px;
    padding: 5px;
  }

  .video-tabs__button {
    min-height: 38px;
    flex: 0 0 auto;
    max-width: 188px;
    padding-inline: 14px;
    white-space: nowrap;
  }

  .video-stage {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }

  .video-main__content {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .video-quote {
    width: max-content;
  }

  .video-list {
    grid-template-columns: 1fr;
  }

  .video-cta {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 22px;
    margin-top: 42px;
    padding: 30px 24px;
  }

  .video-cta__button {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .video-container {
    width: min(100% - 28px, 1180px);
  }

  .video-hero__inner {
    padding: 32px 0 78px;
  }

  .video-tabs {
    border-radius: 13px;
    padding: 5px;
  }

  .video-tabs__button {
    min-width: 116px;
    max-width: 158px;
    min-height: 38px;
    font-size: 12px;
    padding-inline: 12px;
  }

  .video-stage {
    gap: 22px;
  }

  .video-list__item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .video-play {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .video-play svg {
    width: 28px;
    height: 28px;
  }
  .video-player__title {
    left: 16px;
    right: 16px;
    top: 14px;
    font-size: 15px;
  }

  .video-main__content {
    padding: 20px;
  }

  .video-playlist-card {
    padding: 18px;
  }

  .video-cta__icon {
    width: 62px;
    height: 62px;
  }

  .video-cta__icon svg {
    width: 28px;
    height: 28px;
  }

  .video-cta__button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .video-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 58%, rgba(238, 247, 255, .5) 100%),
      url("/images/brand/video-hero-banner.webp") 72% bottom / min(560px, 148vw) auto no-repeat,
      linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  }

  .video-hero__inner {
    padding: 30px 0 70px;
  }

  .video-hero h1 {
    font-size: 40px;
  }

  .video-hero__description {
    font-size: 14px;
    line-height: 1.58;
  }

  .video-channel-link {
    min-height: 48px;
    border-radius: 15px;
    font-size: 14px;
    padding-inline: 18px;
  }

  .video-console__inner {
    padding-top: 24px;
  }

  .video-tabs {
    gap: 4px;
  }

  .video-tabs__button {
    min-width: 108px;
    max-width: 146px;
    min-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-main,
  .video-sidebar,
  .video-cta,
  .video-stage.is-switching .video-player,
  .video-stage.is-switching .video-main__content,
  .video-stage.is-switching .video-playlist-card {
    animation: none;
  }

  .video-channel-link,
  .video-tabs__button,
  .video-main,
  .video-player__close,
  .video-stage.is-switching .video-player,
  .video-stage.is-switching .video-main__content,
  .video-stage.is-switching .video-playlist-card,
  .video-player__poster img,
  .video-play,
  .video-list__item,
  .video-quote,
  .video-cta__button {
    transition: none;
  }

  .video-channel-link:hover,
  .video-main:hover,
  .video-player__close:hover,
  .video-list__item:hover,
  .video-quote:hover,
  .video-cta__button:hover {
    transform: none;
  }
}
