/* —— Navigation —— */

.ww-skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.5rem 1rem;
  background: var(--ww-surface-elevated);
  color: var(--ww-primary);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  transform: translateY(-200%);
  transition: transform 0.15s var(--ww-ease);
}

.ww-skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--ww-primary);
  outline-offset: 2px;
}

.ww-nav .nav-link:focus-visible, .ww-nav .dropdown-toggle:focus-visible, .ww-nav .dropdown-item:focus-visible, a.btn:focus-visible, button.btn:focus-visible, .ww-filter-panel .form-control:focus-visible, .ww-filter-panel .form-select:focus-visible, .ww-filter-panel .ww-ms-dropdown__trigger:focus-visible, .ww-filter-panel .form-check-input:focus-visible, .pagination .page-link:focus-visible {
  outline: 2px solid var(--ww-primary);
  outline-offset: 2px;
}

.baguetteBox-button:focus-visible {
  outline: 2px solid var(--ww-primary);
  outline-offset: 2px;
}

.ww-footer-heading {
  color: inherit;
  margin: 0;
}

.ww-footer nav + nav {
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .ww-footer .col-lg-3 nav + nav.mt-3 {
    margin-top: 1rem;
  }
}

.ww-nav {
  background: var(--ww-surface-elevated);
  border-bottom: 1px solid rgba(var(--ww-primary-rgb), 0.12);
  box-shadow: none;
  transition: box-shadow 0.15s var(--ww-ease);
  --bs-navbar-padding-y: 0.5rem;
}

.ww-nav.py-3 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.ww-nav.is-scrolled {
  box-shadow: 0 2px 12px var(--ww-shadow);
}

.ww-nav .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 1rem;
  line-height: 1;
}

.ww-nav .navbar-brand img {
  width: 60px;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(var(--ww-primary-rgb), 0.2);
}

.ww-nav .nav-link {
  color: var(--ww-text);
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: color 0.15s var(--ww-ease), background-color 0.15s var(--ww-ease);
  transform: none;
}

.ww-nav button.nav-link.dropdown-toggle {
  border: none;
  background: transparent;
  font: inherit;
  line-height: inherit;
}

.ww-nav .nav-link:hover, .ww-nav .nav-link:focus {
  color: var(--ww-primary);
  background-color: rgba(var(--ww-primary-rgb), 0.08);
  font-weight: 600;
  transform: none;
}

.ww-nav .navbar-nav .nav-link.active, .ww-nav .navbar-nav .show > .nav-link.active, .ww-nav .dropdown-item.active {
  color: var(--ww-primary-dark) !important;
  background-color: rgba(var(--ww-primary-rgb), 0.14);
  font-weight: 700;
  text-decoration: none;
}

.ww-nav .navbar-nav .nav-link.active:hover, .ww-nav .navbar-nav .nav-link.active:focus {
  color: var(--ww-primary-dark) !important;
  background-color: rgba(var(--ww-primary-rgb), 0.18);
}

.ww-nav .dropdown-menu {
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 8px 24px var(--ww-shadow);
}

.ww-nav .dropdown-item:active, .ww-nav .dropdown-item.active {
  background-color: rgba(var(--ww-primary-rgb), 0.14);
  color: var(--ww-primary-dark) !important;
}

.ww-nav .btn-donate {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 2px 8px var(--ww-shadow);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-nav .btn-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--ww-shadow-hover);
}

.ww-nav .navbar-toggler {
  border-color: rgba(var(--ww-primary-rgb), 0.25);
}

.ww-nav .navbar-toggler-icon {
  filter: invert(18%) sepia(45%) saturate(2000%) hue-rotate(243deg) brightness(90%);
}

/* —— Hero (home) —— */

/* Home LCP hero: responsive WebP with JPG fallback (see home.html). */

.ww-hero--home-lcp {
  background-image: url("../img/home-featured-image-1200.jpg");
  background-image: image-set( url("../img/home-featured-image-1200.webp") type("image/webp"), url("../img/home-featured-image-1200.jpg") type("image/jpeg") );
  background-size: cover;
  background-position: center;
}

@media (max-width: 991.98px) {
  .ww-hero--home-lcp {
    background-image: url("../img/home-featured-image-800.jpg");
    background-image: image-set( url("../img/home-featured-image-800.webp") type("image/webp"), url("../img/home-featured-image-800.jpg") type("image/jpeg") );
  }
}

@media (max-width: 575.98px) {
  .ww-hero--home-lcp {
    background-image: url("../img/home-featured-image-480.jpg");
    background-image: image-set( url("../img/home-featured-image-480.webp") type("image/webp"), url("../img/home-featured-image-480.jpg") type("image/jpeg") );
  }
}

.ww-hero {
  position: relative;
  min-height: clamp(420px, 55vh, 680px);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.ww-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( to top, rgba(89, 49, 150, 0.88) 0%, rgba(89, 49, 150, 0.35) 45%, transparent 70% );
  pointer-events: none;
}

.ww-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
  padding-top: 6rem;
}

.ww-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  text-transform: none;
  margin: 0;
}

/* —— Action cards (home) —— */

.ww-action-cards {
  background: var(--ww-surface);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ww-action-cards .card {
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
  height: 100%;
}

.ww-action-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--ww-shadow-hover);
}

.ww-action-cards .card-body {
  padding-top: 2.5rem;
}

.ww-action-cards .bs-icon {
  top: -1.75rem;
  background: var(--ww-surface-elevated) !important;
  color: var(--ww-primary) !important;
  border: 2px solid rgba(var(--ww-primary-rgb), 0.15);
  box-shadow: 0 4px 12px var(--ww-shadow);
}

.ww-action-cards .card-footer {
  background: #eceae8;
  border-top: none;
  border-radius: 0 0 var(--ww-radius) var(--ww-radius);
}

.ww-action-cards .btn {
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-action-cards .btn:hover {
  transform: translateY(-1px);
}

/* —— Sections —— */

.ww-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ww-section h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-section h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.ww-section .col-md-8 p, .ww-section .col-xl-6 p {
  max-width: 65ch;
  margin-inline: auto;
  color: var(--ww-text-muted);
}

.ww-section hr {
  color: var(--ww-primary);
  opacity: 1;
}

/* —— Generic cards —— */

.ww-cards .card {
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  overflow: hidden;
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
  height: 100%;
}

.ww-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--ww-shadow-hover);
}

.ww-cards .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: auto;
}

.ww-cards .card-footer {
  background: transparent;
  border-top: 1px solid rgba(var(--ww-primary-rgb), 0.1);
}

/* —— Fundraiser cards —— */

.ww-fundraiser-cards .card-body {
  flex: 1;
  padding: 1.25rem 1.25rem 0.75rem;
}

.ww-fundraiser-cards .card-text {
  font-size: 0.95rem;
  color: var(--ww-text-muted);
  margin-bottom: 0;
}

.ww-fundraiser-cards .ww-fundraiser-date {
  font-size: 0.875rem;
  font-weight: 600;
}

.ww-fundraiser-cards .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.ww-fundraiser-cards .card-footer {
  border-top: none;
  padding: 0 1.25rem 1.25rem;
}

.ww-fundraiser-cards .card-footer .btn {
  border-radius: 999px;
}

.ww-fundraiser-cards .card-footer .btn + .btn {
  margin-top: 0.5rem;
}

.ww-fundraiser-cards.is-past .card {
  opacity: 0.92;
}

.ww-fundraiser-cards.is-past .card:hover {
  opacity: 1;
}

/* —— Fundraiser campaign landing pages (NTGD / NTGTA) —— */

.ww-fundraiser-campaign--ntgd {
  --fc-accent: #002a3a;
  --fc-heading: #002a3a;
  --fc-body: #212529;
  --fc-btn-bg: #002a3a;
  --fc-btn-text: #ffffff;
  --fc-link: #212529;
  --fc-band-bg: #002a3a;
  --fc-band-btn-bg: #ffffff;
  --fc-band-btn-text: #002a3a;
  --fc-footnote: #212529;
}

.ww-fundraiser-campaign--ntgta {
  --fc-accent: #44a7c6;
  --fc-heading: #00c08b;
  --fc-body: #002a3a;
  --fc-btn-bg: #44a7c6;
  --fc-btn-text: #ffffff;
  --fc-link: #008064;
  --fc-footnote: #002a3a;
}

.ww-fundraiser-campaign__banner {
  overflow: hidden;
  background: var(--ww-surface-elevated);
}

.ww-fundraiser-campaign__banner + .ww-breadcrumb-bar {
  margin-top: 0;
}

.ww-fundraiser-campaign__banner img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .ww-fundraiser-campaign__banner img {
    border-radius: 0 0 var(--ww-radius-lg) var(--ww-radius-lg);
  }
}

.ww-fundraiser-campaign__intro {
  background: var(--ww-surface);
}

.ww-fundraiser-campaign__intro h1 {
  color: var(--fc-heading, #002a3a);
}

.ww-fundraiser-campaign--ntgd .ww-fundraiser-campaign__intro h1 {
  color: #002a3a;
}

.ww-fundraiser-campaign--ntgta .ww-fundraiser-campaign__intro h1 {
  color: #44a7c6;
}

.ww-fundraiser-campaign__intro p {
  color: var(--fc-body, #212529);
}

.ww-fundraiser-campaign__footnote {
  font-size: 0.9375rem;
  color: var(--fc-footnote, #212529);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.ww-fundraiser-campaign__btn-primary {
  background: var(--fc-btn-bg) !important;
  border-color: var(--fc-btn-bg) !important;
  color: var(--fc-btn-text) !important;
  border-radius: 999px;
}

.ww-fundraiser-campaign__btn-primary:hover, .ww-fundraiser-campaign__btn-primary:focus {
  filter: brightness(1.08);
  color: var(--fc-btn-text) !important;
}

.ww-fundraiser-campaign__facts {
  background: var(--ww-surface);
}

.ww-fundraiser-campaign__facts .panel {
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 20px var(--ww-shadow);
  padding: 1.25rem 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ww-fundraiser-campaign__facts .panel {
    padding: 1.75rem 2rem;
  }
}

.ww-fundraiser-campaign__steps {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ww-fundraiser-campaign__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0.75rem;
  border-radius: var(--ww-radius);
  transition: background 0.15s var(--ww-ease);
}

@media (min-width: 768px) {
  .ww-fundraiser-campaign__item {
    padding: 1rem 1rem;
  }
}

@media (min-width: 768px) {
  .ww-fundraiser-campaign__item:hover {
    background: rgba(0, 42, 58, 0.04);
  }
}

.ww-fundraiser-campaign__item h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fc-heading, #002a3a);
  margin-bottom: 0.35rem;
}

.ww-fundraiser-campaign__item p {
  color: var(--fc-body, #212529);
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.ww-fundraiser-campaign__item > div:last-child {
  min-width: 0;
  flex: 1;
}

.ww-fundraiser-campaign__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--fc-accent, #002a3a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.arial-content .ww-fundraiser-campaign__icon i.fas, .arial-content .ww-fundraiser-campaign__icon i.far {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900;
}

.arial-content .ww-fundraiser-campaign__icon i.far {
  font-weight: 400;
}

.arial-content .ww-fundraiser-campaign__icon i.fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400;
}

.ww-fundraiser-campaign__link {
  color: var(--fc-link, #212529);
  font-weight: 600;
  text-decoration: none;
}

.ww-fundraiser-campaign__link:hover {
  text-decoration: underline;
}

.ww-fundraiser-campaign--ntgd .ww-fundraiser-campaign__link {
  color: #212529;
}

.ww-fundraiser-campaign__band {
  padding-top: 0;
  padding-bottom: 2rem;
}

.ww-fundraiser-campaign__band-inner {
  border-radius: var(--ww-radius-lg);
  background: var(--fc-band-bg, #002a3a);
  color: #fff;
  padding: 1.25rem 1.25rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .ww-fundraiser-campaign__band-inner {
    padding: 1.75rem 2rem;
  }
}

.ww-fundraiser-campaign__band-inner h2, .ww-fundraiser-campaign__band-inner p {
  color: #fff;
}

.ww-fundraiser-campaign__band-inner h2 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ww-fundraiser-campaign__band-inner p {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.ww-fundraiser-campaign__band-photo {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  margin-inline: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .ww-fundraiser-campaign__band-photo {
    width: 10rem;
    height: 10rem;
    margin-inline: 0;
  }
}

.ww-fundraiser-campaign__btn-band {
  background: var(--fc-band-btn-bg, #fff) !important;
  border-color: var(--fc-band-btn-bg, #fff) !important;
  color: var(--fc-band-btn-text, #002a3a) !important;
  border-radius: 999px;
}

.ww-fundraiser-campaign__btn-band:hover, .ww-fundraiser-campaign__btn-band:focus {
  filter: brightness(0.96);
  color: var(--fc-band-btn-text, #002a3a) !important;
}

/* —— Dog listing cards (Option C) —— */

.ww-dogs #available-dogs-1 {
  --bs-gutter-y: 2rem;
  --bs-gutter-x: 1.25rem;
}

.ww-dogs .row > .dog-profile-card.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  flex: 0 0 auto;
}

.ww-dogs .card {
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  max-width: 350px;
  height: 100%;
  margin-inline: auto;
}

.ww-dogs .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--ww-shadow-hover);
}

.ww-dogs .card-img-top, .ww-dogs .card > a img, .ww-dogs img.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--ww-radius) var(--ww-radius) 0 0;
}

.ww-dogs .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.ww-dogs .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.ww-dogs .card-title a {
  color: var(--ww-primary);
  text-decoration: none;
  font-weight: 700;
}

.ww-dogs .card-title a:hover {
  color: var(--ww-primary-dark);
}

.ww-dogs .dog-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  flex: 1 1 auto;
  min-height: 7.5rem;
}

.ww-dogs .dog-stats li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ww-text-muted);
  margin-bottom: 0.35rem;
}

