/* =========================================================
   Effing Delicious Category Archive Page
   ========================================================= */

.ed-category-page{
  background:var(--ed-cream,#f8f2ec);
}

.ed-category-hero{
  background:var(--ed-plum,#4a1942);
  color:#fff;
  padding:72px 24px 68px;
  text-align:center;
}

.ed-category-hero-inner{
  margin:0 auto;
  max-width:980px;
}

.ed-category-breadcrumb{
  align-items:center;
  color:rgba(255,255,255,.58);
  display:flex;
  flex-wrap:wrap;
  font-size:11px;
  font-weight:700;
  gap:7px;
  justify-content:center;
  letter-spacing:.11em;
  margin-bottom:18px;
  text-transform:uppercase;
}

.ed-category-breadcrumb a{
  color:rgba(255,255,255,.8);
  text-decoration:none;
}

.ed-category-breadcrumb a:hover,
.ed-category-breadcrumb a:focus{
  color:var(--ed-terra,#c64a12);
}

.ed-category-kicker{
  color:var(--ed-terra,#c64a12);
  display:block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  margin-bottom:10px;
  text-transform:uppercase;
}

.ed-category-hero h1{
  color:#fff;
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(42px,6vw,72px);
  font-weight:400;
  line-height:1.05;
  margin:0 0 16px;
}

.ed-category-hero h1 em{
  color:#f0b7a0;
  font-style:italic;
}

.ed-category-description{
  color:rgba(255,255,255,.76);
  font-size:16px;
  line-height:1.8;
  margin:0 auto;
  max-width:760px;
}

.ed-category-description p{
  margin:0;
}

.ed-category-pills-wrap{
  background:var(--ed-warm-white,#fffdf9);
  border-bottom:1px solid var(--ed-border,#eadfd5);
}

.ed-category-pills-inner{
  margin:0 auto;
  max-width:1500px;
  padding:20px 48px;
}

.ed-category-pills-title{
  color:var(--ed-text,#2b211d);
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  margin-bottom:10px;
  text-transform:uppercase;
}

.ed-category-pills{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.ed-category-pills a{
  background:#fff;
  border:1px solid var(--ed-border,#eadfd5);
  border-radius:999px;
  color:var(--ed-plum,#4a1942);
  font-size:12px;
  font-weight:700;
  padding:9px 13px;
  text-decoration:none;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}

.ed-category-pills a:hover,
.ed-category-pills a:focus{
  background:var(--ed-terra,#c64a12);
  border-color:var(--ed-terra,#c64a12);
  color:#fff;
}

.ed-category-content{
  margin:0 auto;
  max-width:1500px;
  padding:64px 48px 78px;
}

.ed-category-heading{
  margin-bottom:28px;
  max-width:820px;
}

.ed-category-heading h2{
  color:var(--ed-text,#2b211d);
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(30px,4vw,46px);
  font-weight:400;
  line-height:1.14;
  margin:0;
}

.ed-category-heading h2 em{
  color:var(--ed-terra,#c64a12);
  font-style:italic;
}

.ed-category-heading p{
  color:var(--ed-text-mid,#6f5d54);
  font-size:15px;
  line-height:1.7;
  margin:8px 0 0;
}

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

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

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

.ed-category-card-image{
  aspect-ratio:4/3;
  background:linear-gradient(135deg,var(--ed-terra-light,#f7e4d9),#fff5ef);
  display:block;
  overflow:hidden;
}

.ed-category-card-image img,
.ed-category-image-placeholder{
  display:block;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
  width:100%;
}

.ed-category-card:hover .ed-category-card-image img{
  transform:scale(1.04);
}

.ed-category-image-placeholder{
  background:linear-gradient(135deg,var(--ed-terra-light,#f7e4d9),#fff5ef);
}

.ed-category-card-body{
  padding:18px 20px 21px;
}

.ed-category-card-meta{
  color:var(--ed-terra,#c64a12);
  display:block;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  margin-bottom:8px;
  text-transform:uppercase;
}

.ed-category-card h3{
  font-family:"Playfair Display",Georgia,serif;
  font-size:22px;
  font-weight:400;
  line-height:1.22;
  margin:0 0 9px;
}

.ed-category-card h3 a{
  color:var(--ed-text,#2b211d);
  text-decoration:none;
}

.ed-category-card h3 a:hover,
.ed-category-card h3 a:focus{
  color:var(--ed-terra,#c64a12);
}

.ed-category-card p{
  color:var(--ed-text-mid,#6f5d54);
  font-size:13px;
  line-height:1.7;
  margin:0 0 15px;
}

.ed-category-read-more{
  color:var(--ed-text,#2b211d);
  display:inline-block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-decoration-line:underline;
  text-decoration-color:var(--ed-terra,#c64a12);
  text-decoration-skip-ink:none;
  text-decoration-thickness:5px;
  text-transform:uppercase;
  text-underline-offset:4px;
}

.ed-category-read-more:hover,
.ed-category-read-more:focus{
  color:var(--ed-terra,#c64a12);
}

.ed-category-pagination{
  margin-top:42px;
}

.ed-category-pagination .nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
}

.ed-category-pagination .page-numbers{
  align-items:center;
  background:#fff;
  border:1px solid var(--ed-border,#eadfd5);
  border-radius:999px;
  color:var(--ed-text,#2b211d);
  display:inline-flex;
  justify-content:center;
  min-height:40px;
  min-width:40px;
  padding:0 13px;
  text-decoration:none;
}

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

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

@media(max-width:720px){
  .ed-category-hero{
    padding:56px 20px 52px;
  }

  .ed-category-pills-inner,
  .ed-category-content{
    padding-left:20px;
    padding-right:20px;
  }

  .ed-category-content{
    padding-bottom:58px;
    padding-top:48px;
  }

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