/* video + video_grid flexible layouts (also fixes legacy .js-modal-btn markup) */
.video-single__ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background: #000;
}
.video-single iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-grid {
  padding-bottom: 40px;
}
.video-grid__tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.video-grid__thumb {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #212121;
}
.video-grid__thumb img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.video-grid__playBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.video-grid__playBtn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.video-grid__title {
  display: block;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.35;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
}
@media (min-width: 1025px) {
  .video-grid__title {
    font-size: 1.125rem;
  }
  .video-grid__playBtn {
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
  }
  .video-grid__playBtn::after {
    border-width: 12px 0 12px 19px;
  }
}
.video-grid .js-modal-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 56.25%;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.video-grid .js-modal-btn img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-grid .imageContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-grid .iconContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  max-width: min(56px, 18vw);
  max-height: min(56px, 18vw);
  transform: translate(-50%, -50%);
  color: #fff;
  pointer-events: none;
}
.video-grid .iconContainer svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 56px;
  max-height: 56px;
}
