
/*
Theme Name: Heavy Scrans Safe Premium
Author: OpenAI
Description: Bright premium WordPress theme for Heavy Scrans with recipe post type, pro editor, and a more established V2 homepage and recipe experience.
Version: 3.3.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: heavy-scrans-safe-premium
*/

:root{
  --bg:#fff8f0;
  --bg-2:#fff1dc;
  --paper:#fffdfa;
  --paper-2:#fff7ee;
  --ink:#19130f;
  --muted:#6e6156;
  --primary:#ff5a1f;
  --primary-dark:#d94710;
  --gold:#ffb703;
  --green:#78a92f;
  --green-dark:#567d15;
  --border:rgba(25,19,15,.08);
  --shadow:0 20px 50px rgba(25,19,15,.12);
  --soft:0 12px 28px rgba(25,19,15,.08);
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:18px;
  --wrap:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255,183,3,.18), transparent 25%),
    radial-gradient(circle at top right, rgba(120,169,47,.12), transparent 22%),
    linear-gradient(180deg,var(--bg),var(--bg-2));
  line-height:1.65;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.hs-wrap{width:min(calc(100% - 32px),var(--wrap));margin:0 auto}
.screen-reader-text{position:absolute;left:-9999px}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,248,240,.86);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border)
}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}
.brand{display:flex;align-items:center;gap:14px}
.brand img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(0,0,0,.12))}
.brand strong{
  display:block;
  font-size:1.1rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-family:Poppins,Inter,Arial,sans-serif
}
.brand span{display:block;color:var(--muted);font-size:.84rem;margin-top:4px}
.main-navigation ul{display:flex;list-style:none;gap:10px;padding:0;margin:0;flex-wrap:wrap}
.main-navigation a{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;font-weight:800}
.main-navigation a:hover,.main-navigation .current-menu-item>a,.main-navigation .current_page_item>a{background:#fff;box-shadow:var(--soft);color:var(--primary-dark)}

.button,.wp-block-button__link,button,input[type="submit"]{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border:0;border-radius:999px;padding:14px 22px;font-weight:900;cursor:pointer;
  background:linear-gradient(135deg,var(--primary),var(--gold));color:#fff;
  box-shadow:0 18px 30px rgba(255,90,31,.22);transition:.2s ease transform,.2s ease box-shadow
}
.button:hover,.wp-block-button__link:hover,button:hover,input[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 36px rgba(255,90,31,.28)
}
.button.alt{background:#fff;color:var(--ink);box-shadow:var(--soft)}

.hero{padding:58px 0 34px}
.hero__shell{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:#fff;border-radius:999px;padding:10px 16px;box-shadow:var(--soft);
  color:var(--primary-dark);font-size:.82rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase
}
.hero h1,.page-hero h1{
  margin:18px 0 16px;
  font-size:clamp(3rem,6vw,5.6rem);
  line-height:.93;letter-spacing:-.06em;
  font-family:Poppins,Inter,Arial,sans-serif;
  text-transform:uppercase
}
.gradient{background:linear-gradient(135deg,var(--primary-dark),var(--primary),#ff8b00);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p,.page-hero p{color:var(--muted);font-size:1.08rem;max-width:62ch}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.hero__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:28px}
.stat-card{background:rgba(255,255,255,.88);border:1px solid var(--border);border-radius:22px;padding:18px;box-shadow:var(--soft)}
.stat-card strong{display:block;font-size:1.8rem;line-height:1;color:var(--primary-dark);margin-bottom:6px;font-family:Poppins,Inter,Arial,sans-serif}
.hero__visual{
  position:relative;min-height:520px;border-radius:34px;overflow:hidden;
  background:linear-gradient(135deg,#21160f,#111);
  box-shadow:var(--shadow)
}
.hero__visual::before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(circle at top right, rgba(255,183,3,.22), transparent 28%),
    radial-gradient(circle at bottom left, rgba(120,169,47,.18), transparent 28%);
}
.hero__visual img{position:absolute;inset:50px 50px auto 50px;max-height:250px;margin:auto;object-fit:contain;z-index:2}
.hero-float{
  position:absolute;z-index:3;border-radius:26px;padding:18px 20px;box-shadow:var(--shadow)
}
.hero-float.one{left:18px;bottom:18px;background:linear-gradient(135deg,var(--gold),#ffd56a);color:#3c2606;transform:rotate(-5deg);max-width:220px}
.hero-float.two{right:18px;bottom:30px;background:linear-gradient(135deg,var(--green),#94c93a);color:#fff;transform:rotate(6deg);max-width:210px}
.hero-float strong{display:block;font-size:1.6rem;line-height:1;margin-bottom:6px;font-family:Poppins,Inter,Arial,sans-serif}

.section{padding:38px 0}
.section__head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.section__head h2{
  margin:0 0 8px;font-size:clamp(2rem,3vw,3.1rem);line-height:1;
  letter-spacing:-.04em;font-family:Poppins,Inter,Arial,sans-serif
}
.section__head p{margin:0;color:var(--muted);max-width:62ch}

.band{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;
  background:linear-gradient(135deg,#19130f,#2a170e);color:#fff;border-radius:30px;padding:26px;box-shadow:var(--shadow)
}
.band .item{padding:18px;border-radius:22px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.band .item strong{display:block;margin-bottom:8px;font-size:1.06rem;font-family:Poppins,Inter,Arial,sans-serif}
.band .item p{margin:0;color:rgba(255,255,255,.74)}

.search-panel{
  display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;
  background:#fff;border-radius:26px;padding:18px;box-shadow:var(--soft);border:1px solid var(--border)
}
.search-panel input{
  width:100%;border:1px solid #e7ddd2;border-radius:16px;padding:15px 16px;
  font-size:1rem;background:#fffaf5
}

.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.category-card{
  position:relative;overflow:hidden;border-radius:28px;padding:24px;background:rgba(255,255,255,.92);
  border:1px solid var(--border);box-shadow:var(--soft);min-height:190px
}
.category-card::after{
  content:"";position:absolute;right:-30px;bottom:-30px;width:120px;height:120px;border-radius:50%;
  background:rgba(255,183,3,.18)
}
.category-card .icon{font-size:2.3rem;margin-bottom:18px}
.category-card h3{margin:0 0 8px;font-size:1.35rem;font-family:Poppins,Inter,Arial,sans-serif}
.category-card p{margin:0;color:var(--muted)}

.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.recipe-card{
  background:rgba(255,255,255,.94);border:1px solid var(--border);
  border-radius:30px;overflow:hidden;box-shadow:var(--soft);transition:.2s ease transform,.2s ease box-shadow
}
.recipe-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.recipe-card__media{
  position:relative;aspect-ratio:16/10;padding:24px;display:flex;align-items:end;overflow:hidden;
  background:linear-gradient(135deg,var(--primary),var(--gold))
}
.recipe-card__media.image::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35))
}
.recipe-card__media::after{
  content:"";position:absolute;right:-30px;top:-30px;width:160px;height:160px;border-radius:50%;
  background:rgba(255,255,255,.14)
}
.recipe-card__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.recipe-card__emoji{position:relative;z-index:2;font-size:4rem;filter:drop-shadow(0 10px 18px rgba(0,0,0,.14))}
.recipe-card__badge{
  position:absolute;left:18px;top:18px;z-index:2;
  background:rgba(255,255,255,.92);color:var(--ink);padding:8px 12px;border-radius:999px;font-size:.8rem;font-weight:900
}
.recipe-card__body{padding:22px}
.pill-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.pill{display:inline-flex;padding:8px 12px;border-radius:999px;background:#fff2d8;font-size:.82rem;font-weight:800}
.pill.green{background:rgba(120,169,47,.15);color:var(--green-dark)}
.pill.dark{background:#221811;color:#fff}
.recipe-card h3{margin:0 0 10px;font-size:1.45rem;line-height:1.08;font-family:Poppins,Inter,Arial,sans-serif}
.recipe-card p{margin:0;color:var(--muted)}
.meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;color:var(--muted);font-weight:700;font-size:.93rem}
.meta strong{color:var(--ink)}

.featured-split{display:grid;grid-template-columns:1.05fr .95fr;gap:22px}
.feature-card{
  position:relative;overflow:hidden;border-radius:34px;min-height:440px;padding:28px;color:#fff;
  background:linear-gradient(135deg,#23150d,#111);box-shadow:var(--shadow)
}
.feature-card::before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.45)),
    radial-gradient(circle at top right, rgba(255,183,3,.22), transparent 32%)
}
.feature-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.feature-card__content{position:absolute;inset:auto 28px 28px 28px;z-index:2}
.feature-card__content h3{margin:10px 0;font-size:2rem;line-height:1;font-family:Poppins,Inter,Arial,sans-serif}
.feature-card__content p{margin:0 0 16px;color:rgba(255,255,255,.84)}
.mini-stack{display:grid;gap:18px}

.page-hero{padding:42px 0 10px}
.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.toolbar a{display:inline-flex;padding:12px 16px;border-radius:999px;background:#fff;box-shadow:var(--soft);font-weight:800}
.toolbar a.active,.toolbar a:hover{background:linear-gradient(135deg,var(--primary),var(--gold));color:#fff}

.single-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;padding:24px 0 56px}
.single-main,.sidebar-card{
  background:rgba(255,255,255,.94);border-radius:30px;box-shadow:var(--soft);border:1px solid var(--border)
}
.single-banner{
  position:relative;overflow:hidden;border-radius:30px 30px 0 0;padding:30px;color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--gold))
}
.single-banner.has-image{min-height:360px;display:flex;align-items:end}
.single-banner.has-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.single-banner.has-image::before{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.5))
}
.single-banner__inner{position:relative;z-index:2}
.single-banner__emoji{font-size:4rem;line-height:1}
.single-banner h1{margin:10px 0;font-size:clamp(2.1rem,5vw,3.7rem);line-height:.95;letter-spacing:-.04em;font-family:Poppins,Inter,Arial,sans-serif}
.single-content{padding:28px}
.content-section{margin-top:28px}
.content-section:first-child{margin-top:0}
.content-section h2{margin:0 0 16px;font-size:1.65rem;font-family:Poppins,Inter,Arial,sans-serif}
.stack-list,.step-list,.meta-list{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.stack-list li{background:#fff2d8;border-radius:16px;padding:14px 16px;font-weight:700}
.step-list{counter-reset:s}
.step-list li{
  position:relative;padding:18px 18px 18px 70px;background:#fff;border-radius:20px;
  border:1px solid rgba(0,0,0,.06);box-shadow:0 8px 16px rgba(25,19,15,.04)
}
.step-list li::before{
  counter-increment:s;content:counter(s);
  position:absolute;left:18px;top:18px;width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--gold));color:#fff;font-weight:900
}
.jump-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.jump-links a{display:inline-flex;padding:10px 14px;border-radius:999px;background:#fff;color:var(--ink);font-weight:800;box-shadow:var(--soft)}
.single-sidebar{display:grid;gap:18px;position:sticky;top:90px;height:max-content}
.sidebar-card{padding:22px}
.sidebar-card h3{margin:0 0 14px;font-family:Poppins,Inter,Arial,sans-serif}
.meta-list li{display:flex;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px dashed rgba(0,0,0,.08);font-weight:700;color:var(--muted)}
.meta-list li:last-child{border-bottom:0;padding-bottom:0}
.sidebar-card ul{margin:0;padding-left:18px;color:var(--muted)}
.rating-row{display:flex;align-items:center;gap:10px;font-weight:800}
.rating-stars{letter-spacing:2px;color:#ff9600}
.sidebar-highlight{
  background:linear-gradient(135deg,var(--green),#91c93a);color:#fff
}
.sidebar-highlight p{color:rgba(255,255,255,.86)}

.footer{padding:26px 0 40px}
.footer-card{
  background:#19130f;color:#fff;border-radius:34px;padding:28px;display:flex;justify-content:space-between;
  align-items:center;gap:20px;flex-wrap:wrap;box-shadow:var(--shadow)
}
.footer-card strong{display:block;margin-bottom:6px;font-size:1.2rem;font-family:Poppins,Inter,Arial,sans-serif}
.footer-card p{margin:0;color:rgba(255,255,255,.72)}
.footer-card a{opacity:.84}
.footer-card a:hover{opacity:1}

.empty-card{
  background:rgba(255,255,255,.94);padding:24px;border-radius:26px;box-shadow:var(--soft);border:1px solid var(--border)
}

/* Admin recipe editor */
.hs-admin-sections{display:grid;gap:18px}
.hs-admin-card{background:#fff;border:1px solid #d9dee5;border-radius:16px;padding:18px;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.hs-admin-card h3{margin:0 0 6px;font-size:16px}
.hs-admin-card .description{color:#667085;margin:0 0 14px}
.hs-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hs-field label{display:block;font-weight:700;margin-bottom:6px;font-size:13px;color:#333}
.hs-field input[type="text"],.hs-field select,.hs-field textarea{width:100%}
.hs-field small{display:block;margin-top:6px;color:#667085}
.hs-repeater{display:grid;gap:10px}
.hs-repeater__row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:start}
.hs-repeater__row input[type="text"]{min-height:40px}
.hs-repeater__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.hs-admin-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c9d1db;background:#fff;border-radius:10px;padding:8px 12px;cursor:pointer;font-weight:600}
.hs-admin-btn:hover{background:#f8fafc}
.hs-admin-btn--primary{background:#111827;color:#fff;border-color:#111827}
.hs-admin-btn--danger{border-color:#ef4444;color:#b91c1c}
.hs-admin-template{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;padding:14px}
.hs-admin-template h4{margin:0 0 8px}
.hs-admin-template pre{white-space:pre-wrap;margin:0;font-size:12px;line-height:1.55}

@media (max-width:1080px){
  .hero__shell,.featured-split,.recipe-grid,.band,.category-grid,.single-layout{grid-template-columns:1fr 1fr}
  .single-layout{grid-template-columns:1fr}
  .single-sidebar{position:static}
}
@media (max-width:760px){
  .site-header__inner,.hero__shell,.hero__stats,.search-panel,.recipe-grid,.band,.category-grid,.featured-split,.footer-card{display:grid;grid-template-columns:1fr}
  .section__head{display:block}
  .main-navigation ul{gap:6px}
  .single-content,.single-banner,.sidebar-card{padding:20px}
  .hero__visual{min-height:420px}
  .hero__visual img{inset:30px 20px auto 20px;max-height:200px}
  .hs-admin-grid,.hs-repeater__row{grid-template-columns:1fr}
}


/* Header search */
.nav-search {
  display:flex;
  align-items:center;
}

.nav-search input {
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.08);
  padding:10px 16px;
  min-width:200px;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
  font-weight:600;
}

.nav-search input:focus {
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(255,90,31,0.15);
}




/* Ultra premium header search */
.nav-search{
  position:relative;
  min-width:480px;
  max-width:860px;
  width:100%;
  margin-left:auto;
}

.nav-search__shell{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(220px,1fr) auto auto auto auto;
  gap:10px;
  align-items:center;
  padding:9px 10px 9px 12px;
  border:1.5px solid rgba(255,90,31,.22);
  border-radius:999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,248,241,.88)),
    radial-gradient(circle at top left, rgba(255,183,3,.10), transparent 30%);
  backdrop-filter:blur(14px);
  box-shadow:
    0 18px 40px rgba(25,19,15,.08),
    inset 0 1px 0 rgba(255,255,255,.65);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-search__shell:focus-within{
  border-color:rgba(255,90,31,.55);
  box-shadow:
    0 20px 44px rgba(25,19,15,.10),
    0 0 0 4px rgba(255,90,31,.10),
    inset 0 1px 0 rgba(255,255,255,.75);
  transform:translateY(-1px);
}

.nav-search__icon{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  color:var(--primary);
  border-radius:50%;
  background:linear-gradient(135deg, rgba(255,90,31,.12), rgba(255,183,3,.10));
  border:1px solid rgba(255,90,31,.12);
}

.nav-search__icon svg{
  width:18px;
  height:18px;
}

.nav-search__field{
  min-width:0;
  position:relative;
}

.nav-search__field::after{
  content:"";
  position:absolute;
  right:-4px;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:28px;
  background:linear-gradient(180deg, transparent, rgba(25,19,15,.12), transparent);
}

.nav-search__input{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  outline:none;
  min-width:0;
  width:100%;
  font-size:.98rem;
  font-weight:800;
  color:var(--ink);
  padding:0 !important;
  letter-spacing:-.01em;
}

.nav-search__input::placeholder{
  color:#8f7f72;
  font-weight:600;
}

.nav-search__select{
  appearance:none;
  border:1px solid rgba(255,90,31,.12);
  background:rgba(255,255,255,.72);
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  color:var(--muted);
  min-width:110px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  outline:none;
  transition:border-color .18s ease, background .18s ease;
}

.nav-search__select:hover,
.nav-search__select:focus{
  border-color:rgba(255,90,31,.30);
  background:#fff;
}

.nav-search__button{
  white-space:nowrap;
  padding:11px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--primary),var(--gold));
  color:#fff;
  border:0;
  font-weight:900;
  box-shadow:
    0 10px 22px rgba(255,90,31,.18),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.nav-search__results{
  position:absolute;
  top:calc(100% + 12px);
  left:0;
  right:0;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(16px);
  border:1px solid rgba(25,19,15,.08);
  border-radius:26px;
  box-shadow:0 24px 56px rgba(25,19,15,.16);
  padding:12px;
  display:grid;
  gap:8px;
  max-height:460px;
  overflow:auto;
}

.nav-search__item{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:14px;
  align-items:center;
  padding:10px;
  border-radius:20px;
  transition:background .18s ease, transform .18s ease;
}

.nav-search__item:hover{
  background:#fff7ee;
  transform:translateY(-1px);
}

.nav-search__thumb{
  width:72px;
  height:72px;
  border-radius:18px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--primary),var(--gold));
  color:#fff;
  font-size:2rem;
  box-shadow:0 10px 22px rgba(255,90,31,.16);
}

.nav-search__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.nav-search__meta{
  display:grid;
  gap:5px;
  min-width:0;
}

.nav-search__meta strong{
  font-family:Poppins,Inter,Arial,sans-serif;
  font-size:1.02rem;
  line-height:1.1;
  letter-spacing:-.02em;
}

.nav-search__meta span{
  color:var(--muted);
  font-size:.92rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nav-search__meta small{
  color:var(--primary-dark);
  font-weight:800;
}

.nav-search__empty{
  padding:16px;
  border-radius:18px;
  background:#fff7ee;
  color:var(--muted);
  font-weight:700;
}

@media (max-width:1260px){
  .site-header__inner{
    flex-wrap:wrap;
  }
  .nav-search{
    min-width:100%;
    order:3;
    margin-left:0;
  }
}

@media (max-width:760px){
  .nav-search__shell{
    grid-template-columns:1fr 1fr;
    border-radius:28px;
    padding:12px;
  }
  .nav-search__icon,
  .nav-search__field::after{
    display:none;
  }
  .nav-search__field{
    grid-column:1 / -1;
  }
  .nav-search__button{
    width:100%;
  }
}
  .nav-search__icon{
    display:none;
  }
  .nav-search__input{
    grid-column:1 / -1;
  }
  .nav-search__button{
    width:100%;
  }
}
  .nav-search__icon{
    display:none;
  }
  .nav-search__input{
    grid-column:1 / -1;
  }
  .nav-search__button{
    width:100%;
  }
}


/* Header spacing tune v2.2.2 */
.brand__text strong{display:block}
.brand__text span{display:block}


/* CLEAN HEADER SPACING FIX */
.site-header__inner{
  padding:10px 0 !important;
  gap:20px !important;
}

/* REMOVE RANDOM BAR UNDER SEARCH (clean fix) */
.hero .hs-wrap > div:nth-child(2){
  display:none !important;
}

/* tighten hero spacing */
.hero{
  padding-top:20px !important;
}


/* ELITE HOMEPAGE V3 */
.hero--elite{
  padding:28px 0 46px !important;
}
.hero--elite .hero__shell{
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:stretch;
}
.hero-panel{
  background:linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.4));
  border:1px solid rgba(25,19,15,.06);
  border-radius:36px;
  padding:28px;
  box-shadow:0 20px 44px rgba(25,19,15,.06);
}
.hero-kicker-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:16px;
}
.hero-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  box-shadow:var(--soft);
  color:var(--primary-dark);
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.hero--elite h1{
  margin:0 0 16px;
  font-size:clamp(3.3rem,6vw,6rem);
}
.hero-copy{
  font-size:1.1rem !important;
  max-width:58ch;
}
.hero-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0 28px;
}
.hero-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.hero-metric{
  background:#fff;
  border-radius:24px;
  border:1px solid rgba(25,19,15,.06);
  padding:18px;
  box-shadow:var(--soft);
}
.hero-metric strong{
  display:block;
  font-family:Poppins,Inter,Arial,sans-serif;
  font-size:1.9rem;
  line-height:1;
  margin-bottom:6px;
  color:var(--primary-dark);
}
.hero-metric span{
  color:var(--muted);
  font-weight:700;
}
.hero-stage{
  position:relative;
  min-height:560px;
  border-radius:38px;
  overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(255,183,3,.2), transparent 28%),
    radial-gradient(circle at bottom left, rgba(120,169,47,.18), transparent 26%),
    linear-gradient(135deg, #1d120c, #2a160d 58%, #1a100b);
  box-shadow:var(--shadow);
}
.hero-stage__pattern{
  position:absolute;
  inset:0;
  background-image:radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size:16px 16px;
  opacity:.45;
}
.hero-stage__main{
  position:absolute;
  right:28px;
  left:28px;
  top:26px;
  height:290px;
  border-radius:32px;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(255,90,31,.94), rgba(255,183,3,.94));
  box-shadow:0 18px 34px rgba(0,0,0,.18);
}
.hero-stage__main img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-stage__main::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.45)),
    radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 28%);
  z-index:1;
}
.hero-stage__overlay{
  position:absolute;
  inset:auto 24px 20px 24px;
  z-index:2;
  color:#fff;
}
.hero-stage__overlay h3{
  margin:8px 0 6px;
  font-size:2rem;
  line-height:1;
  font-family:Poppins,Inter,Arial,sans-serif;
}
.hero-stage__overlay p{
  margin:0;
  color:rgba(255,255,255,.86);
  max-width:38ch;
}
.hero-ribbon{
  position:absolute;
  display:grid;
  gap:6px;
  padding:18px 18px 16px;
  border-radius:24px;
  box-shadow:0 18px 34px rgba(0,0,0,.18);
  z-index:3;
}
.hero-ribbon strong{
  display:block;
  font-family:Poppins,Inter,Arial,sans-serif;
  font-size:1.25rem;
  line-height:1;
}
.hero-ribbon span{
  font-weight:700;
  line-height:1.35;
}
.hero-ribbon--a{
  left:22px;
  bottom:24px;
  width:230px;
  background:linear-gradient(135deg, #fff0b9, #ffcb57);
  color:#3f2605;
  transform:rotate(-4deg);
}
.hero-ribbon--b{
  right:22px;
  bottom:56px;
  width:205px;
  background:linear-gradient(135deg, #78a92f, #9ad43b);
  color:#fff;
  transform:rotate(6deg);
}
.hero-ribbon--c{
  left:44%;
  bottom:18px;
  width:190px;
  background:rgba(255,255,255,.92);
  color:var(--ink);
  transform:rotate(-2deg);
}
.hero-ribbon--c span{
  color:var(--muted);
}
.section-shell{
  background:rgba(255,255,255,.62);
  border:1px solid rgba(25,19,15,.06);
  border-radius:34px;
  padding:26px;
  box-shadow:var(--soft);
}
.editorial-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:22px;
}
.editorial-lead{
  position:relative;
  min-height:430px;
  border-radius:30px;
  overflow:hidden;
  background:linear-gradient(135deg,#22140d,#111);
  box-shadow:var(--shadow);
}
.editorial-lead img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.editorial-lead::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.62)),
    radial-gradient(circle at top right, rgba(255,183,3,.2), transparent 28%);
  z-index:1;
}
.editorial-lead__content{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:2;
  color:#fff;
}
.editorial-lead__content h3{
  margin:10px 0;
  font-size:2.2rem;
  line-height:1;
  font-family:Poppins,Inter,Arial,sans-serif;
}
.editorial-lead__content p{
  margin:0 0 14px;
  color:rgba(255,255,255,.86);
  max-width:44ch;
}
.editorial-list{
  display:grid;
  gap:16px;
}
.editorial-mini{
  display:grid;
  grid-template-columns:122px 1fr;
  gap:16px;
  align-items:center;
  background:#fff;
  border-radius:24px;
  padding:14px;
  border:1px solid rgba(25,19,15,.06);
  box-shadow:var(--soft);
}
.editorial-mini__thumb{
  width:122px;
  height:110px;
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(135deg,var(--primary),var(--gold));
  display:grid;
  place-items:center;
  color:#fff;
  font-size:2.4rem;
}
.editorial-mini__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.editorial-mini h3{
  margin:0 0 8px;
  font-size:1.3rem;
  line-height:1.08;
  font-family:Poppins,Inter,Arial,sans-serif;
}
.editorial-mini p{
  margin:0;
  color:var(--muted);
}
.trust-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.trust-card{
  padding:20px;
  border-radius:24px;
  background:#fff;
  border:1px solid rgba(25,19,15,.06);
  box-shadow:var(--soft);
}
.trust-card strong{
  display:block;
  margin-bottom:6px;
  font-family:Poppins,Inter,Arial,sans-serif;
  font-size:1.2rem;
}
.trust-card p{
  margin:0;
  color:var(--muted);
}
.category-grid--elite .category-card{
  min-height:210px;
  padding:26px;
}
.category-grid--elite .category-card .icon{
  font-size:2.6rem;
}
.category-grid--elite .category-card h3{
  font-size:1.5rem;
}
.cta-banner{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  padding:28px;
  background:linear-gradient(135deg, #1b120d, #2b170d 58%, #1a110b);
  color:#fff;
  box-shadow:var(--shadow);
}
.cta-banner::before{
  content:"";
  position:absolute;
  right:-60px;
  top:-60px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(255,183,3,.14);
}
.cta-banner__inner{
  position:relative;
  z-index:1;
  display:flex;
  gap:20px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}
.cta-banner h2{
  margin:0 0 8px;
  font-size:2.2rem;
  line-height:1;
  font-family:Poppins,Inter,Arial,sans-serif;
}
.cta-banner p{
  margin:0;
  color:rgba(255,255,255,.8);
  max-width:54ch;
}
@media (max-width:1080px){
  .hero--elite .hero__shell,
  .editorial-grid,
  .trust-strip{
    grid-template-columns:1fr;
  }
  .hero-stage{
    min-height:520px;
  }
}
@media (max-width:760px){
  .hero-panel,
  .section-shell{
    padding:20px;
    border-radius:26px;
  }
  .hero-metrics,
  .trust-strip{
    grid-template-columns:1fr;
  }
  .hero-stage{
    min-height:520px;
  }
  .hero-stage__main{
    left:18px;
    right:18px;
    top:18px;
    height:250px;
  }
  .hero-ribbon--a,
  .hero-ribbon--b,
  .hero-ribbon--c{
    position:static;
    transform:none;
    width:auto;
    margin:10px 18px 0;
  }
  .editorial-mini{
    grid-template-columns:1fr;
  }
  .editorial-mini__thumb{
    width:100%;
    height:180px;
  }
}


/* Featured image fallbacks */
.hero-stage__main img,
.editorial-lead img,
.editorial-mini__thumb img,
.recipe-card__media.image img,
.single-banner.has-image img{
  display:block;
}
.recipe-card__media.image .recipe-card__emoji{
  position:absolute !important;
  right:18px;
  bottom:14px;
}


/* Homepage trim update */
.hero--elite{
  padding:20px 0 34px !important;
}
.hero-stage{
  min-height:420px !important;
}
.hero-stage__main{
  top:20px !important;
  left:20px !important;
  right:20px !important;
  height:220px !important;
  border-radius:26px !important;
}
.hero-stage__overlay h3{
  font-size:1.6rem !important;
}
.hero-stage__overlay p{
  max-width:30ch !important;
  font-size:.95rem !important;
}
.hero-ribbon{
  padding:14px 16px 13px !important;
  border-radius:18px !important;
}
.hero-ribbon strong{
  font-size:1rem !important;
}
.hero-ribbon span{
  font-size:.9rem !important;
}
.hero-ribbon--a{
  left:18px !important;
  bottom:18px !important;
  width:180px !important;
}
.hero-ribbon--c{
  left:auto !important;
  right:18px !important;
  bottom:18px !important;
  width:150px !important;
}
.hero-ribbon--b{
  display:none !important;
}
.trust-strip{
  display:none !important;
}
@media (max-width:760px){
  .hero-stage{
    min-height:360px !important;
  }
  .hero-stage__main{
    height:180px !important;
  }
}

.nav-search__results[hidden]{display:none!important}


/* Final homepage balance fix */
.nav-search__results[hidden]{
  display:none !important;
}

.hero--elite{
  padding:12px 0 24px !important;
}

.hero--elite .hero__shell{
  grid-template-columns:1.08fr .92fr !important;
  gap:20px !important;
  align-items:center !important;
}

.hero-panel{
  padding:20px !important;
  border-radius:28px !important;
}

.hero-kicker-row{
  margin-bottom:10px !important;
}

.hero--elite h1{
  font-size:clamp(2.8rem,5.2vw,4.9rem) !important;
  margin-bottom:12px !important;
}

.hero-copy{
  font-size:1rem !important;
  max-width:50ch !important;
}

.hero-cta-row{
  margin:18px 0 20px !important;
}

.hero-metrics{
  gap:10px !important;
}

.hero-metric{
  padding:14px !important;
  border-radius:18px !important;
}

.hero-metric strong{
  font-size:1.45rem !important;
}

.hero-stage{
  min-height:300px !important;
  border-radius:28px !important;
}

.hero-stage__main{
  top:16px !important;
  left:16px !important;
  right:16px !important;
  height:160px !important;
  border-radius:22px !important;
}

.hero-stage__overlay{
  inset:auto 16px 14px 16px !important;
}

.hero-stage__overlay h3{
  font-size:1.2rem !important;
  margin:6px 0 4px !important;
}

.hero-stage__overlay p{
  font-size:.85rem !important;
  max-width:24ch !important;
}

.hero-ribbon{
  padding:10px 12px !important;
  border-radius:14px !important;
}

.hero-ribbon strong{
  font-size:.92rem !important;
}

.hero-ribbon span{
  font-size:.78rem !important;
  line-height:1.25 !important;
}

.hero-ribbon--a{
  left:14px !important;
  bottom:14px !important;
  width:150px !important;
  transform:rotate(-3deg) !important;
}

.hero-ribbon--c{
  right:14px !important;
  bottom:14px !important;
  width:130px !important;
  left:auto !important;
}

.hero-ribbon--b{
  display:none !important;
}

@media (max-width:1080px){
  .hero--elite .hero__shell{
    grid-template-columns:1fr !important;
  }
  .hero-stage{
    min-height:280px !important;
  }
}

@media (max-width:760px){
  .hero-stage{
    min-height:250px !important;
  }
  .hero-stage__main{
    height:135px !important;
  }
  .hero-ribbon--a,
  .hero-ribbon--c{
    width:auto !important;
    position:absolute !important;
  }
}


/* Make featured card properly small */
.hero--elite .hero__shell{
  align-items:start !important;
}
.hero-stage{
  min-height:210px !important;
  max-height:210px !important;
  height:210px !important;
  margin-top:28px !important;
  overflow:hidden !important;
}
.hero-stage__pattern{
  display:none !important;
}
.hero-stage__main{
  position:absolute !important;
  inset:0 !important;
  height:auto !important;
  border-radius:24px !important;
}
.hero-stage__overlay{
  inset:auto 18px 18px 18px !important;
}
.hero-stage__overlay h3{
  font-size:1rem !important;
  margin:4px 0 2px !important;
}
.hero-stage__overlay p{
  display:none !important;
}
.hero-stage .pill.dark{
  padding:6px 10px !important;
  font-size:.72rem !important;
}
.hero-ribbon--a,
.hero-ribbon--c{
  display:none !important;
}

@media (max-width:1080px){
  .hero-stage{
    min-height:190px !important;
    max-height:190px !important;
    height:190px !important;
    margin-top:0 !important;
  }
}


/* Make homepage featured card tiny */
.hero--elite .hero__shell{
  grid-template-columns: 1.25fr 0.75fr !important;
  gap: 18px !important;
}

.hero-stage{
  min-height: 140px !important;
  max-height: 140px !important;
  height: 140px !important;
  margin-top: 34px !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 24px rgba(25,19,15,.08) !important;
}

.hero-stage__main{
  inset: 0 !important;
  border-radius: 20px !important;
}

.hero-stage__overlay{
  inset: auto 14px 12px 14px !important;
}

.hero-stage__overlay h3{
  font-size: .9rem !important;
  margin: 3px 0 0 !important;
  line-height: 1.05 !important;
}

.hero-stage__overlay p{
  display: none !important;
}

.hero-stage .pill.dark{
  padding: 5px 8px !important;
  font-size: .64rem !important;
}

.hero-stage__overlay .meta,
.hero-stage__overlay .recipe-meta{
  display: none !important;
}

@media (max-width: 1080px){
  .hero--elite .hero__shell{
    grid-template-columns: 1fr !important;
  }
  .hero-stage{
    min-height: 150px !important;
    max-height: 150px !important;
    height: 150px !important;
    margin-top: 0 !important;
  }
}


/* Pro newsletter banner */
.newsletter-banner{
  background:
    radial-gradient(circle at top right, rgba(255,183,3,.16), transparent 24%),
    linear-gradient(135deg, #1b120d, #2b170d 58%, #1a110b) !important;
}
.newsletter-banner__inner{
  align-items:center !important;
  gap:22px !important;
}
.newsletter-copy{
  max-width:560px;
}
.newsletter-copy h2{
  margin:12px 0 10px;
  font-size:2.1rem;
  line-height:1;
  font-family:Poppins,Inter,Arial,sans-serif;
}
.newsletter-copy p{
  margin:0;
  color:rgba(255,255,255,.82);
  max-width:52ch;
}

.newsletter-form--pro{
  min-width:min(100%, 520px);
  max-width:560px;
  width:100%;
}
.newsletter-form__shell{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  padding:10px 10px 10px 14px;
  box-shadow:0 16px 30px rgba(0,0,0,.16);
}
.newsletter-form__icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--gold));
  color:#fff;
  font-size:1rem;
}
.newsletter-form--pro input{
  width:100%;
  min-width:0;
  border:0;
  background:transparent;
  outline:none;
  font-size:1rem;
  font-weight:700;
  color:var(--ink);
}
.newsletter-form--pro input::placeholder{
  color:#8f7f72;
  font-weight:600;
}
.newsletter-form--pro button{
  padding:12px 18px;
  border-radius:999px;
  border:0;
  background:linear-gradient(135deg,var(--primary),var(--gold));
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(255,90,31,.18);
}
.newsletter-form__note{
  margin:10px 4px 0;
  color:rgba(255,255,255,.68);
  font-size:.88rem;
  font-weight:600;
}
@media (max-width:760px){
  .newsletter-copy h2{
    font-size:1.7rem;
  }
  .newsletter-form__shell{
    grid-template-columns:1fr;
    border-radius:24px;
    padding:14px;
  }
  .newsletter-form__icon{
    display:none;
  }
  .newsletter-form--pro button{
    width:100%;
  }
}


