/* ============================================================
   Wags to Whiskers of Texas — Modern Revamp
   Shared Stylesheet
   ============================================================ */

/* --- Variables --- */
:root {
  --red:          #EC0000;
  --red-dark:     #C00000;
  --teal:         #00c5c8;
  --teal-light:   #93fbfa;
  --dark:         #1a1a2e;
  --dark2:        #252550;
  --text:         #2d2d2d;
  --text-muted:   #6b7280;
  --bg:           #ffffff;
  --bg-soft:      #f8f9fb;
  --border:       #e5e7eb;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;

  --shadow-xs: 0 1px 4px rgba(0,0,0,.07);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.09);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.16);

  --ease: .28s cubic-bezier(.4,0,.2,1);
  --max:  1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Container --- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9000;
  transition: background var(--ease), box-shadow var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo */
.nav-logo img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  transition: transform var(--ease);
}
.nav-logo img:hover { transform: scale(1.04); }
.site-header.scrolled .nav-logo img { filter: none; }

/* Primary links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 8px 13px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  border-radius: var(--r-sm);
  transition: all var(--ease);
  white-space: nowrap;
}
.site-header.scrolled .nav-link {
  color: var(--dark);
  text-shadow: none;
}
.nav-link:hover,
.nav-link.active {
  background: rgba(236,0,0,.1);
  color: var(--red);
  text-shadow: none;
}

/* Donate CTA */
.nav-link.cta {
  background: var(--red);
  color: #fff !important;
  text-shadow: none !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(236,0,0,.35);
}
.nav-link.cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(236,0,0,.45);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top left;
  transition: all var(--ease);
  overflow: hidden;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: all var(--ease);
}
.nav-dropdown a:hover {
  background: #fff5f5;
  color: var(--red);
  border-left-color: var(--red);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(236,0,0,.82) 0%,
    rgba(26,26,46,.78) 60%,
    rgba(0,197,200,.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 24px 80px;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.13;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.hero-title em {
  font-style: normal;
  color: var(--teal-light);
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.88);
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-sub a {
  color: var(--teal-light);
  font-weight: 600;
  border-bottom: 1px solid rgba(147,251,250,.4);
  transition: border-color var(--ease);
}
.hero-sub a:hover { border-color: var(--teal-light); }
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-family: var(--font-head);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { opacity: .6; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(236,0,0,.38);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(236,0,0,.48);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.65);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,197,200,.35);
}
.btn-teal:hover {
  background: #009fa1;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--red);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-ghost:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   MISSION STRIP
   ============================================================ */
.mission-strip {
  background: var(--red);
  padding: 18px 0;
}
.mission-strip p {
  text-align: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
.mission-strip strong { font-weight: 700; color: var(--teal-light); }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.sec { padding: 88px 0; }
.sec-gray { background: var(--bg-soft); padding: 88px 0; }
.sec-dark { background: var(--dark); padding: 88px 0; }
.sec-red  { background: var(--red);  padding: 80px 0; }

.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.25;
}
.sec-title-light { color: #fff; }
.sec-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: .97rem;
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.7;
}
.sec-sub-light { color: rgba(255,255,255,.8); }

/* ============================================================
   QUICK-ACTION CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.action-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--ease);
}
.action-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.action-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.action-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.action-card:hover .action-card__img img { transform: scale(1.07); }
.action-card__body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.action-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
}
.action-card__desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.action-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--red);
  margin-top: auto;
  transition: gap var(--ease);
}
.action-card:hover .action-card__cta { gap: 10px; }

/* ============================================================
   EVENTS BANNER
   ============================================================ */
.events-band {
  background: linear-gradient(110deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 64px 0;
}
.events-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.events-band__tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.events-band__title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.events-band__text { color: rgba(255,255,255,.72); font-size: .97rem; }

/* ============================================================
   CHEWY
   ============================================================ */
.chewy-sec {
  padding: 44px 0;
  background: var(--bg-soft);
  text-align: center;
}
.chewy-sec a {
  display: inline-block;
  transition: transform var(--ease);
}
.chewy-sec a:hover { transform: scale(1.02); }
.chewy-sec img {
  max-width: 760px;
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
}

/* ============================================================
   SUPPORT SECTION
   ============================================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.support-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.support-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.support-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fff5f5 0%, #e0fbfc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
  border: 2px solid var(--border);
}
.support-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.support-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}
.support-card form { margin-top: auto; }

/* ============================================================
   PET SEARCH
   ============================================================ */
.pet-search-sec { background: var(--red); padding: 80px 0; }
.pet-search-sec .sec-title { color: #fff; }
.pet-search-sec .sec-sub  { color: rgba(255,255,255,.82); }
.pf-widget-wrap {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-lg);
  margin-top: 0;
}

/* ============================================================
   RESOURCES GRID
   ============================================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.resource-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 30px 22px;
  text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all var(--ease);
}
.resource-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.resource-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff0f0 0%, #e0fbfc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.resource-card h3 {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
}

/* ============================================================
   HAPPY TAILS TEASER
   ============================================================ */
.happy-tails-band {
  background: linear-gradient(110deg, #fff0f0 0%, #e0fbfc 100%);
  padding: 80px 0;
}
.happy-tails-band .sec-title { color: var(--dark); }
.ht-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 0;
}
.ht-text { flex: 1; }
.ht-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.ht-img { flex: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.ht-img img { width: 100%; height: 280px; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); padding: 72px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 52px;
}
.footer-brand img {
  max-width: 140px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-sitemap {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  transition: color var(--ease);
}
.footer-sitemap:hover { color: var(--teal-light); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark) 100%);
  padding: 118px 0 56px;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 100%);
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  font-family: var(--font-head);
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.page-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,.22);
}
.page-title em {
  font-style: normal;
  color: var(--teal-light);
}
.page-sub {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  margin-top: 10px;
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================================
   PAGE MAIN & ARTICLE
   ============================================================ */
.page-main { padding: 72px 0; }
.content-wrap { max-width: 860px; margin: 0 auto; }
.content-wrap--wide { max-width: 1120px; margin: 0 auto; }

.content-article h2 {
  font-family: var(--font-head);
  font-size: 1.55rem; font-weight: 700;
  color: var(--dark);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.content-article h3 {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 600;
  color: var(--dark);
  margin: 28px 0 8px;
}
.content-article p {
  color: var(--text); line-height: 1.82;
  margin-bottom: 16px; font-size: .97rem;
}
.content-article a:not(.btn) { color: var(--red); text-decoration: underline; transition: color var(--ease); }
.content-article a:not(.btn):hover { color: var(--red-dark); }
.content-article ul, .content-article ol {
  padding-left: 24px; margin-bottom: 16px;
}
.content-article li { margin-bottom: 6px; line-height: 1.7; font-size: .97rem; color: var(--text); }
.content-article strong { font-weight: 700; }

.content-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--teal));
  border-radius: 2px;
  margin: 52px 0;
  opacity: .25;
}

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
  background: linear-gradient(135deg, #fff5f5 0%, #e0fbfc 100%);
  border-radius: var(--r-md);
  padding: 22px 28px;
  border-left: 4px solid var(--teal);
  margin-bottom: 24px;
}
.info-box p { font-size: .95rem; line-height: 1.75; margin: 0; }
.info-box strong { color: var(--red); }

