/* ============================================================
   Histaminhilfe — Components & Layout
   All component styling lives here as classes (no inline styles
   scattered through templates). Tokens come from tokens.css.
   ============================================================ */

/* ============================================================
   BASE / ELEMENTS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute must win over component display rules. */
[hidden] { display: none !important; }

body.histaminhilfe,
.histaminhilfe {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hh h1, .hh h2, .hh h3, .hh h4, .hh h5,
.hh-section h1, .hh-section h2, .hh-section h3, .hh-section h4 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  font-weight: var(--fw-bold);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

/* Reset list styling inside theme regions */
.hh-header ul, .hh-footer ul, .hh-mega ul,
.hh-food-list, .hh-ing-list, .hh-steps { list-style: none; margin: 0; padding: 0; }

.hh-link {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.hh-link:hover { color: var(--text-link-hover); }

img { max-width: 100%; }

/* Focus ring */
.histaminhilfe :focus-visible,
.hh-btn:focus-visible,
a.hh-link:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-xs);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.hh-container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.hh-container--wide { max-width: var(--content-wide); }
.hh-measure { max-width: var(--measure-max); margin-inline: auto; }

.eyebrow,
.hh-eyebrow {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 10px;
}
.hh-eyebrow--light { color: var(--blue-200); }

.hh-section { padding-block: var(--section-pad-y); }
.hh-section--sky   { background: var(--sky-wash); }
.hh-section--mint  { background: var(--mint-wash); }
.hh-section--blush { background: var(--blush-wash); }
.hh-section--cream { background: var(--cream-wash); }
.hh-section--blue  { background: var(--blue-050); }

.hh-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 34px;
}
.hh-sec-head--center { justify-content: center; text-align: center; }
.hh-sec-title { font-size: var(--fs-h2); margin: 0; color: var(--text-strong); }
.hh-sec-intro { margin: 10px 0 0; color: var(--text-muted); font-size: var(--fs-lead); max-width: 52ch; }
.hh-sec-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 15px;
  color: var(--color-primary); text-decoration: none; white-space: nowrap;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.hh-sec-link:hover { gap: 11px; color: var(--color-primary-hover); }

.hh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.hh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ============================================================
   BUTTONS — incl. Gutenberg block-style hooks
   ============================================================ */
.hh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body); font-size: 15px; font-weight: var(--fw-semibold);
  line-height: 1; letter-spacing: 0.005em;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.hh-btn--sm { padding: 8px 14px; font-size: 14px; gap: 7px; }
.hh-btn--lg { padding: 15px 28px; font-size: 17px; gap: 10px; border-radius: var(--radius-md); }
.hh-btn--full { display: flex; width: 100%; }

.hh-btn--primary {
  background: var(--color-primary); color: var(--text-on-brand);
  border-color: var(--color-primary); box-shadow: var(--shadow-sm);
}
.hh-btn--primary:hover {
  background: var(--color-primary-hover); border-color: var(--color-primary-hover);
  box-shadow: var(--shadow-hover); color: var(--text-on-brand);
}
.hh-btn--secondary {
  background: var(--white); color: var(--color-primary); border-color: var(--blue-200);
}
.hh-btn--secondary:hover { border-color: var(--color-primary); background: var(--blue-050); }
.hh-btn--ghost { background: transparent; color: var(--color-primary); }
.hh-btn--ghost:hover { background: var(--blue-050); }
.hh-btn--subtle { background: var(--blue-100); color: var(--blue-700); }
.hh-btn--subtle:hover { background: var(--blue-200); }
.hh-btn svg { flex: none; }

/* Gutenberg button block styles map onto the same looks */
.wp-block-button.is-style-hh-primary .wp-block-button__link,
.wp-block-button.is-style-hh-secondary .wp-block-button__link,
.wp-block-button.is-style-hh-ghost .wp-block-button__link {
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: var(--fw-semibold);
  padding: 12px 22px; letter-spacing: 0.005em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.is-style-hh-primary .wp-block-button__link { background: var(--color-primary); color: var(--white); border: 1px solid var(--color-primary); box-shadow: var(--shadow-sm); }
.is-style-hh-primary .wp-block-button__link:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); box-shadow: var(--shadow-hover); }
.is-style-hh-secondary .wp-block-button__link { background: var(--white); color: var(--color-primary); border: 1px solid var(--blue-200); }
.is-style-hh-secondary .wp-block-button__link:hover { border-color: var(--color-primary); background: var(--blue-050); }
.is-style-hh-ghost .wp-block-button__link { background: transparent; color: var(--color-primary); border: 1px solid transparent; }
.is-style-hh-ghost .wp-block-button__link:hover { background: var(--blue-050); }
.wp-block-button.hh-btn--lg .wp-block-button__link { padding: 15px 28px; font-size: 17px; border-radius: var(--radius-md); }

/* ============================================================
   CATEGORY PILL
   ============================================================ */