.ww-dogs .dog-stats li:last-child {
  align-items: center;
}

.ww-dogs .dog-stats li:last-child span {
  flex: 1 1 auto;
  min-width: 0;
}

.ww-dogs .dog-stats i {
  flex-shrink: 0;
  align-self: center;
  color: var(--ww-primary);
  width: 1.1rem;
  line-height: 1;
  text-align: center;
}

.ww-dogs .card-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 0.75rem;
  background: transparent;
  border-top: 1px solid rgba(var(--ww-primary-rgb), 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ww-dogs .card-footer .btn {
  border-radius: 999px;
}

.ww-dogs .dog-profile-card .card {
  border-width: 0;
  box-shadow: 0 4px 16px var(--ww-shadow);
  overflow: visible;
}

.ww-dogs .dog-profile-card > .card > .badge.bg-danger {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  z-index: 2;
  white-space: nowrap;
}

.badge.bg-danger.rounded-pill, .ww-dog-profile .ww-hero-copy .badge.bg-danger {
  background-color: var(--ww-needs-foster-bg) !important;
  color: #fff !important;
}

.ww-dogs .dog-profile-card > .card > a:first-of-type, .ww-dogs .dog-profile-card > .card > a:has(img) {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--ww-radius) var(--ww-radius) 0 0;
}

.ww-dogs .dog-profile-card > .card > a img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.ww-dogs .profile-card-icon {
  display: none;
}

.ww-dogs-paginator {
  position: relative;
  z-index: 1;
  clear: both;
}

/* —— Category slideshow cards (Option C, compact) —— */

#dog-carousel .carousel-item, #dog-carousel .carousel-item .row, #dog-carousel .carousel-item .col, #dog-carousel .ww-slideshow-dog-col {
  overflow: visible;
}

#dog-carousel.ww-dog-track-carousel {
  overflow: hidden;
}

#dog-carousel.ww-dog-track-carousel .carousel-inner, #featured-dogs-carousel.ww-dog-track-carousel .carousel-inner {
  overflow: hidden;
}

#dog-carousel.ww-dog-track-carousel .carousel-inner {
  padding-top: 1.25rem;
  padding-inline: 0;
}

.ww-dog-track {
  display: flex;
  gap: var(--ww-track-gap, 1.5rem);
  will-change: transform;
}

.ww-dog-track > * {
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 0;
}

#dog-carousel .ww-dog-track > .ww-slideshow-dog-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
}

#featured-dogs-carousel .ww-dog-track {
  --ww-track-gap: 1rem;
}

@media (min-width: 992px) {
  #featured-dogs-carousel .ww-dog-track {
    --ww-track-gap: 1.5rem;
  }
}

#featured-dogs-carousel .ww-dog-track > .ww-featured-dogs__track-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 0;
}

#dog-carousel .ww-slideshow-dog-card {
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
  width: 100%;
  max-width: 350px;
  margin-inline: auto;
  overflow: visible;
}

#dog-carousel .ww-slideshow-dog-card > .badge.bg-danger {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  z-index: 6;
  white-space: nowrap;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

#dog-carousel .ww-slideshow-dog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--ww-shadow-hover);
}

#dog-carousel .ww-slideshow-dog-card > a img, #dog-carousel .ww-slideshow-dog-card img.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--ww-radius) var(--ww-radius) 0 0;
}

#dog-carousel .ww-slideshow-dog-card .card-body {
  padding: 1rem;
}

#dog-carousel .ww-slideshow-dog-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

#dog-carousel .ww-slideshow-dog-card .card-title a {
  color: var(--ww-primary);
  text-decoration: none;
  font-weight: 700;
}

#dog-carousel .ww-slideshow-dog-card .card-title a:hover {
  color: var(--ww-primary-dark);
}

#dog-carousel .ww-slideshow-dog-card .dog-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
}

#dog-carousel .ww-slideshow-dog-card .dog-stats li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ww-text-muted);
  margin-bottom: 0.35rem;
}

#dog-carousel .ww-slideshow-dog-card .dog-stats li:last-child span {
  flex: 1 1 auto;
  min-width: 0;
}

#dog-carousel .ww-slideshow-dog-card .dog-stats i {
  flex-shrink: 0;
  align-self: center;
  color: var(--ww-primary);
  width: 1.1rem;
  line-height: 1;
  text-align: center;
}

#dog-carousel .ww-slideshow-dog-card .card-footer {
  padding: 0.75rem;
  background: transparent;
  border-top: 1px solid rgba(var(--ww-primary-rgb), 0.1);
}

#dog-carousel .ww-slideshow-dog-card .card-footer .btn {
  border-radius: 999px;
}

/* Available dogs listing featured carousel */

.ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0;
  padding-inline: 2.5rem;
  padding-bottom: 0;
  overflow: visible;
}

.ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-inner {
  flex: 0 0 100%;
  width: 100%;
  padding-inline: 0;
  padding-bottom: 0.5rem;
  overflow: hidden;
}

.ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-control-prev, .ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-indicators, .ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-control-next {
  flex: 0 0 auto;
  margin-top: 1.5rem;
}

.ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-indicators {
  position: static;
  inset: auto;
  bottom: auto;
  left: auto;
  right: auto;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  padding: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
}

.ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-indicators [data-bs-target], .ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-indicators [data-bs-slide-to] {
  box-sizing: border-box;
  width: 0.75rem;
  height: 0.75rem;
  padding: 0;
  margin: 0;
  border: none;
  border-top: none;
  border-bottom: none;
  border-radius: 50%;
  opacity: 1;
  position: relative;
  flex: 0 0 auto;
  background-color: rgba(var(--ww-primary-rgb), 0.25) !important;
  background-clip: border-box;
  text-indent: 0;
  overflow: visible;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-indicators [data-bs-target].active, .ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-indicators [data-bs-slide-to].active, .ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-indicators .active {
  background-color: var(--ww-primary) !important;
}

#featured-dogs-carousel .ww-featured-carousel-slide-count {
  font-size: 0.95rem;
  color: var(--ww-text-muted);
  white-space: nowrap;
  line-height: 1;
}

.ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-control-prev, .ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-control-next {
  position: static;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
  filter: none;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  opacity: 1;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: var(--ww-surface-elevated);
  box-shadow: 0 2px 8px var(--ww-shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-control-prev .ww-listing-carousel-nav-icon, .ww-featured-dogs:not(.ww-dog-carousel) #featured-dogs-carousel > .carousel-control-next .ww-listing-carousel-nav-icon {
  color: var(--ww-primary);
  font-size: 1.125rem;
  line-height: 1;
}

/* —— Category page dog carousels —— */

.ww-dog-carousel .carousel[data-slide-count="1"] .carousel-control-prev, .ww-dog-carousel .carousel[data-slide-count="1"] .carousel-control-next, .ww-dog-carousel .carousel[data-slide-count="1"] .carousel-indicators {
  display: none;
}

.ww-dog-carousel .carousel[data-slide-count="1"] {
  padding-bottom: 0;
}

.ww-dog-carousel .carousel-indicators:empty {
  display: none;
}

/* Category slideshow pages (#dog-carousel): nav below cards */

#dog-carousel {
  position: relative;
  padding-bottom: 0;
  overflow: visible;
}

#dog-carousel > .carousel-inner {
  padding-inline: 0;
  padding-bottom: 0.5rem;
}

#dog-carousel .ww-dog-carousel-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  width: 100%;
  position: relative;
  z-index: 5;
  clear: both;
}

#dog-carousel .ww-dog-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

#dog-carousel .ww-dog-carousel-toolbar .carousel-control-prev, #dog-carousel .ww-dog-carousel-toolbar .carousel-control-next {
  position: static;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
  filter: none;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  opacity: 0.9;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: var(--ww-surface-elevated);
  box-shadow: 0 2px 8px var(--ww-shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#dog-carousel .ww-dog-carousel-toolbar .carousel-control-prev-icon, #dog-carousel .ww-dog-carousel-toolbar .carousel-control-next-icon {
  filter: invert(18%) sepia(45%) saturate(2000%) hue-rotate(243deg) brightness(90%);
}

#dog-carousel .carousel-indicators {
  position: static;
  inset: auto;
  bottom: auto;
  left: auto;
  right: auto;
  margin: 0;
  padding: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: auto;
}

#dog-carousel .carousel-indicators [data-bs-target], #dog-carousel .carousel-indicators [data-bs-slide-to] {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  opacity: 1;
  position: relative;
  flex-shrink: 0;
  background-color: transparent;
}

#dog-carousel .carousel-indicators [data-bs-target]::after, #dog-carousel .carousel-indicators [data-bs-slide-to]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: rgba(var(--ww-primary-rgb), 0.25);
}

#dog-carousel .carousel-indicators .active::after {
  background-color: var(--ww-primary);
}

.ww-dog-carousel.ww-featured-dogs .carousel {
  padding-bottom: 0;
  overflow: visible;
}

.ww-dog-carousel.ww-featured-dogs .carousel-inner {
  padding-inline: 0;
}

.ww-dog-carousel-pause {
  border: 1px solid rgba(var(--ww-primary-rgb), 0.2);
  border-radius: 999px;
  background: var(--ww-surface-elevated);
  color: var(--ww-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  min-height: 3rem;
  min-width: 3rem;
  padding: 0.45rem 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--ww-shadow);
  transition: background-color 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-dog-carousel-pause:hover {
  background-color: var(--ww-surface);
}

.ww-dog-carousel-pause:focus-visible {
  outline: 2px solid var(--ww-primary);
  outline-offset: 2px;
}

.ww-dog-carousel .carousel[data-slide-count="1"] .ww-dog-carousel-toolbar {
  display: none;
}

.ww-dog-carousel .carousel-inner, .ww-dog-carousel #dog-carousel .carousel-inner {
  overflow: hidden;
}

.ww-dog-carousel .carousel-item {
  padding-bottom: 0.25rem;
}

.ww-dog-carousel .ww-carousel-dogs > .ww-carousel-dog-col {
  width: auto;
  max-width: none;
}

.ww-dog-carousel .ww-carousel-dogs .card {
  width: 100%;
  max-width: 350px;
  margin-inline: auto;
}

.ww-dog-carousel .slideshow-dog-card-link {
  display: block;
  height: 100%;
}

.ww-featured-dogs__card {
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  padding: 1.25rem 1rem 1rem;
  height: 100%;
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-featured-dogs__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--ww-shadow-hover);
}

.ww-featured-dogs__profile-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.75rem;
}

.ww-featured-dogs__profile-link:hover .card-title {
  color: var(--ww-primary-dark);
}

.ww-featured-dogs__photo {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--ww-radius);
  margin: 0 auto 0.75rem;
  display: block;
}

.ww-featured-dogs__card .card-title {
  font-size: 1.125rem;
}

.ww-featured-dogs__card .btn {
  border-radius: 999px;
  margin-top: auto;
}

/* —— Available dogs: filter panel —— */

.ww-filter-panel {
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 20px var(--ww-shadow);
  padding: 1.5rem 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ww-filter-panel {
    padding: 2rem 2.25rem;
  }
}

.ww-filter-panel__header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(var(--ww-primary-rgb), 0.1);
}

.ww-filter-panel__header h2 {
  margin-bottom: 0;
}

.ww-filter-panel__header h2::after {
  margin-left: auto;
  margin-right: auto;
}

.ww-filter-panel .row > [class*="col"] {
  display: flex;
  flex-direction: column;
}

.ww-filter-field {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.ww-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  min-height: calc(var(--bs-icon-size, 1.5rem) * 2);
}

.ww-filter-panel .ww-filter-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: calc(1.5em + 0.75rem + 2px);
  margin-bottom: 0;
  padding-left: 0;
  width: 100%;
}

.ww-filter-panel .ww-filter-check .form-check-input {
  float: none;
  margin-left: 0;
  margin-top: 0.2em;
  flex-shrink: 0;
}

.ww-filter-panel .ww-filter-check .form-check-label {
  padding-left: 0;
}

.ww-ms-dropdown {
  position: relative;
  width: 100%;
}

.ww-ms-dropdown__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  text-align: left;
  cursor: pointer;
}

