/* ============================================
   Can My Dog Eat? — Stylesheet
   ============================================ */

:root {
  /* Colors */
  --bg: #faf7f2;
  --bg-soft: #f4efe6;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --line: #e7e1d5;
  --primary: #2d5a3d;
  --primary-dark: #1f3f2a;
  --accent: #c2410c;

  --yes: #16a34a;
  --yes-bg: #dcfce7;
  --yes-ink: #14532d;

  --caution: #ea580c;
  --caution-bg: #ffedd5;
  --caution-ink: #7c2d12;

  --no: #dc2626;
  --no-bg: #fee2e2;
  --no-ink: #7f1d1d;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-w: 1100px;
  --read-w: 680px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

a:hover { color: var(--accent); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2em; }
h3 { font-size: 1.25rem; margin-top: 1.75em; font-weight: 600; }

p { margin: 0 0 1.1em; }

ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.4em; }

/* Layout */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read-w); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(250, 247, 242, 0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo::before {
  content: "🐾";
  font-size: 1.3em;
}

.nav { display: flex; gap: 24px; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover { color: var(--primary); }

.nav__emergency {
  color: var(--no) !important;
  font-weight: 600;
}
.nav__emergency:hover {
  color: var(--no-ink) !important;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}

.hero__lead {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Search */
.search {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.search input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 90, 61, 0.1);
}

/* ---- Keyboard focus indicators (accessibility) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-to-content link (hidden unless focused) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 8px;
}

.search::before {
  content: "🔍";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  opacity: 0.5;
}

/* Directory (homepage list) */
.directory { padding: 48px 0 80px; }

.directory h2 {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.food-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.food-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.06);
}

.food-card__name {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

/* Verdict pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pill--yes { background: var(--yes-bg); color: var(--yes-ink); }
.pill--caution { background: var(--caution-bg); color: var(--caution-ink); }
.pill--no { background: var(--no-bg); color: var(--no-ink); }

.pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Category tabs */
.categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  justify-content: center;
}

.category-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 500;
}

.category-btn:hover { border-color: var(--primary); color: var(--primary); }
.category-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Food page */
.food-page { padding: 40px 0 60px; }

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--muted); }

.food-page__header { margin-bottom: 40px; }

.food-page__header h1 {
  margin-bottom: 20px;
}

.verdict-banner {
  padding: 28px 32px;
  border-radius: var(--radius);
  margin: 28px 0 32px;
  border-left: 5px solid;
}

.verdict-banner--yes {
  background: var(--yes-bg);
  border-color: var(--yes);
}
.verdict-banner--caution {
  background: var(--caution-bg);
  border-color: var(--caution);
}
.verdict-banner--no {
  background: var(--no-bg);
  border-color: var(--no);
}

.verdict-banner__label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.verdict-banner--yes .verdict-banner__label { color: var(--yes-ink); }
.verdict-banner--caution .verdict-banner__label { color: var(--caution-ink); }
.verdict-banner--no .verdict-banner__label { color: var(--no-ink); }

.verdict-banner__short {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
}

/* Info cards */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

@media (max-width: 640px) {
  .info-grid { grid-template-columns: 1fr; }
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.info-card h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
}

.info-card ul { margin: 0; padding-left: 1.1em; }
.info-card li { font-size: 0.96rem; }

/* Emergency box */
.emergency-box {
  background: #fff8f1;
  border: 2px solid var(--caution);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
}

.emergency-box h3 {
  color: var(--caution-ink);
  margin: 0 0 10px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emergency-box h3::before { content: "⚠"; }

.emergency-box p { margin: 0; }

/* Alternatives */
.alternatives-box {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}

.alternatives-box h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.alternatives-box ul {
  margin: 0;
  padding-left: 1.1em;
}

/* Related foods */
.related {
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.related h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

/* Monetization slot */
.ad-slot {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border: 1px dashed var(--line);
}

.affiliate-callout {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px 0;
  text-align: center;
}

.affiliate-callout h3 {
  color: #fff;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.affiliate-callout p {
  margin: 0 0 16px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover {
  background: #9a3412;
  color: #fff;
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  margin-top: 80px;
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: 500px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}

/* Disclaimer */
.disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  margin-top: 40px;
  border-left: 3px solid var(--line);
}

/* Utility */
.hidden { display: none !important; }

/* ---- Emergency bar (top of high-severity toxic pages) ---- */
.emergency-bar {
  background: var(--no);
  color: #fff;
  padding: 14px 0;
  font-weight: 500;
}
.emergency-bar .wrap {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.emergency-bar strong { font-weight: 700; }
.emergency-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}
.emergency-bar a:hover { color: #fee; }
@media (max-width: 640px) {
  .emergency-bar { font-size: 0.95rem; }
}

/* ---- Table of contents ---- */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: 0.93rem;
}
.toc__label {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
}
.toc a {
  text-decoration: none;
  color: var(--primary);
  padding: 2px 0;
  border-bottom: 1px dotted var(--primary);
}
.toc a:hover {
  border-bottom-style: solid;
  color: var(--accent);
}

/* ---- Action list (numbered emergency steps) ---- */
.action-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.action-list li {
  counter-increment: step;
  padding: 14px 16px 14px 52px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  line-height: 1.55;
  border-left: 3px solid var(--caution);
}
.action-list li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--caution);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---- Checklist box (what to tell your vet) ---- */
.checklist-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 20px 0 32px;
}
.checklist-box h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.checklist-intro {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 14px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--muted);
  border-radius: 4px;
  background: #fff;
}

