
.ed-recipes-page{
  background:var(--ed-cream);
}

.ed-recipes-hero{
  background:var(--ed-plum);
  color:#fff;
  padding:82px 24px 76px;
  text-align:center;
}

.ed-recipes-hero-inner{
  margin:0 auto;
  max-width:850px;
}

.ed-recipes-kicker{
  color:var(--ed-terra);
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
}

.ed-recipes-hero h1,
.ed-recipes-section-heading h2{
  font-family:"Playfair Display",serif;
  font-size:clamp(38px,5vw,64px);
  font-weight:400;
  line-height:1.1;
  margin:10px 0 14px;
}

.ed-recipes-hero h1 em,
.ed-recipes-section-heading h2 em{
  color:var(--ed-terra);
  font-style:italic;
}

.ed-recipes-hero p{
  color:rgba(255,255,255,.7);
  font-size:16px;
  line-height:1.8;
  margin:0 auto;
  max-width:680px;
}

.ed-recipes-search{
  display:flex;
  margin:28px auto 0;
  max-width:620px;
}

.ed-recipes-search input{
  border:0;
  border-radius:999px 0 0 999px;
  flex:1;
  font-size:15px;
  min-width:0;
  padding:16px 20px;
}

.ed-recipes-search button{
  background:var(--ed-terra);
  border:0;
  border-radius:0 999px 999px 0;
  color:#fff;
  cursor:pointer;
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  padding:0 24px;
  text-transform:uppercase;
}

.ed-recipes-categories,
.ed-recipes-latest{
  margin:0 auto;
  max-width:1500px;
  padding:72px 48px;
}

.ed-recipes-categories{
  background:var(--ed-warm-white);
  max-width:none;
}

.ed-recipes-categories > *,
.ed-recipes-latest > *{
  margin-left:auto;
  margin-right:auto;
  max-width:1500px;
}

.ed-recipes-section-heading{
  margin-bottom:32px;
}

.ed-recipes-section-heading h2{
  color:var(--ed-text);
  font-size:clamp(30px,4vw,46px);
}

.ed-recipes-category-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(4,1fr);
}

.ed-recipes-category-card{
  align-items:center;
  background:#fff;
  border:1px solid var(--ed-border);
  border-radius:15px;
  color:var(--ed-text);
  display:flex;
  gap:14px;
  padding:12px;
  transition:transform .22s,box-shadow .22s;
}

.ed-recipes-category-card:hover{
  box-shadow:0 12px 26px rgba(74,25,66,.08);
  transform:translateY(-3px);
}

.ed-recipes-category-image{
  background:var(--ed-terra-light);
  border-radius:50%;
  display:block;
  height:64px;
  overflow:hidden;
  width:64px;
}

.ed-recipes-category-image img,
.ed-recipes-category-image .ed-placeholder-image{
  display:block;
  height:100%;
  min-height:0;
  object-fit:cover;
  width:100%;
}

.ed-recipes-category-copy strong,
.ed-recipes-category-copy small{
  display:block;
}

.ed-recipes-category-copy strong{
  font-family:"Playfair Display",serif;
  font-size:17px;
  font-weight:400;
}

.ed-recipes-category-copy small{
  color:var(--ed-text-light);
  font-size:11px;
  margin-top:5px;
}

.ed-recipes-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(3,1fr);
}

.ed-recipes-card{
  background:#fff;
  border:1px solid var(--ed-border);
  border-radius:16px;
  overflow:hidden;
  transition:transform .25s,box-shadow .25s;
}

.ed-recipes-card:hover{
  box-shadow:0 18px 34px rgba(74,25,66,.1);
  transform:translateY(-4px);
}

.ed-recipes-card-image{
  aspect-ratio:4/3;
  display:block;
  overflow:hidden;
  position:relative;
}

.ed-recipes-card-image img,
.ed-recipes-card-image .ed-placeholder-image{
  display:block;
  height:100%;
  min-height:0;
  object-fit:cover;
  transition:transform .45s;
  width:100%;
}

.ed-recipes-card:hover img{
  transform:scale(1.05);
}

.ed-recipes-card-image span{
  background:var(--ed-plum);
  border-radius:999px;
  color:#fff;
  font-size:10px;
  left:12px;
  letter-spacing:.1em;
  padding:5px 11px;
  position:absolute;
  text-transform:uppercase;
  top:12px;
}

.ed-recipes-card-body{
  padding:18px 20px 22px;
}

.ed-recipes-card-date{
  color:var(--ed-text-light);
  font-size:10px;
  letter-spacing:.1em;
  margin:0 0 7px;
  text-transform:uppercase;
}

.ed-recipes-card h3{
  font-family:"Playfair Display",serif;
  font-size:20px;
  font-weight:400;
  line-height:1.3;
  margin:0 0 9px;
}

.ed-recipes-card h3 a{
  color:var(--ed-text);
}

.ed-recipes-card-body > p:last-child{
  color:var(--ed-text-mid);
  font-size:13px;
  line-height:1.65;
  margin:0;
}

.ed-recipes-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin-top:42px;
}

.ed-recipes-pagination .page-numbers{
  background:#fff;
  border:1px solid var(--ed-border);
  border-radius:999px;
  color:var(--ed-text);
  display:inline-flex;
  min-height:40px;
  padding:10px 15px;
}

.ed-recipes-pagination .current,
.ed-recipes-pagination .page-numbers:hover{
  background:var(--ed-terra);
  border-color:var(--ed-terra);
  color:#fff;
}

@media(max-width:1020px){
  .ed-recipes-category-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .ed-recipes-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:720px){
  .ed-recipes-hero{
    padding:58px 20px 54px;
  }

  .ed-recipes-categories,
  .ed-recipes-latest{
    padding:50px 20px;
  }

  .ed-recipes-category-grid,
  .ed-recipes-grid{
    grid-template-columns:1fr;
  }
}
