/* Kennel groups and page introduction */
section.kennel { margin-top: var(--space-5); }

/* Page-specific hero crop */
.header-image img { object-position: center 28%; }

.page-intro { margin-bottom: 0; text-align: center; }
.page-intro > p { width: min(100%, 54rem); margin-inline: auto; text-align: center; }

/* Kennel group headings */
.kennel-title {
  margin: 0 0 var(--space-4);
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-brand);
  color: var(--color-text);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

/* Person cards */
.kennel-person {
  display: grid;
  margin-bottom: var(--space-4);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.person-description {
  order: 2;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--color-text-muted);
  text-align: left;
}

.person-description p { margin: 0; }

.person-name {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--color-text);
  font-family: inherit;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.image-container { order: 1; width: 100%; }

.person-image {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  border: 0;
  object-fit: cover;
}

/* Responsive adjustments */
@media (min-width: 48rem) {
  .kennel-person {
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
    align-items: stretch;
  }

  .kennel-person:nth-child(even) .image-container { order: 3; }
  .kennel-person:nth-child(even) .person-description { order: 2; }
  .person-description { display: flex; flex-direction: column; justify-content: center; }
}

@media (max-width: 30rem) {
  .kennel-title { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
}