.ww-ms-dropdown__label {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ww-ms-dropdown__menu {
  display: none;
  position: absolute;
  z-index: 1050;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  padding: 0.5rem 0;
  border: 1px solid rgba(var(--ww-primary-rgb), 0.25);
  border-radius: var(--ww-radius-md, 0.375rem);
  background: var(--ww-surface-elevated, #fff);
  box-shadow: 0 8px 24px var(--ww-shadow, rgba(0, 0, 0, 0.12));
  max-height: min(14rem, 50vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ww-ms-dropdown.is-open .ww-ms-dropdown__menu {
  display: block;
}

.ww-ms-dropdown.is-dropup .ww-ms-dropdown__menu {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.ww-ms-dropdown__search-wrap {
  padding: 0 0.75rem 0.5rem;
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--ww-surface-elevated, #fff);
}

.ww-ms-dropdown__search {
  min-height: 3rem;
}

.ww-ms-dropdown__options {
  padding: 0 0.75rem;
}

.ww-ms-dropdown .ww-ms-dropdown__option {
  min-height: 3rem;
  align-items: center;
  margin-bottom: 0;
}

.ww-filter-panel .ww-ms-dropdown__trigger:focus {
  border-color: var(--ww-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--ww-primary-rgb), 0.15);
}

.ww-filter-label .bs-icon {
  flex-shrink: 0;
  margin: 0;
}

.ww-filter-label .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ww-primary);
}

.ww-filter-panel .form-control, .ww-filter-panel .form-select {
  border-color: rgba(var(--ww-primary-rgb), 0.25);
}

.ww-filter-panel .form-control:focus, .ww-filter-panel .form-select:focus {
  border-color: var(--ww-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--ww-primary-rgb), 0.15);
}

.ww-filter-panel__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(var(--ww-primary-rgb), 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.ww-filter-clear-all {
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--ww-primary);
  cursor: pointer;
}

.ww-filter-clear-all:hover, .ww-filter-clear-all:focus-visible {
  text-decoration: underline;
  color: var(--ww-primary-dark, var(--ww-primary));
}

.ww-filter-clear-all:focus-visible {
  outline: 2px solid var(--ww-primary);
  outline-offset: 2px;
}

/* —— Interest band (spark your interest) —— */

.ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.ww-interest-band__inner {
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 20px var(--ww-shadow);
  padding: 1.25rem 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ww-interest-band__inner {
    padding: 1.5rem 2rem;
  }
}

.ww-interest-band h2 {
  color: var(--ww-primary);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.ww-interest-band h2::after {
  display: none;
}

.ww-interest-band p {
  color: var(--ww-text-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.ww-interest-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .ww-interest-band__actions {
    justify-content: flex-start;
  }
}

.ww-interest-band__actions .btn {
  border-radius: 999px;
}

.ww-interest-band__photo {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ww-interest-band__photo {
    margin-left: auto;
    margin-right: 0;
  }
}

/* —— Dog profile page —— */

.ww-dog-profile {
  padding: 2rem 0 4rem;
}

.ww-dog-profile h1 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.ww-dog-profile h2 {
  color: var(--ww-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-dog-profile h2::after {
  display: none;
}

.ww-dog-profile dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.5rem;
  margin-bottom: 2rem;
}

.ww-dog-profile dt {
  font-weight: 600;
  color: var(--ww-primary);
}

.ww-dog-profile dd {
  margin: 0;
  color: var(--ww-text);
}

.ww-dog-profile img {
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
}

.ww-dog-profile-photo-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .ww-dog-profile-photo-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .ww-dog-profile-photo-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ww-dog-profile-photo-item {
  border-radius: var(--ww-radius);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--ww-shadow);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-dog-profile-photo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--ww-shadow-hover);
}

.ww-dog-profile-photo-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.ww-dog-profile .photo-grid img {
  width: 100%;
}

.ww-dog-profile p {
  line-height: 1.7;
  color: var(--ww-text);
}

.ww-dog-profile .btn {
  border-radius: 999px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.ww-dog-profile .ww-hero-split .ww-hero-copy .badge {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ww-dog-profile-inactive .ww-hero-split .ww-hero-copy h1 {
  color: var(--ww-primary);
  font-weight: 700;
}

.ww-dog-profile-inactive .ww-hero-split .ww-hero-copy .ww-hero-lead {
  color: var(--ww-text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.ww-dog-profile-adopted .ww-hero-split .ww-hero-copy h1 {
  max-width: 22ch;
}

.ww-dog-profile-unavailable .ww-hero-split .ww-hero-copy h1 {
  max-width: 28ch;
}

.ww-dog-profile-detail .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
}

.ww-dog-profile-detail .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-dog-profile-detail .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-dog-profile-detail .panel {
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 20px var(--ww-shadow);
  padding: 1.25rem 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ww-dog-profile-detail .panel {
    padding: 1.75rem 2rem;
  }
}

.ww-dog-profile-facts .dog-stats__compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem 1.25rem;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .ww-dog-profile-facts .dog-stats__compact {
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  }
}

.ww-dog-profile-facts .dog-stats__compact .dog-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ww-text-muted);
  margin: 0;
  padding: 0.75rem;
  border-radius: var(--ww-radius);
  transition: background 0.15s var(--ww-ease);
}

@media (min-width: 768px) {
  .ww-dog-profile-facts .dog-stats__compact .dog-stat:hover {
    background: rgba(var(--ww-primary-rgb), 0.05);
  }
}

.ww-dog-profile-facts .dog-stats__compact .dog-stat i {
  color: var(--ww-primary);
  font-size: 1.125rem;
  line-height: 1;
}

.ww-dog-profile-facts .dog-stats__compact .dog-stat span {
  min-width: 0;
  font-weight: 600;
  color: var(--ww-text);
}

.ww-dog-profile-traits .ww-dog-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.625rem;
  padding: 0;
  margin: 0;
}

.ww-dog-profile-traits .ww-dog-traits li {
  margin: 0;
}

.ww-dog-profile-traits .ww-dog-trait-chip {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.45rem 0.85rem;
  color: var(--ww-primary);
  background: rgba(var(--ww-primary-rgb), 0.08);
  border: 1px solid rgba(var(--ww-primary-rgb), 0.2);
}

.ww-dog-profile-bio p {
  line-height: 1.7;
  color: var(--ww-text);
  margin-bottom: 0;
}

.ww-dog-profile .photo-grid img {
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  margin-bottom: 0;
}

.ww-dog-profile .ww-cta--with-photo .photo {
  object-fit: cover;
}

/* —— Inner page hero —— */

.ww-hero-split {
  background: var(--ww-surface);
}

.ww-hero-split .hero-section {
  border-bottom: none;
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--ww-shadow);
  max-width: 1400px;
  margin-inline: auto;
}

.ww-hero-split .hero-section h1, .ww-hero-split .ww-hero-copy h1 {
  text-transform: none;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ww-primary);
  margin-bottom: 0.75rem;
}

.ww-hero-split .hero-section p, .ww-hero-split .ww-hero-lead {
  color: var(--ww-text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.ww-hero-copy {
  max-width: 36rem;
}

.ww-hero-split .hero-section img, .ww-hero-split .ww-hero-image {
  min-height: clamp(240px, 32vh, 380px);
  object-fit: cover;
}

.ww-hero-split .col-md-6:has(.ww-hero-image) {
  min-height: clamp(240px, 32vh, 380px);
}

.ww-hero-split .btn {
  border-radius: 999px;
}

.ww-hero-page {
  min-height: clamp(420px, 55vh, 680px);
}

.ww-hero-page .container {
  text-align: left;
  max-width: 720px;
  padding-bottom: 3rem;
}

.ww-hero-page h1 {
  text-align: left;
  text-transform: none;
  margin-bottom: 1rem;
}

.ww-hero-page p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.ww-hero-page .btn-light {
  border-radius: 999px;
  font-weight: 600;
}

/* —— Page header (no hero image) —— */

.ww-page-header h1 {
  text-transform: none;
  color: var(--ww-primary);
  font-weight: 700;
}

.ww-hero-split > .container-fluid.hero-section {
  border-radius: var(--ww-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--ww-shadow);
  max-width: 1400px;
  margin-inline: auto;
  border-bottom: none;
  background: var(--ww-surface-elevated);
}

.ww-hero-split > .container-fluid.hero-section h1 {
  text-transform: none;
  color: var(--ww-primary);
  font-weight: 700;
}

.ww-hero-split > .container-fluid.hero-section p {
  color: var(--ww-text-muted);
}

.ww-page-header h1.text-uppercase {
  text-transform: none;
}

.ww-page-header > .container > .row:first-child p, .ww-page-header .col-xl-10 p {
  color: var(--ww-text-muted);
}

.ww-page-header--elevated {
  background: var(--ww-surface);
  padding-top: 0;
}

.ww-page-header__panel {
  max-width: 45rem;
  margin-inline: auto;
  padding: 2rem 1.75rem;
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 20px var(--ww-shadow);
  text-align: center;
}

@media (min-width: 768px) {
  .ww-page-header__panel {
    padding: 2.5rem 2.25rem;
    text-align: left;
  }
}

.ww-page-header--elevated h1 {
  margin-bottom: 0.75rem;
}

.ww-page-header--elevated h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-page-header--elevated h1::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-page-header--elevated .ww-hero-lead {
  max-width: 65ch;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ww-page-header--elevated .ww-hero-lead {
    margin-inline: 0;
  }
}

.ww-page-header--elevated:has( + .ww-testimonials-spotlight) {
  padding-bottom: 0;
}

.ww-page-header--elevated + .ww-testimonials-spotlight > .container {
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .ww-page-header--elevated + .ww-testimonials-spotlight > .container {
    padding-top: 2rem;
  }
}

.ww-hero-split + .ww-testimonials-spotlight {
  padding-top: 0;
}

.ww-hero-split + .ww-testimonials-spotlight > .container {
  padding-top: 0;
}

.ww-section .text-bg-primary {
  background: linear-gradient(135deg, var(--ww-primary) 0%, var(--ww-primary-dark) 100%) !important;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
}

.ww-section .column-contact-md-lg .card, .ww-contact-page .ww-contact-panel.card {
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
}

.ww-contact-page .ww-contact-col {
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
  max-width: none;
}

.ww-contact-page .ww-contact-panel.card {
  margin-top: 1.875rem;
  margin-bottom: 1.875rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  min-width: min(100%, 18.75rem);
  height: 100%;
}

.ww-contact-page .ww-contact-panel__block {
  padding: 1rem;
}

.ww-contact-page .ww-contact-social {
  margin-top: 1.875rem;
}

.ww-contact-page .ww-contact-social .bs-icon {
  margin-right: 0.3125rem;
}

.ww-contact-page .ww-contact-social a + a .bs-icon {
  margin-right: 0;
  margin-left: 0.3125rem;
}

.ww-contact-page .ww-contact-form {
  padding: 1rem;
}

.ww-contact-page .ww-contact-form .form-control, .ww-contact-page .ww-contact-form .form-select {
  border-style: solid;
  border-color: var(--ww-primary);
}

.ww-contact-page .ww-contact-conditional {
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
}

.ww-contact-page .ww-contact-message-field {
  margin-top: 0.9375rem;
}

.ww-page-header .row.ww-page-header__row {
  margin-bottom: 0;
}

.ww-section .accordion-item {
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 2px 8px var(--ww-shadow);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.ww-section .accordion-button:not(.collapsed) {
  background-color: rgba(var(--ww-primary-rgb), 0.08);
  color: var(--ww-primary);
}

.ww-section .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--ww-primary-rgb), 0.2);
}

.ww-section .accordion-header::after {
  content: none;
  display: none;
}

/* —— FAQ sections —— */

.ww-faq > .container > h2::after {
  margin-left: 0;
  margin-right: auto;
}

/* —— Section extras —— */

.ww-section .features-paragraph, .ww-section .col-md-8 p, .ww-section .col-xl-6 p {
  color: var(--ww-text-muted);
}

.ww-section .d-flex h2, .ww-section .col h2:not(.text-center) {
  color: var(--ww-primary);
  font-weight: 700;
}

.ww-section .d-flex h2::after, .ww-section .col h2::after {
  margin-left: 0;
  margin-inline: 0 auto;
}

.ww-section .bs-icon-lg, .ww-section .bs-icon-xl, .ww-section .bs-icon-sm {
  background: rgba(var(--ww-primary-rgb), 0.1) !important;
  color: var(--ww-primary) !important;
  box-shadow: none;
  border: 2px solid rgba(var(--ww-primary-rgb), 0.12);
}

.ww-section .bs-icon-lg:hover, .ww-section .bs-icon-xl:hover {
  transform: none;
}

.ww-section img.rounded, .ww-section img.fit-cover {
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
}

/* —— CTA bands —— */

/* Two promo layouts: ww-cta--with-photo (purple, circular photo) for primary CTAs;
   ww-interest-band (light panel, portrait photo) for secondary photo promos. Never reuse the same image on both on one page. */

.ww-cta > .container > div, .ww-cta .cta-inner, .ww-cta .text-white.bg-primary {
  border-radius: var(--ww-radius-lg);
  background: linear-gradient(135deg, var(--ww-primary) 0%, var(--ww-primary-dark) 100%) !important;
  border: none !important;
  color: #fff;
}

.ww-cta h2, .ww-cta p, .ww-cta .text-white {
  color: #fff !important;
}

.ww-cta h2::after {
  display: none;
}

.ww-cta .btn {
  border-radius: 999px;
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-cta .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ww-cta--centered, .ww-cta--split, .ww-cta--with-photo {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.ww-cta--centered .cta-inner, .ww-cta--split .cta-inner, .ww-cta--with-photo .cta-inner {
  padding: 1rem 1.25rem;
}

@media (min-width: 768px) {
  .ww-cta--centered .cta-inner, .ww-cta--split .cta-inner, .ww-cta--with-photo .cta-inner {
    padding: 1.125rem 1.5rem;
  }
}

.ww-cta--centered h2, .ww-cta--split h2, .ww-cta--with-photo h2 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ww-cta--centered p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.ww-cta--split p, .ww-cta--with-photo p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ww-cta--with-photo p {
  margin-bottom: 0.75rem;
}

.ww-cta--centered .btn, .ww-cta--split .btn, .ww-cta--with-photo .btn {
  font-size: 0.9375rem;
  padding: 0.5rem 1.25rem;
}

@media (min-width: 992px) {
  .ww-cta--split .col-lg-4 {
    text-align: right;
  }
}

.ww-cta--with-photo .photo {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  margin-inline: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px var(--ww-shadow);
}

@media (min-width: 768px) {
  .ww-cta--with-photo .photo {
    margin-inline: 0;
  }
}

/* —— Events listing cards —— */

.ww-cards .col > .p-4 {
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  height: 100%;
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-cards .col > .p-4:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--ww-shadow-hover);
}

.ww-cards .badge.bg-primary {
  background-color: var(--ww-primary) !important;
}

.ww-cards h2.fs-4 {
  color: var(--ww-primary);
  font-weight: 700;
}

/* —— Events listing —— */

.ww-events-listing {
  background: var(--ww-surface);
}

.ww-events-listing .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-events-listing .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-events-listing .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .ww-events-listing .intro .features-paragraph {
    margin-inline: 0;
  }
}

