/* Recipe Single Styles */

.recipe-single {
  padding-top: 4rem;
  padding-bottom: 2rem;
  background: #f6f4e2;
  color: #002d74;
  font-family: "futura-pt";
}

.recipe-container {
  background: #fff;
  padding: 2rem;
  border-radius: 40px;
}
.recipe-single p {
  font-size: calc(1rem + 0.4vw);
  line-height: calc(1.8rem + 0.2vw);
  margin-block-end: 1em;
  margin-block-start: 1em;
}
.recipe-single ul,
.recipe-single ol {
  font-size: calc(1rem + 0.4vw);
  line-height: calc(1.8rem + 0.2vw);
}
.recipe-single p,
.recipe-single ul,
.recipe-single ol,
.recipe-single li {
  margin-block-end: 1em;
}

.recipe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.recipe-header-text {
  width: 45%;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding-right: 2rem;
  padding-left: 2rem;
}

.recipe-single h1.recipe-title {
  text-transform: uppercase;
  font-weight: 700;
  color: #002d74;
  text-shadow: none;
  font-size: 65px !important;
  line-height: 55px !important;
  padding-top: 2rem;
  margin-bottom: 1rem;
}

.recipe-description {
  font-size: 1.3rem;
  font-weight: 400;
  color: #002d74;
  line-height: 1.8rem;
}

.recipe-logo {
  width: 150px;
  height: auto;
  margin: 0 auto;
}

.recipe-header-image {
  width: 50%;
}

.recipe-header-image img {
  width: 100%;
  border-radius: 20px;
}

.recipe-meta-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #002d74;
  border-bottom: 1px solid #002d74;
  background: #fff;
  padding:0.5rem 3rem;
  font-size: 1.6rem;
  font-weight: 400;
  color: #002d74;
}
.recipe-meta-info .prep-time__wrapper,.recipe-meta-info .service-size__wrapper,{
	flex: 1;
}
.recipe-meta-info p{
	margin: 0;
}
.recipe-single h2 {
  font-size: 45px !important;
  line-height: 45px !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  margin-block-start: 0;
}
.recipe-single ul {
  margin: 0;
  padding-left: 0;
}
.recipe-single ol {
  padding-inline-start: 25px;
}
.recipe-single ul li {
  list-style-type: none;
}
.recipe-ingredients,
.recipe-instructions {
  padding: 2rem;
}

.recipe-ingredients ul li,
.recipe-instructions ul li {
  font-size: 1.4rem;
  line-height: 2rem;
  color: #002d74;
  list-style: none;
  font-family: "futura-pt";
}

.recipe-instructions {
  border-top: 1px solid #002d74;
}

.recipe-button {
  text-align: center;
  margin: 4rem 0;
}

.btn-view-all {
  font-family: "futura-pt", sans-serif;
  border-radius: 6px;
  background-color: #002d74 !important;
  padding: 0.4rem 2rem;
  display: inline-block;
  text-align: center;
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 18px !important;
  line-height: 22px !important;
  border: 2px solid #002d74;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.btn-view-all:hover {
  background-color: #fff !important;
  color: #002d74;
}

/* All Recipe Page */
.recepies-catagories h1 {
  font-size: 4.5rem;
  text-align: center;
  margin-top: 3rem;
  color: var(--primary-color);
}

.recipe_all {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 60px;
  column-gap: 40px;
  padding: 1rem 0;
}


.recipe_all .recipe-item__img img{
	width: 100%;
	height: 365px;
  	border-radius: 20px;
	object-fit: cover;
}
.recepies-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.recepies-box p {
  font-size: 2rem;
  line-height: 2.2rem;
  margin: 18px 0;
  color: var(--primary-color);
}
.recepies-box .recipe-item__title {
  min-height: 85px;
}
.recepies-box .recipe-item__title h2 {
  font-family: "futura-pt", sans-serif;
  color: #002d74;
  font-size: 25px;
  line-height: 35px;
  margin: 0;
}

.recepies-box button {
  font-family: "futura-pt", sans-serif;
  font-weight: 900;
  padding: 0.4rem 2rem;
  background-color: #002d74;
  color: #fff;
  text-transform: uppercase;
  border-radius: 6px;
}
.recepies-box button:hover {
  background-color: #fff !important;
  color: #002d74;
}
/* Loader */
#load-more-recipes {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}
.loading-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #fff;
  border-bottom-color: #002d74;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



/* Fade up animation styles */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Different animation delays for staggered effects */
.fade-up-delay-1 {
  transition-delay: 0.1s;
}
.fade-up-delay-2 {
  transition-delay: 0.2s;
}
.fade-up-delay-3 {
  transition-delay: 0.3s;
}
.fade-up-delay-4 {
  transition-delay: 0.4s;
}

/* Different animation speeds */
.fade-up-slow {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up-slow.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-fast {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up-fast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media only screen and (max-width: 1024px) {
  .recipe_all {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
@media only screen and (max-width: 767px) {
  .recipe-single {
    padding-top: 0;
    padding-bottom: 0;
    background: #fff;
  }

  .recipe-single > .site-main {
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
  }
  .recipe-container {
    padding: 2rem 15px;
    border-radius: 0;
    max-width: 95vw;
    margin: 0 auto;
  }
  .recepies-box .recipe-item__title {
    min-height: auto;
  }
  .recipe-single p,
  .recipe-single ul,
  .recipe-single ol {
    font-size: 25px;
    line-height: 30px;
  }
  .recipe-header {
    gap: 50px;
    flex-direction: column-reverse;
  }
  .recipe-header-text {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .recipe-header-image {
    width: 100%;
  }
  .recipe-single h1.recipe-title {
    padding-top: 0;
    font-size: 50px !important;
  }
  .recipe-logo {
    margin: 1em auto;
  }
  .recipe-meta-info {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }
  .recipe-ingredients,
  .recipe-instructions {
    padding: 0;
  }
  .recipe-ingredients h2 {
    text-align: center;
  }
  .recipe-instructions h2 {
    text-align: center;
  }
  .btn-view-all {
    font-size: 18px !important;
    line-height: 22px !important;
  }
  .recipe_all {
    grid-template-columns: repeat(1, 1fr);
  }
}
