:root{
  --rc-forest:#0b4934;
  --rc-forest-deep:#073b2b;
  --rc-forest-soft:#e8f0e6;
  --rc-paper:#fffaf0;
  --rc-cream:#f5e6cf;
  --rc-gold:#e0ad3c;
  --rc-orange:#e9683f;
  --rc-red:#c84437;
  --rc-ink:#29382f;
  --rc-muted:#697069;
  --rc-line:rgba(196,139,52,.34);
}

/* Shared recipe collection layout */
html body.show-recipes-page #result.grid,
html body.world-page .wc-results-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:24px!important;
}

html body.show-recipes-page .recipe-card,
html body.world-page .wc-recipe-card{
  position:relative!important;
  display:grid!important;
  grid-template-rows:auto auto 1fr!important;
  min-width:0!important;
  height:auto!important;
  padding:10px!important;
  gap:9px!important;
  overflow:hidden!important;
  border:1px solid rgba(204,145,49,.62)!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(224,173,60,.2),transparent 25%),
    linear-gradient(150deg,#fffdf8 0%,#fff7eb 54%,#f3e1ca 100%)!important;
  box-shadow:0 17px 40px rgba(52,39,24,.14)!important;
  cursor:pointer!important;
  isolation:isolate!important;
  transition:transform .24s ease,box-shadow .24s ease!important;
}

html body.show-recipes-page .recipe-card::before,
html body.world-page .wc-recipe-card::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  left:32px!important;
  z-index:4!important;
  width:72px!important;
  height:5px!important;
  border-radius:0 0 999px 999px!important;
  background:linear-gradient(90deg,var(--rc-orange),var(--rc-gold))!important;
}

html body.show-recipes-page .recipe-card::after,
html body.world-page .wc-recipe-card::after{
  content:""!important;
  position:absolute!important;
  right:-42px!important;
  bottom:-42px!important;
  z-index:-1!important;
  width:116px!important;
  height:116px!important;
  border:1px solid rgba(224,173,60,.24)!important;
  border-radius:50%!important;
  box-shadow:0 0 0 14px rgba(224,173,60,.05),0 0 0 30px rgba(224,173,60,.035)!important;
}

html body.show-recipes-page .recipe-card:hover,
html body.world-page .wc-recipe-card:hover{
  transform:translateY(-5px)!important;
  box-shadow:0 25px 55px rgba(45,32,18,.19)!important;
}

/* Strong editorial title */
html body.show-recipes-page .recipe-card-title,
html body.world-page .wc-recipe-body h3{
  grid-row:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:68px!important;
  margin:0!important;
  padding:12px 44px 10px!important;
  border-radius:20px 20px 8px 8px!important;
  background:
    linear-gradient(115deg,rgba(255,255,255,.055),transparent 42%),
    linear-gradient(135deg,var(--rc-forest),var(--rc-forest-deep))!important;
  color:#fffaf0!important;
  font:700 clamp(20px,1.45vw,27px)/1.06 "Playfair Display",Georgia,serif!important;
  letter-spacing:-.025em!important;
  text-align:center!important;
  text-wrap:balance!important;
  text-shadow:0 2px 4px rgba(0,0,0,.2)!important;
}

/* Square food image */
html body.show-recipes-page .recipe-card-image-wrap,
html body.world-page .wc-recipe-card>.wc-recipe-photo{
  grid-row:2!important;
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1/1!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid rgba(224,173,60,.5)!important;
  border-radius:22px!important;
  background:var(--rc-cream)!important;
  object-fit:cover!important;
  box-shadow:0 9px 20px rgba(43,32,20,.11)!important;
}

html body.show-recipes-page .recipe-card-image-wrap img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:0!important;
  box-shadow:none!important;
  transition:transform .45s ease!important;
}

html body.show-recipes-page .recipe-card:hover .recipe-card-image-wrap img,
html body.world-page .wc-recipe-card:hover>.wc-recipe-photo{
  transform:scale(1.025)!important;
}

html body.show-recipes-page .favorite-btn{
  top:12px!important;
  right:12px!important;
  width:40px!important;
  height:40px!important;
  border:1px solid rgba(224,173,60,.78)!important;
  border-radius:50%!important;
  background:rgba(255,250,240,.94)!important;
  color:var(--rc-red)!important;
  box-shadow:0 7px 18px rgba(33,25,17,.18)!important;
}

/* Card information body */
html body.show-recipes-page .recipe-card-body{
  grid-row:3!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  margin:0!important;
  padding:2px 5px 7px!important;
  gap:9px!important;
  overflow:visible!important;
  background:transparent!important;
}

html body.world-page .wc-recipe-body{display:contents!important}

html body.show-recipes-page .recipe-card-country-wrap,
html body.show-recipes-page .recipe-card-cuisine{
  display:flex!important;
  justify-content:center!important;
  min-height:27px!important;
  margin:0!important;
  color:#874629!important;
  font:800 11px/1 Manrope,sans-serif!important;
}

html body.show-recipes-page .recipe-card-country-wrap .recipe-detail-country{
  min-height:27px!important;
  padding:5px 11px!important;
  border:1px solid rgba(233,104,63,.16)!important;
  border-radius:999px!important;
  background:#f8d8c8!important;
  color:#8b3f27!important;
}