.ww-events-listing .intro .features-paragraph {
  max-width: 65ch;
  margin-inline: 0;
  color: var(--ww-text-muted);
}

.ww-events-listing__empty {
  max-width: 65ch;
  margin-inline: 0;
  margin-bottom: 1.5rem;
}

.ww-events-listing__cards .card-body {
  flex: 1;
  padding: 1.25rem 1.25rem 0.75rem;
}

.ww-events-listing__cards .card-text {
  font-size: 0.95rem;
  color: var(--ww-text-muted);
  margin-bottom: 0;
}

.ww-events-listing__cards .card-title {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ww-events-listing__cards .card-footer {
  border-top: none;
  padding: 0 1.25rem 1.25rem;
}

.ww-events-listing__cards .card-footer .btn {
  border-radius: 999px;
}

.ww-events-listing--past .ww-events-listing__cards .card {
  opacity: 0.92;
}

.ww-events-listing--past .ww-events-listing__cards .card:hover {
  opacity: 1;
}

.ww-events-listing__toggle {
  border-radius: 999px;
}

/* —— Footer —— */

.ww-footer {
  border-top: 3px solid rgba(var(--ww-primary-rgb), 0.35);
}

.ww-footer a.link-light:hover {
  color: var(--ww-secondary) !important;
  padding-left: 0.15rem;
  transition: padding 0.15s var(--ww-ease), color 0.15s var(--ww-ease);
}

.ww-footer .bs-icon-primary {
  background: rgba(var(--ww-primary-rgb), 0.85) !important;
}

/* —— Partners (home logo wall) —— */

.ww-partners {
  background: var(--ww-surface);
}

.ww-partners > .container {
  border-top: 2px solid var(--bs-primary);
  border-bottom: 2px solid var(--bs-primary);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
  .ww-partners > .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

.ww-partners .tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  transition: box-shadow 0.2s var(--ww-ease);
}

.ww-partners .tile:hover {
  box-shadow: 0 8px 24px var(--ww-shadow-hover);
}

.ww-partners .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 7rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: calc(var(--ww-radius) - 0.125rem);
  background: #fff;
}

.ww-partners .logo:focus-visible {
  outline: 2px solid var(--ww-primary);
  outline-offset: 2px;
}

.ww-partners .logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ww-partners h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.ww-partners .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  margin-top: auto;
  width: 100%;
}

.ww-partners .bs-icon-primary {
  background: rgba(var(--ww-primary-rgb), 0.12) !important;
  color: var(--ww-primary) !important;
  margin-bottom: 0 !important;
}

.ww-partners .bs-icon-primary i {
  color: var(--ww-primary) !important;
}

/* —— Dog categories (home) —— */

.ww-dog-categories {
  background: var(--ww-surface);
}

.ww-dog-categories .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-dog-categories .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-dog-categories .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-dog-categories .intro p {
  max-width: 65ch;
  margin-inline: auto;
  color: var(--ww-text-muted);
}

@media (min-width: 768px) {
  .ww-dog-categories .intro p {
    margin-inline: 0;
  }
}

.ww-dog-categories .card, .ww-resource-hub .card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  overflow: hidden;
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
  height: 100%;
}

.ww-dog-categories .card:hover, .ww-resource-hub .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--ww-shadow-hover);
}

.ww-dog-categories .media, .ww-resource-hub .media:not(.media--icon) {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ww-dog-categories .media .img, .ww-resource-hub .media .img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ww-dog-categories .media .badge, .ww-resource-hub .media .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ww-primary);
  border-radius: 999px;
  box-shadow: 0 2px 8px var(--ww-shadow);
}

.ww-dog-categories .body, .ww-resource-hub .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.5rem 1.5rem;
}

.ww-dog-categories .title, .ww-resource-hub .title {
  color: var(--ww-primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.ww-dog-categories .text, .ww-resource-hub .text {
  color: var(--ww-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ww-dog-categories .body .btn, .ww-resource-hub .body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* —— 404 error page —— */

.ww-error-page__intro {
  position: relative;
}

.ww-error-page__code {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  margin: 0;
  font-size: clamp(6rem, 22vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ww-primary);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.ww-error-page__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--ww-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
}

.ww-error-page__status {
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.ww-error-page__intro h1, .ww-error-page__intro .ww-hero-lead {
  position: relative;
  z-index: 1;
}

.ww-error-page__card-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(var(--ww-primary-rgb), 0.12);
  color: var(--ww-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

/* —— Recently adopted (available-dogs) —— */

.ww-recently-adopted {
  background: var(--ww-surface-elevated);
}

.ww-recently-adopted .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-recently-adopted .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-recently-adopted .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-recently-adopted .intro p {
  max-width: 65ch;
  margin-inline: auto;
  color: var(--ww-text-muted);
}

@media (min-width: 768px) {
  .ww-recently-adopted .intro p {
    margin-inline: 0;
  }
}

.ww-recently-adopted__grid {
  justify-content: flex-start;
}

.ww-recently-adopted__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 0;
  --bs-card-border-width: 0;
  border-radius: var(--ww-radius);
  box-shadow: 0 2px 12px var(--ww-shadow);
  overflow: hidden;
  background: var(--ww-surface);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-recently-adopted__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--ww-shadow-hover);
}

.ww-recently-adopted__card .card-body {
  background: var(--ww-surface);
  border: 0;
  border-top: none;
}

.ww-recently-adopted__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ww-recently-adopted__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ww-recently-adopted__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ww-adopted-badge-bg);
  border-radius: 999px;
}

.ww-recently-adopted__name {
  color: var(--ww-primary);
  font-weight: 700;
}

/* —— Resource hub (resources pages) —— */

.ww-page-header.ww-section:has( + .ww-resource-hub), .ww-page-header.ww-section:has( + .ww-resource-links), .ww-page-header.ww-section:has( + .ww-breadcrumb-bar) {
  padding-bottom: 0;
}

.ww-page-header:has( + .ww-resource-hub) > .container, .ww-page-header:has( + .ww-resource-links) > .container {
  padding-bottom: 0;
}

.ww-page-header + .ww-resource-hub > .container, .ww-page-header + .ww-resource-links > .container {
  padding-top: 0;
}

.ww-hero-split:has( + .ww-resource-hub), .ww-hero-split:has( + .ww-breadcrumb-bar) {
  padding-bottom: 0;
}

.ww-hero-split + .ww-resource-hub > .container {
  padding-top: 0;
}

.ww-resource-hub {
  background: var(--ww-surface);
}

.ww-resource-hub__grid {
  max-width: 56rem;
  margin-inline: auto;
}

.ww-resource-hub .section-head h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-resource-hub .section-head h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-resource-hub .section-head h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-resource-hub .media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: rgba(var(--ww-primary-rgb), 0.08);
}

.ww-resource-hub .media--icon i {
  font-size: 2.5rem;
  color: var(--ww-primary);
}

.ww-resource-hub .media--icon .badge {
  display: none;
}

/* —— Dog help link grids —— */

.ww-resource-links {
  background: var(--ww-surface);
}

.ww-resource-links .row.ww-cards {
  justify-content: flex-start;
}

/* Dog help: tighter gaps between stacked resource sections */

main > .ww-section.ww-resource-links {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

main > .ww-section.ww-resource-links + .ww-section.ww-resource-links {
  padding-top: 0.5rem;
}

main > .ww-section.ww-resource-links > .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

main > .ww-section.ww-resource-links .section-head {
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  main > .ww-section.ww-resource-links .section-head {
    margin-bottom: 1.5rem;
  }
}

.ww-resource-links .section-head h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-resource-links .section-head h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-resource-links .section-head h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-resource-links .col > .text-center {
  height: 100%;
  padding: 1.25rem 1rem;
  border-radius: var(--ww-radius);
  background: var(--ww-surface-elevated);
  box-shadow: 0 2px 8px var(--ww-shadow);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-resource-links .col > .text-center:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--ww-shadow);
}

.ww-resource-links .link-dark {
  color: var(--ww-primary);
  font-weight: 600;
  text-decoration: none;
}

.ww-resource-links .link-dark:hover {
  color: var(--ww-primary-dark);
  text-decoration: underline;
}

.ww-resource-links h3.fs-4 {
  color: var(--ww-primary);
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

/* —— Foster guide (dog-foster-care/foster-guide) —— */

.ww-foster-guide--bringing-home, .ww-foster-guide--marketing {
  background: var(--ww-surface);
}

.ww-foster-guide .section-head h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-foster-guide .section-head h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-foster-guide .section-head h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-foster-guide__nav {
  background: var(--ww-surface);
}

.ww-foster-guide__nav .nav-pills {
  gap: 0.5rem;
  justify-content: center;
}

.ww-foster-guide__nav .nav-link {
  color: var(--ww-primary);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: var(--ww-surface-elevated);
  box-shadow: 0 2px 8px var(--ww-shadow);
}

.ww-foster-guide__nav .nav-link:hover {
  color: var(--ww-primary-dark);
  background: #fff;
}

.ww-foster-guide__quote {
  background: var(--ww-surface);
}

.ww-foster-guide__quote .quote-panel {
  max-width: 56rem;
  margin-inline: auto;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-radius: var(--ww-radius);
  background: var(--ww-surface-elevated);
  box-shadow: 0 4px 16px var(--ww-shadow);
  border-left: 4px solid var(--ww-secondary);
}

.ww-foster-guide__quote blockquote {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ww-text-muted);
}

.ww-foster-guide--bringing-home .topics {
  max-width: 56rem;
  margin-inline: auto;
}

.ww-foster-guide .topic-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--ww-radius);
  background: var(--ww-surface-elevated);
  box-shadow: 0 4px 16px var(--ww-shadow);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-foster-guide .topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--ww-shadow-hover);
}

.ww-foster-guide .topic-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ww-foster-guide .topic-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(var(--ww-primary-rgb), 0.12);
  color: var(--ww-primary);
  font-size: 1.25rem;
}

.ww-foster-guide .topic-card h3, .ww-foster-guide .topic-card h4 {
  color: var(--ww-primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}

.ww-foster-guide .topic-card p, .ww-foster-guide .topic-card li {
  color: var(--ww-text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.ww-foster-guide .topic-card ul, .ww-foster-guide .topic-card ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.ww-foster-guide .ww-checklist .form-check {
  margin-bottom: 0.35rem;
}

.ww-foster-guide .ww-checklist .form-check-input {
  border-color: var(--ww-primary);
}

.ww-foster-guide .ww-checklist .form-check-input:checked {
  background-color: var(--ww-primary);
  border-color: var(--ww-primary);
}

.ww-foster-guide .ww-checklist .form-check-label {
  color: var(--ww-text);
  font-size: 0.9375rem;
}

.ww-foster-guide .do-dont {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ww-foster-guide .do-dont {
    grid-template-columns: 1fr 1fr;
  }
}

.ww-foster-guide .do-dont__panel {
  padding: 1rem 1.25rem;
  border-radius: var(--ww-radius-sm, 0.5rem);
  border: 1px solid transparent;
}

.ww-foster-guide .do-dont__panel--do {
  background: rgba(var(--ww-primary-rgb), 0.06);
  border-color: rgba(var(--ww-primary-rgb), 0.15);
}

.ww-foster-guide .do-dont__panel--dont {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.ww-foster-guide .do-dont__panel > p {
  font-weight: 700;
  color: var(--ww-primary);
  margin-bottom: 0.5rem;
}

.ww-foster-guide .do-dont__panel ul {
  margin-bottom: 0;
}

.ww-foster-guide--removal {
  padding-block: 1rem;
}

@media (min-width: 1200px) {
  .ww-foster-guide--removal {
    padding-block: 1.5rem;
  }
}

.ww-foster-guide__actions {
  max-width: 56rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.ww-foster-guide__actions .btn {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.ww-foster-guide__tips {
  max-width: 56rem;
  margin-inline: auto;
}

.ww-foster-guide__tips .topic-card {
  display: flex;
  flex-direction: column;
}

.ww-foster-guide__tips .topic-card__head {
  flex-direction: column;
  align-items: flex-start;
}

.ww-foster-guide [id], .ww-resource-links[id] {
  scroll-margin-top: 5.5rem;
}

.ww-breadcrumb .breadcrumb-item a {
  color: var(--ww-primary);
  font-weight: 600;
  text-decoration: none;
}

.ww-breadcrumb .breadcrumb-item a:hover {
  color: var(--ww-primary-dark);
  text-decoration: underline;
}

.ww-breadcrumb .breadcrumb-item.active {
  color: var(--ww-text-muted);
}

.ww-hero-split + .ww-resource-links > .container {
  padding-top: 0;
}

.ww-hero-split:has( + .ww-resource-links) {
  padding-bottom: 0;
}

/* —— Breadcrumb bar (below hero or top of profile pages) —— */

.ww-breadcrumb-bar {
  background: var(--ww-surface);
  border-bottom: 1px solid rgba(var(--ww-primary-rgb), 0.12);
  padding: 0.75rem 0;
}

.ww-hero-split:has( + .ww-breadcrumb-bar), main > .ww-hero:has( + .ww-breadcrumb-bar), .ww-cta:has( + .ww-breadcrumb-bar) {
  padding-bottom: 0;
}

.ww-dog-profile .ww-page-header:has( + .ww-breadcrumb-bar), .ww-dog-profile .ww-hero-split:has( + .ww-breadcrumb-bar) {
  padding-bottom: 0;
}

.ww-breadcrumb-bar + .ww-resource-links > .container, .ww-breadcrumb-bar + .ww-event-detail > .container, .ww-breadcrumb-bar + .ww-form-section > .container, .ww-breadcrumb-bar + .ww-events-listing > .container, .ww-breadcrumb-bar + .ww-resource-hub > .container, .ww-breadcrumb-bar + .ww-section > .container, .ww-dog-profile .ww-breadcrumb-bar + .container, .ww-page-header + .ww-breadcrumb-bar + .ww-resource-hub > .container {
  padding-top: 1rem;
}

.ww-breadcrumb-bar + .ww-dog-help-toc + .ww-resource-links > .container {
  padding-top: 1rem;
}

main > .ww-breadcrumb-bar:first-child + .arial-content {
  padding-top: 0;
}

.ww-dog-profile:has( > .ww-page-header), .ww-dog-profile:has( > .ww-hero-split) {
  padding-top: 0;
}

.ww-dog-help-toc {
  background: var(--ww-surface-elevated);
  border-bottom: 1px solid rgba(var(--ww-primary-rgb), 0.08);
}

.ww-dog-help-toc .container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .ww-dog-help-toc .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem 1rem;
  }
}

.ww-dog-help-toc__label {
  font-weight: 700;
  color: var(--ww-primary);
  margin: 0;
  flex-shrink: 0;
}

.ww-dog-help-toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
}

@media (min-width: 768px) {
  .ww-dog-help-toc__list {
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
  }
}

.ww-dog-help-toc__list a {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--ww-surface);
  color: var(--ww-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 4px var(--ww-shadow);
  transition: background 0.15s var(--ww-ease), color 0.15s var(--ww-ease);
}

.ww-dog-help-toc__list a:hover {
  background: var(--ww-primary);
  color: #fff;
}

.ww-resource-links .ww-resource-link-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease);
}

.ww-resource-links .ww-resource-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--ww-shadow-hover);
}

