/*
 * Frisian Orchard — Pedigree wrappers for litter/mating pages.
 */

.fo-pedigree-couple-section {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.fo-pedigree-couple {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 0.75rem;
}

.fo-pedigree-couple__lineage {
  min-width: 0;
}

.fo-pedigree-couple__title {
  margin: 0 0 0.5rem;
  font-family: var(--fo-font-serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.fo-pedigree-couple .bb-pedigree {
  margin: 0;
}

/* Keep pedigree readable in dark contexts */
.fo-bb-page .fo-pedigree-couple .bb-pedigree-chart,
.fo-bb-list-page .fo-pedigree-couple .bb-pedigree-chart {
  background: rgba(255, 255, 255, 0.02);
}

.fo-bb-page .fo-pedigree-couple .bb-pedigree-col,
.fo-bb-list-page .fo-pedigree-couple .bb-pedigree-col {
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 1100px) {
  .fo-pedigree-couple {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}