/* ============================================================
   DOWNLOAD CARDS
   ============================================================ */
.download-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.download-card {
  display: flex; align-items: flex-start; gap: 18px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  transition: all var(--ease);
  text-decoration: none !important;
}
.download-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.download-card__icon { font-size: 2.2rem; flex-shrink: 0; }
.download-card__title {
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.download-card__desc { font-size: .82rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 6px; }
.download-card__link { font-size: .8rem; color: var(--red); font-weight: 600; }

/* ============================================================
   LOCATION CARDS
   ============================================================ */
.location-cards { display: flex; flex-direction: column; gap: 32px; }
.location-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: grid;
  grid-template-columns: 280px 1fr;
}
.location-card__img { overflow: hidden; }
.location-card__img img { width: 100%; height: 100%; object-fit: cover; }
.location-card__body { padding: 32px; }
.location-card__badge {
  display: inline-block;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
}
.location-card__name {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.location-card__hours {
  font-family: var(--font-head); font-size: .95rem; font-weight: 600;
  color: var(--teal); margin-bottom: 12px;
}
.location-card address {
  font-style: normal; font-size: .9rem;
  color: var(--text-muted); line-height: 1.8; margin-bottom: 14px;
}
.location-card address a { color: var(--red); }
.location-card__desc { font-size: .9rem; color: var(--text); line-height: 1.75; margin-bottom: 18px; }

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; margin-top: 28px;
}
.photo-gallery a {
  display: block; border-radius: var(--r-sm);
  overflow: hidden; aspect-ratio: 1;
  transition: transform var(--ease), box-shadow var(--ease);
}
.photo-gallery a:hover { transform: scale(1.05); box-shadow: var(--shadow-md); }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 24px;
}
.team-card {
  background: #fff; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: flex; transition: all var(--ease);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card__photo { width: 120px; flex-shrink: 0; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 18px 20px; }
.team-card__name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.team-card__role { font-size: .75rem; font-family: var(--font-head); color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.team-card__bio { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   CONTACT BOXES
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.contact-box {
  background: #fff; border-radius: var(--r-md);
  padding: 26px 28px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs); transition: all var(--ease);
}
.contact-box:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-box__icon { font-size: 1.8rem; margin-bottom: 10px; }
.contact-box h3 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.contact-box p { font-size: .88rem; color: var(--text); line-height: 1.7; margin-bottom: 4px; }
.contact-box a { color: var(--red); font-weight: 600; }
.contact-box a:hover { text-decoration: underline; }

/* ============================================================
   SPONSOR CATS
   ============================================================ */
.sponsor-cats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 24px 0;
}
.sponsor-cat {
  background: #fff; border-radius: var(--r-md);
  overflow: hidden; border: 1.5px solid var(--border);
  text-align: center; transition: all var(--ease);
}
.sponsor-cat:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.sponsor-cat__img { aspect-ratio: 1; overflow: hidden; }
.sponsor-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.sponsor-cat__name { font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--dark); padding: 8px; }