.hh-pill {
  display: inline-flex; align-items: center;
  padding: 5px 13px; font-size: 12.5px;
  font-family: var(--font-heading); font-weight: var(--fw-semibold);
  letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
  border-radius: var(--radius-pill);
}
.hh-pill--sm { padding: 3px 10px; font-size: 11px; }
.hh-pill--sky   { background: var(--sky-bg);   color: var(--sky-ink); }
.hh-pill--mint  { background: var(--mint-bg);  color: var(--mint-ink); }
.hh-pill--blush { background: var(--blush-bg); color: var(--blush-ink); }
.hh-pill--cream { background: var(--cream-bg); color: var(--cream-ink); }

/* ============================================================
   BADGE (trust / status chip)
   ============================================================ */
.hh-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; font-size: 12.5px;
  font-family: var(--font-body); font-weight: var(--fw-semibold);
  border-radius: var(--radius-pill); line-height: 1.1;
}
.hh-badge--sm { padding: 3px 9px; font-size: 11px; gap: 5px; }
.hh-badge--verified { background: var(--blue-100); color: var(--blue-700); }
.hh-badge--neutral  { background: var(--gray-200); color: var(--ink-soft); }
.hh-badge--new      { background: var(--mint-bg);  color: var(--mint-ink); }
.hh-badge svg { flex: none; }

/* ============================================================
   HISTAMINE INDICATOR
   ============================================================ */
.hh-level {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 11px; font-size: 14px;
  font-family: var(--font-body); font-weight: var(--fw-semibold);
  border-radius: var(--radius-pill); line-height: 1.1;
}
.hh-level--sm { gap: 7px; padding: 4px 11px 4px 9px; font-size: 12.5px; }
.hh-level__dot { width: 11px; height: 11px; border-radius: 999px; flex: none; }
.hh-level--sm .hh-level__dot { width: 9px; height: 9px; }
.hh-level--ok      { background: var(--ok-bg);     color: var(--ok); }
.hh-level--ok .hh-level__dot { background: var(--ok); }
.hh-level--caution { background: var(--warn-bg);   color: var(--warn); }
.hh-level--caution .hh-level__dot { background: var(--warn); }
.hh-level--avoid   { background: var(--danger-bg); color: var(--danger); }
.hh-level--avoid .hh-level__dot { background: var(--danger); }

/* dot-only variant (legend) */
.hh-level--dotonly { background: transparent; padding: 0; gap: 8px; color: var(--ink-soft); font-weight: var(--fw-medium); font-size: 14px; }
.hh-level--dotonly.hh-level--sm { font-size: 13px; }

/* ============================================================
   AVATAR
   ============================================================ */
.hh-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none; border-radius: var(--radius-pill);
  background: var(--blue-100); color: var(--blue-700);
  font-family: var(--font-heading); font-weight: var(--fw-semibold);
  font-size: 17px; overflow: hidden;
}
.hh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hh-avatar--sm { width: 28px; height: 28px; font-size: 11px; }
.hh-avatar--lg { width: 56px; height: 56px; font-size: 22px; }
.hh-avatar--ring { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--blue-200); }

/* ============================================================
   PHOTO placeholder (calm tinted block + faint icon)
   ============================================================ */
