/* ==========================================================================
	#FOUR COLUMN POSTS GRID SECTION
	========================================================================== */

/* Recipes grid four column section - Mobile */
.c-recipes-grid-four-col-section {
  float: left;
  width: 100%;
  padding: 3.0625rem 0 1.25rem;
}

.c-recipes-grid-four-col-section .heading h1,
.c-recipes-grid-four-col-section .heading h2,
.c-recipes-grid-four-col-section .heading h3,
.c-recipes-grid-four-col-section .heading h4,
.c-recipes-grid-four-col-section .heading h5,
.c-recipes-grid-four-col-section .heading h6 {
  float: left;
  width: 100%;
  margin-left: -1px;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6875rem;
  border-bottom: 1px solid #f2f3ef;
  font-size: 2.0625rem;
  line-height: 0.90909em;
  letter-spacing: -0.1px;
}

.c-recipes-grid-four-col-section .c-grid-slider {
  margin-bottom: 1.5rem;
}

.c-recipes-grid-four-col-section .thumbnail {
  position: relative;
  float: left;
  width: 262px;
  height: 265px;
  margin-bottom: 0.875rem;
  border-radius: 8px;
  background: #ededed;
  overflow: hidden;
}
.c-recipes-grid-four-col-section .thumbnail.gradient:before {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 79%,
    rgba(2, 3, 3, 0.38) 100%
  );
  pointer-events: none;
}

.c-recipes-grid-four-col-section .thumbnail .c-post-link {
  float: left;
  width: 100%;
}

.c-recipes-grid-four-col-section .thumbnail img {
  border-radius: 8px;
}

.c-recipes-grid-four-col-section .wprm-recipe-meta-container {
  position: absolute;
  bottom: 0;
}

.c-recipes-grid-four-col-section .embla__slide__inner {
  height: 334px !important;
}

/* Calories count */
.c-recipes-grid-four-col-section .wprm-recipe-nutrition-container {
  z-index: 2;
  position: absolute;
  bottom: 6px;
  right: 13px;
  font-family: 'MetropolisSemiBold', Helvetica, Arial, sans-serif;
  font-size: 17px;
  color: white;
}
.c-recipes-grid-four-col-section .wprm-recipe-details-unit {
  padding-left: 1px;
}

/* Add to favourites */
.c-recipes-grid-four-col-section .wprm-recipe-add-to-collection {
  position: absolute;
  top: 0;
  top: 0.5625rem;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none !important;
  border-radius: 50% !important;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg enable-background='new 200 55.976 560 490.133' height='490.133' viewBox='200 55.976 560 490.133' width='560' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m701.375 91.328c-63.219-53.156-160.891-45.172-221.375 16.406-60.484-61.578-158.156-69.672-221.375-16.406-82.25 69.234-70.219 182.109-11.594 241.938l191.844 195.453c10.938 11.156 25.594 17.391 41.125 17.391 15.641 0 30.188-6.125 41.125-17.281l191.844-195.453c58.515-59.829 70.765-172.704-11.594-242.048zm-25.813 205.078-191.843 195.453c-2.625 2.625-4.812 2.625-7.438 0l-191.843-195.453c-39.922-40.688-48.016-117.687 7.984-164.828 42.547-35.766 108.172-30.406 149.297 11.484l38.281 39.047 38.281-39.047c41.344-42.109 106.969-47.25 149.297-11.594 55.891 47.141 47.578 124.579 7.984 164.938z' fill='%23ec483a'/%3E%3C/svg%3E")
    50% 55% no-repeat;
  background-size: 20px auto;
}
.c-recipes-grid-four-col-section .wprm-recipe-add-to-collection:hover {
  background: rgb(236, 71, 58)
    url('../../../assets/images/ui/common/icon_heart_white.svg') 50% 55%
    no-repeat !important;
  background-size: 20px auto !important;
}
.c-recipes-grid-four-col-section
  .wprm-recipe-add-to-collection.wprm-recipe-in-collection {
  background: rgb(236, 71, 58)
    url("data:image/svg+xml,%3Csvg enable-background='new 200 55.976 560 490.133' height='490.133' viewBox='200 55.976 560 490.133' width='560' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m701.375 91.328c-63.219-53.156-160.891-45.172-221.375 16.406-60.484-61.578-158.156-69.672-221.375-16.406-82.25 69.234-70.219 182.109-11.594 241.938l191.844 195.453c10.938 11.156 25.594 17.391 41.125 17.391 15.641 0 30.188-6.125 41.125-17.281l191.844-195.453c58.515-59.829 70.765-172.704-11.594-242.048zm-25.813 205.078-191.843 195.453c-2.625 2.625-4.812 2.625-7.438 0l-191.843-195.453c-39.922-40.688-48.016-117.687 7.984-164.828 42.547-35.766 108.172-30.406 149.297 11.484l38.281 39.047 38.281-39.047c41.344-42.109 106.969-47.25 149.297-11.594 55.891 47.141 47.578 124.579 7.984 164.938z' fill='%23fff'/%3E%3C/svg%3E")
    50% 55% no-repeat !important;
  background-size: 20px auto !important;
}
/* Post Title */
.c-recipes-grid-four-col-section .wprm-recipe-name a {
  float: left;
  width: 100%;
  font-family: MetropolisSemiBold, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.61111em;
  letter-spacing: 0.1px;
  color: rgb(0, 0, 0);
  text-decoration: none !important;
}
.c-recipes-grid-four-col-section .wprm-recipe-name a:hover {
  color: rgb(128, 179, 19);
}

