/*
 * Shared Banner Styles
 * The promo banners across the site have overlapping styles
*/
.hf-promo-banner {
  position: relative;
  --desktop-image: none;
  --mobile-image: none;
  background-image: var(--desktop-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hf-promo-banner {
  padding: 1.875rem 0;
}

.hf-promo-banner h3 {
  color: #ffffff;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.3px;
  text-transform: none;
}
/*dark is default*/
.hf-promo-banner.light h3 {
  color: #000000;
}

/* small */
@media only screen and (max-width: 767px) {
  .hf-promo-banner {
      background-image: var(--mobile-image);
  }
  .hf-promo-banner.footer__banner h3,
  .hf-promo-banner.promo__banner h3 {
      font-size: 2rem;
      line-height: 26px;
      letter-spacing: 2px;
  }
}

/* Add margin to content if top banner is present */
@media (min-width: 1200px) {
  #content.content-with-top-banner {
    margin-top:30.5rem;
  }
}

/*
* Header Top Bar - Banner - Sitewide
* This banner sits above the top bar with conditional link
* design: https://www.figma.com/file/eL5jkaYmU8GyyjCUmlVnFh/Christmas-Banners---Happy-Foodie?node-id=185%3A117405&mode=dev
*/

.header__banner a.text-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.header__banner .arrow-link {
  margin-left: 0.5rem;
}

@media only screen and (max-width: 767px) {
  .header__banner h3 {
      font-size: 1.6rem;
  }
}

/*
* Footer - Banner - Sitewide
* This banner sits above the footer with conditional link
* design: https://www.figma.com/file/eL5jkaYmU8GyyjCUmlVnFh/Christmas-Banners---Happy-Foodie?node-id=185%3A117405&mode=dev
*/
.footer__banner {
  padding: 5rem 0;
}

.footer__banner h3 {
  font-size: 4.8rem;
}

/* small */
@media only screen and (max-width: 767px) {
  .footer__banner {
      background-image: var(--mobile-image);
  }
}
/* medium */
@media screen and (min-width: 768px) and (max-width: 1335px) {
  .footer__banner h3 {
      font-size: 3.2rem;
  }
}

/*
* Promo - Banner
* This banner sits within selected pages
* design: https://www.figma.com/file/eL5jkaYmU8GyyjCUmlVnFh/Christmas-Banners---Happy-Foodie?node-id=185%3A117405&mode=dev
*/
.promo__banner {
  padding: 5rem 0;
}

.promo__banner h3 {
  font-size: 3.2rem;
}

/* small */
@media only screen and (max-width: 767px) {
  .promo__banner {
      background-image: var(--mobile-image);
  }
}
/* medium */
@media screen and (min-width: 768px) and (max-width: 1335px) {
  .promo__banner {
      padding: 3.5rem 0;
  }

  .promo__banner h3 {
      font-size: 3.2rem;
  }
}


/*
* Recipe and Article - Banner
* This banner sits within single-recipe.php and single.php
* design: https://www.figma.com/file/eL5jkaYmU8GyyjCUmlVnFh/Christmas-Banners---Happy-Foodie?node-id=185%3A117405&mode=dev
*/
.recipe__banner,
.article__banner{
  padding:3rem 0;
}