.box-video-wrap {
  --box-video-blue: #1024ff;
  --box-video-border: rgba(255, 255, 255, 0.13);
  --box-video-text: #ffffff;
  --box-video-muted: rgba(255, 255, 255, 0.55);
  --box-video-max-width: 1920px;

  position: relative;
  left: auto;
  width: 100%;
  max-width: var(--box-video-max-width);
  margin-left: auto;
  margin-right: auto;
  background: var(--box-video-blue);
  overflow: hidden;
  font-family: inherit;
}

.box-video-grid {
  width: 100%;
  max-width: var(--box-video-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 640px;
}

.box-video-card {
  position: relative;
  display: block;
  min-width: 0;
  padding: 32px;
  overflow: hidden;
  color: var(--box-video-text);
  text-decoration: none;
  isolation: isolate;
  border-left: 1px solid var(--box-video-border);
  background: var(--box-video-blue);
}

.box-video-card:first-child {
  border-left: 0;
}

.box-video-card:hover,
.box-video-card:focus-visible {
  color: var(--box-video-text);
  text-decoration: none;
}

.box-video-card:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -8px;
}

.box-video-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.04);
  transition: filter 220ms ease, transform 650ms ease;
}

.box-video-card:hover .box-video-media,
.box-video-card:focus-visible .box-video-media,
.box-video-card.is-active .box-video-media {
  transform: scale(1);
}

.box-video-overlay {
  background: none;
}

.box-video-card:hover .box-video-overlay,
.box-video-card:focus-visible .box-video-overlay,
.box-video-card.is-active .box-video-overlay {
  opacity: 0;
}

.box-video-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.box-video-title { font-family: "Black Ops One", system-ui; display: block; 
position: absolute; top: clamp(26px, 6.2vh, 72px); left: 24px; right: 24px; 
color: var(--box-video-text); font-size: 22px; line-height: 1.25; font-weight: 
400; letter-spacing: 0; text-align: center; text-transform:uppercase;

}

.box-video-arrow {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--box-video-text);
  overflow: hidden;
  pointer-events: auto;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.box-video-arrow svg {
  position: absolute;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 180ms ease, transform 180ms ease;
}

.box-video-arrow-hover {
  opacity: 0;
  transform: translate(-5px, 5px);
}

.box-video-card:hover .box-video-arrow,
.box-video-card:focus-visible .box-video-arrow,
.box-video-card.is-active .box-video-arrow {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b0b0b;
}

.box-video-card:hover .box-video-arrow-default,
.box-video-card:focus-visible .box-video-arrow-default,
.box-video-card.is-active .box-video-arrow-default {
  opacity: 0;
  transform: translate(5px, -5px);
}

.box-video-card:hover .box-video-arrow-hover,
.box-video-card:focus-visible .box-video-arrow-hover,
.box-video-card.is-active .box-video-arrow-hover {
  opacity: 1;
  transform: translate(0, 0);
}

.box-video-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid var(--box-video-border);
  background: var(--box-video-blue);
}

.box-video-label {
  position: absolute;
  right: 32px;
  bottom: 54px;
  color: var(--box-video-muted);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.box-video-side-image-wrap {
  width: min(58%, 300px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.box-video-side-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 220ms ease, transform 420ms ease;
}

.box-video-preview.is-changing .box-video-side-image {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

.box-video-preview.is-active .box-video-side-image {
  transform: translateY(-8px) scale(1.04);
}

@media (max-width: 1280px) {
  .box-video-grid {
    min-height: 560px;
  }

  .box-video-card {
    padding: 26px;
  }

  .box-video-title {
    font-size: 19px;
    top: 28px;
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 980px) {
  .box-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .box-video-card {
    min-height: 300px;
  }

  .box-video-card:nth-child(odd),
  .box-video-preview {
    border-left: 0;
  }

  .box-video-card:nth-child(n + 3),
  .box-video-preview {
    border-top: 1px solid var(--box-video-border);
  }

  .box-video-preview {
    grid-column: 1 / -1;
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .box-video-grid {
    grid-template-columns: 1fr;
  }

  .box-video-card,
  .box-video-preview {
    min-height: 260px;
    padding: 24px;
    border-left: 0;
    border-top: 1px solid var(--box-video-border);
  }

  .box-video-card:first-child {
    border-top: 0;
  }

  .box-video-content {
    inset: 0;
  }

  .box-video-title {
    font-size: 18px;
    top: 24px;
    left: 20px;
    right: 20px;
  }

  .box-video-label {
    right: 24px;
    bottom: 28px;
    font-size: 12px;
  }

  .box-video-side-image-wrap {
    width: 150px;
  }
}
