/* HorseJournal breed pages + hub. Layered on the shared brand sheet (styles.css).
   Uses the existing design tokens: purple/cream/pink, DM Serif + Outfit. */

/* ---------- breadcrumb ---------- */
.breadcrumb {
  font-size: .88rem;
  color: var(--muted);
  margin: 20px 0 8px;
}
.breadcrumb a { color: var(--purple-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink-soft); }

/* ---------- breed hero ---------- */
.breed-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 18px 0 34px;
}
.breed-hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin: 6px 0 .3em; }
.breed-lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40ch;
}
.breed-origin-chip {
  display: inline-block;
  background: var(--purple-50);
  color: var(--purple-800);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .95rem;
  margin-top: 6px;
}
.breed-origin-chip strong { color: var(--purple-900); }

/* GEO at-a-glance facts */
.quick-facts {
  margin: 14px 0 0;
  display: grid;
  gap: 0;
  background: var(--cream-200);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 30rem;
}
.qf-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 15px;
  border-bottom: 1px solid var(--line);
}
.qf-row:last-child { border-bottom: 0; }
.qf-row dt { margin: 0; color: var(--muted); font-weight: 500; }
.qf-row dd { margin: 0; color: var(--purple-900); font-weight: 600; text-align: right; }

/* ---------- gift hub ---------- */
.gift-hero {
  background: linear-gradient(180deg, var(--cream-200), var(--cream-100));
  padding: 26px 0 22px;
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
}
.gift-hero .lede { color: var(--ink-soft); max-width: 60ch; margin-inline: auto; }
.gift-hero .last-updated { margin-top: 8px; }
.gift-intro { font-size: 1.1rem; color: var(--ink-soft); margin: 24px 0 8px; }
.gift-grid {
  list-style: none; padding: 0; margin: 18px 0 34px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gift-card {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}
.gift-card h3 { margin: 0 0 .4em; color: var(--purple-900); font-size: 1.2rem; }
.gift-card p { margin: 0; color: var(--ink-soft); }
.gift-merch {
  background: var(--pink-100);
  border: 1px solid var(--pink-400);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 34px auto;
}
.gift-merch .eyebrow { color: var(--pink-500); }
.gift-merch h2 { color: var(--purple-900); margin: 0 0 .4em; }
.gift-merch p { color: var(--ink-soft); }
.gift-merch .btn { margin-top: 8px; }
.center { text-align: center; }

/* gifts by age: product cards */
.byage-grid {
  display: grid; gap: 20px; margin: 20px 0 8px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.byage-card {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.byage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.byage-head {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-700));
  color: var(--cream-100); padding: 18px 22px;
}
.byage-head .age { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.1; }
.byage-head .sub { font-size: .92rem; color: rgba(245, 237, 227, 0.85); margin-top: 3px; }
.byage-body { padding: 14px 22px 8px; display: flex; flex-direction: column; flex: 1; }
.byage-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.byage-item:last-of-type { border-bottom: 0; }
.byage-item .pname { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.byage-item .pname svg { width: 22px; height: 22px; color: var(--purple-500); flex: none; }
.price-badge {
  background: var(--pink-100); color: var(--purple-800);
  font-weight: 600; font-size: .85rem; padding: 3px 11px; border-radius: 999px; white-space: nowrap;
}
.byage-card .btn-block { margin: 8px 22px 22px; width: auto; }
.breed-hero-art {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-200);
}
.breed-hero-art img { display: block; width: 100%; height: auto; }

/* ---------- breed body ---------- */
.breed-body { padding: 8px 0 8px; }
.breed-body section { margin: 0 0 30px; }
.breed-body h2 {
  font-size: 1.5rem;
  color: var(--purple-900);
  margin: 0 0 .4em;
}
.breed-body p { font-size: 1.05rem; }

/* ---------- indicators card ---------- */
.ind-card {
  background: var(--cream-200);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 8px;
}
.ind-title {
  font-weight: 600;
  color: var(--purple-800);
  margin: 0 0 12px;
  font-size: .95rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ind-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.ind-row:last-of-type { border-bottom: 0; }
.ind-name { color: var(--ink-soft); font-weight: 500; }
.stars { color: var(--pink-500); letter-spacing: 2px; font-size: 1.05rem; }
.ind-note { margin: 12px 0 0; }

/* ---------- breed-mixer teaser ---------- */
.mixer-teaser {
  background: linear-gradient(180deg, var(--purple-800), var(--purple-900));
  color: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: 44px 0 40px;
  margin: 20px 0 40px;
}
.mixer-teaser .eyebrow { color: var(--pink-400); }
.mixer-teaser .section-title { color: var(--cream-100); }
.mixer-intro {
  color: rgba(245, 237, 227, 0.82);
  max-width: 60ch;
  margin: 14px auto 26px;
  text-align: center;
  font-size: 1.05rem;
}
.cross-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 22px;
  justify-content: center;
  margin: 0 auto 24px;
}
.cross-card {
  margin: 0;
  background: var(--cream-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cross-card img { display: block; width: 100%; height: auto; background: var(--cream-200); }
.cross-card figcaption {
  padding: 10px 12px;
  font-size: .92rem;
  color: var(--purple-800);
  text-align: center;
  font-weight: 500;
}
.mixer-link { margin: 6px 0 22px; text-align: center; }
.mixer-link a {
  color: var(--cream-100);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mixer-link a:hover { color: var(--pink-400); }
.mixer-cta { display: flex; justify-content: center; }

/* ---------- related ---------- */
.related { margin: 8px 0 40px; }
.related h2 { font-size: 1.35rem; color: var(--purple-900); margin: 0 0 .5em; }
.related-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-list li a,
.related-list li span {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream-200);
  font-size: .95rem;
  text-decoration: none;
  color: var(--purple-800);
}
.related-list li a:hover { background: var(--purple-50); border-color: rgba(46, 26, 90, 0.28); }
.related-list li span.muted { color: var(--muted); background: transparent; }
.back-hub a { color: var(--purple-700); font-weight: 600; text-decoration: none; }
.back-hub a:hover { text-decoration: underline; }

/* ---------- hub ---------- */
.hub-hero { padding: 18px 0 10px; }
.hub-hero .lede { color: var(--ink-soft); max-width: 62ch; margin-inline: auto; }
.hub-grid-wrap { padding: 20px 0 50px; }
.breed-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.breed-tile {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.breed-tile a { display: block; text-decoration: none; color: inherit; }
.breed-tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cream-200); }
.breed-tile .bt-name { display: block; font-weight: 600; color: var(--purple-900); padding: 12px 14px 2px; }
.breed-tile .bt-origin { display: block; padding: 0 14px 14px; }
.breed-tile a:hover { }
.breed-tile:has(a:hover) { transform: translateY(-3px); box-shadow: var(--shadow); }
.breed-tile.is-soon { background: var(--cream-200); box-shadow: none; opacity: .72; }
.breed-tile.is-soon .bt-inner { display: block; padding: 16px 14px; }
.breed-tile.is-soon .bt-name { padding: 0 0 2px; color: var(--ink-soft); }
.breed-tile.is-soon .bt-origin { padding: 0; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .breed-hero { grid-template-columns: 1fr; gap: 22px; }
  .breed-hero-art { order: -1; }
  .cross-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
