/*FEATURED RECIPE*/
.recipes-grid-widget .featured-recipe {
  width: 100%;
  height: 48vw;
  background-color: #CE1141;
  position: relative;
  padding-top: 10%;
}

.recipes-grid-widget .featured-recipe .title{
  text-align: center;
  font-size: 9vw;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  color: white;

}


.recipes-grid-widget .featured-recipe .receta-icon {
  position: absolute;
  width: 33vw;
  left: 0;
  bottom: -100px;
}

.recipes-grid-widget .featured-recipe .featured-recipe-flex-container {
  display: flex;
  align-items: center;
  width: 80%;
  max-width: 1400px;
  bottom: -5%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 78px;
}

.recipes-grid-widget .featured-recipe .featured-recipe-flex-container img {
  height: 23vw;
  width: 50%;
  object-fit: cover;
  border-radius: 1rem;
}

.recipes-grid-widget .featured-recipe .featured-recipe-text {

  max-height: 25vw;
  gap: 0;


}

.recipes-grid-widget .featured-recipe .featured-recipe-text h3 {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 40px);
  color: white;

}

.recipes-grid-widget .featured-recipe .featured-recipe-text p {
  color: white;
  font-size: clamp(8px, 1.3vw, 18px);
  font-weight: normal;
  overflow-y: auto;
  max-height: 12vw;
}

.recipes-grid-widget .featured-recipe .view-button {
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 clamp(10px, 2vw, 20px);
  gap: 0;
  background: #A41333;
  text-decoration: none !important;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  opacity: 1;
  font-weight: 800;
  font-size: clamp(14px, 1.8vw, 18px);
}


/*GRID CONTAINER*/
.recipes-grid-container {
  width: 80%;
  max-width: 1400px;
  margin: 10vw auto 5vw auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;

  @media (max-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);

  }

  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }

   @media (max-width: 480px) {
    grid-template-columns: repeat(1, 1fr);
  }



}

.recipes-grid-container .recipes-items.featured-slide {
  display: none;
}

.recipes-grid-container .recipes-items {
  position: relative;

}

.recipes-grid-container .recipes-items img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.recipes-grid-container .recipes-items .grid-item-text {
  padding: 1rem 0;
}

.recipes-grid-container .recipes-items h4 {
  text-transform: uppercase;
  color: #A41333;
  font-weight: 900;
  font-size: 24px;
}

.recipes-grid-container .recipes-items p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  font-size: 14px;
  font-weight: normal;
  color: #808080;
  margin-bottom: 0 !important;
}

.recipes-grid-container .recipes-items .view-more-button {
  position: absolute;
  right: 0;
  top: 275px;
  width: 97px;
  height: 85px;
  background-color: transparent;
  background-image: url(./images/recipe-view-more-img.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.recipes-grid-container a.grid-item-content {
  text-decoration: none;
}



@media (max-width:768px) {

  .recipes-grid-widget .featured-recipe {
    position: relative;
    height: 130vw;
    padding-top: 12vw;
    display: fit-content;
  }


  .recipes-grid-widget .featured-recipe {

    margin-top: -5vw;


  }

  .recipes-grid-widget .featured-recipe .titles-container {


    position: absolute;
    bottom: 62%;
    text-align: center;
    width: 100%;

  }


  .recipes-grid-widget .featured-recipe .featured-recipe-flex-container {

    display: flex;
    flex-direction: column;
    grid-template-columns: 30% 70%;
    gap: 15px;

  }



  .recipes-grid-widget .featured-recipe .featured-recipe-flex-container {
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 1400px;
    bottom: -2vw;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
  }



  .recipes-grid-widget .featured-recipe .featured-recipe-text {

    max-height: none;

  }

  .recipes-grid-widget .featured-recipe .featured-recipe-text p {

    margin: 0;
    padding: 0;
    color: white;
    font-size: clamp(8px, 2vw, 24px);
    font-weight: normal;
    overflow-y: visible;
    max-height: none;

    padding-bottom: 2vw;

  }

  .recipes-grid-widget .featured-recipe .featured-recipe-flex-container img {

    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .recipes-grid-widget .featured-recipe .featured-recipe-flex-container {}

  .recipes-grid-widget .featured-recipe .view-button {

    font-size: clamp(13px, 4vw, 16px);
    height: clamp(38px, 5vw, 48px);
    padding: 0 clamp(10px, 4vw, 16px);

  }



}


@media (max-width:480px) {


  .recipes-grid-widget .featured-recipe {
    position: relative;
    height: 152vw;
    padding-top: 12vw;
    display: fit-content;
  }



  .recipes-grid-widget .featured-recipe .titles-container {


    position: absolute;
    bottom: 60%;
    text-align: center;
    width: 100%;

  }


}

.recipes-view-more-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;

  .view-more-recipes-button {
    background-color: #CE1141;
    margin: 1rem 1rem 4rem 1rem;
	font-weight: 800;
  }
}