.ww-resource-link-card .card-body {
  flex: 1 1 auto;
  padding: 1.25rem 1.25rem 0.75rem;
}

.ww-resource-link-card .card-title {
  color: var(--ww-primary);
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.2;
}

.ww-resource-link-card:has(.card-text) .card-title {
  margin-bottom: 0.5rem;
}

.ww-resource-link-card .card-text {
  flex-grow: 0;
  font-size: 0.9375rem;
  text-align: center;
  margin-bottom: 0;
}

.ww-resource-link-card .card-footer {
  margin-top: auto;
  padding: 0 1.25rem 1.25rem;
}

.ww-resource-link-card .card-footer .btn {
  border-radius: 999px;
}

.ww-resource-link-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--ww-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.ww-resource-hub .card--featured {
  border: 2px solid rgba(var(--ww-primary-rgb), 0.2);
  box-shadow: 0 8px 24px var(--ww-shadow-hover);
}

.ww-resource-hub .card--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--ww-shadow-hover);
}

.ww-form-section .ww-form-back {
  max-width: 42rem;
  margin-inline: auto;
}

/* —— Benefits cards (foster + volunteer) —— */

.ww-benefits {
  background: var(--ww-surface);
}

.ww-benefits .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-benefits .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-benefits .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-benefits .intro .features-paragraph {
  max-width: 65ch;
  margin-inline: auto;
  color: var(--ww-text-muted);
}

@media (min-width: 768px) {
  .ww-benefits .intro .features-paragraph {
    margin-inline: 0;
  }
}

.ww-benefits .ww-cards .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ww-benefits .ww-cards .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  padding: 1.5rem 1.25rem;
}

.ww-benefits__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(var(--ww-primary-rgb), 0.12);
  color: var(--ww-primary);
  font-size: 1.25rem;
}

.ww-benefits .card-text {
  color: var(--ww-text);
  line-height: 1.45;
}

.ww-benefits--donate .card-text {
  font-weight: 600;
}

/* Donate page — tighter section rhythm */

main:has(.ww-benefits--donate) > .ww-breadcrumb-bar + .arial-content {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-benefits--donate) > .arial-content, main:has(.ww-benefits--donate) > .ww-section.ww-benefits--donate, main:has(.ww-benefits--donate) > .ww-section.ww-donate-supplies, main:has(.ww-benefits--donate) > .ww-cta.ww-cta--with-photo, main:has(.ww-benefits--donate) > .ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-benefits--donate) > .ww-section.ww-benefits--donate + .ww-section.ww-donate-supplies {
  padding-top: 0.75rem;
}

main:has(.ww-benefits--donate) > .ww-section.ww-benefits--donate:has( + .ww-section.ww-donate-supplies) {
  padding-bottom: 0.75rem;
}

main:has(.ww-benefits--donate) > .arial-content:has( + .ww-section.ww-benefits--donate) {
  padding-bottom: 1.25rem;
}

main:has(.ww-benefits--donate) > .arial-content + .ww-section.ww-benefits--donate {
  padding-top: 1.5rem;
}

main:has(.ww-benefits--donate) > .ww-section.ww-donate-supplies:has( + .ww-cta) {
  padding-bottom: 1.25rem;
}

main:has(.ww-benefits--donate) > .ww-section.ww-donate-supplies + .ww-cta {
  padding-top: 1.5rem;
}

main:has(.ww-benefits--donate) > .ww-section.ww-faq:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-benefits--donate) > .ww-section.ww-faq + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-benefits--donate) > .ww-section.ww-benefits--donate > .container, main:has(.ww-benefits--donate) > .ww-section.ww-donate-supplies > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

main:has(.ww-benefits--donate) > .ww-section.ww-benefits--donate .intro.row, main:has(.ww-benefits--donate) > .ww-section.ww-donate-supplies .intro.row {
  margin-bottom: 1.25rem;
}

@media (min-width: 1200px) {
  main:has(.ww-benefits--donate) > .ww-section.ww-benefits--donate > .container, main:has(.ww-benefits--donate) > .ww-section.ww-donate-supplies > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Adopt page — section rhythm */

main:has(.ww-adopt-process) > .ww-cta.ww-cta--with-photo, main:has(.ww-adopt-process) > .ww-section.ww-adopt-process, main:has(.ww-adopt-process) > .ww-section.ww-adopt-process + .ww-section, main:has(.ww-adopt-process) > .ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-adopt-process) > .ww-breadcrumb-bar + .ww-cta {
  padding-top: 1.25rem;
}

main:has(.ww-adopt-process) > .ww-cta:has( + .ww-section.ww-adopt-process) {
  padding-bottom: 1.25rem;
}

main:has(.ww-adopt-process) > .ww-cta + .ww-section.ww-adopt-process {
  padding-top: 1.5rem;
}

main:has(.ww-adopt-process) > .ww-section.ww-adopt-process + .ww-section {
  padding-top: 0.75rem;
}

main:has(.ww-adopt-process) > .ww-section.ww-adopt-process:has( + .ww-section) {
  padding-bottom: 0.75rem;
}

main:has(.ww-adopt-process) > .ww-section.ww-adopt-process + .ww-section:has( + .ww-cta) {
  padding-bottom: 1.25rem;
}

main:has(.ww-adopt-process) > .ww-section.ww-adopt-process + .ww-section + .ww-cta {
  padding-top: 1.5rem;
}

main:has(.ww-adopt-process) > .ww-section.ww-faq:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-adopt-process) > .ww-section.ww-faq + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-adopt-process) > .ww-section.ww-adopt-process > .container, main:has(.ww-adopt-process) > .ww-section.ww-adopt-process + .ww-section > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

main:has(.ww-adopt-process) > .ww-section.ww-adopt-process .intro.row, main:has(.ww-adopt-process) > .ww-section.ww-adopt-process + .ww-section .intro.row {
  margin-bottom: 1.25rem;
}

@media (min-width: 1200px) {
  main:has(.ww-adopt-process) > .ww-section.ww-adopt-process > .container, main:has(.ww-adopt-process) > .ww-section.ww-adopt-process + .ww-section > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Foster page — section rhythm */

main:has(.ww-foster-dogs) > .ww-section.ww-benefits, main:has(.ww-foster-dogs) > .ww-section.ww-foster-responsibilities, main:has(.ww-foster-dogs) > .ww-section.ww-foster-dogs, main:has(.ww-foster-dogs) > .ww-section.ww-interest-band, main:has(.ww-foster-dogs) > .ww-cta.ww-cta--with-photo {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-foster-dogs) > .ww-section.ww-benefits + .ww-section.ww-foster-responsibilities {
  padding-top: 0.75rem;
}

main:has(.ww-foster-dogs) > .ww-section.ww-benefits:has( + .ww-section.ww-foster-responsibilities) {
  padding-bottom: 0.75rem;
}

main:has(.ww-foster-dogs) > .ww-section.ww-foster-dogs:has( + .ww-section.ww-interest-band) {
  padding-bottom: 1.25rem;
}

main:has(.ww-foster-dogs) > .ww-section.ww-foster-dogs + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-foster-dogs) > .ww-section.ww-interest-band:has( + .ww-section.ww-faq) {
  padding-bottom: 1.25rem;
}

main:has(.ww-foster-dogs) > .ww-section.ww-interest-band + .ww-section.ww-faq {
  padding-top: 1.5rem;
}

main:has(.ww-foster-dogs) > .ww-section.ww-faq:has( + .ww-cta) {
  padding-bottom: 2rem;
}

main:has(.ww-foster-dogs) > .ww-cta:has( + .ww-section.ww-interest-band) {
  padding-bottom: 1.25rem;
}

main:has(.ww-foster-dogs) > .ww-cta + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-foster-dogs) > .ww-section.ww-benefits > .container, main:has(.ww-foster-dogs) > .ww-section.ww-foster-responsibilities > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

main:has(.ww-foster-dogs) > .ww-section.ww-benefits .intro.row, main:has(.ww-foster-dogs) > .ww-section.ww-foster-responsibilities .intro.row {
  margin-bottom: 1.25rem;
}

@media (min-width: 1200px) {
  main:has(.ww-foster-dogs) > .ww-section.ww-benefits > .container, main:has(.ww-foster-dogs) > .ww-section.ww-foster-responsibilities > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Volunteer page — section rhythm */

main:has(.ww-volunteer-opportunities) > .ww-section.ww-benefits, main:has(.ww-volunteer-opportunities) > .ww-section.ww-volunteer-opportunities, main:has(.ww-volunteer-opportunities) > .ww-cta.ww-cta--with-photo, main:has(.ww-volunteer-opportunities) > .ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-volunteer-opportunities) > .ww-section.ww-benefits + .ww-section.ww-volunteer-opportunities {
  padding-top: 0.75rem;
}

main:has(.ww-volunteer-opportunities) > .ww-section.ww-benefits:has( + .ww-section.ww-volunteer-opportunities) {
  padding-bottom: 0.75rem;
}

main:has(.ww-volunteer-opportunities) > .ww-section.ww-volunteer-opportunities:has( + .ww-cta) {
  padding-bottom: 1.25rem;
}

main:has(.ww-volunteer-opportunities) > .ww-section.ww-volunteer-opportunities + .ww-cta {
  padding-top: 1.5rem;
}

main:has(.ww-volunteer-opportunities) > .ww-section.ww-faq:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-volunteer-opportunities) > .ww-section.ww-faq + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-volunteer-opportunities) > .ww-section.ww-benefits > .container, main:has(.ww-volunteer-opportunities) > .ww-section.ww-volunteer-opportunities > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

main:has(.ww-volunteer-opportunities) > .ww-section.ww-benefits .intro.row, main:has(.ww-volunteer-opportunities) > .ww-section.ww-volunteer-opportunities .intro.row {
  margin-bottom: 1.25rem;
}

@media (min-width: 1200px) {
  main:has(.ww-volunteer-opportunities) > .ww-section.ww-benefits > .container, main:has(.ww-volunteer-opportunities) > .ww-section.ww-volunteer-opportunities > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Contact page — section rhythm */

.ww-page-header.ww-section:has( + .ww-contact-page), .ww-page-header.ww-section:has( + .ww-section.ww-success-stories) {
  padding-bottom: 0;
}

.ww-page-header:has( + .ww-contact-page) > .container, .ww-page-header:has( + .ww-section.ww-success-stories) > .container {
  padding-bottom: 0;
}

.ww-page-header + .ww-contact-page > .container, .ww-page-header + .ww-section.ww-success-stories > .container {
  padding-top: 0;
}

main:has(.ww-contact-page) > .ww-section.ww-contact-page, main:has(.ww-contact-page) > .ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-contact-page) > .ww-section.ww-contact-page:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-contact-page) > .ww-section.ww-contact-page + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-contact-page) > .ww-section.ww-contact-page > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(.ww-contact-page) > .ww-section.ww-contact-page > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Resources hub pages — section rhythm */

