.Video.Detail.default {
  --video_height: 46.25rem;
  max-width: 82.5rem;
  max-height: var(--video_height);
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
}
@media (max-width: 768px) {
  .Video.Detail.default {
    width: 100%;
    height: auto;
  }
}
.Video.Detail.default > .inner {
  cursor: pointer;
  position: absolute;
  top: 0;
  color: white;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 8;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 1024px) {
  .Video.Detail.default > .inner {
    overflow: hidden;
    content: "";
    left: 50%;
    max-width: 100.2vw;
    transform: var(--transform, translateX(-50%));
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    width: 120rem;
    width: 82.5rem;
    min-width: 82.5rem;
    padding: 5rem;
  }
}
@media (min-width: 1024px) and (max-width: 768px) {
  .Video.Detail.default > .inner {
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  .Video.Detail.default > .inner {
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    justify-content: flex-end;
  }
}
.Video.Detail.default > .inner > .left, .Video.Detail.default > .inner > .right {
  width: auto;
  height: 6.25rem;
}
@media (max-width: 768px) {
  .Video.Detail.default > .inner > .left, .Video.Detail.default > .inner > .right {
    width: 100%;
  }
}
.Video.Detail.default > .inner > .left {
  display: flex;
  align-items: center;
}
.Video.Detail.default > .inner > .left .h2 {
  font-size: 2.5rem;
}
.Video.Detail.default > .inner > .right .play img {
  width: 6.25rem;
}
@media (max-width: 768px) {
  .Video.Detail.default > .inner > .right .play img {
    float: right;
  }
}
.Video.Detail.default > figure {
  margin: 0;
  display: flex;
  overflow: hidden;
  content: "";
  left: 50%;
  max-width: 100.2vw;
  transform: var(--transform, translateX(-50%));
  position: relative;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 120rem;
  max-width: 82.5rem;
}
@media (max-width: 768px) {
  .Video.Detail.default > figure {
    width: 100%;
    max-width: 100vw;
    min-height: calc(var(--video_height) / 1.5);
  }
}
.Video.Detail.default > figure img {
  object-fit: cover;
}
.Video.Detail.default > figure::before {
  content: "";
  left: 50%;
  max-width: 100.2vw;
  transform: var(--transform, translateX(-50%));
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 120rem;
  z-index: 0;
  max-width: 82.5rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.17) 0%, rgba(0, 0, 0, 0.17) 100%);
}
@media (max-width: 768px) {
  .Video.Detail.default > figure::before {
    max-width: 100vw;
  }
}
.Video.Detail.default > .video {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s;
  transition-delay: 0.5s;
}
.Video.Detail.default > .video.active {
  opacity: 1;
  visibility: visible;
}
.Video.Detail.default > .video iframe {
  max-height: var(--video_height);
}
.Video.Detail.default::after {
  pointer-events: none;
  content: "";
  left: 50%;
  max-width: 100.2vw;
  transform: var(--transform, translateX(-50%));
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 120rem;
  background: rgba(0, 0, 0, 0.85);
  width: 100%;
  opacity: 0;
}
@media (max-width: 768px) {
  .Video.Detail.default::after {
    max-width: 100vw;
  }
}
.Video.Detail.default.playing > .inner {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 1024px) {
  .Video.Detail.default.playing::after {
    opacity: 1;
  }
}
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .video-modal {
    max-width: 100vw;
    overflow: hidden;
  }
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  background: #000;
  padding: 0;
  max-width: 900px;
  width: 90%;
}

.video-modal-content iframe {
  width: 100%;
  height: 500px;
  display: block;
}
@media (max-width: 768px) {
  .video-modal-content iframe {
    height: 300px;
  }
}

.video-modal-close {
  position: absolute;
  top: -30px;
  right: -10px;
  font-size: 40px;
  cursor: pointer;
  color: white;
}