/* Elite newsletter layout */
.newsletter-banner--elite{
  padding:22px 26px !important;
  border-radius:28px !important;
}
.newsletter-elite__grid{
  display:grid;
  grid-template-columns:1fr minmax(320px, 480px);
  gap:20px;
  align-items:center;
}
.newsletter-elite__copy h2{
  margin:10px 0 8px;
  font-size:clamp(1.8rem, 3vw, 2.3rem);
  line-height:1;
  font-family:Poppins,Inter,Arial,sans-serif;
}
.newsletter-elite__copy p{
  margin:0;
  color:rgba(255,255,255,.82);
  max-width:46ch;
}
.newsletter-form--elite{
  width:100%;
}
.newsletter-form__shell--elite{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:10px;
  align-items:center;
  padding:8px 8px 8px 12px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.96) !important;
  box-shadow:0 14px 26px rgba(0,0,0,.14) !important;
}
.newsletter-form__shell--elite .newsletter-form__icon{
  width:34px;
  height:34px;
  font-size:.95rem;
}
.newsletter-form--elite input{
  min-width:0;
  font-size:.95rem !important;
}
.newsletter-form--elite button{
  padding:11px 16px !important;
  font-size:.88rem !important;
  white-space:nowrap;
}
.newsletter-form--elite .newsletter-form__note{
  margin:8px 4px 0;
  font-size:.82rem;
}
@media (max-width:900px){
  .newsletter-elite__grid{
    grid-template-columns:1fr;
    gap:16px;
  }
}
@media (max-width:640px){
  .newsletter-banner--elite{
    padding:18px 18px !important;
  }
  .newsletter-form__shell--elite{
    grid-template-columns:1fr;
    border-radius:22px !important;
    padding:12px !important;
  }
  .newsletter-form__shell--elite .newsletter-form__icon{
    display:none;
  }
  .newsletter-form--elite button{
    width:100%;
  }
}