html body.show-recipes-page .recipe-card-country-wrap .recipe-detail-country img{
  width:23px!important;
  height:15px!important;
  object-fit:cover!important;
}

html body.show-recipes-page .recipe-card-meta,
html body.world-page .wc-meta{
  grid-row:3!important;
  display:flex!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}

html body.show-recipes-page .recipe-meta-pill,
html body.world-page .wc-meta span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:29px!important;
  padding:6px 10px!important;
  border:1px solid rgba(11,73,52,.19)!important;
  border-radius:999px!important;
  background:var(--rc-forest-soft)!important;
  color:#244b38!important;
  font:750 10px/1.12 Manrope,sans-serif!important;
}

html body.show-recipes-page .recipe-card-ingredients-panel{
  margin-top:1px!important;
  padding:12px 12px 10px!important;
  border:1px solid rgba(224,173,60,.28)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.55)!important;
}

html body.show-recipes-page .recipe-card-ingredients-title{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0 0 7px!important;
  color:var(--rc-forest-deep)!important;
  font:700 18px/1.1 "Playfair Display",Georgia,serif!important;
}

html body.show-recipes-page .recipe-card-ingredients-title::after{
  content:""!important;
  flex:1!important;
  height:2px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,var(--rc-orange),transparent)!important;
}

html body.show-recipes-page .recipe-ingredients-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 12px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

html body.show-recipes-page .recipe-ingredient-row{
  display:grid!important;
  grid-template-columns:8px 1fr!important;
  gap:4px!important;
  min-width:0!important;
  padding:5px 0!important;
  border-bottom:1px solid rgba(224,173,60,.23)!important;
  color:#555e58!important;
  font:550 10.5px/1.3 Manrope,sans-serif!important;
}

html body.show-recipes-page .recipe-ingredient-bullet{color:var(--rc-orange)!important}

html body.world-page .wc-recipe-flag{
  z-index:4!important;
  top:92px!important;
  left:20px!important;
  width:43px!important;
  height:31px!important;
  border:1px solid rgba(224,173,60,.75)!important;
  background:rgba(255,250,240,.96)!important;
  box-shadow:0 6px 15px rgba(40,29,18,.14)!important;
}

html body.world-page .wc-recipe-flag img{
  width:26px!important;
  height:17px!important;
  border-radius:3px!important;
}

html body.world-page .wc-ingredients-preview{
  grid-row:4!important;
  min-height:62px!important;
  margin:0!important;
  padding:12px!important;
  border:1px solid rgba(224,173,60,.28)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.55)!important;
  color:#5a615c!important;
  font:550 11px/1.5 Manrope,sans-serif!important;
  -webkit-line-clamp:3!important;
}

.recipe-card-open-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-height:43px!important;
  margin-top:auto!important;
  padding:0 17px!important;
  border:1px solid var(--rc-gold)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,var(--rc-orange),#ef7b47)!important;
  color:#fff!important;
  font:800 11px/1 Manrope,sans-serif!important;
  box-shadow:0 8px 17px rgba(233,104,63,.2)!important;
  cursor:pointer!important;
}

.recipe-card-open-btn:hover,
.recipe-card-open-btn:active{
  background:linear-gradient(135deg,var(--rc-forest),var(--rc-forest-deep))!important;
  color:#fff!important;
}

html body.world-page .wc-recipe-open-btn{grid-row:5!important;align-self:end!important}

@media(max-width:1180px) and (min-width:761px){
  html body.show-recipes-page #result.grid,
  html body.world-page .wc-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:760px){
  html body.show-recipes-page #result.grid,
  html body.world-page .wc-results-grid{
    grid-template-columns:1fr!important;
    gap:17px!important;
    padding-inline:7px!important;
  }

  html body.show-recipes-page .recipe-card,
  html body.world-page .wc-recipe-card{
    width:min(100%,520px)!important;
    margin-inline:auto!important;
    padding:8px!important;
    gap:7px!important;
    border-radius:24px!important;
    box-shadow:0 13px 30px rgba(52,39,24,.13)!important;
  }

  html body.show-recipes-page .recipe-card-title,
  html body.world-page .wc-recipe-body h3{
    min-height:56px!important;
    padding:9px 38px 8px!important;
    border-radius:17px 17px 7px 7px!important;
    font-size:21px!important;
  }

  html body.show-recipes-page .recipe-card-image-wrap,
  html body.world-page .wc-recipe-card>.wc-recipe-photo{border-radius:18px!important}

  html body.world-page .wc-recipe-flag{top:76px!important;left:17px!important}
  html body.show-recipes-page .recipe-card-ingredients-panel{padding:10px!important}
  html body.show-recipes-page .recipe-card-ingredients-title{font-size:17px!important}
  html body.show-recipes-page .recipe-ingredient-row{font-size:10.5px!important}
  .recipe-card-open-btn{min-height:44px!important;font-size:12px!important}
}

@media(max-width:390px){
  html body.show-recipes-page .recipe-card-title,
  html body.world-page .wc-recipe-body h3{font-size:19px!important}
  html body.show-recipes-page .recipe-ingredients-list{grid-template-columns:1fr!important}
}
