body {
  margin: 0;
  font-family: Georgia, serif;
  background: #B96C2F url(images/woodbkg5.jpg);
  line-height:1.4em;
  font-size:18px;
}

#wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-right: 3px solid #515151;
  border-left: 2px solid #515151;
  border-top: 1px solid #515151;
  border-bottom: 3px solid #333;
  background-color: #FFFFCC;
}

.anchor-offset::before {
    content: "";
    display: block;
    height: 80px;  /* spacing above the target */
    margin-top: -80px; /* negative margin to offset */
    visibility: hidden;
}

/* -------------------------------------- */
/* HERO -- MOBILE-FIRST                    */
/* -------------------------------------- */

.hero {
  position: relative;      /* needed for absolute-positioned menu */
  height: auto;            /* mobile: shrink naturally with image */
  overflow: visible;       /* allow mobile menu dropdown */
  border-bottom:1px solid silver;
}

.hero-img {
  width: 100%;
  height: auto;            /* mobile: do not crop */
  display: block;
  object-fit: unset;       /* mobile: show full image */
  object-position: center center;
}

.herocaption {
color:#333; 
font-size:.8em; 
text-align:right; 
margin:0 15px;
 }

/* -------------------------------------- */
/* MOBILE MENU (fixes menu appearing under content) */
/* -------------------------------------- */

.menu-toggle {
  position: absolute;
  top: auto;
  right: 20px;
  font-size: 28px;
  border: 1px solid #333;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10000;
  bottom: 20px;
  transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.22s ease, background 0.22s ease;
}

.menu-toggle:hover {
  transform: scale(1.06);   /* small, elegant bump */
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 15px;
  border-bottom: 2px solid #ccc;
  position: absolute;      /* make menu float above everything */
  top: 60px;               /* just below menu button */
  left: 0;
  width: 100%;
  z-index: 9999;           /* finally fixes "menu opens under content" */
}

.mobile-nav a {
  padding: 8px 0;
  color: #33f;
  text-decoration: none;
  border-bottom: 1px dotted #ccc;
}

.mobile-nav a:hover {
  text-decoration: underline;
  color: #e22b30;
}

.mobile-nav.open {
  display: flex;
}

.pastured-subnav a {
  margin: 0px 0 0px 20px;
  display: block;
  font-size: 0.95em;
  padding-top: 0 !important;
  line-height: 1.2em;
}

#mobile-logo {
width:150px; 
height:172px; 
margin:0 auto; 
display:block;
border:0;
}

/* -------------------------------------- */
/* DESKTOP NAV */
/* -------------------------------------- */

.desktop-nav {
  display: none;
  flex-direction: column;
}

.desktop-nav a {
  padding: 6px 0;
  text-decoration: none;
  color: #33f;
}
.desktop-nav a:hover {
  text-decoration: underline;
  color: #e22b30;
}

/* -------------------------------------- */
/* LAYOUT */
/* -------------------------------------- */

.content-wrapper {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.left-column {
  display: none;
}

h1 { font-size:30px;
     line-height:1.2em !important;
 }
 
h2 { font-size:26px;
     line-height:1.3em !important;
}

.cow-img,
.bbq-img {
  width: 160px;
  margin-bottom: 15px;
  margin-left: -25px;
}

.how-it-works {
  max-width: 300px;
  margin-bottom: 20px;
  font-size: 15px;
}

.main-content img {
  max-width: 100%;
  height: auto;
}

#where-to-buy {
margin-top:30px;
padding-top:10px;
border-top:1px solid silver; 
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1rem;
  background: brown; 
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-top: white 2px solid;
  border-bottom: 1px solid #666;
}

.btn-primary:hover {
  background-color:#B23A3A;
  box-shadow: 0 4px 8px rgba(0,0,0,0.22);
}
.btn-caption {
  text-align:center;
  margin-top:5px;
  font-style:italic;
}
/* -------------------------------------- */
/* FOOTER */
/* -------------------------------------- */

.site-footer {
  background-color: #964544;
  color: #FFFFFF;
  line-height: 1.4em;
  padding: 0 20px 10px;
  text-align: center;
  border-top: 2px solid #ccc;
}

.site-footer a {
  color: gold;
}

.design-credit {
  color: #fff;
  font-size: 14px;
}

/* -------------------------------------- */
/* DESKTOP STYLES */
/* -------------------------------------- */

#desktop-logo {
border:0; 
margin:0 auto 0px; 
aspect-ratio:211/242;
}

@media (min-width: 900px) {

  /* hide mobile nav */
  .menu-toggle,
  .mobile-nav,
  img.mobile-logo {
    display: none !important;
  }

  .hero {
    height: 250px;      /* desktop fixed height */
    overflow: hidden;   /* crop image */
  }

  .hero-img {
    height: 100%;       /* fill container */
    width: 100%;
    object-fit: cover;  /* crop sides / top & bottom */
    object-position: 50% 50%; /* center vertically */
  }

  .content-wrapper {
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
  }

  .left-column {
    display: block;
    width: 300px;
    padding: 20px 10px;
  }

  .desktop-nav {
    display: flex;
    margin-top: 10px;
  }

  .main-content {
    width: calc(100% - 300px);
    padding: 20px;
  }
  
  h1 { 
  font-size:36px !important;
  line-height:1.2em;
   }
  h2 {
  font-size:27px !important;
  }
}
