/*
Converts a pixel value to matching rem value. *Any* value passed, regardless of unit, is assumed to be a pixel value. By default, the base pixel value used to calculate the rem value is taken from the `$global-font-size` variable.
@access private
@param {Number} $value - Pixel value to convert.
@param {Number} $base [null] - Base for pixel conversion.
@returns {Number} A number in rems, calculated based on the given value and the base pixel value. rem values are passed through as is.
*/
/*
Removes the unit (e.g. px, em, rem) from a value, returning the number only.
@param {Number} $num - Number to strip unit from.
@returns {Number} The same number, sans unit.
*/
/*
Converts one or more pixel values into matching rem values.
@param {Number|List} $values - One or more values to convert. Be sure to separate them with spaces and not commas. If you need to convert a comma-separated list, wrap the list in parentheses.

@param {Number} $base [null] - The base value to use when calculating the `rem`. If you're using Foundation out of the box, this is 16px. If this parameter is `null`, the function will reference the `$base-font-size` variable as the base.

@returns {List} A list of converted values.
*/
/**
 * Contrast
 */
/*
* Fluid Type function
*/
/**
*	Basic link hover function
*/
.block-video {
  position: relative;
}
.block-video.bg--primary h2,
.block-video.bg--primary p {
  color: #fff;
}
@media (min-width: 992px) {
  .block-video.bg--primary h2,
  .block-video.bg--primary p {
    color: #fff;
  }
}
.block-video.bg--secondary h2,
.block-video.bg--secondary p {
  color: #072E41;
}
@media (min-width: 992px) {
  .block-video.bg--secondary h2,
  .block-video.bg--secondary p {
    color: #fff;
  }
}
.block-video.bg--tertiary h2,
.block-video.bg--tertiary p {
  color: #072E41;
}
@media (min-width: 992px) {
  .block-video.bg--tertiary h2,
  .block-video.bg--tertiary p {
    color: #fff;
  }
}
@media (min-width: 992px) {
  .block-video.bg--primary {
    background-color: transparent !important;
  }
  .block-video.bg--primary:before {
    content: "";
    position: absolute;
    background-color: #072E41;
    top: 20% !important;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .block-video.bg--secondary {
    background-color: transparent !important;
  }
  .block-video.bg--secondary:before {
    content: "";
    position: absolute;
    background-color: #E2BB65;
    top: 20% !important;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .block-video.bg--tertiary {
    background-color: transparent !important;
  }
  .block-video.bg--tertiary:before {
    content: "";
    position: absolute;
    background-color: #F3EEE3;
    top: 20% !important;
    left: 0;
    right: 0;
    bottom: 0;
  }
}
.block-video .video-inner {
  max-width: 100%;
  margin: 0 auto;
}
.block-video__image-wrapper {
  position: relative;
}
.block-video .video-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 0px 0px 24px 24px;
}
.block-video .video-item picture {
  max-height: 754px;
}
.block-video .video-item .video-content {
  position: relative;
  z-index: 3;
  bottom: 0;
  order: 1;
  right: 0;
  text-align: left;
  margin: 24px 1rem 0 auto;
  padding: 0 15px;
  max-width: 720px;
}
@media (min-width: 992px) {
  .block-video .video-item .video-content {
    color: #fff;
    padding: 0;
    margin: unset;
    order: 0;
    margin-top: unset;
    margin-bottom: 3.75rem;
    margin-right: 3.125rem;
    position: absolute;
    text-align: left;
  }
}
@media (min-width: 1200px) {
  .block-video .video-item .video-content {
    margin-bottom: 5.5rem;
    margin-right: 1rem;
  }
}
.block-video .video-item .video-content h2 {
  font-family: "Playfair Display", "Georgia", serif;
  line-height: 1.2;
  font-weight: 400;
  font-size: 32px;
}
@media (min-width: 992px) {
  .block-video .video-item .video-content h2 {
    color: #fff;
    font-size: 3rem;
    line-height: 3.5rem;
    padding-right: 5rem;
    padding-bottom: 4.5rem;
  }
}
@media (min-width: 1200px) {
  .block-video .video-item .video-content p {
    margin-left: 100px;
    max-width: 265px;
  }
}
.block-video .video-item img {
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}
.block-video .video-item picture {
  position: relative;
}
.block-video .video-item picture:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 30, 32, 0.56);
  z-index: 2;
}
.block-video .video-item .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  height: 3.75rem;
  width: 3.75rem;
  border-radius: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
}
@media (min-width: 992px) {
  .block-video .video-item .play-icon {
    height: 7.75rem;
    width: 7.75rem;
    transform: translate(-50%, -50%) scale(1);
    top: 50%;
    left: 30%;
  }
}
.block-video .video-item .play-icon:hover .icon {
  color: #072E41;
  transform: translate(-50%, -50%) scale(1.2);
}
.block-video .video-item .play-icon .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 2px;
  transform: translate(-50%, -50%);
  color: #072E41;
  transition: all 0.3s ease-in-out, transform 0.2s;
}
@media (max-width: 992px) {
  .block-video .video-item .play-icon .icon {
    width: 1rem;
    height: 1rem;
  }
}

.wp-block-group .block-video.bg--primary:before {
  background-color: #072E41;
  top: 0;
}
.wp-block-group .block-video.bg--secondary:before {
  background-color: #E2BB65;
  top: 0;
}
.wp-block-group .block-video.bg--tertiary:before {
  background-color: #F3EEE3;
  top: 0;
}
