/* Convert px to rem
** Usage:
** font-size: rem(23);
*/
/* A small function allowing skipping base64 encoding
** and simply pasting the SVG markup right in the CSS.
** @author Jakob Eriksen
** @link http://codepen.io/jakob-e/pen/doMoML
** @param {String} $svg - SVG image to encode
** @return {String} - Encoded SVG data uri
*/
/* Replace `$search` with `$replace` in `$string`
** @author Hugo Giraudel
** @link http://sassmeister.com/gist/1b4f2da5527830088e4d
** @param {String} $string - Initial string
** @param {String} $search - Substring to replace
** @param {String} $replace ('') - New value
** @return {String} - Updated string
*/
/* Replace substring 'fillColor' to real color from variables */
/* Convert px to rem
** Usage:
** font-size: rem(23);
*/
/* A small function allowing skipping base64 encoding
** and simply pasting the SVG markup right in the CSS.
** @author Jakob Eriksen
** @link http://codepen.io/jakob-e/pen/doMoML
** @param {String} $svg - SVG image to encode
** @return {String} - Encoded SVG data uri
*/
/* Replace `$search` with `$replace` in `$string`
** @author Hugo Giraudel
** @link http://sassmeister.com/gist/1b4f2da5527830088e4d
** @param {String} $string - Initial string
** @param {String} $search - Substring to replace
** @param {String} $replace ('') - New value
** @return {String} - Updated string
*/
/* Replace substring 'fillColor' to real color from variables */
/* Mixin for button animation,
    use: @include button-animation(); for .btn-primary-dark--white-bg button
*/
/* Mixin for arrow link animation,
    use: @include arrow-link-animation(); for .btn-tertiary-dark--white-bg button
*/
/* Mixin for link animation,
    use: @include link-animation(); for .btn-link-dark--white-bg button
*/
/* Mixin for button background animation,
    use: @include hoverBgEffect($primary-slate, $scale: 1.4, $speed: 0.4s);
*/
/**
 * Mixin for adding gradient line to the bottom.
 * @param {$side-colors} color.
 */
/**
 * Mixin for adding text underline.
 */
/**
 * Mixin for cropping the text.
 * @param {$line-clamp} number of visible lines.
 */
.embedded-video {
  position: relative;
  background-color: #000;
}
.embedded-video__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .embedded-video__title {
    font-size: 2.625rem;
    margin-bottom: 1.5rem;
  }
}
.embedded-video__subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .embedded-video__subtitle {
    font-size: 1.125rem;
    margin-bottom: 3rem;
  }
}
.embedded-video__content-wrapper {
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 1.5rem;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  pointer-events: none;
}
.embedded-video__content-wrapper a,
.embedded-video__content-wrapper button {
  pointer-events: auto;
}
.embedded-video__content-wrapper:not(:has(*)) {
  padding: 0;
}
.embedded-video__player {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: var(--poster-focal-points-9by16, 50% 50%);
     object-position: var(--poster-focal-points-9by16, 50% 50%);
}
@media (min-width: 576px) {
  .embedded-video__player {
    -o-object-position: var(--poster-focal-points-16by9, 50% 50%);
       object-position: var(--poster-focal-points-16by9, 50% 50%);
  }
}
.embedded-video__player--fullscreen {
  max-width: 100%;
  height: auto;
}
.embedded-video-shadow {
  text-shadow: 0.0625rem 0.0625rem 0.125rem #000;
}
.embedded-video__play-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  /* Hidden until JS adds .embedded-video__play-btn--is-visible (device + paused) */
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.embedded-video__play-btn--is-visible {
  display: block;
}
.embedded-video__play-btn:hover .embedded-video__play-icon {
  -webkit-filter: brightness(1.12);
          filter: brightness(1.12);
}
.embedded-video__play-btn:focus-visible {
  outline: 0.125rem solid #fff;
  outline-offset: 0.125rem;
}
.embedded-video__play-icon {
  display: block;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  background-image: var(--embedded-video-play-icon, url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48Y2xpcFBhdGggaWQ9InBsYXktaWNvbi1jbGlwIj48cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiAxMikiLz48L2NsaXBQYXRoPjwvZGVmcz48Y2lyY2xlIGN4PSIyNCIgY3k9IjI0IiByPSIyNCIgZmlsbD0iIzM4M0U0MiIvPjxnIGNsaXAtcGF0aD0idXJsKCNwbGF5LWljb24tY2xpcCkiPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguMjAxNSAxNS4yMDE5TDMxLjMwNjMgMjIuODIyNUMzMS45ODg3IDIzLjIxOTMgMzIuMjA0MyAyNC4wNjgxIDMxLjc4NzkgMjQuNzE4NEMzMS42NjggMjQuOTA1NyAzMS41MDI5IDI1LjA2MyAzMS4zMDYzIDI1LjE3NzNMMTguMjAxNSAzMi43OTc5QzE3LjUxOTEgMzMuMTk0NyAxNi42MjgzIDMyLjk4OTIgMTYuMjExOSAzMi4zMzlDMTYuMDczMyAzMi4xMjI2IDE2IDMxLjg3NCAxNiAzMS42MjA1VjE2LjM3OTNDMTYgMTUuNjE3NSAxNi42NDggMTUgMTcuNDQ3NSAxNUMxNy43MTM1IDE1IDE3Ljk3NDQgMTUuMDY5OSAxOC4yMDE1IDE1LjIwMTlaIiBmaWxsPSIjRkZGREZCIi8+PC9nPjwvc3ZnPg=="));
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transition: -webkit-filter 0.2s ease;
  transition: -webkit-filter 0.2s ease;
  transition: filter 0.2s ease;
  transition: filter 0.2s ease, -webkit-filter 0.2s ease;
}
.embedded-video .embed-responsive::before {
  padding-top: 177.77%;
}
@media (min-width: 576px) {
  .embedded-video .embed-responsive::before {
    padding-top: 56.25%;
  }
}
.embedded-video .embed-responsive--default::before {
  padding-top: 56.25%;
}
.embedded-video .embed-responsive--fullwidth {
  overflow: hidden;
  height: calc(100vh - var(--header-height));
}
@supports (height: 100dvh) {
  .embedded-video .embed-responsive--fullwidth {
    height: calc(100dvh - var(--header-height));
  }
}
.embedded-video .embed-responsive--fullwidth::before {
  display: none;
  content: none;
}
.embedded-video .embed-responsive--fullwidth .embed-responsive-item {
  position: static;
  height: calc(100vh - var(--header-height));
}
@supports (height: 100dvh) {
  .embedded-video .embed-responsive--fullwidth .embed-responsive-item {
    height: calc(100dvh - var(--header-height));
  }
}