.sponsor-form-box {
  background: var(--bg-soft); border-radius: var(--r-lg);
  padding: 36px; text-align: center;
  border: 1.5px solid var(--border); margin-top: 32px;
}
.sponsor-form-box h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.sponsor-form-box p { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }
.sponsor-form-box select {
  display: block; width: 100%; max-width: 380px;
  margin: 0 auto 16px; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: #fff; cursor: pointer;
}
.sponsor-form-box select:focus { outline: none; border-color: var(--teal); }

/* ============================================================
   SPONSOR LIST (company sponsors)
   ============================================================ */
.sponsor-cards { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; }
.sponsor-item {
  background: #fff; border-radius: var(--r-lg);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-xs);
  display: flex; align-items: flex-start; gap: 24px; padding: 28px;
  transition: all var(--ease);
}
.sponsor-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sponsor-item__logo { flex-shrink: 0; }
.sponsor-item__logo img { max-width: 180px; border-radius: var(--r-sm); }
.sponsor-item__info h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.sponsor-item__info p { font-size: .88rem; color: var(--text); line-height: 1.7; margin-bottom: 4px; }
.sponsor-item__info a { color: var(--red); font-weight: 600; }

/* ============================================================
   LINKS LIST (favorite links page)
   ============================================================ */
.fav-links { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.fav-link-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 22px;
  background: #fff; border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  transition: all var(--ease);
  text-decoration: none !important;
}
.fav-link-item:hover { border-color: var(--teal); transform: translateX(5px); box-shadow: var(--shadow-sm); }
.fav-link-item__icon { font-size: 1.5rem; flex-shrink: 0; }
.fav-link-item__title { font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: var(--red); margin-bottom: 3px; }
.fav-link-item__desc { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.donate-method {
  background: #fff; border-radius: var(--r-lg);
  padding: 28px 24px; text-align: center;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-xs);
  transition: all var(--ease);
  display: flex; flex-direction: column; align-items: center;
}
.donate-method:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.donate-method__icon { font-size: 2.5rem; margin-bottom: 14px; }
.donate-method h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.donate-method p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 18px; }

