/* ============================================
   ReadPuppy Breed Profiles — breed.css ?v=1.0
   Public breed-specific training guides
   ============================================ */

/* ── Breed Index — Hero + Directory ───────────────────────── */
.breed-hero {
  background: linear-gradient(160deg, #0F1E1D 0%, #1E3835 60%, #162E2B 100%);
  padding: 56px 0 48px;
  text-align: center;
  color: #fff;
}
.breed-hero__title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 10px;
}
.breed-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Filter bar */
.breed-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 8px;
}
.breed-filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.15s;
}
.breed-filter-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}
.breed-filter-btn.is-active {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

/* ── Breed Card Grid (index) ──────────────────────────────── */
.breed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 0 60px;
}

.breed-card {
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.breed-card:hover {
  border-color: var(--rp-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.breed-card.is-hidden { display: none; }

.breed-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.breed-card__group {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rp-muted-light);
  margin-bottom: 6px;
}
.breed-card__name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--rp-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}
.breed-card__stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.breed-card__stat {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--rp-bg-alt);
  color: var(--rp-muted);
}
.breed-card__excerpt {
  font-size: 0.82rem;
  color: var(--rp-muted);
  line-height: 1.55;
  flex: 1;
}

/* ── Single Breed Profile ─────────────────────────────────── */
.breed-profile {
  padding-bottom: 64px;
}

/* Profile header */
.breed-profile__header {
  background: linear-gradient(160deg, #0F1E1D 0%, #1E3835 100%);
  padding: 48px 0 40px;
  color: #fff;
}
.breed-profile__header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.breed-profile__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.breed-profile__breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.breed-profile__breadcrumb a:hover { color: rgba(255,255,255,0.8); text-decoration: none; }
.breed-profile__breadcrumb-sep { margin: 0 6px; }
.breed-profile__name {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 6px;
}
.breed-profile__group {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

/* Stats bar */
.breed-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.breed-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  text-align: center;
  min-width: 90px;
}
.breed-stat__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.breed-stat__dots {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.breed-stat__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.breed-stat__dot.is-filled {
  background: #10B981;
}
.breed-stat__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

/* Profile body */
.breed-profile__body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Content sections */
.breed-section {
  margin-top: 40px;
}
.breed-section__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rp-muted-light);
  margin-bottom: 12px;
}
.breed-section__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--rp-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}
.breed-section__text {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--rp-mid);
  margin-bottom: 16px;
}

/* Topic modification cards */
.breed-topics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.breed-topic-card {
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s;
}
.breed-topic-card.is-open {
  border-color: var(--rp-purple-mid);
}
.breed-topic-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  background: var(--rp-white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rp-dark);
  transition: background 0.12s;
  gap: 12px;
}
.breed-topic-card__header:hover { background: var(--rp-bg); }
.breed-topic-card__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.breed-topic-card__name { flex: 1; }
.breed-topic-card__arrow {
  font-size: 0.75rem;
  color: var(--rp-muted-light);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.breed-topic-card.is-open .breed-topic-card__arrow {
  transform: rotate(180deg);
}
.breed-topic-card__body {
  display: none;
  padding: 4px 18px 18px;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--rp-mid);
}
.breed-topic-card.is-open .breed-topic-card__body {
  display: block;
}
.breed-topic-card__cta {
  display: inline-block;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rp-purple);
  text-decoration: none;
}
.breed-topic-card__cta:hover {
  text-decoration: underline;
}

/* Game recommendations */
.breed-games {
  margin-top: 16px;
}
.breed-games__table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
}
.breed-games__table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rp-muted-light);
  padding: 10px 14px;
  border-bottom: 2px solid var(--rp-border);
}
.breed-games__table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rp-border);
  color: var(--rp-mid);
  line-height: 1.5;
  vertical-align: top;
}
.breed-games__tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
}
.breed-games__tag--yes {
  background: var(--rp-green-light);
  color: var(--rp-green-text);
}
.breed-games__tag--limit {
  background: var(--rp-amber-light);
  color: var(--rp-amber-text);
}
.breed-games__tag--avoid {
  background: var(--rp-red-light);
  color: var(--rp-red-text);
}

/* Common issues */
.breed-issues {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.breed-issue {
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-left: 3px solid var(--rp-amber);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.breed-issue__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rp-dark);
  margin-bottom: 4px;
}
.breed-issue__desc {
  font-size: 0.85rem;
  color: var(--rp-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.breed-issue__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rp-purple);
  text-decoration: none;
}
.breed-issue__link:hover { text-decoration: underline; }

/* CTA — same pattern as KB */
.breed-cta {
  background: linear-gradient(135deg, #0F1E1D, #1E3835);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  color: #fff;
  text-align: center;
}
.breed-cta__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.breed-cta__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.breed-cta__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .breed-hero { padding: 40px 0 36px; }
  .breed-hero__title { font-size: 1.8rem; }
  .breed-grid { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 48px; }
  .breed-profile__name { font-size: 1.8rem; }
  .breed-profile__header { padding: 36px 0 32px; }
  .breed-stats { gap: 10px; }
  .breed-stat { min-width: 80px; padding: 8px 12px; }
  .breed-games__table { font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .breed-hero__title { font-size: 1.5rem; }
  .breed-profile__name { font-size: 1.5rem; }
  .breed-filters { gap: 6px; }
  .breed-filter-btn { font-size: 0.72rem; padding: 6px 12px; }
}