.hh-photo {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eaf7ff, #cfeefb);
  aspect-ratio: 16 / 10;
}
.hh-photo--sky   { background: linear-gradient(135deg, #eaf7ff, #cfeefb); }
.hh-photo--mint  { background: linear-gradient(135deg, #edfcf2, #d3f6df); }
.hh-photo--blush { background: linear-gradient(135deg, #fff4f3, #ffdedb); }
.hh-photo--cream { background: linear-gradient(135deg, #fffaf0, #ffe9c4); }
.hh-photo--gray  { background: linear-gradient(135deg, #f1f5f7, #dde7ec); }
.hh-photo--r169  { aspect-ratio: 16 / 9; }
.hh-photo--r219  { aspect-ratio: 21 / 9; }
.hh-photo--r45   { aspect-ratio: 4 / 5; }
.hh-photo--r11   { aspect-ratio: 1 / 1; }
.hh-photo--lg    { border-radius: var(--radius-lg); }
.hh-photo--xl    { border-radius: var(--radius-xl); }
.hh-photo--flat  { border-radius: 0; }
.hh-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hh-photo__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: rgba(0,85,123,0.34);
}
.hh-photo__ph svg { stroke-width: 1.6; }
.hh-photo__ph span { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; font-family: var(--font-body); }

/* ============================================================
   ARTICLE CARD (vertical / horizontal / feature)
   ============================================================ */
.hh-card {
  display: flex; flex-direction: column;
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  height: 100%;
}
.hh-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.hh-card__media { width: 100%; overflow: hidden; }
.hh-card__media .hh-photo { border-radius: 0; aspect-ratio: 16 / 10; }
.hh-card__media img { transition: transform var(--dur-slow) var(--ease-out); }
.hh-card:hover .hh-card__media img { transform: scale(1.04); }
.hh-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); flex: 1; min-width: 0; }
.hh-card__title { margin: 0; font-size: 1.18rem; line-height: var(--lh-snug); color: var(--text-strong); font-family: var(--font-heading); font-weight: var(--fw-bold); transition: color var(--dur-fast) var(--ease-out); }
.hh-card:hover .hh-card__title { color: var(--blue-700); }
.hh-card__title a { color: inherit; text-decoration: none; }
.hh-card__deck { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.hh-card__meta { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: var(--fs-xs); color: var(--text-meta); }
.hh-card__meta-item { display: inline-flex; align-items: center; gap: 5px; }

/* horizontal */
.hh-card--horizontal { flex-direction: row; }
.hh-card--horizontal .hh-card__media { width: 168px; flex: none; }
.hh-card--horizontal .hh-card__media .hh-photo { aspect-ratio: 1 / 1; height: 100%; }
.hh-card--horizontal .hh-card__body { padding: var(--space-4) var(--space-4) var(--space-4) var(--space-4); }
.hh-card--horizontal .hh-card__title { font-size: var(--fs-h4); }

/* feature */
.hh-card--feature .hh-card__media .hh-photo { aspect-ratio: 16 / 9; }
.hh-card--feature .hh-card__body { padding: var(--space-6); }
.hh-card--feature .hh-card__title { font-size: var(--fs-h3); }
.hh-card__readmore { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-500); font-weight: var(--fw-semibold); }

/* ============================================================
   HEADER (sticky, condensing) + mega menu
   ============================================================ */
.hh-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.hh-header.is-condensed { box-shadow: var(--shadow-sm); }
.hh-header__top { display: flex; align-items: center; gap: 24px; padding-block: 16px; transition: padding var(--dur-base) var(--ease-out); }
.is-condensed .hh-header__top { padding-block: 10px; }
.hh-brand { flex: none; text-decoration: none; display: inline-flex; }
.hh-header__search { flex: 1; max-width: 520px; }
.hh-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hh-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--hairline);
  background: var(--white); border-radius: var(--radius-pill); cursor: pointer; color: var(--ink);
}
.hh-mobile-only { display: none; }

.hh-searchbar { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 0 16px; box-shadow: var(--shadow-xs); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.hh-searchbar:focus-within { border-color: var(--color-primary); box-shadow: var(--shadow-focus); }
.hh-searchbar svg { color: var(--gray-500); flex: none; }
.hh-searchbar input { flex: 1; border: none; outline: none; background: transparent; padding: 11px 0; font-family: var(--font-body); font-size: var(--fs-base); color: var(--ink); }

.hh-header__nav { border-top: 1px solid var(--blue-050); }
.is-condensed .hh-header__nav { display: none; }
.hh-nav-row { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.hh-nav-item { position: relative; }
.hh-nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 13px 14px;
  font-family: var(--font-heading); font-weight: var(--fw-medium); font-size: 14.5px;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.hh-nav-item:hover > .hh-nav-link,
.hh-nav-item:focus-within > .hh-nav-link,
.hh-nav-link.is-current { color: var(--color-primary); border-color: var(--color-primary); }

.hh-mega {
  position: absolute; top: 100%; left: 0; min-width: 460px;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  z-index: 60;
}
.hh-nav-item:hover .hh-mega, .hh-nav-item:focus-within .hh-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.hh-mega-inner { display: grid; grid-template-columns: 1fr 1fr; }
.hh-mega-col { padding: 18px 20px; }
.hh-mega-head { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); margin-bottom: 10px; }
.hh-mega-col li a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin: 0 -10px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink-soft); text-decoration: none; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast); }
.hh-mega-col li a svg { color: var(--blue-200); }
.hh-mega-col li a:hover { background: var(--blue-050); color: var(--color-primary); }
.hh-mega-col li a:hover svg { color: var(--color-primary); }
.hh-mega-feat { background: var(--sky-wash); padding: 20px; border-radius: 0 var(--radius-md) var(--radius-md) 0; display: flex; flex-direction: column; justify-content: center; }
.hh-mega-feat__eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--blue-600); margin-bottom: 8px; }
.hh-mega-feat__title { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 16px; color: var(--ink); line-height: 1.3; margin-bottom: 12px; }
.hh-mega-feat__link { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-semibold); font-size: 14px; color: var(--color-primary); text-decoration: none; }

/* Dropdown + tree for a user-assigned menu's sub-items (HH_Nav_Walker).
   Level 2 = the dropdown panel; level 3+ = collapsible accordion branches. */
.hh-submenu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  z-index: 60;
}
.hh-nav-item:hover .hh-submenu, .hh-nav-item:focus-within .hh-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.hh-submenu__list, .hh-submenu__sub { list-style: none; margin: 0; padding: 0; }

/* A menu link at any tree level */
.hh-submenu__link {
  display: block; flex: 1 1 auto; min-width: 0; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 14.5px; color: var(--ink-soft); text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.hh-submenu__link:hover, .hh-submenu__link.is-current { background: var(--blue-050); color: var(--color-primary); }

/* Accordion row: label link + caret toggle */
.hh-submenu__row { display: flex; align-items: center; gap: 2px; }
.hh-submenu__caret {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 32px; min-width: 32px; height: 32px; padding: 0;
  border: none; background: transparent; border-radius: var(--radius-sm);
  color: var(--gray-500); cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.hh-submenu__caret:hover { background: var(--blue-050); color: var(--color-primary); }
.hh-submenu__caret svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur-base) var(--ease-out); }
.hh-submenu__item.is-open > .hh-submenu__row > .hh-submenu__caret svg { transform: rotate(180deg); }