/* Hero V2 */
.hero--v2{
  padding:18px 0 28px !important;
}
.hero-v2__shell{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
  align-items:stretch;
}
.hero-v2__content{
  min-height:100%;
}
.hero-metrics--v2{
  margin-top:20px !important;
}
.hero-v2__visual{
  display:flex;
  align-items:stretch;
}
.hero-feature-card{
  display:grid;
  grid-template-rows:240px auto;
  width:100%;
  background:#fff;
  border:1px solid rgba(25,19,15,.08);
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 18px 38px rgba(25,19,15,.08);
  transition:transform .2s ease, box-shadow .2s ease;
}
.hero-feature-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 44px rgba(25,19,15,.12);
}
.hero-feature-card__image{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,var(--primary),var(--gold));
}
.hero-feature-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-feature-card__image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.26));
}
.hero-feature-card__badge{
  position:absolute;
  top:16px;
  left:16px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--primary-dark);
  font-size:.8rem;
  font-weight:900;
}
.hero-feature-card__body{
  padding:22px;
}
.hero-feature-card__eyebrow{
  color:var(--primary-dark);
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:8px;
}
.hero-feature-card h3{
  margin:0 0 10px;
  font-size:2rem;
  line-height:1;
  letter-spacing:-.03em;
  font-family:Poppins,Inter,Arial,sans-serif;
}
.hero-feature-card p{
  margin:0;
  color:var(--muted);
}
.hero-feature-card .meta{
  margin-top:16px;
}
@media (max-width:1080px){
  .hero-v2__shell{
    grid-template-columns:1fr;
  }
  .hero-feature-card{
    grid-template-rows:220px auto;
  }
}
@media (max-width:760px){
  .hero-feature-card{
    border-radius:24px;
    grid-template-rows:200px auto;
  }
  .hero-feature-card__body{
    padding:18px;
  }
  .hero-feature-card h3{
    font-size:1.55rem;
  }
}
