/* Mad Hungry Recipe Finder (draft). Inherits the theme's fonts and text color so it matches madhungry.com
   (mdh2026 theme); accent colors are variables Calder/Grace can set to the theme's exact values. */
.mhrf { --mhrf-ink: currentColor; --mhrf-muted: #535862; --mhrf-line: #e5e5e5; --mhrf-accent: #32373c; --mhrf-chip: #f4f4f2;
  font-family: inherit; color: inherit; margin: 24px 0; }
.mhrf-label { display: block; font-family: inherit; font-weight: 600; font-size: 1.25em; margin: 0 0 10px; }
.mhrf-row { display: flex; gap: 8px; border: 1px solid var(--mhrf-accent); border-radius: 999px; padding: 4px 4px 4px 18px; background: #fff; }
.mhrf-input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; padding: 8px 0; }
.mhrf-go { border: 0; border-radius: 999px; background: var(--mhrf-accent); color: #fff; font: inherit; font-weight: 600; padding: 10px 20px; cursor: pointer; }
.mhrf-go:disabled { opacity: .6; cursor: default; }
.mhrf-status { min-height: 1.5em; margin: 12px 0; color: var(--mhrf-muted); font-size: 14px; }
.mhrf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.mhrf-card { display: flex; flex-direction: column; border: 1px solid var(--mhrf-line); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; background: #fff; }
.mhrf-card:hover, .mhrf-card:focus { border-color: var(--mhrf-accent); }
.mhrf-img { aspect-ratio: 4 / 3; background: var(--mhrf-chip); overflow: hidden; }
.mhrf-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mhrf-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.mhrf-title { font-family: inherit; font-size: 1.1em; line-height: 1.2; margin: 0; }
.mhrf-blurb { margin: 0; font-size: 14px; color: var(--mhrf-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mhrf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mhrf-chip { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--mhrf-chip); color: #4a4a4a; }
@media (max-width: 480px) { .mhrf-go { padding: 10px 14px; } }