/* Nested branch — indented with a tree line */
.hh-submenu__sub {
  margin: 2px 0 4px 14px; padding-left: 10px;
  border-left: 1px solid var(--blue-100);
  display: flex; flex-direction: column; gap: 1px;
}
.hh-submenu__sub .hh-submenu__link { font-size: 14px; padding: 7px 10px; color: var(--text-muted); }
.hh-submenu__sub .hh-submenu__link:hover, .hh-submenu__sub .hh-submenu__link.is-current { color: var(--color-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hh-hero { background: linear-gradient(180deg, var(--sky-wash), var(--surface-page) 70%); padding-block: clamp(40px, 5vw, 72px); }
.hh-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hh-hero__title { font-size: var(--fs-display); font-weight: var(--fw-heavy); line-height: var(--lh-tight); letter-spacing: -0.025em; margin: 16px 0 0; color: var(--ink); font-family: var(--font-heading); text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.hh-hero__deck { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); margin: 18px 0 0; max-width: 50ch; }
.hh-hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hh-hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.hh-hero__trust-by { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
/* No medical reviewer for now — hide the hero medical-review row on all devices. */
.hh-hero__trust { display: none; }
.hh-hero__media { position: relative; }
.hh-hero__img { margin: 0; width: 100%; }
.hh-hero__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); }
.hh-hero__float { position: absolute; bottom: 22px; left: -18px; display: flex; align-items: center; gap: 12px; background: var(--white); padding: 12px 16px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.hh-hero__float svg { color: var(--blue-500); flex: none; }
.hh-hero__float strong { display: block; font-family: var(--font-heading); font-size: 14px; color: var(--ink); }
.hh-hero__float span { display: block; font-size: 12.5px; color: var(--text-meta); }


/* ============================================================
   HUB CARDS (sky)
   ============================================================ */
.hh-hub-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--sky-shape); border-radius: var(--radius-lg); padding: 26px 24px; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); height: 100%; }
.hh-hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.hh-hub-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: var(--radius-md); background: var(--sky-bg); color: var(--blue-600); margin-bottom: 6px; }
.hh-hub-card h3 { font-size: 1.2rem; margin: 0; color: var(--text-strong); font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-hub-card p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Editable "more / open" link (native paragraph + link) shared by hub, tool,
   trust and flagship cards. The arrow is a CSS mask so the link text/URL stay
   fully editable in the block editor. */
.hh-hub-card .hh-link-more,
.hh-tool-card .hh-link-more,
.hh-trust-card .hh-link-more,
.hh-card__body .hh-link-more { margin: auto 0 0; padding-top: 8px; }
.hh-link-more a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 14px;
  color: var(--color-primary); text-decoration: none;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.hh-link-more a::after {
  content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
}
.hh-link-more a:hover { gap: 9px; color: var(--color-primary-hover); }
.hh-tool-card .hh-link-more a,
.hh-tool-card .hh-link-more a:hover { color: var(--white); }

/* ============================================================
   FLAGSHIP (mint)
   ============================================================ */
.hh-flagship-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.hh-flagship-side { display: flex; flex-direction: column; gap: 16px; }

/* ============================================================
   FOOD & RECIPES
   ============================================================ */
.hh-food-grid { display: grid; grid-template-columns: 360px 1fr; gap: 30px; align-items: start; }
.hh-food-list-card { background: var(--white); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.hh-food-list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; flex-wrap: wrap; gap: 8px; }
.hh-food-list-head h3 { margin: 0; font-size: 1.2rem; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-food-legend { display: flex; gap: 12px; flex-wrap: wrap; }
.hh-food-list { margin: 14px 0 20px; }
.hh-food-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--blue-050); font-weight: var(--fw-medium); color: var(--ink); }
.hh-food-list li:last-child { border-bottom: 0; }
.hh-recipe-col-title { font-size: 1.2rem; margin: 0 0 18px; font-family: var(--font-heading); font-weight: var(--fw-bold); }

/* ============================================================
   TOOLS BAND (deep blue)
   ============================================================ */
