/* SPONSOR MEALS CAMPAIGN: remove after Dec 31, 2026
   Styles for the three campaign additions: the "SPONSOR MEALS" nav pill (every page with the site nav),
   the homepage banner (index.html) and the Donate page note (donation.html).
   To remove: delete this file, its <link> in each page's <head>, and every block marked
   "SPONSOR MEALS CAMPAIGN" in the HTML. */

/* ---------- Nav pill ---------- */
/* Two copies of the item exist: one before DONATE ($) for desktop, one at the top of the list for the
   mobile menu (the theme's mobile menu is a plain block list, so it can't be re-ordered with CSS). */
.atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--mobile { display: none; }

@media (min-width: 992px) {
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--desktop {
    display: flex;
    align-items: center;
  }
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--desktop > a,
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--desktop > a:hover,
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--desktop > a:focus {
    height: auto;
    line-height: 1.2;
    padding: 9px 16px !important;
    margin: 0 6px;
    border-radius: 999px;
    background-color: #FF8427 !important;
    color: #1E2B16 !important;
    font-weight: 700;
    white-space: nowrap;
  }
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--desktop > a:hover { background-color: #F27416 !important; }
  /* the theme draws an underline bar under hovered/active items; not wanted on a pill */
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--desktop > a::before,
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--desktop > a::after { display: none !important; }
}

@media (max-width: 991px) {
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--desktop { display: none !important; }
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--mobile {
    display: block;
    padding: 12px 16px;
  }
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--mobile > a,
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--mobile > a:hover,
  .atmc-header_menu .hs-menu-wrapper > ul > li.ehn-sm-nav--mobile > a:focus {
    display: inline-block;
    padding: 10px 20px !important;
    border-radius: 999px;
    background-color: #FF8427 !important;
    color: #1E2B16 !important;
    font-weight: 700;
    text-indent: 0;
  }
}

/* ---------- Shared button ---------- */
.ehn-sm-btn,
.ehn-sm-btn:visited {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: #FF8427;
  color: #1E2B16 !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .15s ease;
}
.ehn-sm-btn:hover,
.ehn-sm-btn:focus { background: #F27416; color: #1E2B16 !important; }
.ehn-sm-btn:focus-visible { outline: 3px solid #1E2B16; outline-offset: 3px; }

/* ---------- Homepage banner ---------- */
.ehn-sm-banner {
  background: #FFF1E5;
  padding: 64px 20px;
}
.ehn-sm-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.ehn-sm-banner h2 {
  margin: 0;
  color: #1E2B16;
  text-align: left;
}
.ehn-sm-banner__text p.ehn-sm-banner__lede {
  margin: 14px 0 26px;
  font-size: 19px;
  line-height: 1.6;
  color: #333;
  max-width: 34em;
}
/* button text in the same font as the banner heading (the site's heading font) */
.ehn-sm-banner .ehn-sm-btn { font-family: Montserrat, san-serif; }
.ehn-sm-banner__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: 18px;
}
@media (max-width: 767px) {
  .ehn-sm-banner { padding: 44px 16px; }
  .ehn-sm-banner__inner { grid-template-columns: 1fr; gap: 24px; }
  .ehn-sm-banner__photo { order: -1; }
  .ehn-sm-banner__text p.ehn-sm-banner__lede { font-size: 17px; }
}

/* ---------- Donate page note ---------- */
.ehn-sm-note {
  /* the site header is position:fixed and 101px tall, so content at the very top of <main> sits under it */
  margin-top: 101px;
  background: #FFF1E5;
  border-bottom: 1px solid #F6D9BF;
  padding: 12px 16px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #1E2B16;
}
.ehn-sm-note p { margin: 0; color: #1E2B16; }
/* The theme's JS adds the header height (101px) to the first hero's top padding as an inline style,
   so it can sit under the fixed header. The note now takes that space, so put the green "Donations"
   band back to its base 3rem: it then looks exactly as it did before the note. Only applies when
   the note is present. */
.ehn-sm-note ~ .body-container .atmc-hero-02.atmc-hero { padding-top: 3rem !important; }
.ehn-sm-note .ehn-sm-btn {
  margin-left: 10px;
  padding: 7px 16px;
  font-size: 14px;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .ehn-sm-note .ehn-sm-btn { margin: 8px 0 0; }
}
