/*
 * ps-animal-services.css  
 * Page-specific styles for the Animal Services department rebuild
 * (landing page + child pages).
 *
 *   THIS FILE       ->  page-specific design.  Every class below is `ps-`.
 * Contents:
 *   1. Page tokens (:root)        5. Programs / feature rows
 *   2. Hero variant               6. Steps, fees, resources, video
 *   3. Shelter info cards         7. Disclaimer / report band
 *   4. Service cards              8. Responsive adjustments
 *                                 9. Accessibility  10. Events  11. Wildlife
 */

/* ==========================================================================
   1. PAGE TOKENS  — Animal Services adds a teal accent over the brand palette
   ========================================================================== */
:root {
  --ps-blue:    var(--brand-blue, #1a3a6b);
  --ps-teal:    #1a6b7a;            /* Animal Services signature accent */
  --ps-teal-dk: #14525e;
  --ps-orange:  var(--vims-accent, #f5a800);
  --ps-green:   #2e7d32;
  --ps-red:     #b3261e;
  --ps-surface: var(--neutral-gray-light, #f1f1f2);
  --ps-text:    var(--neutral-gray-dark, #4d515f);
  --ps-radius:  10px;

  /* Sub-nav depends on Alert MoVal tokens that aren't loaded on these pages.
     Map them to the Animal Services palette so the sub-nav renders correctly. */
  --alert-text-muted: #4d515f;
  --alert-blue:       var(--ps-teal);
  --alert-red:        var(--ps-red);
  --alert-amber:      var(--ps-orange);
  --alert-transition: 0.2s ease;

  /* Type pairing — Combo 2: Poppins (display) + Source Sans 3 (body).
     Overrides the shared --font-display token so every .hero-title,
     .section-title and .ps-* heading on these pages picks up Poppins. */
  --font-display: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Source Sans 3', 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

/* Apply the Combo 2 body face across the Animal Services pages */
body,
.largish,
.ps-info-card p,
.ps-service-body p { font-family: var(--font-body); }


/* ==========================================================================
   1b. DESKTOP NAV DROPDOWNS  (nav/animal-srvc-menu.html, .nav.as-nav)
   Group labels are buttons styled to match the mega-menu links in
   js/mega-menu1/mmenu-dwp.css. js/mv-init.js shows/hides the sub-<ul>
   with slideDown()/hide(), so it starts at display:none here.
   ========================================================================== */
.as-nav > li { position: relative; }
.as-nav > li > .as-nav-label {
  display: flex; align-items: center; gap: 0.6rem;
  height: 50px; padding: 0 20px; margin: 0;
  background: transparent; border: 0; border-radius: 0; cursor: pointer;
  font-family: 'Lato', Arial, sans-serif; font-weight: 400; font-size: 1.15em;
  color: #ddd; text-shadow: 0 0 2px rgba(0,0,0,.55);
  transition: all .3s ease;
}
.as-nav-label i { font-size: 0.7em; transition: transform .2s ease; }
.as-nav > li:hover > .as-nav-label,
.as-nav-label[aria-expanded="true"] {
  background-color: #e9e9e9; color: #35383c; text-shadow: none;
}
.as-nav-label[aria-expanded="true"] i { transform: rotate(180deg); }
.as-nav-label:focus-visible,
.as-nav > li > a:focus-visible,
.as-nav > li > ul a:focus-visible { outline: 3px solid var(--ps-orange); outline-offset: -3px; }

.as-nav > li > ul {
  display: none; position: absolute; top: 50px; left: 0; z-index: 1000;
  min-width: 230px; padding: 0.6rem 0; margin: 0;
  background: #fff; border-top: 3px solid var(--ps-teal);
  border-radius: 0 0 var(--ps-radius) var(--ps-radius);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.as-nav > li:last-child > ul { left: auto; right: 0; }   /* keep on-screen at the right edge */
.as-nav > li > ul a {
  display: block; padding: 1rem 2rem; white-space: nowrap;
  font-family: 'Lato', Arial, sans-serif; font-size: 1.05em; color: var(--ps-blue);
}
.as-nav > li > ul a:hover,
.as-nav > li > ul a:focus-visible { background: rgba(26,107,122,0.10); color: var(--ps-teal-dk); }
.as-nav > li > ul a[aria-current="page"] { font-weight: 700; color: var(--ps-teal-dk); }


/* ==========================================================================
   2. HERO VARIANT  (overrides the base .hero from main-style.css)
   --------------------------------------------------------------------------
   PLACEHOLDER: the gradient stands in for a department banner photo.
   Swap the background-image url below to go live.
   ========================================================================== */
.hero--ps { min-height: 500px; }

.hero-bg--ps { 
  background-position: top;
}

.hero-bg--ps.petoftheweek {
	background-image: url("../img/heros/Pet-of-the-Week-Banner.jpg"); 
}

.hero-bg--ps.index {
	background-image: url("../img/heros/Animal-Services-Hero-Banner.jpg");
}

.hero-bg--ps.burros {
	background-image: url("../img/heros/Protect-Burros-Banner.jpg");
}

.hero-bg--ps.volunteer {
	background-image: url("../img/heros/AS-VolunteerDonate-HeroBanner.jpg");
	background-position: right top;
}

.hero-bg--ps.adoptions-hero {
	background-image: url("../img/heros/as_herobanner.jpg");
	background-size: contain;
   	background-position: right;
}


.hero-bg--ps.licensing-hero {
  background-image: url("../img/heros/AS-DogLicense-HeroBanner.jpg");
}

.hero-bg--ps.field-services {
	background-image: url("../img/heros/AS-FieldServices-HeroBanner.jpg");
}

.hero-bg--ps.lostpets {
	background-image: url("../img/heros/AS-LostPets-HeroBanner.jpg");
		background-position: right bottom;
}

.hero-bg--ps.clinic {
	background-image: url("../img/heros/AS-AnimalClinic-HeroBanner.jpg");
		background-position: left top;
}

.hero-bg--ps.partners {
	background-image: url("../img/heros/AS-Rescue-HeroBanner.jpg");
		background-position: right top;
}

.hero-bg--ps.tnr {
	background-image: url("../img/heros/AS-TNR-HeroBanner.jpg");
		background-position: right top;
}

.hero-bg--ps.vets {
	background-image: url("../img/heros/AS-Vets-HeroBanner.jpg");
		background-position: left top;
}


.hero-bg--ps.microchips {
	background-image: url("../img/heros/AS-Microchips-HeroBanner.jpg");
}

.hero-bg--ps.disaster-prep {
	background-image: url("../img/heros/AS-DisasterPrep-HeroBanner.jpg");
}

.hero-bg--ps.spay-neuter {
	background-image: url("../img/slides/2026_AS_Low-Cost-Spay-Neuter-FS.jpg");
	background-position: right top;
}

/* Intro paragraph under a section title — keeps line length readable */
.ps-intro { max-width: 840px; }


.hero--ps .hero-title { margin-top: 0; }
.hero--ps .hero-subtitle { color: var(--ps-orange); }

.hero-overlay {
  content: '';
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--brand-blue) 50%, transparent);
  clip-path: polygon(0% 0%,0% 100%,50% 100%,30% 0% );
  pointer-events: none;
}

.hero-overlay.adoptions {
	 background-color: color-mix(in srgb, var(--brand-blue) 100%, transparent);
}

/* ==========================================================================
   2b. HERO SLIDER  (superslides carousel in place of the static hero)
   ========================================================================== */
.hero-slider { position: relative; height: 640px; overflow: hidden; background: var(--ps-blue);}
.hero-slider #slides,
.hero-slider .slides-container,
.hero-slider .slides-container li { height: 100%; }
.hero-slider .slides-container img { width: 100%; height: 100%;  }
.hero-slider #slides {background-position: top;}
/* Caption overlay (Pet of the Week slide) — semi-opaque panel on the left
   with a diagonal right edge, like the homepage slider. The tinted panel is
   a clipped ::before layer so the text itself is never clipped. */
.hero-slider .slide-caption {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 4;
  width: min(48%, 540px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem clamp(1.8rem, 4vw, 4rem);
  color: #fff; text-align: left;
}
.hero-slider .slide-caption::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, rgba(14,30,70,0.72), rgba(14,30,70,0.9));
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero-slider .slide-caption-inner { position: relative; z-index: 1; margin-left: 4rem; margin-right: 3.2rem; }
.hero-slider .slide-caption .section-eyebrow { color: var(--ps-orange); margin-bottom: 0.3rem; }
.hero-slider .slide-caption h2 {
  font-family: var(--font-display, sans-serif);
  font-size: clamp(2.6rem, 3.2vw, 3.8rem); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; color: #fff; margin: 0 0 0.5rem; line-height: 1.05;
}
.hero-slider .slide-caption p { font-size: 1.55rem; line-height: 1.6; color: rgba(255,255,255,0.92); margin: 0 0 1.1rem; }

/* Controls layer — covers the slider so the arrows and pause button can be
   pinned over the image. (superslides.css normally does this; it isn't
   loaded on these pages.) pointer-events lets clicks reach the caption. */
.hero-slider .slides-navigation {
  position: absolute; inset: 0; z-index: 5; margin: 0;
  pointer-events: none;
}
.hero-slider .slides-navigation a,
.hero-slider .slides-navigation button { pointer-events: auto; }
.hero-slider .slides-pagination { position: absolute; left: 0; width: 100%; padding: 0; }   /* mv-main.css adds padding-right:15px */
.hero-slider .slides-pagination a {
  display: inline-block; vertical-align: middle;
  width: 12px; height: 12px; margin: 0 4px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.92); background: transparent;
  overflow: hidden; text-indent: -999px; box-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.hero-slider .slides-pagination a.current { background: rgba(255,255,255,0.92); }
.hero-slider .slides-pagination a:focus-visible { outline: 3px solid var(--ps-orange); outline-offset: 2px; }

/* Prev / next arrows — paw-shaped translucent background with the arrow on top */
.hero-slider .slides-navigation a {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 61px; height: 61px; background: none; border-radius: 0;
  color: #fff; display: block; font-size: 1.8rem;
}
.hero-slider .slides-navigation a::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: rgba(255,255,255,0.92);
  -webkit-mask: url("../img/paw.svg") center / contain no-repeat;
          mask: url("../img/paw.svg") center / contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
  transition: background 0.2s ease;
}
.hero-slider .slides-navigation a:hover::before { background: #fff; }
.hero-slider .slides-navigation a i {
  position: absolute; z-index: 1;
  left: 50%; top: 68%; transform: translate(-50%, -50%);
}
.hero-slider .slides-navigation a.prev { left: 16px; }
.hero-slider .slides-navigation a.next { right: 16px; }
.hero-slider .slides-navigation a:focus-visible,
.hero-slider .slides-pause:focus-visible { outline: 3px solid var(--ps-orange); outline-offset: 2px; }

/* Pause / play — WCAG 2.2.2: auto-advancing content needs a way to stop it */
.hero-slider .slides-pause {
  position: absolute; right: 16px; bottom: 14px;
  width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.92); color: var(--ps-blue); font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35); transition: background 0.2s ease;
}
.hero-slider .slides-pause:hover { background: #fff; }

/* Pagination dots sit above the caption gradient */
.hero-slider .slides-pagination { z-index: 5; bottom: 14px; text-align: center; }

@media (max-width: 768px) {
  .hero-slider { height: 380px; }
  .hero-slider .slide-caption {
    width: 100%; top: auto; bottom: 0; justify-content: flex-end;
    padding: 2rem 1.6rem 4.4rem;   /* bottom room for the pagination dots */
  }
  /* Caption spans the full width here, so move pause out of its way */
  .hero-slider .slides-pause { bottom: auto; top: 12px; right: 12px; }
  .hero-slider .slide-caption::before {
    clip-path: none;
    background: linear-gradient(to top, rgba(14,30,70,0.9) 25%, rgba(14,30,70,0));
  }
  .hero-slider .slide-caption p { display: none; }
}
section.hero-slider {
	padding: 0;
}

/* ==========================================================================
   3. RESPONSIVE GRID + PLACEHOLDER PHOTO BLOCK
   ========================================================================== */
.ps-grid { display: grid; gap: 1.6rem; }
.ps-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ps-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ps-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ps-grid.pad-top { margin-top: 1.5rem; }

/* Styled placeholder for a future photo. Replace with a real <img>. */
.ps-photo {
  position: relative;
  width: 100%;
  min-height: 300px;
  max-height: 300px;
  aspect-ratio: 1 / 1;
  border-radius: var(--ps-radius);
  background: linear-gradient(135deg, #dfe6ea 0%, #c7d3d8 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: white;
  overflow: hidden;
  border: 1px dashed rgba(26,107,122,0.35);
  background-repeat: no-repeat;
  background-size: cover;
  	background-position: center;
}
.ps-photo i { font-size: 3.6rem;}
.ps-photo span {
  margin-top: 0.4rem; font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ps-photo--tall { aspect-ratio: 4 / 5; }
.ps-photo--wide { aspect-ratio: 21 / 9; }


.ps-photo.burro-bg {
	background-image: url("../img/thumbnail-burros.webp");
	background-position: bottom;
}

.tnr-bg {
	background-image: url("../img/thumbnail-TNR.webp");

}

.donate-bg {
	background-image: url("../img/thumbnail-donate.webp");

}

/* ==========================================================================
   3b. SHELTER INFO CARDS  (location / hours / contact)
   ========================================================================== */
.ps-info-card {
  background: var(--vims-white, #fff);
  border-radius: var(--ps-radius);
  border-top: 4px solid var(--ps-teal);
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  padding: 1.7rem 1.6rem 1.8rem;
  height: 100%;
}
.ps-info-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.ps-info-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(26,107,122,0.10); color: var(--ps-teal);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.ps-info-card h3 {
  font-family: var(--font-display, sans-serif);
  font-size: 1.9rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--ps-blue); margin: 0;
}
.ps-info-card p { font-size: 1.45rem; line-height: 1.6; color: var(--ps-text); margin: 0 0 0.6rem; }
.ps-info-card a { font-weight: 700; }
.ps-info-list { list-style: none; margin: 0; padding: 0; }
.ps-info-list li {
  font-size: 1.45rem; line-height: 1.55; color: var(--ps-text);
  padding: 0.35rem 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ps-info-list li:last-child { border-bottom: none; }
.ps-info-list strong { color: var(--ps-blue); }


/* ==========================================================================
   4. SERVICE CARDS  (the four headline services on the landing page)
   ========================================================================== */
.ps-service-card {
  display: flex; flex-direction: column;
  background: var(--vims-white, #fff);
  border-radius: var(--ps-radius);
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  overflow: hidden;
  border-bottom: 4px solid var(--ps-teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ps-service-card:hover { transform: translateY(-4px); box-shadow: var(--vims-shadow-md, 0 6px 20px rgba(0,0,0,0.13)); }
.ps-service-card .ps-photo { border-radius: 0; border: none; aspect-ratio: 3 / 2; }
.ps-service-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.ps-service-body h3 {
  font-family: var(--font-display, sans-serif);
  font-size: 1.95rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; color: var(--ps-blue); margin: 0 0 0.4rem;
}
.ps-service-body p { font-size: 1.4rem; line-height: 1.55; color: var(--ps-text); margin: 0 0 1.2rem; flex: 1; }
.ps-service-btn {
  align-self: center;
  display: inline-block;
  background: var(--ps-teal); color: #fff;
  font-family: var(--font-display, sans-serif);
  font-size: 1.45rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; padding: 0.7rem 1.6rem; border-radius: 999px;
  transition: background 0.2s ease;
}

section.cta-1-potw .ps-service-btn{
  align-self: flex-start;
  display: inline-block;
  background: var(--ps-teal); color: #fff;
  font-family: var(--font-display, sans-serif);
  font-size: 1.45rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; padding: 0.7rem 1.6rem; border-radius: 999px;
  transition: background 0.2s ease;
}

.ps-service-btn:hover { background: var(--ps-teal-dk); color: #fff; text-decoration: none; }

/* Service photos: the image lives on a ::before layer so it can zoom on hover
   without moving the icon/label. A lighter wash plus a saturation/contrast
   boost make the photos pop; a soft text-shadow keeps the labels legible. */
.ps-service-card .ps-photo { position: relative; height: 500px; }
.ps-service-card .ps-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: saturate(1.25) contrast(1.08);
  transition: transform 0.45s ease;
}
.ps-service-card:hover .ps-photo::before { transform: scale(1.07); }
.ps-service-card .ps-photo i,
.ps-service-card .ps-photo span {
  position: relative; z-index: 1;
  text-shadow: 0 1px 3px rgba(255,255,255,0.75);
}

.ps-photo.adopt::before {
	background-image:
url('../img/adopt-thumbnail-square.webp');
}
.ps-photo.license::before {
	background-image:
url('../img/license-thumbnail-square.webp');
}
.ps-photo.clinic::before {
	background-image:
url('../img/clinic-thumbnail-square.webp');
}
.ps-photo.lost::before {
	background-image:
url('../img/lost-thumbnail-square.webp');
}

.ps-photo.micro-chip::before {
	background-image:
url('../img/micro-chip-thumbnail-square.webp');
}
/* ==========================================================================
   4b. INLINE LINK
   ========================================================================== */
.ps-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display, sans-serif);
  font-weight: 700; font-size: 1.4rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ps-teal);
  text-decoration: none; margin-top: 0.4rem;
  transition: gap 0.2s ease, color 0.2s ease;
}
.ps-link:hover { gap: 0.7rem; color: var(--ps-teal-dk); text-decoration: underline; }
.ps-link + .ps-link { margin-left: 0; }


/* ==========================================================================
   5. PROGRAM FEATURE ROWS  (TNR, burros, wish list — text + photo)
   ========================================================================== */
.ps-feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: center;
  background: var(--vims-white, #fff);
  border-radius: var(--ps-radius);
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  overflow: hidden;
}
.ps-feature-row + .ps-feature-row { margin-top: 1.8rem; }
.ps-feature-row.is-reversed .ps-feature-text { order: 2; }
.ps-feature-text { padding: 2rem 2.2rem; }
.ps-feature-text h3 {
  font-family: var(--font-display, sans-serif);
  font-size: 2.2rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; color: var(--ps-blue); margin: 0 0 0.6rem;
}
.ps-feature-text p { font-size: 1.45rem; line-height: 1.65; color: var(--ps-text); margin: 0 0 0.8rem; }
.ps-feature-media .ps-photo { border-radius: 0; border: none; height: 100%; aspect-ratio: auto; min-height: 260px; }

/* Big stat used inside the TNR program row */
.ps-stat {
  display: inline-block;
  font-family: var(--font-display, sans-serif);
  font-size: 3.2rem; font-weight: 700; color: var(--ps-teal); line-height: 1;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section.cta-1-potw p {
	color: white;
}
.section.cta-1-potw .section-eyebrow {
	color: var(--vims-accent);
}


/* ==========================================================================
   6a. NUMBERED STEPS  (Lost Pets "what to do" flow)
   ========================================================================== */
.ps-steps { counter-reset: ps-step; display: flex; flex-direction: column; gap: 1.4rem; }
.ps-step {
  position: relative;
  background: var(--vims-white, #fff);
  border-radius: var(--ps-radius);
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  border-left: 5px solid var(--ps-teal);
  padding: 1.5rem 1.6rem 1.5rem 5.2rem;
}
.ps-step::before {
  counter-increment: ps-step; content: counter(ps-step);
  position: absolute; left: 1.2rem; top: 1.4rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ps-teal); color: #fff;
  font-family: var(--font-display, sans-serif); font-weight: 700; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
}
.ps-step h3 {
  font-family: var(--font-display, sans-serif);
  font-size: 1.8rem; font-weight: 700; text-transform: uppercase;
  color: var(--ps-blue); margin: 0 0 0.4rem;
}
.ps-step p { font-size: 1.42rem; line-height: 1.6; color: var(--ps-text); margin: 0 0 0.6rem; }

/* ==========================================================================
   6b. FEE TABLE  (license + adoption fee schedules)
   ========================================================================== */
.ps-table-wrap {
  background: #fff; border-radius: var(--ps-radius);
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  overflow: hidden;
}
.ps-table { width: 100%; border-collapse: collapse; font-size: 1.45rem; }
.ps-table caption {
  text-align: left; padding: 1.1rem 1.4rem;
  font-family: var(--font-display, sans-serif); font-size: 1.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: #fff; background: var(--ps-teal);
}
.ps-table th, .ps-table td { padding: 0.9rem 1.4rem; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.08); }
.ps-table thead th { background: var(--ps-surface); color: var(--ps-blue); font-weight: 700; }
.ps-table tbody tr:last-child td { border-bottom: none; }
.ps-table td:not(:first-child), .ps-table th:not(:first-child) { text-align: right; }

/* ==========================================================================
   6c. RESOURCE / LINK CARDS  (resources, partners, vet directory)
   ========================================================================== */
.ps-resource-card {
  display: flex; flex-direction: column;
  background: var(--vims-white, #fff);
  border-radius: var(--ps-radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  border-left: 4px solid var(--ps-teal);
  text-decoration: none; color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.ps-resource-card:hover {
  transform: translateY(-3px); text-decoration: none;
  box-shadow: var(--vims-shadow-md, 0 6px 20px rgba(0,0,0,0.13));
  border-left-color: var(--ps-orange);
}
.ps-resource-icon { font-size: 2.2rem; color: var(--ps-teal); margin-bottom: 0.5rem; }
.ps-resource-card h3, .ps-resource-card h4 {
  font-family: var(--font-display, sans-serif);
  font-size: 1.75rem; font-weight: 700; color: var(--ps-blue);
  text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 0.4rem;
}
.ps-resource-card p { font-size: 1.38rem; line-height: 1.55; color: var(--ps-text); margin: 0 0 0.6rem; flex: 1; }

/* Instagram-style post cards (static: photo + caption + link to the post) */
.ps-insta-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--vims-white, #fff);
  border-radius: var(--ps-radius);
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  text-decoration: none; color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.ps-insta-card:hover {
  transform: translateY(-3px); text-decoration: none;
  box-shadow: var(--vims-shadow-md, 0 6px 20px rgba(0,0,0,0.13));
}
.ps-insta-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.ps-insta-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.ps-insta-card h3 {
  font-family: var(--font-display, sans-serif);
  font-size: 1.75rem; font-weight: 700; color: var(--ps-blue);
  text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 0.4rem;
}
.ps-insta-caption {
  font-size: 1.38rem; line-height: 1.55; color: var(--ps-text); margin: 0 0 0.6rem; flex: 1;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.ps-insta-meta { font-size: 1.25rem; color: var(--ps-text); margin: 0 0 0.8rem; }
.ps-insta-cta { font-weight: 700; color: var(--ps-teal-dk); }
a.ps-insta-card:hover .ps-insta-cta { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .ps-insta-card, a.ps-insta-card:hover { transition: none; transform: none; }
}

/* Bulleted helper list inside white cards */
.ps-list { list-style: none; margin: 0; padding: 0; }
.ps-list li {
  position: relative; padding-left: 1.8rem; margin-bottom: 0.6rem;
  font-size: 1.45rem; line-height: 1.6; color: var(--ps-text);
}
.ps-list li::before {
  content: "\f111"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 0.45rem; font-size: 0.6rem; color: var(--ps-teal);
}
.ps-list--check li::before { content: "\f00c"; font-size: 1rem; top: 0.2rem; color: var(--ps-green); }

/* ==========================================================================
   6d. RESPONSIVE VIDEO EMBED
   ========================================================================== */
.ps-video {
  position: relative; width: 100%; max-width: 860px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--ps-radius); overflow: hidden;
  box-shadow: var(--vims-shadow-md, 0 6px 20px rgba(0,0,0,0.13)); background: #000;
}
.ps-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   6e. CALLOUT  (highlighted notice — clinic hours, "call 911", etc.)
   ========================================================================== */
.ps-callout {
  background: var(--vims-white, #fff);
  border-radius: var(--ps-radius);
  border-left: 6px solid var(--ps-orange);
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  padding: 1.6rem 1.8rem; max-width: 760px;
}
.ps-callout--alert { border-left-color: var(--ps-red); margin-top: 60px; }
.ps-callout--teal  { border-left-color: var(--ps-teal); }
.ps-callout h3 {
  font-family: var(--font-display, sans-serif);
  font-size: 1.9rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--ps-blue); margin: 0 0 0.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.ps-callout h3 i { color: var(--ps-orange); }
.ps-callout--alert h3 i { color: var(--ps-red); }
.ps-callout p { font-size: 1.45rem; line-height: 1.6; color: var(--ps-text); margin: 0 0 0.5rem; }
.ps-callout p:last-child { margin-bottom: 0; }

/* Full-width alert band — sits between two .section blocks (e.g. burros
   "See an Injured Burro?"). White on --ps-red is 6.6:1 (WCAG AA). */
.ps-alert-band { background: var(--alert-amber); color: var(--brand-blue); padding: 2.8rem 0; }
.ps-alert-band .container { display: flex; align-items: center; gap: 2rem; }
.ps-alert-band-icon {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-blue); display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: #fff;
}
.ps-alert-band-text { flex: 1 1 auto; }
.ps-alert-band h2 {
  font-family: var(--font-display, sans-serif);
  font-size: 2.2rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; margin: 0 0 0.3rem;
}
.ps-alert-band p { font-size: 1.55rem; line-height: 1.6;  margin: 0; }
.ps-alert-band p + p { margin-top: 0.5rem; }
.ps-alert-band strong {  }
.ps-alert-band-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--brand-blue); color: #fff; font-weight: 700; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none;
  padding: 1rem 2rem; border-radius: 999px;
}
.ps-alert-band a { color: #fff;}
.ps-alert-band-btn:hover,
.ps-alert-band-btn:focus-visible { background: transparent; color: #fff; }
.ps-alert-band-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) {
  .ps-alert-band .container { flex-direction: column; text-align: center; gap: 1.2rem; }
}


/* ==========================================================================
   7. AFTER-HOURS / REPORT BAND  (on the dark blue section)
   ========================================================================== */
.ps-report-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.ps-report-list li {
  font-size: 1.55rem; line-height: 1.6; color: rgba(255,255,255,0.9);
  padding-left: 1.8rem; position: relative;
}
.ps-report-list li::before {
  content: "\f0a1"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 3px; color: var(--ps-orange); font-size: 1.2rem;
}
.ps-report-list a { color: var(--ps-orange); }

/* In-page jump targets sit below the sticky sub-nav */
[id] { scroll-margin-top: 90px; }

/* ==========================================================================
   8. RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 980px) {
  .ps-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero--ps .hero-overlay {
    clip-path: none;
    background: linear-gradient(to bottom, rgba(14,30,70,0.65), rgba(14,30,70,0.95));
  }
  .ps-feature-row, .ps-feature-row.is-reversed { grid-template-columns: 1fr; }
  .ps-feature-row.is-reversed .ps-feature-text { order: 0; }
  .ps-feature-media .ps-photo { min-height: 200px; }
}
@media (max-width: 670px) {
  .ps-grid--2, .ps-grid--3, .ps-grid--4 { grid-template-columns: 1fr; }
}


/* ==========================================================================
   9. ACCESSIBILITY (WCAG AA)
   ========================================================================== */

/* Eyebrow labels: the shared orange (#f5a800) is ~2:1 on light sections.
   Use teal (~6:1) on light backgrounds; the dark-blue band keeps orange. */
.section-eyebrow { color: var(--ps-teal); }
.bk-blue .section-eyebrow { color: var(--ps-orange); }

/* Inline text links must not rely on colour alone (WCAG 1.4.1): underline
   links that sit inside body copy. Button-style .ps-link / .ps-service-btn
   are excluded because they carry their own shape/icon cues. */
.ps-info-card p a,
.ps-feature-text p a,
.ps-callout p a,
.ps-report-list a { text-decoration: underline; }

/* Respect reduced-motion preferences (WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.ps-flex-column {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.plates {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	padding: 4rem;
	max-width: 70%;
   margin: auto;
}

.ps-plate-img {
	margin-right: 5rem;
}

.center {
	justify-content: center;
	margin: auto;
	align-self: center;
}

/* OTHER ADDS */
.cta-1-potw {
	background-image: url("../img/heros/Pet-of-the-Week-Banner.jpg");
	background-size: cover;
}

h2.pill {
  display: inline-block;          /* shrink to fit the text instead of full width */
  padding: 0.4rem 1.2rem;
  background: white;
  color: var(--ps-teal);
  border-radius: 999px;
  margin-left: -10px;
}


/* ==========================================================================
   10. EVENTS  (cards live in nav/animal-srvc-events.html; shown on
      index.html and adoptions.html)
   ========================================================================== */
/* Fixed-width columns so one or two events don't stretch across the page */
/* At most three per row; drops to two, then one, as space runs out */
.ps-event-grid { grid-template-columns: repeat(auto-fill, minmax(max(280px, calc((100% - 3.2rem) / 3)), 1fr)); }
.ps-event-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--vims-white, #fff);
  border-radius: var(--ps-radius);
  box-shadow: var(--vims-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
  border-top: 4px solid var(--ps-orange);
}
.ps-event-card img { display: block; width: 100%; height: auto; aspect-ratio: 500 / 240; object-fit: cover; }
.ps-event-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.ps-event-body .ps-event-date {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  background: var(--ps-teal); color: #fff; border-radius: 999px;
  padding: 0.25rem 1rem; margin: 0 0 0.8rem;
  font-size: 1.3rem; font-weight: 700;
}
.ps-event-card h3 {
  font-family: var(--font-display, sans-serif);
  font-size: 1.9rem; font-weight: 700; color: var(--ps-blue);
  margin: 0;
}
.ps-event-tag { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ps-teal-dk); margin: 0.2rem 0 0.8rem; }
.ps-event-body p { font-size: 1.4rem; line-height: 1.55; color: var(--ps-text); }
.ps-event-body .ps-list { margin-bottom: 0.8rem; }
.ps-event-note { font-size: 1.3rem; font-style: italic; }
.ps-event-body .ps-service-btn { align-self: flex-start; gap: 0.5rem; margin-top: auto; }   /* buttons line up across a row */
/* Only one event: lay it out wide, photo beside the text */
@media (min-width: 768px) {
  .ps-event-grid > .ps-event-card:only-child {
    grid-column: 1 / -1; max-width: 980px; flex-direction: row;
  }
  .ps-event-card:only-child img { width: 48%; flex: 0 0 48%; align-self: center; }   /* keep the whole flyer art visible */
  .ps-event-card:only-child .ps-event-body { padding: 2rem 2.2rem; }
}
@media (max-width: 670px) {
  .ps-event-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   11. WILDLIFE PAGE
   ========================================================================== */
.hero-bg--ps.wildlife {
	/* PLACEHOLDER: reuses the Coyote Hazing slide; its baked-in text is
	   pushed right so it doesn't sit under the page title. Swap for a
	   text-free wildlife banner when one exists. */
	background-image: url("../img/slides/2026_AS_CoyoteHazing-FS.jpg");
	background-position: right center;
}

/* ==========================================================================
   INTERACTIVE STATES (hover / clicked / visited)
   The site-wide link rules in main-style.css and mv-main.css set
   a:visited { color:#033E8E } and a:focus { background:#1B5E9D; color:#fff }.
   Both out-rank the single-class button rules above, so once a button was
   clicked (focus) or visited, its text went navy-on-teal or teal-on-blue.
   These rules pin every state to the component's own palette. Keyboard
   focus still gets the outline from accessibility.css (a:focus-visible).
   Contrast (WCAG AA 4.5:1): white on teal 6.1, white on teal-dk 8.6,
   white on #0f3f48 11.2, teal on white 6.1, brand-blue on white 6.9.
   ========================================================================== */

/* Pill buttons: teal -> darker teal on hover -> deepest teal when pressed */
.ps-service-btn:visited,
.ps-service-btn:focus,
section.cta-1-potw .ps-service-btn:visited,
section.cta-1-potw .ps-service-btn:focus { background: var(--ps-teal); color: #fff; text-decoration: none; }
.ps-service-btn:hover,
section.cta-1-potw .ps-service-btn:hover { background: var(--ps-teal-dk); color: #fff; }
.ps-service-btn:active,
section.cta-1-potw .ps-service-btn:active { background: #0f3f48; color: #fff; }

/* Text links styled as "LEARN MORE >" */
.ps-link:visited,
.ps-link:focus { color: var(--ps-teal); background: transparent; }
.ps-link:hover,
.ps-link:active { color: var(--ps-teal-dk); background: transparent; }

/* Whole-card links keep their white card when clicked */
a.ps-resource-card:visited,
a.ps-resource-card:focus,
a.ps-insta-card:visited,
a.ps-insta-card:focus { background: var(--vims-white, #fff); color: inherit; text-decoration: none; }
a.ps-resource-card:active { border-left-color: var(--ps-teal-dk); }

/* Alert band (yellow): navy pill, inverts to white with navy text on hover.
   Was transparent on hover, leaving white text on yellow (2:1). */
.ps-alert-band-btn:visited,
.ps-alert-band-btn:focus { background: var(--brand-blue); color: #fff; }
.ps-alert-band-btn:hover,
.ps-alert-band-btn:focus-visible { background: #fff; color: var(--brand-blue); }
.ps-alert-band-btn:active { background: #1a3a6b; color: #fff; }
/* Inline links inside the band: white on yellow was 2:1, use deep navy */
.ps-alert-band a:not(.ps-alert-band-btn),
.ps-alert-band a:not(.ps-alert-band-btn):visited,
.ps-alert-band a:not(.ps-alert-band-btn):focus { color: #1a3a6b; background: transparent; text-decoration: underline; font-weight: 700; }
.ps-alert-band a:not(.ps-alert-band-btn):hover { color: #000; }

/* Desktop dropdown links: match hover instead of the global blue box */
.as-nav > li > ul a:visited { color: var(--ps-blue); }
.as-nav > li > ul a:focus,
.as-nav > li > ul a:active { background: rgba(26,107,122,0.10); color: var(--ps-teal-dk); }

/* Jump-to-section links stay put after a click (unless they become active) */
.subnav-link:visited { color: var(--alert-text-muted); }
.subnav-link:focus:not(.is-active) { color: var(--alert-blue); background: rgba(26,107,122,0.06); text-decoration: none; }

/* Plain text links in page content: the global hover is orange (#C95100,
   3.99:1 on the gray sections) and the global focus is a blue box. Use the
   teal family instead: dark teal + underline on hover and after a click. */
main a:not([class]):hover,
main a:not([class]):focus,
main a:not([class]):active { color: var(--ps-teal-dk); background: transparent; text-decoration: underline; }

/* Pet of the Week (content in nav/animal-srvc-potw.html)
   The first card in "Seen on Instagram" is this week's pet: gold frame +
   a "Pet of the Week" tag over the photo (colour is never the only cue).
   Every card carries the tag; it only shows on the first one. */
.ps-insta-grid { list-style: none; margin-left: 0; padding-left: 0; }
.ps-insta-grid > li { margin: 0; display: flex; }
.ps-insta-grid > li > .ps-insta-card { flex: 1; }
.ps-insta-photo { position: relative; }
.ps-potw-flag { display: none; }
.ps-insta-grid > li:first-child .ps-insta-card {
  box-shadow: 0 0 0 4px var(--ps-orange), var(--vims-shadow-md, 0 6px 20px rgba(0,0,0,0.13));
}
.ps-insta-grid > li:first-child .ps-potw-flag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  position: absolute; top: 1.2rem; left: 1.2rem; margin: 0;
  padding: 0.45rem 1.2rem; border-radius: 999px;
  background: var(--ps-orange); color: #1a3a6b;
  font-family: var(--font-display, sans-serif); font-weight: 700; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.ps-insta-grid > li:first-child .ps-insta-body { background: #fff8e6; }
.ps-potw-details { font-size: 1.35rem; font-weight: 700; color: var(--ps-teal-dk); margin: 0 0 0.6rem; }
.ps-potw-adopted {
  align-self: flex-start; margin: 0 0 0.6rem; padding: 0.3rem 1rem; border-radius: 999px;
  background: var(--ps-green); color: #fff; font-weight: 700; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.ps-potw-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.2rem; }

/* Become a Foster (adoptions.html): image + text side by side, centred in the
   section both ways. Two-class selectors so mv-main.css (loaded after this
   file) can't reset .flex-row back to flex-start. */
.flex-row.ps-foster { justify-content: center; align-items: center; gap: 3rem; }
/* Shift the group left of centre on desktop: it centres in what's left after
   the right padding, so it moves left by about half the padding. */
@media (min-width: 769px) {
  .flex-row.ps-foster { padding-right: 20%; }
}
.ps-foster-img { flex: 0 1 50%; max-width: 50%; height: auto; }
.ps-foster-text { flex: 0 1 50rem; }
@media (max-width: 768px) {
  .flex-row.ps-foster { align-items: center; text-align: center; }
  .ps-foster-img { max-width: 70%; }
  .ps-foster-text { flex-basis: auto; }
}