.hh-tools-band { background: linear-gradient(160deg, var(--blue-700), var(--blue-500)); color: var(--white); }
.hh-tools-head { text-align: center; margin-bottom: 36px; }
.hh-tools-head h2 { color: var(--white); font-size: var(--fs-h2); margin: 0; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-tool-card { display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-lg); padding: 28px 26px; text-decoration: none; color: var(--white); transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); height: 100%; }
.hh-tool-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.hh-tool-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-md); background: rgba(255,255,255,0.16); color: var(--white); margin-bottom: 8px; }
.hh-tool-card h3 { color: var(--white); font-size: 1.25rem; margin: 0; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-tool-card p { color: rgba(255,255,255,0.82); font-size: var(--fs-sm); margin: 0; line-height: 1.5; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.hh-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--blue-100); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 52px); }
.hh-newsletter h2 { font-size: var(--fs-h2); margin: 0 0 12px; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-newsletter__copy p { margin: 0; color: var(--text-muted); font-size: var(--fs-base); }
.hh-newsletter__form { display: flex; flex-direction: column; gap: 14px; }
.hh-nl-field { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 4px 4px 4px 18px; }
.hh-nl-field svg { color: var(--gray-500); flex: none; }
.hh-nl-field input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--font-body); font-size: var(--fs-base); padding: 13px 0; color: var(--ink); }
.hh-nl-note { margin: 0; font-size: 12.5px; color: var(--text-meta); }
.hh-nl-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--text-meta); line-height: 1.45; }
.hh-nl-consent input { margin-top: 3px; accent-color: var(--blue-500); }
.hh-nl-consent a { color: var(--blue-700); }

/* ============================================================
   STORIES (blush)
   ============================================================ */
.hh-story-card { margin: 0; background: var(--white); border: 1px solid var(--blush-shape); border-radius: var(--radius-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); height: 100%; }
.hh-story-card > svg { color: var(--blush-ink); flex: none; }
.hh-story-card blockquote,
.hh-story-card .hh-story-quote { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink); font-family: var(--font-heading); font-weight: var(--fw-medium); }
.hh-story-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.hh-story-card figcaption strong { display: block; font-family: var(--font-heading); font-size: 14.5px; color: var(--ink); }
.hh-story-card figcaption em { display: block; font-style: normal; font-size: 13px; color: var(--text-meta); }

/* ============================================================
   TRUST
   ============================================================ */
.hh-trust-band { background: var(--blue-050); }
.hh-trust-card { background: var(--white); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); height: 100%; }
.hh-trust-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--blue-100); color: var(--blue-600); margin-bottom: 6px; }
.hh-trust-card h3 { font-size: 1.3rem; margin: 0; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-trust-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0 0 4px; line-height: 1.55; }

/* ============================================================
   BYLINE (E-A-T author + reviewer + date)
   ============================================================ */
.hh-byline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.hh-byline__person { display: flex; align-items: center; gap: var(--space-3); }
.hh-byline__person--reviewer { padding-left: var(--space-5); border-left: 1px solid var(--hairline); }
/* No medical reviewer for now — hide the reviewer byline on all devices. */
.hh-byline__person--reviewer { display: none; }
.hh-byline__name { font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: var(--fs-sm); color: var(--text-strong); line-height: 1.3; }
.hh-byline__role { font-size: var(--fs-xs); color: var(--text-meta); line-height: 1.3; }
.hh-byline__rev-label { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-2xs); letter-spacing: 0.06em; text-transform: uppercase; font-weight: var(--fw-semibold); color: var(--blue-600); }
.hh-byline__meta { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: var(--fs-xs); color: var(--text-meta); }
.hh-byline__meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ============================================================
   FOOTER
   ============================================================ */
.hh-footer { background: var(--blue-700); color: rgba(255,255,255,0.78); padding-block: 56px 28px; }
.hh-footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.hh-footer__brand .hh-logo__word { color: var(--white); }
.hh-footer__brand .hh-logo__word b { color: var(--blue-200); }
.hh-footer__brand p { font-size: var(--fs-sm); line-height: 1.6; margin: 16px 0; max-width: 34ch; color: rgba(255,255,255,0.7); }
.hh-footer__social { display: flex; gap: 10px; }
.hh-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.1); color: var(--white); transition: background var(--dur-fast) var(--ease-out); }
.hh-footer__social a:hover { background: rgba(255,255,255,0.22); }
.hh-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.hh-footer__col-head { font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 14px; color: var(--white); margin-bottom: 14px; }
.hh-footer__col li { margin-bottom: 10px; }
.hh-footer__col a { font-size: 14px; color: rgba(255,255,255,0.72); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.hh-footer__col a:hover { color: var(--white); }
.hh-footer__disclaimer { display: flex; gap: 12px; align-items: flex-start; padding: 22px 0; color: rgba(255,255,255,0.7); }
.hh-footer__disclaimer svg { flex: none; margin-top: 2px; color: var(--blue-200); }
.hh-footer__disclaimer p { margin: 0; font-size: 13px; line-height: 1.6; }
.hh-footer__disclaimer strong { color: var(--white); }
.hh-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); flex-wrap: wrap; }
.hh-footer__bottom > span { font-size: 13px; }
.hh-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.hh-footer__legal a, .hh-footer__legal button { font-size: 13px; color: rgba(255,255,255,0.72); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.hh-footer__legal a:hover, .hh-footer__legal button:hover { color: var(--white); }

/* ============================================================
   LOGO (wordmark)
   ============================================================ */
.hh-logo { display: inline-flex; align-items: center; gap: 11px; }
.hh-logo svg { flex: none; }
.hh-logo__word { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 21px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.hh-logo__word b { color: var(--blue-500); font-weight: var(--fw-bold); }

/* ============================================================
   ARTICLE TEMPLATE (single)
   ============================================================ */
.hh-breadcrumbs { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-meta); margin-bottom: 18px; flex-wrap: wrap; }
.hh-breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.hh-breadcrumbs a:hover { color: var(--color-primary); }
.hh-breadcrumbs svg { color: var(--gray-400); flex: none; }
.hh-icon-btn-sm { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--hairline); background: var(--white); border-radius: var(--radius-pill); cursor: pointer; color: var(--ink-soft); transition: border-color var(--dur-fast), color var(--dur-fast); }
.hh-icon-btn-sm:hover { border-color: var(--color-primary); color: var(--color-primary); }

