.meals-archive-hero {
  padding: 3em 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.meals-archive-hero .hero-button {
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 25px;
  margin: 5px;
  margin-left: 0;
  display: inline-block;
  text-decoration: none;
  background: transparent;
  transition: all 0.2s ease-in-out;
}
.meals-archive-hero .hero-button:hover {
  background: #af8d2e;
  border-color: #af8d2e;
}
.meals-archive-hero, .meals-archive-hero h1,  .meals-archive-hero h2,  .meals-archive-hero h3,  .meals-archive-hero h4,  .meals-archive-hero h5,  .meals-archive-hero h6 {
  color: #fff;
}
.meals-archive-hero:before {
  content: '';
  display: block;
  background-color: #000;
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.meals-archive-hero > .container {
  position: relative;
  z-index: 3;
}
.meals-archive-container {
  box-sizing: border-box;
}
.meals-archive-container *, .meals-archive-container *:before, .meals-archive-container *:after {
  box-sizing: inherit;
}
.meals-archive-container .container {
  clear: both;
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (min-width: 768px) {
  .meals-archive-hero h1 {
    font-size: 4rem;
    max-width: 600px;
    line-height: 1.1;
  }
  .meals-archive-hero p {
    font-size: 1.3rem;
  }
}

.meal-rating {
  display: flex;
}
.meal-rating .meal-rating-star {
  width: 1em;
}
.meal-rating .meal-rating-star path {
  fill: #af8d2e;
}

.meal-meta {
  color: #af8d2e;
  font-weight: 700;
  margin: 8px 0;
}
.meal-meta .meal-meta--spacer:before {
  content: '\25AA';
  display: inline-block;
}

.meal-single-meta {
  margin: 0.5em 0;
}
.meal-single-meta--airline img {
  max-width: 130px!important;
  max-height: 40px;
  height: auto;
  width: auto;
  margin: 10px 0;
}
.meal-single-meta--type {
  font-size: 1.1em;
  font-weight: 700;
  color: #af8d2e;
}
.meal-single-meta .meal-rating {
  justify-content: center;
}

.meals-flight-information dl {
  display: flex;
  flex-wrap: wrap;
  margin: 1em 0!important;
}
.meals-flight-information dl dt {
  width: 100px;
  font-weight: 700;
  margin: 0 0 0.25em;
}
.meals-flight-information dl dd {
  width: calc(100% - 100px);
  margin: 0 0 0.25em;
}

body.meal-modal-open {
  overflow: hidden!important;
}
.meal-modal--container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  display: none;
  box-sizing: border-box;
}
.meal-modal--container *, .meal-modal--container *:before, .meal-modal--container *:after {
  box-sizing: inherit;
}
.meal-modal--container > .meal-modal--bg {
  background-color: #000;
  opacity: 0.7;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.meal-modal--container > .meal-modal--content {
  width: calc(100% - 30px);
  max-width: 600px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 50px;
}
.meal-modal--container > .meal-modal--content > article {
  background-color: white;
  padding: 1rem;
  position: relative;
  max-height: calc(100vh - 200px);
  overflow: auto;
}
@media screen and (min-height: 900px) {
  .meal-modal--container > .meal-modal--content > article {
    max-height: 700px;
  }
}
.meal-modal--button {
  width: 30px;
  height: 30px;
  background: #999;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
}
.meal-modal--button.meal-modal--close {
  top: 0;
  right: 0;
  transform: translateY(100%);
}
.meal-modal--button.previous {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url('../assets/images/arrow-left.png');
}
.meal-modal--button.next {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url('../assets/images/arrow-right.png');
}
.meal-modal--button.previous, .meal-modal--button.next {
  background-position: center;
  background-size: auto 70%;
  background-repeat: no-repeat;
  text-indent: -999px;
  overflow: hidden;
}
.meal-modal--content .search-button {
  float: none;
  height: auto;
  padding: 0.75em 1em;
  text-align: center;
  letter-spacing: 1px;
  width: auto;
  display: inline-block;
}
.meal-thumbnail-slick .image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.meal-thumbnail {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  display: block;
  width: 100%;
}
.meal-thumbnail.featured:before {
  content: '';
  left: 0;
  top: 0;
  position: absolute;
  width: 92px;
  height: 94px;
  background: url('../assets/images/meal-of-the-week.png') no-repeat center;
  z-index: 9;
}
article.meal-card--small {
  float: none;
  margin: 0;
  position: relative;
}
.meal-card--small .meal-thumbnail {
  height: 0;
  padding-bottom: 68%;
}
.meal-card--small .airline-logo {
  max-width: 100px;
  max-height: 30px;
  width: auto;
  height: auto;
}
.meal-card--small .meal-title {
  font-weight: 700;
  color: #000;
  text-decoration: none;
  font-size: 1.25em;
  margin: 8px 0;
  display: block;
}
.meal-card--small .meal-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.meal-card--small .meal-thumbnail img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
}

.meals-grid-wrapper, .airlines-grid-wrapper {
  padding: 3em 0 2em;
  background-color: #e5e5e5;
  margin: 30px 0;
  position: relative;
}
.meals-grid-wrapper:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backdrop-filter: blur(2px);
  background-color: rgba(0,0,0,0.2);
  background-image: url('../assets/images/loading.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: all 0.2s ease-in-out;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}
.meals-grid-wrapper.loading:before {
  opacity: 1;
  visibility: visible;
}
.meals-container-ajax .meal-card--small {
  background-color: #fff;
}
.meals-container-ajax .meal-thumbnail {
  margin: 0;
}
.meals-container-ajax .meal-card--small__inner {
  padding: 15px;
}
.meals-grid, .airlines-grid {
  display: grid;
  grid-template-columns: 100%;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

.meals-grid .grid-ad {
  background-color: #fff;
  padding: 2em 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 2em;
  text-transform: uppercase;
}
@media screen and (min-width: 500px) {
  .meals-grid, .airlines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) {
  .meals-grid, .airlines-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#meal-archive-filters h1 {
  text-align: center;
}
.meal-filters-form {
  margin: 2em 0;
}
.meal-filters-form select {
  width: calc(100% - 30px);
  margin: 0 15px 15px;
}
.meal-filters-form .search-button {
  width: auto;
  padding-left: 20px;
  padding-right: 20px;
  float: none;
}
.meal-filters-form label, .meal-filters-form > .filter:last-child:before {
  border-bottom: 1px solid #ccc;
  padding: 0 15px 10px;
  margin: 0 0 10px;
  display: block;
}
.meal-filters-form label:before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: currentColor;
  margin-right: 5px;
}
.meal-filters-form > .filter:last-child button {
  margin: 0 15px 15px;
}

@media screen and (min-width: 768px) {
  .meal-filters-form {
    display: flex;
  }
  .meal-filters-form select {
    width: calc(100% - 1em);
  }
  .meal-filters-form > .filter {
    flex: 1 1 auto;
  }
  .meal-filters-form > .filter:last-child {
    flex: 0 0 auto;
  }
  .meal-filters-form > .filter:last-child:before {
    content: '\00a0';
    display: block;
  }
}

.meals-featured-slider--wrapper {
  margin: 80px 0;
  box-sizing: border-box;
}
.meals-featured-slider--wrapper *,
.meals-featured-slider--wrapper *:before,
.meals-featured-slider--wrapper *:after {
  box-sizing: inherit;
}
.meals-featured-slider {
  margin-bottom: 150px;
}
.meals-featured-slider .slick-arrow.slick-prev,
.meals-featured-slider .slick-arrow.slick-next {
  top: calc(100% + 15px);
  right: auto;
  transform: translateX(-50%);
  background: #af822e;
  color: white;
  font-size: 22px;
  line-height: 14px;
  text-indent: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}
.meals-featured-slider .slick-arrow.slick-prev {
  left: calc(50% - 40px);
}
.meals-featured-slider .slick-arrow.slick-next {
  left: calc(50% + 40px);
}
.meals-featured-slider .slick-list {
  margin: 0 -15px;
}
.meals-featured-slider .slick-slide > article {
  padding: 0 15px;
}
.meals-featured-slider--header {
  text-align: center;
}

.slick-dots {
  list-style: none;
  margin: 1em 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.slick-dots li {
  width: 10px;
  height: 10px;
  background-color: #e5e5e5;
  position: relative;
  transition: all 0.2s ease-in-out;
  border-radius: 50%;
  margin: 3px;
}
.slick-dots li.slick-active {
  background-color: #aa8f41;
}
.slick-dots li button {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  background: transparent;
  border: none;
  z-index: 9;
  text-indent: -999px;
  overflow: hidden;
  width: 30px;
  height: 45px;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.slick-arrow.slick-prev {
  left: 10px;
  background-image: url('../assets/images/arrow-left.png');
}
.slick-arrow.slick-next {
  right: 10px;
  background-image: url('../assets/images/arrow-right.png');
}

/** AIRLINE ARCHIVE **/

.airlines-grid-filters {
  margin-top: 40px!important;
}
.airlines-grid-filters h1 {
  text-align: center;
}
.airlines-grid {
  margin-bottom: 50px;
}
.airlines-grid article.airline {
  text-align: center;
}
.airlines-grid article.airline .airline--logo {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 27%;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  margin: 0 0 10px;
}
.airlines-grid article.airline .airline--logo img {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.airlines-grid article.airline .airline--name {
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  color: #000;
}

.airline-letter-filters {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}
.airline-letter-filters li a {
  margin: 5px;
  display: block;
  text-decoration: none;
  color: #000;
}
.airline-letter-filters li a.active {
  font-weight: 700;
  color: #aa8f41;
}
/* custom */
.meals-archive-hero h1,  .meals-archive-hero h2,  .meals-archive-hero h3,  .meals-archive-hero h4,  .meals-archive-hero h5,  .meals-archive-hero h6 {
	font-family: 'Roboto', sans-serif;
	font-size: 2.5rem;
	font-weight: bold;
}
.meals-archive-hero .hero-button:first-of-type {
    background: #af8d2e;
    border: #af8d2e 1px solid;
}