/* SEO pages (breed, problem, tools, trust, recalls, hubs). Built on site.css + app.css tokens only. */
.seo-page .page-head.no-art { grid-template-columns: 1fr; }
.seo-page .page-head.no-art > div { max-width: 820px; }
.seo-page .page-head .lede { max-width: 60ch; }
.seo-page .seo-art { max-width: 340px; justify-self: end; transform: rotate(2deg); }
.seo-page .notice:not(:has(svg)) { grid-template-columns: 1fr; }
.seo-page .notice { margin: 20px 0; }

/* the quiz call to action near the top */
.seo-cta { margin: 4px 0 36px; }
.seo-cta .core { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; flex-wrap: wrap; }
.seo-cta b { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.01em; }
.seo-cta p { margin-top: 4px; }
.seo-cta-row { margin: 0 0 32px; }

/* top 3 */
.seo-top3 { margin: 8px 0 12px; }
.seo-top3 > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 30ch; }
.seo-top3 .small-lede { font-size: 1rem; margin: 10px 0 22px; max-width: 64ch; }
.seo-top3 .top3-note { margin-top: 16px; max-width: 72ch; }
.seo-top3 .foods + p, .seo-top3 p + p { margin-top: 8px; }
.seo-top3 .food h3 { font-size: 1.15rem; line-height: 1.25; }

/* sourced facts */
.fact-list { list-style: none; padding: 0 !important; display: grid; gap: 12px !important; }
.fact-list li { padding: 14px 16px; border-radius: 14px; background: var(--wash); color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.fact-list li::marker { content: none; }
.src-inline { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--ink-3); }
.src-inline a { color: var(--ink-3); text-underline-offset: 0.18em; }
.src-inline a:hover { color: var(--ink); }
.fact-list li.src-only { background: transparent; padding: 0; margin-top: -6px; }
.vet-flag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--warn-wash); color: var(--warn-ink); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; vertical-align: 2px; white-space: nowrap; }
.seo-body { max-width: 760px; }
.seo-body.seo-wide { max-width: none; }
.seo-body > h2:first-child { margin-top: 24px; }

/* related links, sources, disclosures */
.seo-links { margin: 48px 0 0; }
.seo-links h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 16px; }
.disclosures { margin: 48px 0 0; padding: 20px 22px; border-radius: var(--r-inner); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.disclosures ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink-2); font-size: 0.92rem; }
.disclosures li::marker { color: var(--pink); }
.seo-sources { margin: 18px 0 56px; font-size: 0.9rem; color: var(--ink-3); }
.seo-sources summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.seo-sources ul { margin-top: 10px; columns: 2; column-gap: 32px; padding-left: 1.1em; }
@media (max-width: 640px) { .seo-sources ul { columns: 1; } }

/* calculator */
.calc { margin: 0 0 40px; }
.calc .core { padding: clamp(22px, 3vw, 32px); }
.calc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.calc-grid { display: grid; grid-template-columns: 1.6fr 0.8fr 1fr 0.9fr auto; gap: 12px; align-items: end; }
.calc-grid .field > span { font-weight: 600; font-size: 0.92rem; }
.calc-grid .btn { height: 54px; }
.calc-out { margin-top: 22px; transition: opacity var(--t-base) var(--ease-out); }
.calc-out.is-loading { opacity: 0.45; }
.calc-kcal { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-kcal b { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-kcal span { color: var(--ink-3); }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr 1fr; } .calc-grid .field:first-child, .calc-grid .btn { grid-column: 1 / -1; } }
.data-table caption { font-size: 0.8rem; }
.data-table.recalls td:first-child { white-space: nowrap; }

/* breeds hub A to Z */
.az-index { display: flex; flex-wrap: wrap; gap: 6px; margin: 40px 0 8px; position: sticky; top: 72px; background: var(--paper); padding: 10px 0; z-index: 2; }
.az-index a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow var(--t-fast) var(--ease-out); }
.az-index a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.az-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 32px; margin-bottom: 64px; }
.az h2 { font-size: 1.6rem; margin: 28px 0 8px; scroll-margin-top: 140px; }
.az-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.az-list li { color: var(--ink-2); }
.az-list b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.az-list a { color: var(--ink-3); margin-right: 6px; text-underline-offset: 0.18em; }
.az-list a:hover { color: var(--pink-ink); }
.seo-page .cta-band { margin-bottom: 72px; }
.food-nums.one { grid-template-columns: 1fr; }
.food-num.weigh b { font-size: 1.35rem; }
.food.best .food-num.weigh { background: var(--wash); color: var(--ink); }
.food.best .food-num.weigh span { color: var(--ink-3); }
.seo-cta { margin: 28px 0 8px; }
@media (max-width: 560px) {
  .seo-page .cta-band { padding: 32px 22px; }
  .seo-page .cta-band > div { min-width: 0; }
  .seo-page .cta-band .btn, .seo-cta .btn { white-space: normal; text-align: left; max-width: 100%; }
  .seo-cta .core { padding: 18px; }
}
.seo-page .seo-body.section { padding-top: 16px; }