.hh-article-head { padding-top: 40px; }
.hh-article-head .hh-pill { margin-top: 6px; }
.hh-article-title { font-size: var(--fs-h1); margin: 16px 0 0; color: var(--ink); font-family: var(--font-heading); font-weight: var(--fw-bold); line-height: var(--lh-tight); hyphens: auto; overflow-wrap: break-word; }
.hh-article-deck { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.5; margin: 16px 0 26px; }
.hh-article-hero-img { margin-top: 28px; }
.hh-article-body { padding-top: 40px; padding-bottom: 20px; }

.hh-prose { max-width: var(--content-max); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-soft); }
.hh-prose > h2, .hh-prose .wp-block-heading { font-size: 1.6rem; margin: 38px 0 14px; color: var(--ink); scroll-margin-top: 96px; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-prose p { margin: 0 0 18px; text-wrap: pretty; }
.hh-prose a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }
.hh-prose a:hover { color: var(--text-link-hover); }
.hh-prose ul:not(.hh-prose-list) { margin: 0 0 18px; padding-left: 1.2em; }
.hh-prose-list { margin: 0 0 18px; padding-left: 4px; display: flex; flex-direction: column; gap: 10px; }
.hh-prose-list li { position: relative; padding-left: 28px; list-style: none; }
.hh-prose-list li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 999px; background: var(--blue-500); }

.hh-callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-md); margin: 24px 0; }
.hh-callout p { margin: 4px 0 0; font-size: var(--fs-sm); line-height: 1.55; }
.hh-callout strong { font-family: var(--font-heading); color: var(--ink); display: block; }
.hh-callout__icon { flex: none; }
.hh-callout--info { background: var(--sky-wash); border: 1px solid var(--sky-shape); }
.hh-callout--info .hh-callout__icon { color: var(--blue-500); }
.hh-callout--tip { background: var(--mint-wash); border: 1px solid var(--mint-shape); }
.hh-callout--tip .hh-callout__icon { color: var(--mint-ink); }
.hh-callout--warn { background: var(--cream-wash); border: 1px solid var(--cream-shape); }
.hh-callout--warn .hh-callout__icon { color: var(--warn); }

.hh-inline-nl { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--blue-100); border-radius: var(--radius-lg); padding: 24px 28px; flex-wrap: wrap; margin: 20px 0; }
.hh-inline-nl strong { font-family: var(--font-heading); font-size: 1.15rem; color: var(--ink); display: block; }
.hh-inline-nl p { margin: 4px 0 0; color: var(--text-muted); font-size: var(--fs-sm); }
.hh-article-related { padding-top: 40px; padding-bottom: 60px; }
.hh-article-related .hh-sec-title { margin-bottom: 26px; }

/* ============================================================
   HUB / CATEGORY TEMPLATE
   ============================================================ */
