/*
Theme Name: Help Save the Butchers V5 — Final Publish
Theme URI: https://helpsavethebutchers.com/
Author: Help Save the Butchers
Description: Custom WordPress theme for Help Save the Butchers, converted from the approved HSTB website prototype.
Version: 1.4.0
Text Domain: hstb
*/

:root{--burgundy:#741e2a;--burgundy-dark:#54151e;--green:#244a32;--green-dark:#173021;--cream:#f5efe2;--paper:#fffdf8;--ink:#222;--muted:#696159;--line:#d8cfbf;--gold:#b78a3d;--white:#fff;--soft:#eee7da}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6;font-size:17px}a{color:inherit}.wrap{width:min(1180px,92%);margin:auto}
.topbar{background:var(--green-dark);color:#fff;font-weight:700;font-size:.78rem;padding:.48rem 0;letter-spacing:.02em}.topbar .wrap{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.site-header{position:sticky;top:0;z-index:25;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 3px 12px rgba(0,0,0,.05)}.header-row{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:1.2rem}.brand{display:flex;align-items:center;gap:.9rem;text-decoration:none;min-width:300px}.brand img{width:76px;height:76px;object-fit:contain;border-radius:0;background:transparent}.brand strong{display:block;font-family:Georgia,serif;font-size:1.42rem;color:var(--burgundy-dark)}.brand span{display:block;font-size:.78rem;color:var(--muted)}nav ul{list-style:none;padding:0;margin:0;display:flex;gap:.88rem;align-items:center;flex-wrap:wrap;justify-content:flex-end}nav a{text-decoration:none;font-size:.86rem;font-weight:800;color:var(--green-dark)}nav a:hover,.active{color:var(--burgundy)!important}
.hero{min-height:560px;background:linear-gradient(90deg,rgba(23,48,33,.94) 0%,rgba(23,48,33,.88) 46%,rgba(23,48,33,.22) 100%),url('assets/butcher-helping-customer.jpg') center/cover no-repeat;color:#fff;display:flex;align-items:center}.hero-copy{max-width:700px;padding:4rem 0}.kicker{text-transform:uppercase;letter-spacing:.15em;font-weight:900;color:#efd59f;font-size:.82rem}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;line-height:1.15}h1{font-size:clamp(3rem,5vw,5.2rem);margin:.55rem 0 1rem}h2{font-size:clamp(2rem,3.3vw,3rem);color:var(--burgundy-dark);margin:0 0 .8rem}h3{font-size:1.38rem;margin:.3rem 0 .55rem}.hero p{font-size:1.15rem;max-width:660px;line-height:1.65}
.btn{display:inline-block;text-decoration:none;font-weight:900;border-radius:4px;padding:.78rem 1.08rem;border:2px solid transparent;margin:.2rem .35rem .2rem 0}.btn-primary{background:var(--burgundy);color:#fff}.btn-secondary{background:var(--green);color:#fff}.btn-outline{border-color:#fff;color:#fff;background:transparent}
.section{padding:4.7rem 0}.section.alt{background:var(--cream)}.section.dark{background:var(--green-dark);color:#fff}.section.dark h2,.section.dark h3{color:#fff}.lede{font-size:1.16rem;color:var(--muted);max-width:860px;line-height:1.72}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.35rem}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:1.45rem;box-shadow:0 5px 18px rgba(0,0,0,.05)}.card h3{color:var(--green-dark)}.card .eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:var(--burgundy)}.photo{background:#fff;border:1px solid var(--line);border-radius:8px;padding:.55rem;box-shadow:0 5px 18px rgba(0,0,0,.05)}.photo img{display:block;width:100%;height:auto;max-height:580px;object-fit:cover;border-radius:6px}.caption{font-size:.82rem;color:var(--muted);padding:.45rem .2rem .05rem;line-height:1.35}
.page-hero{background:var(--cream);border-bottom:1px solid var(--line);padding:3.4rem 0}.page-hero h1{font-size:clamp(2.4rem,4.4vw,4rem);color:var(--burgundy-dark);margin:.25rem 0}.crumb{font-size:.87rem;color:var(--muted);margin-bottom:.45rem}.ribbon{background:var(--burgundy);color:#fff;text-align:center;font-weight:900;letter-spacing:.04em;padding:.95rem}.callout{background:#eef4ef;border-left:5px solid var(--green);padding:1rem 1.15rem;border-radius:5px;margin:1.2rem 0}.archive-note{background:#fff3cd;border:1px solid #dfc36b;padding:1rem 1.15rem;border-radius:5px;margin:1.2rem 0}.quote{font-family:Georgia,serif;font-size:1.3rem;border-left:6px solid var(--burgundy);padding:1rem 1.25rem;background:#fff}.list-clean{padding-left:1.15rem}.list-clean li{margin:.5rem 0}
.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.5rem}.hub-card{display:block;text-decoration:none;background:#fff;border:1px solid var(--line);border-top:5px solid var(--burgundy);border-radius:7px;padding:1.45rem;box-shadow:0 5px 18px rgba(0,0,0,.05);transition:.15s}.hub-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.08)}.hub-card strong{display:block;font-family:Georgia,serif;font-size:1.35rem;color:var(--green-dark);margin-bottom:.4rem}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.media-card,.video-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 5px 18px rgba(0,0,0,.05)}.media-card img,.video-card img{width:100%;height:190px;object-fit:cover;display:block}.media-card .copy,.video-card .copy{padding:1rem}details{background:#fff;border:1px solid var(--line);border-radius:6px;margin:.65rem 0;padding:.1rem 1rem}summary{cursor:pointer;padding:1rem 0;font-weight:900;color:var(--green-dark)}table{width:100%;border-collapse:collapse;background:#fff;margin:1rem 0}th,td{border:1px solid var(--line);padding:.75rem;text-align:left;vertical-align:top}th{background:var(--soft)}.tags{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:1rem}.tag{background:#fff;border:1px solid var(--line);border-radius:999px;padding:.35rem .65rem;font-size:.8rem;font-weight:800}.timeline{border-left:4px solid var(--burgundy);padding-left:1.4rem}.timeline .event{margin:0 0 1.5rem}.timeline .year{font-weight:900;color:var(--burgundy)}
.feature-band{background:var(--green-dark);color:#fff;padding:2.2rem 0}.feature-band h2{color:#fff;margin-bottom:.4rem}.feature-band p{margin:.3rem 0;color:#f3efe6}.split-feature{display:grid;grid-template-columns:1.05fr .95fr;gap:2rem;align-items:center}.statements{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.4rem}.statement{background:#fff;border:1px solid var(--line);border-radius:8px;padding:1.25rem;border-top:5px solid var(--green)}.statement strong{display:block;font-family:Georgia,serif;color:var(--burgundy-dark);font-size:1.3rem;margin-bottom:.4rem}
.footer{background:#111;color:#eee;padding:2.8rem 0 1.2rem}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}.footer h3{color:#fff}.footer a{color:#eee}.small{font-size:.83rem;color:#bbb}
@media(max-width:940px){nav{display:none}.grid2,.grid3,.grid4,.hub-grid,.media-grid,.footer-grid,.split-feature,.statements{grid-template-columns:1fr}.hero{background-position:64% center}.hero-copy{background:rgba(23,48,33,.7);padding:2rem;border-radius:8px}.brand{min-width:0}}

/* V11 cleanup additions */
.prose{max-width:900px}.prose p{margin:.75rem 0 1.15rem}.prose h2{margin-top:2.1rem}.prose h3{margin-top:1.5rem;color:var(--green-dark)}
.section-tight{padding:2.7rem 0}.notice{background:#f8f2e7;border-left:5px solid var(--gold);padding:1rem 1.15rem;border-radius:5px;margin:1rem 0}
.steak-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.25rem}.steak-card{display:block;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 5px 18px rgba(0,0,0,.05)}.steak-card img{width:100%;height:210px;object-fit:contain;display:block;background:#fff;padding:.35rem}.steak-card .copy{padding:1rem}.steak-card strong{display:block;font-family:Georgia,serif;color:var(--burgundy-dark);font-size:1.3rem}.steak-card:hover{transform:translateY(-2px)}
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.video-card .video-actions{padding:0 1rem 1rem}.video-card .btn{font-size:.85rem;padding:.55rem .8rem}.play-badge{display:inline-block;background:var(--burgundy);color:white;font-size:.75rem;font-weight:900;border-radius:999px;padding:.25rem .55rem;margin-bottom:.55rem}
.primal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.primal-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:1.25rem;border-left:6px solid var(--green)}.primal-card h3{color:var(--burgundy-dark)}
.big-promise{font-family:Georgia,serif;font-size:1.55rem;line-height:1.45;color:var(--burgundy-dark)}
.section-label{font-size:.77rem;text-transform:uppercase;letter-spacing:.13em;font-weight:900;color:var(--burgundy)}
.breadcrumb-note{font-size:.85rem;color:var(--muted);margin-top:.5rem}
.live-bridge{background:#fff;border:1px solid var(--line);padding:1.2rem;border-radius:8px}
.site-index{columns:2;column-gap:2.5rem}.site-index a{display:block;margin:.42rem 0;color:var(--green-dark);font-weight:700}.site-index h3{break-after:avoid;margin-top:1.2rem}
.center{text-align:center}.muted{color:var(--muted)}
.redirect-card{max-width:720px;margin:6rem auto;padding:2rem;border:1px solid var(--line);background:#fff;border-radius:10px;text-align:center}
@media(max-width:940px){.steak-grid,.video-grid,.primal-grid{grid-template-columns:1fr}.site-index{columns:1}}

/* Homepage HSTB 30-second video */
.home-video-section{padding-top:3.2rem;padding-bottom:3.8rem}
.home-video-frame{max-width:1000px;margin:1.45rem auto 1rem;background:#111;border:7px solid #fff;border-radius:10px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.home-video-frame video{display:block;width:100%;height:auto;background:#000}
.home-video-tagline{max-width:1000px;margin:.85rem auto 0;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.2rem;background:var(--green-dark);color:#fff;border-radius:7px;font-size:1.03rem}
.home-video-tagline strong{font-family:Georgia,serif;font-size:1.22rem}
.home-video-tagline span{font-weight:900;color:#f7e5b3}
@media(max-width:700px){.home-video-tagline{display:block}.home-video-tagline span{display:block;margin-top:.45rem}}

/* V18 home-page quick-scan improvements */
.home-hero{min-height:445px}
.home-hero .hero-copy{max-width:760px;padding:2.8rem 0 2.35rem}
.home-hero h1{font-size:clamp(2.7rem,4.6vw,4.5rem);margin:.4rem 0 .65rem}
.home-hero .hero-value{color:#f7e5b3;font-size:clamp(1.65rem,2.6vw,2.35rem);margin:.25rem 0 .55rem}
.home-hero p{font-size:1.12rem;line-height:1.55;max-width:720px;margin:.55rem 0 .9rem}
.scroll-cue{display:block;width:max-content;max-width:100%;margin-top:.8rem;color:#fff;font-weight:900;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.55);padding-bottom:.12rem}
.scroll-cue span{display:inline-block;margin-left:.25rem;font-size:1.25em}
.quick-benefits{background:#fff;padding:1.45rem 0 1.65rem;border-bottom:1px solid var(--line)}
.quick-benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.quick-benefit{position:relative;padding:1rem 1rem 1rem 3.25rem;background:var(--cream);border-radius:8px;border:1px solid var(--line);min-height:126px}
.quick-benefit .benefit-number{position:absolute;left:1rem;top:1rem;width:1.65rem;height:1.65rem;border-radius:50%;background:var(--burgundy);color:#fff;display:grid;place-items:center;font-weight:900;font-size:.85rem}
.quick-benefit strong{display:block;font-family:Georgia,serif;color:var(--green-dark);font-size:1.25rem;margin-bottom:.2rem}
.quick-benefit p{margin:0;color:var(--muted);font-size:.96rem;line-height:1.45}
.home-video-section{padding-top:2.65rem;padding-bottom:3.4rem}
.home-video-frame{max-width:880px}
.home-video-tagline{max-width:880px}
@media(max-width:940px){.quick-benefits-grid{grid-template-columns:1fr}.home-hero{min-height:auto}.home-hero .hero-copy{padding:2rem}.scroll-cue{margin-top:1rem}}

/* V19 review refinements */
.photo > a:first-child { display:block; }
.photo > a:first-child img { display:block; width:100%; }
.photo .btn { margin-top:12px; }
.ask-email-box { margin:24px 0 30px; padding:24px; border:1px solid #d8cec2; border-radius:14px; background:#fffaf3; }
.ask-email-box h2 { margin-top:0; }
.ask-email-box .small { margin-top:12px; color:#666; }


/* V20: readability + in-page Vimeo playback */
.section.dark .section-label{color:#f7d77b}
.section.dark .lede,.section.dark .big-promise{color:#fff}
.section.dark p{color:#fff}
.section-label{font-size:.82rem;font-weight:900;letter-spacing:.12em}
.vimeo-inline-note{font-size:.92rem;color:var(--muted);margin:.55rem 0 1rem}
.vimeo-trigger{cursor:pointer}
.vimeo-modal[hidden]{display:none}
.vimeo-modal{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:24px}
.vimeo-modal-dialog{width:min(1000px,96vw);background:#111;border-radius:10px;box-shadow:0 18px 60px rgba(0,0,0,.5);position:relative;overflow:hidden}
.vimeo-modal-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:var(--green-dark);color:#fff;padding:.75rem 1rem}
.vimeo-modal-title{font-weight:800;font-size:1rem}
.vimeo-modal-close{appearance:none;border:0;background:#fff;color:#111;width:38px;height:38px;border-radius:50%;font-size:1.5rem;line-height:1;cursor:pointer}
.vimeo-modal-frame{position:relative;padding-top:56.25%;background:#000}
.vimeo-modal-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-card .video-actions .btn{cursor:pointer}
.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.recipe-card{background:#fff;border:1px solid var(--line);border-left:6px solid var(--green);border-radius:8px;padding:1.25rem}
.recipe-card h2,.recipe-card h3{margin-top:.1rem}
.recipe-steps{padding-left:1.25rem}
.recipe-steps li{margin:.45rem 0;line-height:1.55}
.temp-table td:first-child{font-weight:700}
.print-only{display:none}
@media (max-width:760px){.recipe-grid{grid-template-columns:1fr}.vimeo-modal{padding:8px}.vimeo-modal-head{padding:.55rem .7rem}}
@media print{header,.site-header,.topbar,.footer,.page-hero,.no-print,.btn{display:none!important}.section{padding:1rem 0}.recipe-card{break-inside:avoid}.print-only{display:block}}

/* V21 classic commercial archive */
.commercial-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:1.5rem}.commercial-video-grid .video-card video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#000}.commercial-video-grid .video-card>img{height:auto;aspect-ratio:16/9;object-fit:cover}.commercial-video-grid .video-card .copy{padding-bottom:.7rem}@media(max-width:800px){.commercial-video-grid{grid-template-columns:1fr}}

/* V22 story / industry video layouts */
.story-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.5rem}
.industry-video-grid{grid-template-columns:minmax(0,700px);margin-top:1.5rem}
@media(max-width:940px){.story-video-grid,.industry-video-grid{grid-template-columns:1fr}}

/* V24 fix: show full story/credibility thumbnails without cropping */
.story-video-grid .video-card > img{height:auto;aspect-ratio:16/9;object-fit:contain;background:#fff;padding:.35rem}

/* WordPress integration */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
.hstb-edit-note{font-size:.78rem;color:#6c625a;margin:.5rem 0 0}


/* V3 - Our Story lead image: remove the stretched white card */
.story-intro-grid{align-items:start}
.story-lead-photo{
  align-self:start;
  background:transparent;
  border:0;
  padding:0;
  box-shadow:none;
}
.story-lead-photo img{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 5px 18px rgba(0,0,0,.08);
}
.story-lead-photo .caption{
  padding:.5rem 0 0;
  background:transparent;
}

/* V3 - Original Progressive Grocer article thumbnails */
.article-card{padding:1.35rem}
.article-card-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px;
  gap:1.1rem;
  align-items:end;
}
.article-card-copy{min-width:0}
.article-thumb-link{
  display:block;
  align-self:end;
  text-decoration:none;
}
.article-thumb-link img{
  display:block;
  width:100%;
  height:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  box-shadow:0 4px 12px rgba(0,0,0,.10);
  transition:transform .15s ease, box-shadow .15s ease;
}
.article-thumb-link:hover img{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.14);
}
@media(max-width:760px){
  .article-card-layout{grid-template-columns:1fr}
  .article-thumb-link{max-width:210px}
}


/* ============================================================
   V4 publish-ready refinements
   ============================================================ */

/* Prevent grid photo cards from stretching into tall white boxes. */
.grid2 > .photo{
  align-self:start;
}
.photo img{
  object-fit:contain;
  object-position:center;
  max-height:none;
}

/* Preserve heads/faces and full historical images without changing card dimensions. */
.media-card img,
.video-card img{
  object-fit:contain;
  object-position:center;
  background:#fff;
}
.commercial-video-grid .video-card > img{
  height:auto;
  aspect-ratio:16/9;
  object-fit:contain;
  object-position:center;
  background:#111;
}

/* Our Story credibility cards: copy and red play buttons align across both cards. */
.aligned-story-videos .video-card{
  display:flex;
  flex-direction:column;
  height:100%;
}
.aligned-story-videos .video-card .copy{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}
.aligned-story-videos .video-card .copy h3{
  min-height:3.25rem;
  margin-bottom:.55rem;
}
.aligned-story-videos .video-card .copy p{
  flex:1 1 auto;
  margin-bottom:0;
}
.aligned-story-videos .video-actions{
  margin-top:auto;
}
@media(max-width:940px){
  .aligned-story-videos .video-card .copy h3{min-height:0}
}

/* Tighten the commercial-history page opening. */
.classic-commercials-hero{
  padding:2.25rem 0;
}
.classic-commercials-main{
  padding-top:2.45rem;
}

/* Tighten Whole-Cut Guide opening while preserving its content. */
.whole-cut-hero{
  padding:2.25rem 0;
}
.whole-cut-intro{
  padding-top:2.8rem;
  padding-bottom:3.2rem;
}
.whole-cut-intro-photo{
  align-self:stretch!important;
  display:flex;
  flex-direction:column;
}
.whole-cut-intro-photo > img{
  flex:0 0 auto;
}
.primal-cut-accent{
  margin-top:auto;
  padding:.75rem .35rem .35rem;
  text-align:center;
  border-top:1px solid var(--line);
}
.primal-cut-accent img{
  display:block;
  width:min(250px,82%);
  height:125px;
  object-fit:contain;
  margin:.1rem auto .35rem;
  background:transparent!important;
}
.primal-cut-accent span{
  display:block;
  font-size:.82rem;
  line-height:1.4;
  color:var(--muted);
  max-width:320px;
  margin:0 auto;
}


/* ============================================================
   V5 final publish refinements
   ============================================================ */

/* Tighten the two homepage sections that used portrait imagery.
   The section keeps its basic two-column setup, but no longer feels
   stretched across the full page. */
.compact-home-feature .wrap{
  width:min(1000px,90%);
  gap:2rem;
  align-items:center;
}
.home-service-section .grid2{
  grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);
}
.home-commercial-feature .grid2{
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
}

/* Remove the old white photo-card treatment in these two sections. */
.portrait-feature-photo,
.inlaws-feature-photo{
  background:transparent;
  border:0;
  padding:0;
  box-shadow:none;
}
.portrait-feature-photo img{
  width:100%;
  height:430px;
  object-fit:contain;
  object-position:center top;
  background:transparent;
  border-radius:7px;
}
.inlaws-feature-photo img{
  width:100%;
  height:auto;
  max-height:430px;
  object-fit:contain;
  object-position:center top;
  background:transparent;
  border-radius:7px;
}
.portrait-feature-photo .caption,
.inlaws-feature-photo .caption{
  padding:.45rem 0 0;
}

/* Commercial video thumbnails: always preserve the full frame/head. */
.commercial-video-grid .video-card > img{
  width:100%;
  aspect-ratio:16/9;
  height:auto;
  object-fit:contain;
  object-position:center top;
  background:#111;
}

/* Whole Primal opening: no artificial stretch and no generated steak accent. */
.whole-cut-intro{
  padding-top:2.2rem;
  padding-bottom:2.6rem;
}
.whole-cut-intro .grid2{
  align-items:start;
}
.whole-cut-intro-photo{
  align-self:start!important;
  display:block!important;
  min-height:0!important;
}
.whole-cut-intro-photo > img{
  width:100%;
  height:auto;
  object-fit:contain;
}
.whole-cut-savings{
  margin:.8rem .15rem .15rem;
  text-align:left;
}
.primal-cut-accent{
  display:none!important;
}

@media(max-width:800px){
  .home-service-section .grid2,
  .home-commercial-feature .grid2{
    grid-template-columns:1fr;
  }
  .portrait-feature-photo img{
    height:auto;
    max-height:520px;
  }
}