main:has(.ww-resource-hub):not(:has(.ww-resource-links)) > .ww-section.ww-resource-hub, main:has(.ww-resource-hub):not(:has(.ww-resource-links)) > .ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-resource-hub):not(:has(.ww-resource-links)) > .ww-section.ww-resource-hub:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-resource-hub):not(:has(.ww-resource-links)) > .ww-section.ww-resource-hub + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-resource-hub):not(:has(.ww-resource-links)) > .ww-section.ww-resource-hub > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(.ww-resource-hub):not(:has(.ww-resource-links)) > .ww-section.ww-resource-hub > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Success stories page — section rhythm */

main:has(.ww-success-stories) > .ww-section.ww-success-stories, main:has(.ww-success-stories) > .ww-cta.ww-cta--with-photo, main:has(.ww-success-stories) > .ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-success-stories) > .ww-section.ww-success-stories:has( + .ww-cta) {
  padding-bottom: 1.25rem;
}

main:has(.ww-success-stories) > .ww-section.ww-success-stories + .ww-cta {
  padding-top: 1.5rem;
}

main:has(.ww-success-stories) > .ww-cta:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-success-stories) > .ww-cta + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-success-stories) > .ww-section.ww-success-stories > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(.ww-success-stories) > .ww-section.ww-success-stories > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Testimonials page — section rhythm */

main:has(.ww-testimonials-spotlight) > .ww-section.ww-testimonials-spotlight, main:has(.ww-testimonials-spotlight) > .ww-cta.ww-cta--with-photo, main:has(.ww-testimonials-spotlight) > .ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-testimonials-spotlight) > .ww-section.ww-testimonials-spotlight:has( + .ww-cta) {
  padding-bottom: 1.25rem;
}

main:has(.ww-testimonials-spotlight) > .ww-section.ww-testimonials-spotlight + .ww-cta {
  padding-top: 1.5rem;
}

main:has(.ww-testimonials-spotlight) > .ww-cta:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-testimonials-spotlight) > .ww-cta + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-testimonials-spotlight) > .ww-section.ww-testimonials-spotlight > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(.ww-testimonials-spotlight) > .ww-section.ww-testimonials-spotlight > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Events listing page — section rhythm */

main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-events-listing, main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-interest-band {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-events-listing + .ww-section.ww-events-listing {
  padding-top: 0.75rem;
}

main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-events-listing:has( + .ww-section.ww-events-listing) {
  padding-bottom: 0.75rem;
}

main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-events-listing--past:has( + .ww-section.ww-interest-band), main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-events-listing:last-of-type:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-events-listing + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-events-listing > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(.ww-events-listing):not(:has(.ww-event-detail)) > .ww-section.ww-events-listing > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Event detail pages — interest band gap */

main:has(.ww-event-detail) > .ww-section.ww-event-detail:has( + .ww-section.ww-interest-band), main:has(.ww-event-detail) > .ww-section.ww-event-detail__featured:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-event-detail) > .ww-section.ww-event-detail + .ww-section.ww-interest-band, main:has(.ww-event-detail) > .ww-section.ww-event-detail__featured + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

/* Fundraisers page — section rhythm */

main:has(.ww-fundraiser-cards):not(:has(.ww-fundraiser-campaign)) > .ww-section {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-fundraiser-cards):not(:has(.ww-fundraiser-campaign)) > .ww-section + .ww-section {
  padding-top: 0.75rem;
}

main:has(.ww-fundraiser-cards):not(:has(.ww-fundraiser-campaign)) > .ww-section:has( + .ww-section) {
  padding-bottom: 0.75rem;
}

main:has(.ww-fundraiser-cards):not(:has(.ww-fundraiser-campaign)) > .ww-section > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(.ww-fundraiser-cards):not(:has(.ww-fundraiser-campaign)) > .ww-section > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Available dogs page — section rhythm */

main:has(.ww-dog-listing) > .ww-section.ww-featured-dogs, main:has(.ww-dog-listing) > .ww-section.ww-filters, main:has(.ww-dog-listing) > .ww-section.ww-dog-listing, main:has(.ww-dog-listing) > .ww-section.ww-interest-band, main:has(.ww-dog-listing) > .ww-section.ww-dog-categories, main:has(.ww-dog-listing) > .ww-section.ww-recently-adopted {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-dog-listing) > .ww-breadcrumb-bar + .ww-section.ww-featured-dogs {
  padding-top: 1.25rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-filters + .ww-section.ww-dog-listing {
  padding-top: 0.75rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-filters:has( + .ww-section.ww-dog-listing) {
  padding-bottom: 0.75rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-featured-dogs:has( + .ww-section.ww-filters) {
  padding-bottom: 1.25rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-featured-dogs + .ww-section.ww-filters {
  padding-top: 1.25rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-dog-listing:has( + .ww-section.ww-interest-band) {
  padding-bottom: 1.25rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-dog-listing + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-interest-band:has( + .ww-section.ww-dog-categories) {
  padding-bottom: 1.25rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-interest-band + .ww-section.ww-dog-categories {
  padding-top: 1.5rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-dog-categories + .ww-section.ww-recently-adopted {
  padding-top: 0.75rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-dog-categories:has( + .ww-section.ww-recently-adopted) {
  padding-bottom: 0.75rem;
}

main:has(.ww-dog-listing) > .ww-section.ww-featured-dogs > .container, main:has(.ww-dog-listing) > .ww-section.ww-filters > .container, main:has(.ww-dog-listing) > .ww-section.ww-dog-listing > .container, main:has(.ww-dog-listing) > .ww-section.ww-dog-categories > .container, main:has(.ww-dog-listing) > .ww-section.ww-recently-adopted > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(.ww-dog-listing) > .ww-section.ww-featured-dogs > .container, main:has(.ww-dog-listing) > .ww-section.ww-filters > .container, main:has(.ww-dog-listing) > .ww-section.ww-dog-listing > .container, main:has(.ww-dog-listing) > .ww-section.ww-dog-categories > .container, main:has(.ww-dog-listing) > .ww-section.ww-recently-adopted > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Dog category listing pages — section rhythm */

main:has(#dog-carousel) > .ww-section, main:has(#dog-carousel) > .ww-section.ww-interest-band, main:has(#dog-carousel) > .ww-cta.ww-cta--with-photo {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(#dog-carousel) > .ww-breadcrumb-bar + .ww-section {
  padding-top: 1.25rem;
}

main:has(#dog-carousel) > .ww-section:has( + .ww-section.ww-interest-band) {
  padding-bottom: 1.25rem;
}

main:has(#dog-carousel) > .ww-section + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

main:has(#dog-carousel) > .ww-section.ww-interest-band:has( + .ww-cta) {
  padding-bottom: 2rem;
}

main:has(#dog-carousel) > .ww-section.ww-interest-band + .ww-cta {
  padding-top: 1.5rem;
}

main:has(#dog-carousel) > .ww-section > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(#dog-carousel) > .ww-section > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* Home page — section rhythm */

main:has(.ww-action-cards) .ww-action-cards {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > .ww-section.ww-dog-categories, main:has(.ww-action-cards) > .arial-content, main:has(.ww-action-cards) > .ww-section:not(.ww-category-strip), main:has(.ww-action-cards) > .ww-cta, main:has(.ww-action-cards) > .ww-partners, main:has(.ww-action-cards) > .ww-section.ww-category-strip, main:has(.ww-action-cards) > .ww-adoptable-strip {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > .ww-action-cards + .ww-section.ww-dog-categories {
  padding-top: 1.5rem;
}

main:has(.ww-action-cards) > .ww-section.ww-dog-categories:has( + .arial-content) {
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > .ww-section.ww-dog-categories + .arial-content {
  padding-top: 1.5rem;
}

main:has(.ww-action-cards) > .arial-content:has( + .ww-section) {
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > .arial-content + .ww-section {
  padding-top: 1.5rem;
}

main:has(.ww-action-cards) > .ww-section:has( + .ww-cta) {
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > .ww-section + .ww-cta {
  padding-top: 1.5rem;
}

main:has(.ww-action-cards) > .ww-cta:has( + .ww-partners) {
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > .ww-cta + .ww-partners {
  padding-top: 1.5rem;
}

main:has(.ww-action-cards) > .ww-partners:has( + section[aria-label="Instagram feed"]) {
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > .ww-partners + section[aria-label="Instagram feed"] {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > section[aria-label="Instagram feed"]:has( + .ww-section.ww-category-strip) {
  padding-bottom: 1.25rem;
}

main:has(.ww-action-cards) > section[aria-label="Instagram feed"] + .ww-section.ww-category-strip {
  padding-top: 1.5rem;
}

@media (min-width: 1200px) {
  section[aria-label="Instagram feed"] .ww-instagram-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 1200px) {
  section[aria-label="Instagram feed"] .ww-instagram-row > .ww-instagram-embed-col, section[aria-label="Instagram feed"] .ww-instagram-row > .ww-instagram-companion {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  section[aria-label="Instagram feed"] .ww-instagram-companion {
    position: relative;
    align-self: stretch;
    min-height: 0;
    overflow: hidden;
  }
}

@media (min-width: 1200px) {
  section[aria-label="Instagram feed"] .ww-instagram-companion img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

main:has(.ww-action-cards) > .ww-section.ww-category-strip + .ww-adoptable-strip {
  padding-top: 0.75rem;
}

main:has(.ww-action-cards) > .ww-section.ww-category-strip:has( + .ww-adoptable-strip) {
  padding-bottom: 0.75rem;
}

main:has(.ww-action-cards) > .ww-section.ww-dog-categories > .container, main:has(.ww-action-cards) > .ww-section:not(.ww-category-strip) > .container, main:has(.ww-action-cards) > .ww-section.ww-category-strip > .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 1200px) {
  main:has(.ww-action-cards) > .ww-section.ww-dog-categories > .container, main:has(.ww-action-cards) > .ww-section:not(.ww-category-strip) > .container, main:has(.ww-action-cards) > .ww-section.ww-category-strip > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* About page — interest band gap */

main:has(.ww-about-mission) > .ww-section.ww-trust-credential:has( + .ww-section.ww-interest-band) {
  padding-bottom: 2rem;
}

main:has(.ww-about-mission) > .ww-section.ww-trust-credential + .ww-section.ww-interest-band {
  padding-top: 1.5rem;
}

/* —— About page —— */

.ww-about-mission, .ww-about-help, .ww-about-support {
  background: var(--ww-surface);
}

.ww-about-mission .intro h2, .ww-about-help .intro h2, .ww-about-support .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-about-mission .intro h2::after, .ww-about-help .intro h2::after, .ww-about-support .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-about-mission .intro h2::after, .ww-about-help .intro h2::after, .ww-about-support .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-about-mission .ww-cards .card, .ww-about-help .ww-cards .card, .ww-about-support .ww-cards .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ww-about-mission .ww-cards .card-body, .ww-about-help .ww-cards .card-body, .ww-about-support .ww-cards .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.5rem 1.25rem;
}

.ww-about__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(var(--ww-primary-rgb), 0.12);
  color: var(--ww-primary);
  font-size: 1.25rem;
}

.ww-about-mission .card-text, .ww-about-help .card-text, .ww-about-support .card-text {
  color: var(--ww-text);
  line-height: 1.55;
  font-size: 0.95rem;
}

.ww-about-mission .card-title, .ww-about-help .card-title, .ww-about-support .card-title {
  color: var(--ww-primary);
  font-weight: 700;
}

.ww-about-mission .card-footer, .ww-about-help .card-footer, .ww-about-support .card-footer {
  padding: 0 1.25rem 1.25rem;
}

.ww-about__list {
  padding-left: 1.25rem;
  color: var(--ww-text);
  line-height: 1.55;
}

.ww-about__list li + li {
  margin-top: 0.5rem;
}

.ww-about-help {
  background: transparent;
}

main > .ww-hero + .ww-breadcrumb-bar + .ww-section.ww-about-mission {
  padding-top: 1.25rem;
}

main > .ww-hero + .ww-breadcrumb-bar + .ww-section.ww-about-mission > .container {
  padding-top: 1rem;
}

main > .ww-section.ww-about-mission, main > .ww-section.ww-about-help, main > .ww-section.ww-about-support, main > .ww-section.ww-about-founder, main > .ww-section.ww-trust-credential {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

main > .ww-section.ww-about-mission + .ww-section.ww-about-help, main > .ww-section.ww-about-help + .ww-section.ww-about-support, main > .ww-section.ww-about-support + .ww-section.ww-about-founder, main > .ww-section.ww-about-founder + .ww-section.ww-trust-credential {
  padding-top: 0.75rem;
}

main > .ww-section.ww-about-mission:has( + .ww-section.ww-about-help), main > .ww-section.ww-about-help:has( + .ww-section.ww-about-support), main > .ww-section.ww-about-support:has( + .ww-section.ww-about-founder), main > .ww-section.ww-about-founder:has( + .ww-section.ww-trust-credential) {
  padding-bottom: 0.75rem;
}

main > .ww-section.ww-about-mission > .container, main > .ww-section.ww-about-help > .container, main > .ww-section.ww-about-support > .container, main > .ww-section.ww-about-founder > .container, main > .ww-section.ww-trust-credential > .container {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

main > .ww-section.ww-about-mission + .ww-section.ww-about-help > .container, main > .ww-section.ww-about-help + .ww-section.ww-about-support > .container, main > .ww-section.ww-about-support + .ww-section.ww-about-founder > .container, main > .ww-section.ww-about-founder + .ww-section.ww-trust-credential > .container {
  padding-top: 1rem;
}

main > .ww-section.ww-about-mission .intro.row, main > .ww-section.ww-about-help .intro.row, main > .ww-section.ww-about-support .intro.row {
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  main > .ww-section.ww-about-mission > .container, main > .ww-section.ww-about-help > .container, main > .ww-section.ww-about-support > .container, main > .ww-section.ww-about-founder > .container, main > .ww-section.ww-trust-credential > .container {
    padding-bottom: 2rem;
  }
}

@media (min-width: 992px) {
  main > .ww-section.ww-about-mission .intro.row, main > .ww-section.ww-about-help .intro.row, main > .ww-section.ww-about-support .intro.row {
    margin-bottom: 1.5rem;
  }
}

.ww-about-founder {
  background: var(--ww-surface);
}

.ww-about-founder h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-about-founder h2::after {
  margin-left: 0;
  margin-right: auto;
}

.ww-about-founder__photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 8px 24px var(--ww-shadow);
}

.ww-about-founder__invite {
  margin-top: 1.25rem;
  margin-bottom: 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--ww-secondary);
  background: var(--ww-surface-elevated);
  border-radius: 0 var(--ww-radius) var(--ww-radius) 0;
  font-style: italic;
  font-weight: 600;
  color: var(--ww-text);
}

.ww-trust-credential {
  background: var(--ww-surface-elevated);
}

.ww-trust-credential__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--ww-radius-lg);
  background: var(--ww-surface);
  box-shadow: 0 4px 20px var(--ww-shadow);
}

@media (min-width: 768px) {
  .ww-trust-credential__panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
  }
}

.ww-trust-credential__copy {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.ww-trust-credential__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(var(--ww-primary-rgb), 0.12);
  color: var(--ww-primary);
  font-size: 1.35rem;
}

.ww-trust-credential__title {
  color: var(--ww-primary);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ww-trust-credential__text {
  color: var(--ww-text-muted);
  font-size: 1rem;
}

.ww-trust-credential__seal {
  flex-shrink: 0;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
}

.ww-trust-credential__seal img {
  display: block;
  max-width: 140px;
  height: auto;
}

/* —— Foster dogs needing homes (foster page) —— */

.ww-foster-dogs {
  background: var(--ww-surface);
}

main > .ww-section.ww-foster-responsibilities:has( + .ww-section.ww-foster-dogs) {
  padding-bottom: 1.25rem;
}

main > .ww-section.ww-foster-responsibilities:has( + .ww-section.ww-foster-dogs) > .container {
  padding-bottom: 1.5rem;
}

main > .ww-section.ww-foster-responsibilities + .ww-section.ww-foster-dogs {
  padding-top: 0.75rem;
}

main > .ww-section.ww-foster-responsibilities + .ww-section.ww-foster-dogs > .container {
  padding-top: 1rem;
}

@media (min-width: 1200px) {
  main > .ww-section.ww-foster-responsibilities:has( + .ww-section.ww-foster-dogs) > .container {
    padding-bottom: 2rem;
  }
}

@media (min-width: 1200px) {
  main > .ww-section.ww-foster-responsibilities + .ww-section.ww-foster-dogs > .container {
    padding-top: 1.25rem;
  }
}

.ww-foster-dogs .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-foster-dogs .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-foster-dogs .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-foster-dogs .intro .features-paragraph {
  max-width: 65ch;
  margin-inline: auto;
  color: var(--ww-text-muted);
}

@media (min-width: 768px) {
  .ww-foster-dogs .intro .features-paragraph {
    margin-inline: 0;
  }
}

.ww-foster-dogs__empty {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

#needs-foster-template {
  display: none !important;
}

.ww-foster-dogs__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 576px) {
  .ww-foster-dogs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (min-width: 768px) {
  .ww-foster-dogs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .ww-foster-dogs__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ww-foster-dogs__grid > .dog-profile-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: none;
  padding: 0;
}

.ww-foster-dogs__grid > .dog-profile-card .card {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.ww-foster-dogs #needs-foster-grid > .dog-profile-card .needs-foster-dog__photo {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ww-foster-dogs #needs-foster-grid > .dog-profile-card .needs-foster-dog__photo .card-img, .ww-foster-dogs #needs-foster-grid > .dog-profile-card .needs-foster-dog__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--ww-radius) var(--ww-radius) 0 0;
}

.ww-foster-dogs #needs-foster-grid > .dog-profile-card .card-body {
  padding: 0.875rem 1rem;
}

.ww-foster-dogs #needs-foster-grid > .dog-profile-card .card-title {
  margin-bottom: 0;
  font-size: 1.125rem;
}

/* —— Category strip (home) —— */

.ww-category-strip {
  background: var(--ww-surface);
}

.ww-category-strip .tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--ww-radius);
  background: var(--ww-surface-elevated);
  border: 1px solid rgba(var(--ww-primary-rgb), 0.1);
  box-shadow: 0 2px 8px var(--ww-shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s var(--ww-ease), box-shadow 0.15s var(--ww-ease), border-color 0.15s var(--ww-ease);
}

.ww-category-strip .tile:hover, .ww-category-strip .tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--ww-shadow-hover);
  border-color: rgba(var(--ww-primary-rgb), 0.22);
  color: inherit;
}

.ww-category-strip .tile-img {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: calc(var(--ww-radius) - 0.15rem);
  object-fit: cover;
}

.ww-category-strip .tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.ww-category-strip .tile-title {
  font-weight: 700;
  color: var(--ww-primary);
  line-height: 1.25;
}

.ww-category-strip .tile-desc {
  font-size: 0.875rem;
  color: var(--ww-text-muted);
  line-height: 1.35;
}

.ww-category-strip .tile-arrow {
  flex-shrink: 0;
  color: rgba(var(--ww-primary-rgb), 0.45);
  font-size: 0.75rem;
  transition: transform 0.15s var(--ww-ease), color 0.15s var(--ww-ease);
}

.ww-category-strip .tile:hover .tile-arrow, .ww-category-strip .tile:focus-visible .tile-arrow {
  transform: translateX(3px);
  color: var(--ww-primary);
}

/* —— Adoptable dogs strip (home) —— */

.ww-adoptable-strip {
  background: var(--ww-surface);
  margin-bottom: 1.5rem;
}

.ww-adoptable-strip .panel {
  overflow: hidden;
  border-radius: var(--ww-radius);
  background: var(--ww-surface-elevated);
  border: 1px solid rgba(var(--ww-primary-rgb), 0.12);
  box-shadow: 0 4px 16px var(--ww-shadow);
}

.ww-adoptable-strip .cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  text-decoration: none;
  background: linear-gradient( 90deg, var(--ww-primary-dark) 0%, var(--ww-primary) 50%, #6b4a9e 100% );
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: filter 0.15s var(--ww-ease);
}

@media (min-width: 768px) {
  .ww-adoptable-strip .cta {
    gap: 1rem;
    padding: 0.875rem 1.25rem;
  }
}

.ww-adoptable-strip .cta:hover, .ww-adoptable-strip .cta:focus-visible {
  filter: brightness(1.06);
  color: inherit;
}

.ww-adoptable-strip .icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 1rem;
}

.ww-adoptable-strip .count {
  flex: 1;
  min-width: 0;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.ww-adoptable-strip .arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.75rem;
  transition: transform 0.15s var(--ww-ease), background-color 0.15s var(--ww-ease);
}

.ww-adoptable-strip .cta:hover .arrow, .ww-adoptable-strip .cta:focus-visible .arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.24);
}

.ww-adoptable-strip .gallery {
  background: var(--ww-surface);
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .ww-adoptable-strip .gallery {
    padding: 0.875rem 1rem 1rem;
  }
}

.ww-adoptable-strip .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .ww-adoptable-strip .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
  }
}

.ww-adoptable-strip .photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--ww-radius) - 0.125rem);
  border: 1px solid rgba(var(--ww-primary-rgb), 0.1);
  box-shadow: 0 2px 8px var(--ww-shadow);
  transition: transform 0.2s var(--ww-ease), box-shadow 0.2s var(--ww-ease), border-color 0.2s var(--ww-ease);
}

.ww-adoptable-strip .photo:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--ww-primary-rgb), 0.2);
  box-shadow: 0 6px 16px var(--ww-shadow-hover);
}

.ww-adoptable-strip .photo:focus-visible {
  outline: 2px solid var(--ww-primary);
  outline-offset: 3px;
}

.ww-adoptable-strip .photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ww-ease);
}

