/* ============================================================
   OUR PET PAGE
   ============================================================ */

/* ---- Hero: mascot logo beside the page title ---- */
.pet-hero {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-md);
  text-align: left;
}
.pet-hero img {
  width: 140px;
  height: auto;
  flex-shrink: 0;
  /* nudge down 1.5x the height of the subtext line, so it doesn't
     just sit flush with its baseline */
  transform: translateY(32px);
}
.pet-hero-text h1 { margin-bottom: var(--space-xs); }
.pet-hero-text p { font-size: var(--text-lg); color: var(--color-text-muted); margin: 0; }

@media (max-width: 560px) {
  .pet-hero { flex-direction: column; text-align: center; }
  .pet-hero img { width: 112px; transform: none; }
}

/* ---- Photo width split between the link-card (480px) and the prose
   column (720px) it sits in ---- */
.pet-photo {
  max-width: 600px;
  margin: var(--space-lg) auto;
}
/* the shared .page-header adds its own top padding, which would double
   up with this figure's bottom margin when it leads the page — drop it
   so the gap above "Our Pet" matches the gap below the picado banner */
.pet-photo + .page-header {
  padding-top: 0;
}
.pet-photo img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.pet-photo figcaption {
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

/* ---- Small codex illustration, floated beside its paragraph ---- */
.pet-figure-inline {
  float: right;
  width: 200px;
  margin: 0 0 var(--space-sm) var(--space-md);
}
.pet-figure-inline img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.pet-figure-inline figcaption {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 560px) {
  .pet-figure-inline {
    float: none;
    width: 60%;
    margin: 0 auto var(--space-md);
  }
}
