/*
 * Meal Support & Nutrition Assistance (mockup of 2026-10-25, pp. 81–96):
 * the three-tier section on subpage 4 (templates/sections/funding-meals.php),
 * the Meal Support group in the directory and the county "Meals:" lines on
 * subpage 5, and the entry cards they share (templates/funding/meal-card.php).
 * .sn-grid--2 already drops to one column below 1024px (site.css).
 */

/* ---- Tiers and groups ----------------------------------------------------- */
.sn-funding-meals .sn-lead {
  margin-block-end: 0;
}

.sn-funding-meals__tier,
.sn-funding-directory__meals {
  margin-block-start: clamp(1.75rem, 4vw, 2.5rem);
}

.sn-funding-meals__tier-title {
  margin-block: 0;
  color: var(--sn-navy);
}

.sn-funding-directory__meals .sn-note {
  margin-block: 0.25rem 0;
}

/* The cards are list items: no bullets or list indent. */
.sn-funding-meals__list {
  margin-inline: 0;
  padding-inline: 0;
  list-style: none;
}

.sn-funding-meals .sn-note {
  margin-block-start: 1.5rem;
}

/* ---- Entry cards: the button sits at the foot, so a row's buttons line up -- */
.sn-funding-meal {
  display: flex;
  flex-direction: column;
}

.sn-funding-meal > .sn-actions {
  margin-block-start: auto;
  padding-block-start: 0.75rem;
}

.sn-funding-meal__name {
  margin-block-start: 0;
  color: var(--sn-navy);
  font-family: var(--sn-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.sn-funding-meal__links {
  margin-block-end: 0.25rem;
}

/* Web addresses: each on its own line, wrapping anywhere, a 48px tap target. */
.sn-funding-meal__links a {
  display: flex;
  align-items: center;
  min-block-size: 3rem;
  color: var(--sn-navy);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* Phone numbers and addresses inside the copy (names, summaries, county
   "Meals:" lines): tall enough to tap, and long addresses never push the page
   sideways on a phone. */
.sn-funding-meal__name a,
.sn-funding-meal p:not(.sn-funding-meal__links) a,
.sn-funding-county__meals a {
  display: inline-flex;
  align-items: center;
  min-block-size: 3rem;
  color: var(--sn-navy);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* ---- Meal Support Sources heading (subpage 5) ---------------------------- */
.sn-funding-references__group {
  margin-block: 2rem 0.75rem;
  color: var(--sn-navy);
}
