/******************************************************************
Site Name:
Author:

Stylesheet: Variables

Here is where we declare all our variables like colors, fonts,
base values, and defaults. We want to make sure this file ONLY
contains variables that way our files don't get all messy.
No one likes a mess.

******************************************************************/
/*********************
COLORS
*********************/
/*********************
FONTS
*********************/
.content-with-video {
  margin-bottom: 30px;
  font-family: "Montserrat", sans-serif;
}
.content-with-video__embed-preview {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 8px;
}
.content-with-video__embed-preview iframe,
.content-with-video__embed-preview video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: inherit;
}
.content-with-video__inner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 100%;
  color: #fff;
  background: #006633;
}
@media (max-width: 1024px) {
  .content-with-video__inner {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.content-with-video__text {
  padding: 3rem;
}
@media (min-width: 768px) {
  .content-with-video__text {
    max-width: 80%;
    padding: 4rem 6rem;
  }
}
.content-with-video__text h2 {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 2.3rem;
  line-height: 1.2;
}
.content-with-video__text .content-with-video__body {
  margin-bottom: 1.5rem;
}
.content-with-video__text .content-with-video__body p {
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}
.content-with-video__text .content-with-video__button {
  font-family: "Montserrat", sans-serif;
  display: inline-block;
  background: #0572BA;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  -webkit-transition: background-color 0.3s ease, color 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.content-with-video__text .content-with-video__button:hover {
  background: #fff;
  color: #0572BA;
}
@media (min-width: 768px) {
  .content-with-video__thumbnail {
    max-width: 80%;
  }
}
.content-with-video__video {
  position: relative;
  cursor: pointer;
}
.content-with-video__video video,
.content-with-video__video iframe {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.content-with-video__video .content-with-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 2;
}
.content-with-video__lightbox {
  position: fixed;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 9999;
}
.content-with-video__lightbox .content-with-video__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}
.content-with-video__lightbox .content-with-video__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 90%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
}
.content-with-video__lightbox .content-with-video__content video,
.content-with-video__lightbox .content-with-video__content iframe {
  width: 100%;
  height: 100%;
}
.content-with-video__lightbox .content-with-video__close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}