/* ---- Hidden sources section ---- */
.hidden-sources-section {
  background: #fff8f1;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
  border-left: 4px solid var(--caution);
}
.hidden-sources-section h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--caution-ink);
}
.section-intro {
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.hidden-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.hidden-list li {
  padding: 10px 12px 10px 32px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.45;
}
.hidden-list li::before {
  content: "⚠";
  position: absolute;
  left: 10px;
  top: 8px;
  color: var(--caution);
  font-size: 1rem;
}
@media (max-width: 640px) {
  .hidden-list { grid-template-columns: 1fr; }
}

/* ---- Symptom timeline ---- */
.timeline-section { margin: 36px 0; }
.timeline {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  padding: 0 0 20px 40px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-when {
  display: block;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.timeline-signs {
  display: block;
  color: var(--ink);
  line-height: 1.55;
}

/* ---- Breed warning box ---- */
.breed-warning-box {
  background: #fef3e8;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0;
  border-left: 4px solid var(--accent);
}
.breed-warning-box h3 {
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.breed-warning-box ul {
  margin: 0;
  padding-left: 1.2em;
}
.breed-warning-box li {
  margin-bottom: 8px;
  line-height: 1.55;
}

/* ---- FAQ section ---- */
.faq-section { margin: 48px 0; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: var(--primary); }
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  cursor: pointer;
  padding: 16px 22px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 50px;
  line-height: 1.45;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---- Hub links on homepage ---- */
.hub-links {
  padding: 40px 0 16px;
}
.hub-links .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
@media (max-width: 800px) {
  .hub-links .wrap { grid-template-columns: 1fr; }
}
.hub-card {
  display: block;
  padding: 24px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.08);
}
.hub-card--emergency {
  background: #fef2f2;
  border-color: var(--no);
}
.hub-card--emergency:hover { border-color: var(--no); }
.hub-card--toxic {
  background: #fff7ed;
  border-color: var(--caution);
}
.hub-card--toxic:hover { border-color: var(--caution); }
.hub-card--safe {
  background: #f0fdf4;
  border-color: var(--yes);
}
.hub-card--safe:hover { border-color: var(--yes); }

.hub-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.hub-card--emergency .hub-card__label { color: var(--no-ink); }
.hub-card--toxic .hub-card__label { color: var(--caution-ink); }
.hub-card--safe .hub-card__label { color: var(--yes-ink); }

.hub-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.hub-card__desc {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---- Toxicity guide (dose-specific info for chocolate etc) ---- */
.toxicity-guide {
  margin: 36px 0;
}
.toxicity-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0 20px;
}
.toxicity-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.toxicity-row:last-child { border-bottom: none; }
.toxicity-row:nth-child(1) { background: #f0fdf4; }
.toxicity-row:nth-child(2) { background: #fefce8; }
.toxicity-row:nth-child(3) { background: #fff7ed; }
.toxicity-row:nth-child(4) { background: #fef2f2; }
.toxicity-row:nth-child(5) { background: #fef2f2; }
.toxicity-dose {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  font-family: var(--font-display);
}
.toxicity-effect {
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.96rem;
}
@media (max-width: 640px) {
  .toxicity-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 16px;
  }
}
.toxicity-examples {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 16px;
}
.toxicity-examples h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 8px;
  font-weight: 600;
}
.toxicity-examples ul {
  margin: 0;
  padding-left: 1.2em;
}
.toxicity-examples li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ---- Last reviewed trust signal ---- */
.last-reviewed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
  padding: 6px 14px;
  background: var(--yes-bg);
  color: var(--yes-ink);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
a.last-reviewed:hover,
a.last-reviewed:focus-visible {
  background: var(--yes);
  color: #fff;
  text-decoration: none;
}
.last-reviewed__icon {
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---- Calculator CTA (links to the interactive tool) ---- */
.calculator-cta {
  margin: 24px 0;
  padding: 22px 26px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
}
.calculator-cta__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 600;
}
.calculator-cta .btn {
  background: #fff;
  color: var(--primary);
}
.calculator-cta .btn:hover {
  background: var(--bg);
  color: var(--primary-dark);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 32px; }
  .verdict-banner { padding: 20px 22px; }
  .verdict-banner__label { font-size: 1.35rem; }
  .affiliate-callout { padding: 22px 24px; }
  .nav { gap: 16px; font-size: 0.88rem; }
  .action-list li { padding-left: 48px; }
  .hidden-sources-section, .alternatives-box, .checklist-box, .breed-warning-box { padding: 18px 20px; }
}

/* ---- Editorial meta / byline (E-E-A-T) ---- */
.editorial-meta {
  margin: 48px 0 24px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.editorial-meta__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.editorial-meta__author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.editorial-meta__about {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---- Short sources credibility note at page footer ---- */
.sources-note {
  margin: 28px 0 16px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.sources-note a {
  color: var(--primary);
  font-weight: 500;
}

/* ---- Page actions (report error + verified date) ---- */
.page-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.page-actions__report {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-actions__report:hover {
  color: var(--primary);
}
.page-actions__verified {
  color: var(--muted);
}
