.pet-section { padding: 55px 0; }
.pet-section:nth-of-type(odd) { background: #f8f8f8; }

.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 30px; }
.section-heading h2 { color: #005d7b; font-size: 2rem; }
.section-heading p { color: #666; }

.filter-nav { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.filter-nav a { background: #fff; color: #005d7b; padding: 8px 14px; border-radius: 5px; text-decoration: none; font-weight: 600; }

.pet-category { margin-top: 34px; }
.pet-category + .pet-category { margin-top: 50px; }
.category-title { color: #02592f; font-size: 1.5rem; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid #e4ece8; }

.pets__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.pet__card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.1); }

/* Keep the full animal visible instead of cropping the photo. */
.pet__card img { width: 100%; height: 280px; object-fit: contain; object-position: center; display: block; background: #f3f5f4; }

.pet__info { padding: 20px; }
.pet__info h4 { color: #02592f; font-size: 1.4rem; margin-bottom: 8px; }
.pet__info p { margin: 5px 0; color: #555; }
.status-message { font-style: italic; }
.pet__info .btn { margin-top: 12px; }

@media (max-width: 600px) {
  .section-heading { display: block; }
  .section-heading p { margin-top: 8px; }
  .pet__card img { height: 240px; }
}