/* ============================================================
   RESPONSIVE — INNER PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid       { grid-template-columns: repeat(2, 1fr); }
  .support-grid     { grid-template-columns: repeat(2, 1fr); }
  .resources-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: repeat(2, 1fr); }
  .ht-inner         { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    gap: 2px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-link {
    color: var(--dark) !important;
    text-shadow: none !important;
    padding: 11px 14px;
  }
  .nav-link:hover { background: #fff5f5; color: var(--red) !important; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--red);
    border-radius: 0;
    background: #fafafa;
    transform: none;
    transition: max-height var(--ease), visibility var(--ease);
    margin: 4px 0 4px 16px;
  }
  .nav-item.expanded .nav-dropdown { visibility: visible; max-height: 320px; }
  .nav-link.cta { text-align: center; border-radius: var(--r-md); }

  .hero-content { text-align: center; }
  .hero-btns    { justify-content: center; }

  .events-band__inner { flex-direction: column; text-align: center; }
  .support-grid        { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom       { flex-direction: column; text-align: center; }
  .sec, .sec-gray, .sec-dark, .sec-red { padding: 64px 0; }
}

@media (max-width: 540px) {
  .cards-grid     { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-widget-wrap { padding: 24px 20px; }
  .hero-title     { font-size: 2.1rem; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}
.about-article h2:first-of-type { margin-top: 0; }
.about-aside__img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.about-aside__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-stat {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat__num {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
}
.about-stat__label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.about-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-aside { order: -1; }
  .about-aside__stat-grid { max-width: 360px; }
}

/* ============================================================
   ADOPTION FORMS PAGE
   ============================================================ */
.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
/* Override the flex row style from inner-pages for grid-child download-card */
.download-cards-grid .download-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.download-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}
.download-card p { font-size: .9rem; color: var(--text); margin-bottom: 0; }
.download-card__meta { font-size: .8rem !important; color: var(--text-muted) !important; }
.adopt-donate-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(110deg, #fff5f5 0%, #e0fbfc 100%);
  border-radius: var(--r-lg);
  padding: 32px 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.adopt-donate-strip__text h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.adopt-donate-strip__text p { color: var(--text-muted); font-size: .95rem; }

/* ============================================================
   ADOPTION LOCATIONS PAGE
   ============================================================ */
.location-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
/* Use existing .location-card but make it vertical for grid */
.location-cards-grid .location-card {
  grid-template-columns: 1fr;
}
.location-cards-grid .location-card__img {
  height: 200px;
}
.location-card__badge--teal {
  background: var(--teal) !important;
  color: var(--dark) !important;
}
.location-card__details {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.location-card__details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--text);
}
.location-card__details svg { flex-shrink: 0; color: var(--red); }

/* ============================================================
   EVENTS PAGE
   ============================================================ */