.ww-adoptable-strip .photo:hover img {
  transform: scale(1.04);
}

.ww-adoptable-strip .caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem 0.5rem 0.4rem;
  background: linear-gradient(to top, rgba(41, 22, 68, 0.9) 0%, transparent 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 0.2s var(--ww-ease), transform 0.2s var(--ww-ease);
  pointer-events: none;
}

.ww-adoptable-strip .caption:not(:empty) {
  opacity: 1;
  transform: translateY(0);
}

.ww-adoptable-strip .photo:hover .caption, .ww-adoptable-strip .photo:focus-visible .caption {
  opacity: 1;
  transform: translateY(0);
}

/* —— Spotlight (home) —— */

.ww-spotlight .card {
  border: none;
  box-shadow: none;
  transition: transform 0.15s var(--ww-ease);
}

.ww-spotlight .card:hover {
  transform: translateY(-3px);
}

.ww-spotlight img {
  box-shadow: 0 4px 16px var(--ww-shadow);
}

/* —— Global button/card overrides (scoped where possible) —— */

.ww-action-cards .btn:hover, .ww-cards .btn:hover, .ww-dogs .btn:hover, .ww-cta .btn:hover, .ww-dog-profile .btn:hover {
  transform: translateY(-1px);
}

.pagination .custom-active .page-link, .pagination .page-item.active .page-link {
  background-color: var(--ww-primary) !important;
  border-color: var(--ww-primary) !important;
  color: #fff !important;
}

@media (max-width: 991.98px) {
  .parallax-section {
    background-attachment: scroll !important;
  }
}

/* —— Process panel (adopt + foster responsibilities + donate supplies) —— */

.ww-adopt-process, .ww-foster-responsibilities, .ww-donate-supplies, .ww-volunteer-opportunities, .ww-event-detail, .ww-event-detail__featured {
  background: var(--ww-surface);
}

.ww-adopt-process .intro h2, .ww-foster-responsibilities .intro h2, .ww-donate-supplies .intro h2, .ww-volunteer-opportunities .intro h2, .ww-event-detail .intro h2, .ww-event-detail__featured .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-adopt-process .intro h2::after, .ww-foster-responsibilities .intro h2::after, .ww-donate-supplies .intro h2::after, .ww-volunteer-opportunities .intro h2::after, .ww-event-detail .intro h2::after, .ww-event-detail__featured .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-adopt-process .intro h2::after, .ww-foster-responsibilities .intro h2::after, .ww-donate-supplies .intro h2::after, .ww-volunteer-opportunities .intro h2::after, .ww-event-detail .intro h2::after, .ww-event-detail__featured .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.ww-adopt-process .intro .features-paragraph, .ww-foster-responsibilities .intro .features-paragraph, .ww-donate-supplies .intro .features-paragraph, .ww-volunteer-opportunities .intro .features-paragraph, .ww-event-detail .intro .features-paragraph, .ww-event-detail__featured .intro .features-paragraph {
  max-width: 65ch;
  margin-inline: auto;
  color: var(--ww-text-muted);
}

@media (min-width: 768px) {
  .ww-adopt-process .intro .features-paragraph, .ww-foster-responsibilities .intro .features-paragraph, .ww-donate-supplies .intro .features-paragraph, .ww-volunteer-opportunities .intro .features-paragraph, .ww-event-detail .intro .features-paragraph, .ww-event-detail__featured .intro .features-paragraph {
    margin-inline: 0;
  }
}

.ww-adopt-process .panel, .ww-foster-responsibilities .panel, .ww-donate-supplies .panel, .ww-volunteer-opportunities .panel, .ww-event-detail .panel {
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 20px var(--ww-shadow);
  padding: 1.25rem 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ww-adopt-process .panel, .ww-foster-responsibilities .panel, .ww-donate-supplies .panel, .ww-volunteer-opportunities .panel, .ww-event-detail .panel {
    padding: 1.75rem 2rem;
  }
}

.ww-adopt-process .lead, .ww-foster-responsibilities .lead, .ww-donate-supplies .lead, .ww-volunteer-opportunities .lead {
  text-align: center;
  margin-bottom: 1.25rem;
}

.ww-adopt-process .lead-photo, .ww-foster-responsibilities .lead-photo, .ww-donate-supplies .lead-photo, .ww-volunteer-opportunities .lead-photo {
  display: block;
  width: 6rem;
  height: 6rem;
  margin-inline: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px var(--ww-shadow);
}

.ww-adopt-process .ww-process-steps, .ww-foster-responsibilities .ww-process-steps, .ww-donate-supplies .ww-process-steps, .ww-volunteer-opportunities .ww-process-steps {
  min-width: 0;
}

@media (min-width: 768px) {
  .ww-adopt-process .ww-process-steps, .ww-foster-responsibilities .ww-process-steps, .ww-donate-supplies .ww-process-steps, .ww-volunteer-opportunities .ww-process-steps {
    max-width: 42rem;
    margin-inline: auto;
  }
}

.ww-adopt-process .ww-process-steps__item > div:last-child, .ww-foster-responsibilities .ww-process-steps__item > div:last-child, .ww-donate-supplies .ww-process-steps__item > div:last-child, .ww-volunteer-opportunities .ww-process-steps__item > div:last-child {
  min-width: 0;
  flex: 1;
}

.ww-adopt-process .ww-process-steps {
  counter-reset: adopt-step;
}

