/* ALL PARAGRAPHS */
.field--name-field-par-body > h1:first-child,
.field--name-field-par-body > h2:first-child,
.field--name-field-par-body > h3:first-child,
.field--name-field-par-body > h4:first-child,
.field--name-field-par-body > h5:first-child,
.field--name-field-par-body > h6:first-child {
  margin-top: 0;
}


/* MEDIA */
.paragraph--type--media .media-visual {
  background-size: cover;
  background-position: center;
}






/* VISUAL */
.paragraph--type--visual .visual-wrapper,
.paragraph--type--video .video-wrapper {
  position: relative;
  display: block;
}
.paragraph--type--visual .visual-content,
.paragraph--type--video .video-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.paragraph--type--visual .visual-content-inner,
.paragraph--type--video .video-content-inner {
  position: relative;
  text-align: center;
  max-width: 80%;
}


.paragraph--type--video .video-play svg {
   fill: white;
   transition: all 0.3s ease-in-out;
   zoom: 1.2;
}
.paragraph--type--video .video-play:hover svg {
  transform: scale(1.1);
}





.paragraph--type--article .article-visual {
   min-height: 300px;
   background-size: cover;
}

.bg-visual,
.bg-video {
  color: white;
}


.teaser-video-fallback {
  width: 100%;
}

#video-teaser-modal {
  display: none;
  z-index: 9999;
  position: fixed;
  top: 0; bottom: 0;
  left: 0; right: 0;
  padding: 2vw 4vw;
  background-color: rgba(0, 0, 0, 0.75);
}
#video-teaser-modal .video-wrapper {
  position: relative;
  margin: 5vh auto;
  max-width: 140vh;
}
#video-teaser-modal .video-wrapper::after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  padding: 0.5em;
  text-align: center;
  color: white;
  border-radius: 5em;
  font: 20px/1 sans-serif;
  position: absolute;
  top: -0.5em;
  right: 0;
  background: black url('../images/icon-close.svg') no-repeat center;
  background-size: contain;
}

@media (min-width: 768px) {
  #video-teaser-modal .video-wrapper::after {
    width: 2em;
    height: 2em;
    top: -1em;
    right: -1em;
  }
}
