/* Recipe Listing Page */
.recipe-page {
  background: var(--white-color);
  padding: 1.25rem 0 4rem;
}

.recipe-container {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

/* Hero */
.recipe-hero {
  padding-top: 0.75rem;
}
 
.recipe-hero-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 550px;
  background: #d9d9d9;
}

.recipe-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.recipe-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0) 75%
  );
}

.recipe-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white-color);
  background: rgba(0, 0, 0, 0.5);
}

.separator {
  width: 120px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;

  margin: 1rem 0;
}

.recipe-hero-eyebrow {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.95;
  text-transform: capitalize;
}

.recipe-hero-title {
  margin: 0;
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 4rem;
  line-height: 1.15;
  letter-spacing: 0.2px;
  font-weight: 700;
  text-transform: uppercase;
  max-width: 90%;
}

/* Blog posts */
.recipe-posts {
  padding: 3rem 0 1rem 0;
}

.recipe-section-header {
  display: grid;
  gap: 10px;
}

.recipe-section-title {
  margin: 0;
  font-size: 1.8rem;
  text-transform: capitalize;
  font-weight: 700;
  color: rgba(44, 44, 44, 0.92);
}

.recipe-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.recipe-filter {
  border: 1px solid rgba(44, 44, 44, 0.12);
  background: var(--white-color);
  color: rgba(44, 44, 44, 0.75);
  border-radius: 999px;
  padding: 0.65rem 0.95rem  0.5rem 0.95rem;
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
}

.recipe-filter-active {
  background: rgba(129, 176, 63, 0.15);
  border-color: rgba(129, 176, 63, 0.35);
  color: rgba(44, 44, 44, 0.9);
}

.recipe-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recipe-card {
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white-color);
  border: 1px solid rgba(44, 44, 44, 0.08);
  box-shadow: 0 1px 22px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.recipe-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}
 
.recipe-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}

.recipe-card-body {
  padding: 20px 20px 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.recipe-meta {
  margin: 0;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.685);
  line-height: 1;
}

.recipe-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(44, 44, 44, 0.9);
  line-height: 1.25;
}

.recipe-card-meta {
  display: block;
  font-size: 0.8125rem;
  color: rgba(44, 44, 44, 0.55);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.recipe-card-meta-text {
  display: block;
  font-size: inherit;
  color: inherit;
}

/* ============================================================= */
/* Chefs */
/* ============================================================= */
.recipe-chefs {
  padding: 4rem 0 2rem 0;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.recipe-chefs-title {
  margin: 0 0 15px;
  font-size: 1.8rem;
  text-transform: capitalize;
  font-weight: 700;
  color: rgba(44, 44, 44, 0.92);
}

.chef-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.chef-card {
   width: 100%;
  height: auto;
  aspect-ratio: 1/1.25;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(44, 44, 44, 0.08);
  background: var(--white-color);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);

  position: relative;
  overflow: hidden;
  outline: 3px solid rgba(129, 176, 63, 0.25);
}

.chef-card-featured {
  outline: 3px solid rgba(129, 176, 63, 0.25);
}

.chef-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chef-body {
  padding: 10px 10px 12px;

  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: auto;
  background: #ffffff;
  color: rgba(44, 44, 44, 0.92);
  padding: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0rem;
  border-radius: 5px;
}

.chef-name {
  font-size: 1rem;
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 800;
  color: rgba(44, 44, 44, 0.92);
  line-height: 1;
}

.chef-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(44, 44, 44, 0.55);
}

/* Newsletter */
.recipe-newsletter {
  padding: 4rem 0 1rem 0;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-card {
  position: relative;
  border-radius: 14px;
  background: rgba(129, 176, 63, 0.08);
  border: 1px solid rgba(44, 44, 44, 0.06);
  overflow: hidden;
  padding: 18px 16px;
  height: 350px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.newsletter-art {
  position: absolute;
  inset: 0;
  background: url("https://harvestepz.com/wp-content/uploads/2026/04/Frsco-Herbs-Background.png") no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  display: grid;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 520px;
}

.newsletter-title {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 800;
  color: rgba(44, 44, 44, 0.92);
  text-align: center;
  text-transform: capitalize;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  width: 450px;
  justify-content: center;
}

.newsletter-input {
  height: auto;
  width: 100%;
  padding: 0.85rem 1.5rem 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  border: 1px solid rgba(44, 44, 44, 0.12);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(44, 44, 44, 0.5);
}

.newsletter-btn {
  height: auto;
  padding: 0.85rem 1.5rem 0.75rem 1.5rem;
  border-radius: 999px;
  border: 0;
  background: var(--primary-green);
  color: var(--white-color);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.newsletter-btn:hover {
  background: #6d9635;
}

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

  .chef-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .recipe-page
   {
    padding: 1.25rem 0 2rem;
   }

  .recipe-container {
    width: min(1180px, calc(100% - 1rem));
  }

  .recipe-newsletter {
    padding: 2rem 0 1rem 0;
  }

  .recipe-hero-card {
    height: 410px;
  }

  .recipe-hero-title {
    font-size: 2rem;
    line-height: 1.5;
  }

  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .recipe-card-image {
    height: 150px;
  }

  .newsletter-title {
    font-size: 1.75rem;
    max-width: 18ch;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