.ww-adopt-process .ww-process-steps__item {
  counter-increment: adopt-step;
}

.ww-adopt-process .ww-process-steps__icon::before {
  content: counter(adopt-step);
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--ww-secondary);
  color: var(--ww-primary);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.25rem;
  text-align: center;
  box-shadow: 0 1px 4px var(--ww-shadow);
}

/* —— Adoption process steps —— */

.ww-process-steps {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.ww-process-steps__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0.75rem;
  border-bottom: none;
  border-radius: var(--ww-radius);
  transition: background 0.15s var(--ww-ease);
  overflow: visible;
}

.ww-adopt-process .ww-process-steps__item, .ww-foster-responsibilities .ww-process-steps__item, .ww-donate-supplies .ww-process-steps__item, .ww-volunteer-opportunities .ww-process-steps__item {
  isolation: isolate;
}

@media (min-width: 768px) {
  .ww-process-steps__item:hover {
    background: rgba(var(--ww-primary-rgb), 0.05);
  }
}

.ww-process-steps__item:last-child {
  padding-bottom: 0.75rem;
}

.ww-adopt-process .ww-process-steps__item, .ww-foster-responsibilities .ww-process-steps__item, .ww-donate-supplies .ww-process-steps__item, .ww-volunteer-opportunities .ww-process-steps__item {
  padding: 1rem 1rem;
}

.ww-donate-supplies .ww-process-steps__item {
  align-items: center;
}

.ww-foster-responsibilities__note {
  margin-top: 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

.ww-foster-responsibilities__note .banner-paragraph {
  color: #fff;
}

.ww-process-steps__icon {
  position: relative;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--ww-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.ww-process-steps__item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ww-primary);
  margin-bottom: 0.35rem;
}

.ww-process-steps__item p {
  color: var(--ww-text-muted);
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* —— Testimonial cards —— */

.ww-testimonial {
  border: none;
  border-radius: var(--ww-radius);
  box-shadow: 0 4px 16px var(--ww-shadow);
  height: 100%;
}

.ww-testimonial__quote {
  font-style: italic;
  color: var(--ww-text);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--ww-primary);
}

.ww-testimonial__name {
  color: var(--ww-primary);
}

.ww-testimonial__avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-right: 0.75rem;
  border-radius: 50%;
  background: rgba(var(--ww-primary-rgb), 0.12);
  color: var(--ww-primary);
  font-size: 1.25rem;
}

.ww-testimonials-spotlight {
  background: var(--ww-surface);
  padding-top: 0;
}

.ww-testimonials-spotlight__inner {
  max-width: 56rem;
  margin-inline: auto;
}

.ww-testimonial__quote--open {
  margin-bottom: 1.5rem;
}

.ww-testimonials-spotlight .ww-testimonial__quote--open {
  font-size: 1.0625rem;
}

@media (min-width: 768px) {
  .ww-testimonials-spotlight .ww-testimonial__quote--open {
    font-size: 1.125rem;
  }
}

.ww-testimonials-section .intro h2, .ww-testimonials-spotlight .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-testimonials-section .intro h2::after, .ww-testimonials-spotlight .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .ww-testimonials-section .intro h2::after {
    margin-left: 0;
    margin-right: auto;
  }
}

/* —— Form sections (custom submit forms only; Shelterluv iframes stay on bg-body-secondary) —— */

.ww-form-section {
  background: transparent;
}

.ww-form-section .card {
  background: var(--ww-surface-elevated);
  border: none;
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 20px var(--ww-shadow);
}

.ww-page-header .ww-hero-lead, .ww-page-header > .container > .row:first-child p, .ww-page-header .col-xl-10 p {
  color: var(--ww-text-muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

/* —— Benefit icon grids inside ww-cards —— */

.ww-cards .col > .card .card-body {
  padding: 1.5rem;
}

.ww-cards .col > .card .card-text, .ww-cards .col > .card h3 {
  color: var(--ww-text);
}

/* —— Valentines category carousel accents —— */

.ww-featured-dogs .valentine-carousel .carousel-indicators .active::after {
  background-color: var(--valentine-female, #c63e6f);
}

.ww-featured-dogs .valentine-carousel .ww-dog-carousel-toolbar .carousel-control-prev-icon, .ww-featured-dogs .valentine-carousel .ww-dog-carousel-toolbar .carousel-control-next-icon {
  filter: invert(24%) sepia(65%) saturate(1200%) hue-rotate(310deg) brightness(90%);
}

.ww-featured-dogs .valentine-carousel .ww-dog-carousel-pause {
  color: var(--valentine-female, #c63e6f);
  border-color: rgba(198, 62, 111, 0.35);
}

.ww-featured-dogs .valentine-carousel .ww-dog-carousel-pause:focus-visible {
  outline-color: var(--valentine-female, #c63e6f);
}

/* —— Puppies category carousel accents —— */

.ww-featured-dogs .puppy-carousel .carousel-indicators .active::after {
  background-color: var(--puppy-female, #b8476a);
}

.ww-featured-dogs .puppy-carousel .ww-dog-carousel-toolbar .carousel-control-prev-icon, .ww-featured-dogs .puppy-carousel .ww-dog-carousel-toolbar .carousel-control-next-icon {
  filter: invert(32%) sepia(48%) saturate(1200%) hue-rotate(186deg) brightness(90%);
}

.ww-featured-dogs .puppy-carousel .ww-dog-carousel-pause {
  color: var(--puppy-male, #2563a8);
  border-color: rgba(37, 99, 168, 0.35);
}

.ww-featured-dogs .puppy-carousel .ww-dog-carousel-pause:focus-visible {
  outline-color: var(--puppy-male, #2563a8);
}

/* —— Senior dogs category carousel accents —— */

.ww-featured-dogs .senior-carousel .carousel-indicators .active::after {
  background-color: var(--senior-female, #8f4a6b);
}

.ww-featured-dogs .senior-carousel .ww-dog-carousel-toolbar .carousel-control-prev-icon, .ww-featured-dogs .senior-carousel .ww-dog-carousel-toolbar .carousel-control-next-icon {
  filter: invert(35%) sepia(28%) saturate(800%) hue-rotate(300deg) brightness(88%);
}

.ww-featured-dogs .senior-carousel .ww-dog-carousel-pause {
  color: var(--senior-male, #3d6b5e);
  border-color: rgba(61, 107, 94, 0.35);
}

.ww-featured-dogs .senior-carousel .ww-dog-carousel-pause:focus-visible {
  outline-color: var(--senior-male, #3d6b5e);
}

/* —— Longtimers category carousel accents —— */

.ww-featured-dogs .longtimer-carousel .carousel-indicators .active::after {
  background-color: var(--longtimer-female, #5e3d5e);
}

.ww-featured-dogs .longtimer-carousel .ww-dog-carousel-toolbar .carousel-control-prev-icon, .ww-featured-dogs .longtimer-carousel .ww-dog-carousel-toolbar .carousel-control-next-icon {
  filter: invert(28%) sepia(22%) saturate(900%) hue-rotate(270deg) brightness(88%);
}

.ww-featured-dogs .longtimer-carousel .ww-dog-carousel-pause {
  color: var(--longtimer-male, #8b2e2e);
  border-color: rgba(139, 46, 46, 0.35);
}

.ww-featured-dogs .longtimer-carousel .ww-dog-carousel-pause:focus-visible {
  outline-color: var(--longtimer-male, #8b2e2e);
}

.ww-featured-dogs #dog-carousel.puppy-carousel, .ww-featured-dogs #dog-carousel.valentine-carousel, .ww-featured-dogs #dog-carousel.senior-carousel, .ww-featured-dogs #dog-carousel.longtimer-carousel {
  overflow: visible;
}

/* —— Success stories carousel —— */

.ww-success-stories {
  background: var(--ww-surface);
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.ww-success-stories .intro h2 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-success-stories .intro h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.ww-stories-carousel {
  position: relative;
  padding-bottom: 0.5rem;
}

.ww-stories-carousel .carousel-inner {
  padding-bottom: 1rem;
}

.ww-stories-carousel .carousel-item {
  transition: transform 0.85s var(--ww-ease);
}

@media (prefers-reduced-motion: reduce) {
  .ww-stories-carousel .carousel-item {
    transition: none;
  }
}

.ww-stories-carousel .story-card {
  background: var(--ww-surface-elevated);
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 20px var(--ww-shadow);
  padding: 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ww-stories-carousel .story-card {
    padding: 1.75rem 2rem;
  }
}

.ww-stories-carousel .story-card__media {
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 992px) {
  .ww-stories-carousel .story-card__media {
    max-width: none;
    margin-inline: 0;
  }
}

.ww-stories-carousel .story-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--ww-radius-lg);
  box-shadow: 0 4px 16px var(--ww-shadow);
}

.ww-stories-carousel .story-card h2, .ww-stories-carousel .story-card h3 {
  color: var(--ww-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ww-stories-carousel .story-card h2::after, .ww-stories-carousel .story-card h3::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ww-secondary);
  margin: 0.75rem 0 0;
  border-radius: 2px;
}

.ww-stories-carousel .story-card__body {
  max-width: 65ch;
}

.ww-stories-carousel .story-card blockquote {
  color: var(--ww-text-muted);
  margin-bottom: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--ww-secondary);
}

.ww-stories-carousel .story-card .blockquote-footer {
  color: var(--ww-text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.ww-stories-carousel .story-quote--truncatable .story-quote__full {
  display: none;
}

.ww-stories-carousel .story-quote--truncatable.story-quote--expanded .story-quote__preview {
  display: none;
}

.ww-stories-carousel .story-quote--truncatable.story-quote--expanded .story-quote__full {
  display: block;
}

.ww-stories-carousel .story-quote__preview {
  color: var(--ww-text-muted);
  margin-bottom: 0;
}

.ww-stories-carousel .story-quote--truncatable:not(.story-quote--expanded) .story-quote__preview {
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}

.ww-stories-carousel .story-quote__toggle {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ww-primary);
  text-decoration: none;
}

.ww-stories-carousel .story-quote__toggle:hover, .ww-stories-carousel .story-quote__toggle:focus-visible {
  color: var(--ww-primary-dark);
  text-decoration: underline;
}

.ww-stories-carousel .carousel-indicators {
  display: none;
}

.ww-stories-carousel__nav {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  max-width: 1100px;
  margin: 1.25rem auto 0;
  padding-top: 0.5rem;
}

.ww-stories-carousel__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ww-stories-carousel .carousel-control-prev, .ww-stories-carousel .carousel-control-next {
  position: static;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  opacity: 0.9;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: var(--ww-surface-elevated);
  box-shadow: 0 2px 8px var(--ww-shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ww-stories-carousel .carousel-control-prev-icon, .ww-stories-carousel .carousel-control-next-icon {
  filter: invert(18%) sepia(45%) saturate(2000%) hue-rotate(243deg) brightness(90%);
}

.ww-stories-carousel__status {
  color: var(--ww-text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
}

.ww-stories-carousel__counter {
  color: var(--ww-primary);
}

/* —— Event detail pages —— */

main > .ww-section.ww-event-detail, main > .ww-section.ww-event-detail__featured {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

main > .ww-section.ww-event-detail + .ww-section.ww-event-detail {
  padding-top: 0.75rem;
}

main > .ww-section.ww-event-detail + .ww-section.ww-event-detail .intro.row {
  margin-bottom: 1rem;
}

.ww-hero-split .ww-hero-copy .badge.bg-primary {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ww-event-detail .ww-event-meta {
  min-width: 0;
}

@media (min-width: 768px) {
  .ww-event-detail .ww-event-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 1.25rem;
    max-width: none;
    margin-inline: 0;
  }
}

@media (min-width: 768px) {
  .ww-event-detail .ww-event-meta .ww-process-steps__item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem;
  }
}

@media (min-width: 768px) {
  .ww-event-detail .ww-event-meta .ww-process-steps__item:hover {
    background: rgba(var(--ww-primary-rgb), 0.05);
  }
}

.ww-event-detail__featured .card-img-top, .ww-event-detail__featured .ww-event-detail__card-photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.ww-event-detail__featured .card-title a {
  color: var(--ww-primary);
  font-weight: 700;
  text-decoration: none;
}

.ww-event-detail__featured .card-title a:hover {
  text-decoration: underline;
}

.ww-event-detail .features-paragraph {
  max-width: 65ch;
  color: var(--ww-text-muted);
}

@media (min-width: 768px) {
  .ww-event-detail .features-paragraph {
    margin-inline: 0;
  }
}

/* —— Legacy Articles-Cards-images (merged for single components bundle) —— */

.fit-cover {
  object-fit: cover;
}

.dog_details {
  transition: 0.1s var(--ww-ease);
}

.dog_details:hover {
  transform: scale(1.03);
  transition: 0.1s var(--ww-ease);
}

@media (min-width: 992px) {
  .card-footer-lg-3 {
    min-height: 129px;
  }
}

@media (min-width: 1200px) {
  .card-footer-xl-3 {
    min-height: 81px;
  }
}

@media (min-width: 992px) {
  .column-contact-md-lg {
    min-width: 400px;
  }
}

@media (min-width: 1400px) {
  .column-contact-xxl {
    min-width: 440px;
  }
}

@media (min-width: 768px) {
  .align-content-top {
    justify-content: start !important;
  }
}

@media (min-width: 768px) {
  .row-columns-md-1 {
    min-width: 100%;
  }
}

@media (min-width: 992px) {
  .row-columns-lg-3 {
    min-width: 33.3333333333%;
  }
}