.events-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.event-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: box-shadow var(--ease);
}
.event-card:hover { box-shadow: var(--shadow-md); }
.event-card__date {
  background: var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 4px;
}
.event-card__day {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
}
.event-card__time {
  font-size: .75rem;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.event-card__body { padding: 28px 32px; }
.event-card__body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.event-card__loc { font-size: .88rem; color: var(--text-muted); margin-bottom: 4px; }
.event-card__hours { font-size: .88rem; font-weight: 600; color: var(--teal); margin-bottom: 12px; }
.event-card__body p { font-size: .93rem; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.event-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--sm { padding: 8px 18px !important; font-size: .85rem !important; }
.events-also-strip {
  text-align: center;
  margin-top: 40px;
  font-size: .95rem;
  color: var(--text-muted);
}
.events-also-strip a { color: var(--red); text-decoration: underline; }

@media (max-width: 600px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card__date { flex-direction: row; padding: 16px 24px; justify-content: flex-start; gap: 12px; }
}

/* ============================================================
   FOSTER & VOLUNTEER PAGE
   ============================================================ */
.volunteer-programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.volunteer-program {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  padding: 28px 24px;
}
.volunteer-program__icon { font-size: 2.2rem; margin-bottom: 12px; }
.volunteer-program h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.volunteer-program p { font-size: .9rem; color: var(--text); line-height: 1.75; margin-bottom: 8px; }

/* ============================================================
   MEET OUR RESIDENTS PAGE
   ============================================================ */
.adopt-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.adopt-portal-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}
.adopt-portal-card__img { height: 180px; overflow: hidden; }
.adopt-portal-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; background: var(--bg-soft); }
.adopt-portal-card__body { padding: 24px; }
.adopt-portal-card__body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.adopt-portal-card__body p { font-size: .9rem; color: var(--text); margin-bottom: 16px; line-height: 1.7; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.step-card {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.step-card__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.step-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.step-card a { color: var(--red); text-decoration: underline; }
.pet-search { padding: 64px 0 0; }

/* ============================================================
   SPONSOR A CAT PAGE
   ============================================================ */
.sponsor-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.sponsor-tier-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 2px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--ease);
}
.sponsor-tier-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sponsor-tier-card--featured {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.sponsor-tier-card--featured:hover { border-color: var(--red-dark); }
.sponsor-tier-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 50px;
  white-space: nowrap;
}
.sponsor-tier-card__level {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.sponsor-tier-card__price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.sponsor-tier-card__price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.sponsor-tier-card__annual {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 6px 0 14px;
}
.sponsor-tier-card p { font-size: .88rem; color: var(--text); line-height: 1.7; }
.sponsor-form-box {
  background: linear-gradient(135deg, #fff5f5 0%, #e0fbfc 100%);
  border-radius: var(--r-xl);
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}
.sponsor-form-box h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.sponsor-form-box p { color: var(--text-muted); margin-bottom: 20px; font-size: .95rem; }
.sponsor-select {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  margin-bottom: 16px;
  background: #fff;
  cursor: pointer;
}

/* ============================================================
   HAPPY TAILS GALLERY
   ============================================================ */
.happy-tails-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.happy-tails-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.happy-tails-gallery img { cursor: pointer; }
.happy-tails-gallery img:hover { transform: scale(1.04); box-shadow: var(--shadow-md); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lb-overlay.open { display: flex; }
.lb-img-wrap {
  width: 92vw;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap img {
  width: 92vw;
  height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  display: block;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
  padding: 4px;
  z-index: 10001;
}
.lb-close:hover { opacity: 1; }
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 50%;
  transition: background 0.2s;
  user-select: none;
  z-index: 10001;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-arrow:hover { background: rgba(255,255,255,0.32); }
.lb-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-family: var(--font-body, sans-serif);
  letter-spacing: .04em;
  z-index: 10001;
}
.happy-tails-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ============================================================
   SPOT LIGHT PAGE
   ============================================================ */
.spotlight-submit-box {
  background: linear-gradient(135deg, #fff5f5 0%, #e0fbfc 100%);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  margin: 32px 0;
}
.spotlight-submit-box__icon { font-size: 3rem; margin-bottom: 12px; }
.spotlight-submit-box h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.spotlight-submit-box p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }

/* ============================================================
   ARTICLE / LONG READ
   ============================================================ */
.long-read { max-width: 800px; margin: 0 auto; }
.long-read .content-article { max-width: none; }
.article-intro {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 32px;
  padding: 20px 24px;
  border-left: 4px solid var(--teal);
  background: var(--bg-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.article-byline {
  margin-top: 48px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  font-size: .88rem;
  color: var(--text-muted);
}
.article-related {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #fff5f5 0%, #e0fbfc 100%);
}
.article-related h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  border: none !important;
  padding: 0 !important;
}
.article-related ul { list-style: disc; padding-left: 20px; }
.article-related li a { color: var(--red); text-decoration: underline; font-size: .93rem; }

/* ============================================================
   FAVORITE LINKS
   ============================================================ */
.fav-links { display: flex; flex-direction: column; gap: 20px; }
.fav-link-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all var(--ease);
  text-decoration: none !important;
  color: inherit;
}
.fav-link-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.fav-link-item--article { cursor: default; }
.fav-link-item--article:hover { transform: none; border-color: var(--border); box-shadow: var(--shadow-xs); }
.fav-link-item__img { overflow: hidden; }
.fav-link-item__img img { width: 100%; height: 100%; object-fit: cover; }
.fav-link-item__img--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  font-size: 3rem;
}
.fav-link-item__body {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.fav-link-item__body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}
.fav-link-item__body p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }
.fav-link-item__cta { font-size: .85rem; font-weight: 600; color: var(--red); margin-top: 4px; }

@media (max-width: 600px) {
  .fav-link-item { grid-template-columns: 1fr; }
  .fav-link-item__img { height: 140px; }
}

/* ============================================================
   SPONSOR ITEMS (Sponsors page)
   ============================================================ */
.sponsor-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sponsor-item__img {
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sponsor-item__img img { max-height: 120px; width: auto; object-fit: contain; }
.sponsor-item__body { padding: 28px 32px; }
.sponsor-item__body h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.sponsor-item__body p { font-size: .92rem; color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.sponsor-item .contact-box__list { list-style: none; padding: 0; }
.sponsor-item .contact-box__list li { font-size: .88rem; color: var(--text-muted); margin-bottom: 4px; }
.sponsor-item .contact-box__list a { color: var(--red); }

@media (max-width: 640px) {
  .sponsor-item { grid-template-columns: 1fr; }
  .sponsor-item__img { height: 140px; }
}

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 768px) {
  .adopt-donate-strip { flex-direction: column; text-align: center; padding: 28px 24px; }
  .event-card__body { padding: 20px; }
  .sponsor-form-box { padding: 32px 24px; }
  .happy-tails-gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .download-cards-grid { grid-template-columns: 1fr; }
  .location-cards-grid { grid-template-columns: 1fr; }
  .adopt-portals-grid  { grid-template-columns: 1fr; }
  .volunteer-programs-grid { grid-template-columns: 1fr; }
  .sponsor-tiers-grid  { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SITEMAP PAGE
   ============================================================ */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 8px;
}
.sitemap-section h2 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.sitemap-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sitemap-section li a {
  font-size: .92rem;
  color: var(--red);
  text-decoration: underline;
  transition: color var(--ease);
}
.sitemap-section li a:hover { color: var(--dark); }

/* ============================================================
   PETFINDER SEARCH CTA (replaces discontinued widget)
   ============================================================ */
.pf-search-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
  text-decoration: none;
  display: inline-block;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

@media (max-width: 540px) {
  .pf-search-cta { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; text-align: center; }
}

/* ============================================================
   THRIFT SHOP PAGE
   ============================================================ */
.thrift-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 2rem;
}
.thrift-info-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.thrift-info-card__icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.thrift-info-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.thrift-info-card p {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
}
.thrift-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.thrift-hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.thrift-hours-list li span:first-child { font-weight: 600; color: var(--dark); }
.thrift-hours-list__closed span { color: var(--text-muted) !important; font-weight: 400 !important; }

.thrift-donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.thrift-donate-item {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--dark);
  text-align: center;
}

.btn-outline-red {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
  padding: 12px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
  display: inline-block;
}
.btn-outline-red:hover { background: var(--red); color: #fff; }

@media (max-width: 768px) {
  .thrift-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .thrift-donate-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PAGE HERO TEXT
   ============================================================ */
.page-hero__content {
  position: relative;
  z-index: 3;
}
.page-hero__content p {
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-top: 10px;
  font-size: 1rem;
  max-width: 640px;
}

/* ============================================================
   BODY PHOTO ACCENTS
   ============================================================ */
.body-photo {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  display: block;
}
.body-photo--float-right {
  float: right;
  width: 340px;
  margin: 0 0 24px 36px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.body-photo--float-left {
  float: left;
  width: 340px;
  margin: 0 36px 24px 0;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.body-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2rem 0;
}
.body-photo-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .body-photo--float-right,
  .body-photo--float-left {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
  .body-photo-row { grid-template-columns: 1fr; }
}
