.legal-video__thumbnail {
  position: relative;
  cursor: pointer;
  height: 190px;
  border-radius: 5px;
  overflow: hidden;
}

.legal-video__thumbnail:before {
  content: "";
  background-color: #1e81c3;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  opacity: 0.7;
  transition: 0.5s cubic-bezier(0, 0.275, 0.125, 1);
}
.legal-video__thumbnail img {
  width: 100%;
  border-radius: 8px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.legal-video__play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #23275e;
  color: #fff;
  font-size: 2rem;
  padding: 0.5em 0.75em;
  border-radius: 100%;
  height: 70px;
  line-height: 1.2em;
  width: 70px;
  transition: 0.5s cubic-bezier(0, 0.275, 0.125, 1);
}

.legal-video__thumbnail:hover .legal-video__play-button {
  transform: translate(-50%, -50%) scale(0.9);
  background: #1e81c3;
}

.legal-video__thumbnail:active .legal-video__play-button {
  transform: translate(-50%, -50%) scale(0.7);
}

.legal-video__thumbnail:hover:before {
  opacity: 0;
}

.legal-video__title {
  font-family: "Barlow Semi Condensed", Helvetica, Arial, Lucida, sans-serif !important;
  font-weight: 800 !important;
  text-transform: none !important;
  padding-top: 0px;
  padding-bottom: 10px !important;
}

.legal-video__date {
  font-size: 14px;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.video-modal--open {
  display: flex;
}
.video-modal__modal {
  position: relative;
  max-width: 90%;
  width: 800px;
}
.video-modal__close {
  position: absolute;
  top: -1.75rem;
  right: -1.75rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background-color: #1e81c3;
  border-radius: 100%;
  height: 40px;
  width: 40px;
  line-height: 1.2em;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  transition: 0.5s cubic-bezier(0, 0.275, 0.125, 1);
}

.video-modal__close:hover {
  background: #23275e;
}

@media (max-width: 1024px) {
  .video-modal__close {
    top: -0.55rem;
    right: -0.45rem;
  }
}

.video-modal__iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.video-modal__iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.legal-video-swiper {
  --swiper-navigation-size: 24px;
}

.legal-video-swiper .swiper-button-next,
.legal-video-swiper .swiper-button-prev {
  background-image: none;
  border-radius: 100%;
  height: 40px;
  width: 40px;
  color: #fff;
  font-weight: 700;
  background-color: #ffde5b;
  transition: 0.5s cubic-bezier(0, 0.275, 0.125, 1);
  box-shadow: 0px 0px 0px 4px #ffde5b70;
}

.legal-video-swiper .swiper-button-next:hover,
.legal-video-swiper .swiper-button-prev:hover {
  background-color: #ffde5b;
  box-shadow: 0px 0px 0px 6px #ffde5b70;
}

.legal-video-swiper .swiper-button-next:active,
.legal-video-swiper .swiper-button-prev:active {
  background-color: #1e81c3;
  box-shadow: 0px 0px 0px 6px #ffde5b40;
}