/* =============================================================
   Whisker & Woof — Meet Our Vets page
   Imported from the "Our Vets v2" Claude Design.

   v2 is built on the .ads design system rather than the zp- one,
   so this file loads ON TOP OF assets/css/ads-landing.css, which
   supplies the tokens, .wrap / section padding, heading style,
   .ads-split / .rev, .ads-trust / .logos, .wwb and .wwlink.

   Only the vets-specific rules live here — the contents of the
   design's inline <style> block, scoped under .our-vets-v2 so
   they can never reach an actual ads landing page.
   ============================================================= */

/* ---------------- Hero ---------------- */
/* The theme header is a transparent overlay, so the hero keeps generous top
   padding to clear it; the dark background photo carries the header. */
.our-vets-v2 .vets-hero {
  padding: 170px 56px 80px;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.our-vets-v2 .vets-hero .bg img { object-position: 50% 35%; }

.our-vets-v2 .vets-hero h1 {
  font-size: clamp(32px, 3.6vw, 46px);
  color: #fff;
  max-width: 18em;
}

.our-vets-v2 .vets-hero h1 em { color: #fff; }

.our-vets-v2 .vets-hero .lead {
  max-width: 36em;
  margin-top: 22px;
  color: var(--text-mute);
  font-size: 17px;
}

.our-vets-v2 .vets-hero .actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------------- Our approach ---------------- */
.our-vets-v2 .vets-approach .ads-split { gap: 64px; align-items: start; }
.our-vets-v2 .vets-approach h2 { margin-bottom: 0; }
.our-vets-v2 .vets-approach .lead { max-width: none; font-size: 17px; }

/* ---------------- Individual vet ---------------- */

/* ads-landing.css centres .ads-split columns. Now the portrait is a fixed
   ratio it is shorter than the bio beside it, so centring left it floating
   mid-way down; top-align both columns instead. */
.our-vets-v2 .vet .ads-split { align-items: start; }

.our-vets-v2 .vet .lead { max-width: none; }

/* The bio comes from post_content, so its paragraphs cannot carry a class. */
.our-vets-v2 .vet .bio p {
  font-size: 16px;
  line-height: 1.6;
  max-width: none;
}

.our-vets-v2 .vet .letters {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  margin: 0 0 4px;
}

.our-vets-v2 .vet .role {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  color: #B07B1F;
  margin: 0 0 22px;
}

.our-vets-v2 .vet.dark .role { color: var(--gold); }
.our-vets-v2 .vet.dark .letters { color: #fff; }
.our-vets-v2 .vet.dark .lead,
.our-vets-v2 .vet.dark .bio p { color: var(--text-mute); }

.our-vets-v2 .vet h2 { margin-bottom: 8px; }
.our-vets-v2 .vet .wwlink { margin-top: 6px; }
.our-vets-v2 .cream .wwlink { color: var(--text-dark); border-color: var(--text-dark); }

/* Portrait: real photo, or the brand monogram centred in a box.
 *
 * Every portrait shares one fixed aspect ratio so all vets' images are exactly
 * the same size. ads-landing.css sets `height:100%` and `min-height:380px` on
 * .ads-split img.photo / .photo — inside a grid row that lets the image stretch
 * to match a tall text column and the aspect ratio never takes effect, so both
 * are reset here. */
.our-vets-v2 .vet .photo,
.our-vets-v2 .vet img.photo,
.our-vets-v2 .vet .ph {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1.15;
}

.our-vets-v2 .vet img.photo { object-fit: cover; display: block; }

/* The placeholder always sits on the dark ground, on light and dark sections
   alike — the gold monogram has far more presence on navy than on cream. */
.our-vets-v2 .vet .ph {
  background: var(--navy-soft);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 38% is the size the v2 design sets for the monogram inside the box. */
.our-vets-v2 .vet .ph img { width: 38%; height: auto; display: block; opacity: 0.9; }

/* ---------------- Areas of speciality ---------------- */
.our-vets-v2 .vet .spec { margin: 6px 0 30px; }

.our-vets-v2 .vet .spec h3 {
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 12px;
}

.our-vets-v2 .vet .spec ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.our-vets-v2 .vet .spec li {
  font-size: 14.5px;
  color: var(--text-dark-mute);
  padding: 6px 0;
  border-top: 1px solid #e3e0da;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.our-vets-v2 .vet .spec li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #B07B1F;
  margin-top: 9px;
}

.our-vets-v2 .vet.dark .spec h3 { color: #fff; }
.our-vets-v2 .vet.dark .spec li { color: var(--text-mute); border-color: var(--line-soft); }
.our-vets-v2 .vet.dark .spec li::before { background: var(--gold); }

/* ---------------- Accreditations ---------------- */
.our-vets-v2 .ads-trust.acc { padding: 64px 56px; }

.our-vets-v2 .ads-trust.acc .cap {
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------- Closing CTA ---------------- */
.our-vets-v2 .vets-cta { text-align: center; }
.our-vets-v2 .vets-cta h2 { color: var(--gold); }

.our-vets-v2 .vets-cta .lead {
  margin: 0 auto 32px;
  max-width: 34em;
  font-size: 17px;
}

.our-vets-v2 .vets-cta .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .our-vets-v2 .vets-hero { padding: 150px 24px 64px; }
  .our-vets-v2 .ads-trust.acc { padding: 48px 24px; }
  .our-vets-v2 .vet .spec ul { grid-template-columns: 1fr; }

  /* ads-landing.css switches .ads-split .photo to 16/10 here, which would make
     the portraits a different shape on mobile. Hold the single ratio instead. */
  .our-vets-v2 .vet .photo,
  .our-vets-v2 .vet img.photo,
  .our-vets-v2 .vet .ph {
    aspect-ratio: 1 / 1.15;
    min-height: 0;
  }
}

/* Navy variant of the accreditations band. ads-landing.css defines
   `.ads-trust.navy` (0,2,0), which loses on specificity to
   `.ads section.ads-trust` (0,2,1), so it has to be restated here. */
.our-vets-v2 section.ads-trust.acc.navy {
  background: var(--navy);
  border-bottom-color: var(--line-soft);
}

.our-vets-v2 section.ads-trust.acc.navy .cap { color: var(--text-mute); }