@media screen and (min-width: 768px) {
  .c-recipes-grid-four-col-section .embla__slide__inner {
    height: 234px !important;
  }
  .c-recipes-grid-four-col-section .wprm-recipe-name {
    font-size: 0.9375rem;
    line-height: 1.53333em;
  }
}
@media screen and (min-width: 992px) {
  .c-recipes-grid-four-col-section .embla__slide__inner {
    height: 310px !important;
  }
  .c-recipes-grid-four-col-section .wprm-recipe-name {
    font-size: 1.125rem;
    line-height: 1.61111em;
  }
}
@media screen and (min-width: 1200px) {
  .c-recipes-grid-four-col-section .embla__slide__inner {
    height: 378px !important;
  }
}
.c-recipes-grid-four-col-section .title {
  float: left;
  width: 100%;
  font-family: 'MetropolisSemiBold', 'Helvetica', 'Arial', sans-serif;
  font-size: 1.125rem;
  line-height: 1.61111em;
  text-decoration: none;
  letter-spacing: 0.1px;
  color: #000;
}

.c-recipes-grid-four-col-section .title:hover {
  color: #80b313;
}

.c-recipes-grid-four-col-section .embla {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.c-recipes-grid-four-col-section .embla__viewport {
  overflow: hidden;
  width: 100%;
  padding: 0 7px 0 1.5rem;
}

.c-recipes-grid-four-col-section .embla__viewport:before {
  display: none;
  content: '{ "slidesToScroll": 1, "draggable": true }';
}

.c-recipes-grid-four-col-section .embla__viewport.is-draggable {
  cursor: move;
  cursor: grab;
}

.c-recipes-grid-four-col-section .embla__viewport.is-dragging {
  cursor: grabbing;
}

.c-recipes-grid-four-col-section .embla__container {
  display: flex;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: transparent;
  margin-left: 0;
}

.c-recipes-grid-four-col-section .embla__slide {
  position: relative;
  min-width: 280px;
  padding: 0 18px 0 0;
}

.c-recipes-grid-four-col-section .embla__slide__inner {
  position: relative;
  overflow: hidden;
  height: auto;
}

@media screen and (min-width: 768px) {
  .c-recipes-grid-four-col-section {
    padding: 3.0625rem 0 0.625rem;
  }
  .c-recipes-grid-four-col-section .container-fluid {
    max-width: 610px;
  }
  .c-recipes-grid-four-col-section .heading h1,
  .c-recipes-grid-four-col-section .heading h2,
  .c-recipes-grid-four-col-section .heading h3,
  .c-recipes-grid-four-col-section .heading h4,
  .c-recipes-grid-four-col-section .heading h5,
  .c-recipes-grid-four-col-section .heading h6 {
    margin-bottom: 2.125rem;
  }
  .c-recipes-grid-four-col-section .thumbnail {
    width: 140px;
    height: 143px;
    margin-bottom: 0.625rem;
  }
  .c-recipes-grid-four-col-section .thumbnail .c-btn-fav {
    top: 0.5625rem;
    right: 10px;
    width: 36px;
    height: 36px;
  }
  .c-recipes-grid-four-col-section .thumbnail .c-btn-fav span {
    position: relative;
    top: 0.6875rem;
    left: 8.5px;
    font-size: 1rem;
  }
  .c-recipes-grid-four-col-section .title {
    font-size: 0.9375rem;
    line-height: 1.53333em;
  }
  .c-recipes-grid-four-col-section .embla__viewport {
    padding: 0;
  }
  .c-recipes-grid-four-col-section .embla__viewport:before {
    content: '{ "slidesToScroll": 2, "draggable": false }';
  }
  .c-recipes-grid-four-col-section .embla__container {
    display: flex;
    display: -webkit-flex;
    flex-flow: wrap;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
  }
  .c-recipes-grid-four-col-section .embla__slide {
    min-width: 140px;
    width: 140px;
    padding: 0;
  }
}

@media screen and (min-width: 992px) {
  .c-recipes-grid-four-col-section {
    padding: 3.5rem 0 0.9375rem;
  }
  .c-recipes-grid-four-col-section .container-fluid {
    max-width: 930px;
  }
  .c-recipes-grid-four-col-section .heading h1,
  .c-recipes-grid-four-col-section .heading h2,
  .c-recipes-grid-four-col-section .heading h3,
  .c-recipes-grid-four-col-section .heading h4,
  .c-recipes-grid-four-col-section .heading h5,
  .c-recipes-grid-four-col-section .heading h6 {
    margin-bottom: 2.5rem;
    padding-bottom: 1.125rem;
    font-size: 2.25rem;
    line-height: 1.12em;
  }
  .c-recipes-grid-four-col-section .thumbnail {
    width: 216px;
    height: 218px;
    margin-bottom: 0.6875rem;
  }
  .c-recipes-grid-four-col-section .title {
    font-size: 1.125rem;
    line-height: 1.61111em;
  }
  .c-recipes-grid-four-col-section .embla__slide {
    min-width: 216px;
    width: 216px;
    padding: 0;
  }
}

@media screen and (min-width: 1200px) {
  .c-recipes-grid-four-col-section .container-fluid {
    max-width: 1100px;
  }
  .c-recipes-grid-four-col-section .embla__slide {
    min-width: 257px;
    width: 257px;
  }
  .c-recipes-grid-four-col-section .thumbnail {
    width: 257px;
    height: 260px;
  }
}