.hh-hub-hero { padding-block: clamp(40px, 5vw, 64px); }
.hh-hub-hero .hh-breadcrumbs { margin-bottom: 14px; }
.hh-hub-title { font-size: var(--fs-display); font-weight: var(--fw-heavy); margin: 14px 0 0; color: var(--ink); font-family: var(--font-heading); hyphens: auto; overflow-wrap: break-word; }
.hh-hub-deck { font-size: var(--fs-lead); color: var(--text-muted); max-width: 56ch; margin: 16px 0 0; line-height: 1.5; }
.hh-hub-stats { display: flex; gap: 32px; margin-top: 26px; flex-wrap: wrap; }
.hh-hub-stats span { font-size: 14px; color: var(--text-muted); }
.hh-hub-stats strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; color: var(--mint-ink); }
.hh-hub-filter { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.hh-hub-filter .hh-sec-title { margin: 0; }
.hh-filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hh-filter-pill { padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--mint-shape); background: var(--white); font-family: var(--font-body); font-weight: var(--fw-medium); font-size: 14px; color: var(--ink-soft); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.hh-filter-pill:hover { border-color: var(--mint-ink); }
.hh-filter-pill.is-active { background: var(--mint-ink); border-color: var(--mint-ink); color: var(--white); }

/* ============================================================
   FOOD DATABASE TEMPLATE
   ============================================================ */
.hh-fdb-hero { padding-block: clamp(36px, 4vw, 56px); }
.hh-fdb-hero .hh-breadcrumbs { margin-bottom: 14px; }
.hh-fdb-title { font-size: var(--fs-h1); margin: 12px 0 0; color: var(--ink); font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-fdb-deck { font-size: var(--fs-lead); color: var(--text-muted); max-width: 58ch; margin: 14px 0 0; line-height: 1.5; }
.hh-fdb-controls { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.hh-fdb-search { flex: 1; min-width: 260px; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 0 18px; box-shadow: var(--shadow-xs); }
.hh-fdb-search svg { color: var(--gray-500); flex: none; }
.hh-fdb-search input { flex: 1; border: none; outline: none; background: transparent; padding: 13px 0; font-family: var(--font-body); font-size: var(--fs-base); color: var(--ink); }
.hh-select { position: relative; }
.hh-select select { appearance: none; -webkit-appearance: none; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 12px 40px 12px 18px; font-family: var(--font-body); font-size: var(--fs-base); color: var(--ink); cursor: pointer; }
.hh-select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--gray-500); border-bottom: 2px solid var(--gray-500); transform: translateY(-65%) rotate(45deg); pointer-events: none; }
.hh-fdb-legend { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 12px; flex-wrap: wrap; }
.hh-fdb-legend > span { font-weight: var(--fw-semibold); color: var(--text-muted); font-size: 14px; }
.hh-fdb-table-wrap { margin-top: 14px; overflow-x: auto; }
.hh-fdb-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border-card); border-radius: var(--radius-lg); overflow: hidden; }
.hh-fdb-table th { text-align: left; font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); padding: 16px 18px; background: var(--blue-050); border-bottom: 1px solid var(--hairline); }
.hh-fdb-table td { padding: 15px 18px; border-bottom: 1px solid var(--blue-050); font-size: 15px; color: var(--ink-soft); vertical-align: middle; }
.hh-fdb-table tr:last-child td { border-bottom: none; }
.hh-fdb-table tbody tr { transition: background var(--dur-fast); }
.hh-fdb-table tbody tr:hover { background: var(--blue-050); }
.hh-td-name { font-weight: var(--fw-semibold); color: var(--ink); font-family: var(--font-heading); }
.hh-cat-chip { display: inline-block; padding: 3px 11px; border-radius: var(--radius-pill); background: var(--gray-200); font-size: 12.5px; font-weight: var(--fw-medium); color: var(--ink-soft); }
.hh-td-note { color: var(--text-muted); font-size: 14px; }
.hh-fdb-empty { text-align: center; color: var(--text-muted); padding: 40px 0 !important; }
.hh-fdb-foot { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; margin-bottom: 56px; color: var(--text-muted); }
.hh-fdb-foot svg { flex: none; margin-top: 2px; color: var(--warn); }
.hh-fdb-foot p { margin: 0; font-size: 13.5px; line-height: 1.55; }

/* ============================================================
   RECIPE TEMPLATE
   ============================================================ */
.hh-recipe-head { padding-top: 40px; }
.hh-recipe-head-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hh-recipe-title { font-size: var(--fs-h1); margin: 16px 0 0; color: var(--ink); font-family: var(--font-heading); font-weight: var(--fw-bold); line-height: var(--lh-tight); }
.hh-recipe-deck { font-size: var(--fs-lead); color: var(--text-muted); margin: 14px 0 24px; line-height: 1.5; }
.hh-recipe-img { margin-top: 26px; }
.hh-recipe-meta-bar { display: flex; align-items: center; gap: 32px; margin-top: 26px; padding: 20px 26px; background: var(--white); border: 1px solid var(--border-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.hh-rmeta { display: flex; align-items: center; gap: 12px; color: var(--blue-600); }
.hh-rmeta strong { display: block; font-family: var(--font-heading); font-size: 15px; color: var(--ink); }
.hh-rmeta span { display: block; font-size: 12.5px; color: var(--text-meta); }
.hh-recipe-actions { margin-left: auto; display: flex; gap: 8px; }
.hh-recipe-body-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding-top: 40px; padding-bottom: 60px; align-items: start; }
.hh-recipe-ingredients { position: sticky; top: 96px; background: var(--mint-wash); border: 1px solid var(--mint-shape); border-radius: var(--radius-lg); padding: 24px; }
.hh-ing-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hh-ing-head h2 { margin: 0; font-size: 1.4rem; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-serv-stepper { display: flex; align-items: center; gap: 4px; background: var(--white); border: 1px solid var(--mint-shape); border-radius: var(--radius-pill); padding: 4px; }
.hh-serv-stepper button { width: 30px; height: 30px; border: none; background: transparent; border-radius: var(--radius-pill); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--mint-ink); }
.hh-serv-stepper button:hover { background: var(--mint-bg); }
.hh-serv-stepper span { min-width: 24px; text-align: center; font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--ink); }
.hh-ing-list { display: flex; flex-direction: column; }
.hh-ing-list li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--mint-shape); font-size: 15px; color: var(--ink); }
.hh-ing-list li:last-child { border-bottom: none; }
.hh-ing-q { min-width: 78px; font-weight: var(--fw-semibold); font-family: var(--font-heading); color: var(--mint-ink); }
.hh-recipe-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px; background: var(--white); border-radius: var(--radius-md); }
.hh-recipe-note svg { flex: none; color: var(--mint-ink); margin-top: 2px; }
.hh-recipe-note p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.hh-recipe-note strong { font-family: var(--font-heading); }
.hh-recipe-steps h2 { font-size: 1.6rem; margin: 0 0 20px; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-steps { display: flex; flex-direction: column; gap: 20px; margin: 0 0 40px; padding: 0; }
.hh-steps li { display: flex; gap: 16px; align-items: flex-start; }
.hh-step-n { flex: none; width: 36px; height: 36px; border-radius: var(--radius-pill); background: var(--color-primary); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 16px; }
.hh-steps p { margin: 5px 0 0; font-size: var(--fs-body); line-height: 1.55; color: var(--ink-soft); }
.hh-nutrition { background: var(--blue-050); border-radius: var(--radius-lg); padding: 24px 26px; }
.hh-nutrition h3 { margin: 0 0 16px; font-size: 1.2rem; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-nutrition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hh-nutrition-grid div { text-align: center; }
.hh-nutrition-grid strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--blue-600); }
.hh-nutrition-grid span { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   GENERIC PAGE / BLOG INDEX
   ============================================================ */
.hh-page-hero { background: var(--blue-050); padding-block: clamp(40px, 5vw, 64px); }
.hh-page-hero--mint { background: var(--mint-wash); }
.hh-page-hero--sky { background: var(--sky-wash); }
.hh-page-title { font-size: var(--fs-h1); margin: 14px 0 0; color: var(--ink); font-family: var(--font-heading); font-weight: var(--fw-bold); }
.hh-page-content { max-width: var(--measure-max); margin-inline: auto; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-soft); }
.hh-page-content h2 { font-size: 1.6rem; margin: 36px 0 14px; color: var(--ink); }
.hh-page-content h3 { font-size: 1.3rem; margin: 28px 0 12px; color: var(--ink); }
.hh-page-content p { margin: 0 0 18px; }
.hh-page-content a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }
.hh-page-content img { border-radius: var(--radius-md); }

