/* =========================================================
   Home Promo (between #main and #news)
   File: css/home-promo.css
========================================================= */

.homePromo{
  padding: 40px 0;
}

.homePromo__inner{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.homePromo__media{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  background: #000;
}

.homePromo__link{
  display: block;
}

.homePromo__image{
  width: 100%;
  height: auto;
  display: block;
}

.homePromo__embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.homePromo__embed iframe,
.homePromo__embed video,
.homePromo__video{
  width: 100%;
  height: 100%;
  display: block;
}

.homePromo__video{
  background: #000;
}

.homePromo__cta{
  margin-top: 16px;
  text-align: center;
}

.homePromo__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
}

.homePromo__button:hover{
  opacity: .9;
}

@media (max-width: 768px){
  .homePromo{
    padding: 28px 0;
  }
  .homePromo__inner{
    width: calc(100% - 28px);
  }
  .homePromo__media{
    border-radius: 12px;
  }
  .homePromo__button{
    width: 100%;
    min-width: 0;
  }
}