.hh-pagination { margin-top: 48px; display: flex; justify-content: center; gap: 8px; }
.hh-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--hairline); color: var(--ink-soft); text-decoration: none; font-weight: var(--fw-medium); transition: border-color var(--dur-fast), color var(--dur-fast); }
.hh-pagination .page-numbers:hover { border-color: var(--color-primary); color: var(--color-primary); }
.hh-pagination .page-numbers.current { background: var(--color-primary); border-color: var(--color-primary); color: var(--white); }

.hh-empty { text-align: center; padding: var(--space-24) 0; }

/* ============================================================
   REVEAL — enhances an already-visible default.
   Content is visible by default; the entrance only plays once an
   element scrolls into view (JS adds .is-visible). If the observer
   never fires (headless render, hidden tab), content still shows.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js .hh-reveal.is-visible { animation: hh-rise 0.5s var(--ease-out) both; }
}
@keyframes hh-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hh-header__search { display: none; }
  .hh-mobile-only { display: inline-flex; }
  .hh-desk-only { display: none; }
  .hh-header__nav { position: absolute; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-md); display: none; max-height: 80vh; overflow-y: auto; }
  .hh-header__nav.is-open { display: block; }
  .is-condensed .hh-header__nav.is-open { display: block; }
  .hh-nav-row { flex-direction: column; align-items: stretch; padding-block: 8px; }
  .hh-nav-link { justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--blue-050); }
  .hh-mega { display: none; }
  /* Custom-menu sub-items expand inline on mobile */
  .hh-submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0; padding: 0 0 8px 14px; min-width: 0;
  }
  .hh-submenu__list li a { padding: 11px 4px; }
  .hh-hero__grid, .hh-flagship-grid, .hh-food-grid, .hh-newsletter, .hh-footer__top { grid-template-columns: 1fr; }
  .hh-grid-3, .hh-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hh-footer__cols { grid-template-columns: repeat(3, 1fr); }
  .hh-hero__float { left: 12px; }
}
@media (max-width: 980px) {
  .hh-recipe-body-grid { grid-template-columns: 1fr; gap: 32px; }
  .hh-recipe-ingredients { position: static; }
}
@media (max-width: 620px) {
  .hh-grid-2, .hh-grid-3, .hh-grid-4 { grid-template-columns: 1fr; }
  .hh-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .hh-sec-head { flex-direction: column; align-items: flex-start; }
  .hh-footer__bottom { flex-direction: column; align-items: flex-start; }
  .hh-card--horizontal { flex-direction: column; }
  .hh-card--horizontal .hh-card__media { width: 100%; }
  .hh-card--horizontal .hh-card__media .hh-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .hh-nutrition-grid { grid-template-columns: repeat(2, 1fr); }
  .hh-recipe-meta-bar { gap: 18px; }
  .col-note, .hh-col-note { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hh-card:hover, .hh-hub-card:hover, .hh-tool-card:hover { transform: none; }
}
