.zoospas-2-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.zoospas-2-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.zoospas-2-single-card {
  max-width: 360px;
  width: 100%;
}

.zoospas-2-card__media {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #f4f1ec;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.zoospas-2-card__image {
  height: 100% !important;
  inset: 0;
  object-fit: cover !important;
  position: absolute;
  width: 100%;
}

.zoospas-2-card__placeholder {
  color: #777;
}

.zoospas-2-card__body {
  flex: 1 1 auto;
  padding: 16px;
}

.zoospas-2-card__body h3,
.zoospas-2-card__body p {
  margin: 0 0 8px;
}

.zoospas-2-gallery {
  margin: 24px 0;
  max-width: 900px;
}

.zoospas-2-gallery__stage {
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  max-width: 100%;
  min-height: 420px;
  overflow: hidden;
  width: 100%;
}

.zoospas-2-gallery__main {
  align-items: center;
  background: #fff;
  display: flex;
  height: min(68vh, 680px);
  justify-content: center;
}

.zoospas-2-gallery__main img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.zoospas-2-gallery__arrow {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
  color: #d57120 !important;
  cursor: pointer;
  display: flex;
  font-size: 48px;
  height: 100%;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-width: 0;
  padding: 0 !important;
  width: 100%;
}

.zoospas-2-gallery__arrow:hover,
.zoospas-2-gallery__arrow:focus,
.zoospas-2-gallery__arrow:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #a85013 !important;
}

.zoospas-2-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 3px;
}

.zoospas-2-gallery__thumb {
  background: #f4f1ec;
  border: 2px solid transparent;
  border-radius: 8px;
  flex: 0 0 104px;
  height: 82px;
  overflow: hidden;
  padding: 0;
}

.zoospas-2-gallery__thumb.is-current {
  border-color: #d57120;
}

.zoospas-2-gallery__thumb img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

@media (max-width: 600px) {
  .zoospas-2-gallery__stage {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    min-height: 300px;
  }
  .zoospas-2-gallery__main {
    height: 55vh;
  }
}

/* Rebuilt header: one predictable layout, independent of the legacy Bootstrap grid. */
.zoospas-site-header {
  background: #fff;
  border-bottom: 1px solid #eee7de;
  box-shadow: 0 3px 16px rgba(33, 54, 50, 0.06);
  position: relative;
  z-index: 100;
}

.zoospas-header__inner {
  align-items: center;
  display: grid;
  gap: 14px 28px;
  grid-template-columns: minmax(140px, auto) minmax(0, 1fr);
  padding-block: 14px 12px;
}

.zoospas-header__brand,
.zoospas-header__brand .site-branding {
  float: none;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: auto;
}

.zoospas-header__brand .custom-logo-link,
.zoospas-header__brand .site-logo {
  display: block;
  margin: 0;
}

.zoospas-header__brand img {
  display: block;
  height: auto;
  margin: 0;
  max-height: 68px;
  max-width: 190px;
  width: auto;
}

.zoospas-header__actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  min-width: 0;
}

.zoospas-header__socials {
  align-items: center;
  display: flex;
  gap: 5px;
}

.zoospas-header__socials a,
.zoospas-header__email,
.zoospas-header__toggle {
  align-items: center;
  color: #d57121 !important;
  display: inline-flex;
  justify-content: center;
}

.zoospas-header__socials a {
  height: 34px;
  width: 34px;
}

.zoospas-header__socials svg,
.zoospas-header__email svg {
  fill: currentColor;
  height: 22px;
  width: 22px;
}

.zoospas-header__socials a:hover,
.zoospas-header__socials a:focus-visible,
.zoospas-header__email:hover,
.zoospas-header__email:focus-visible {
  color: #a85013 !important;
}

.zoospas-header__email {
  gap: 7px;
  text-decoration: none;
}

.zoospas-header__email span {
  font-size: 14px;
}

.zoospas-header__toggle {
  background: transparent;
  border: 0;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 40px;
  margin: 0;
  padding: 8px;
  width: 40px;
}

.zoospas-header__toggle span {
  background: currentColor;
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 22px;
}

.zoospas-header__toggle:hover,
.zoospas-header__toggle:focus,
.zoospas-header__toggle:active {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #a85013 !important;
}

.zoospas-header__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.zoospas-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.zoospas-header__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.zoospas-header__nav {
  border-top: 1px solid #f1ebe3;
  grid-column: 1 / -1;
  padding-top: 10px;
}

.zoospas-header__nav .menu {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zoospas-header__nav .menu-item {
  float: none;
  margin: 0;
  position: relative;
}

.zoospas-header__nav .menu-item > a,
.zoospas-header__nav .menu-item > p {
  color: #213632;
  display: block;
  font-size: 13px !important;
  letter-spacing: 0.35px !important;
  line-height: 1.35;
  padding: 9px 3px;
  text-decoration: none;
}

.zoospas-header__nav .menu-item > a:hover,
.zoospas-header__nav .menu-item > a:focus-visible,
.zoospas-header__nav .current-menu-item > a {
  color: #d57121;
}

.zoospas-header__nav .sub-menu {
  min-width: 240px;
}

.zoospas-header__nav .sub-menu .menu-item {
  align-items: stretch;
  width: 100%;
}

.zoospas-header__nav .sub-menu a,
.zoospas-header__nav .sub-menu p {
  box-sizing: border-box;
  text-align: left !important;
  white-space: normal;
  width: 100% !important;
}

.zoospas-header__submenu-toggle {
  display: none;
}

@media (min-width: 901px) {
  .zoospas-header__nav .menu {
    flex-wrap: nowrap;
  }

  .zoospas-header__nav .menu > .menu-item {
    align-items: stretch;
    display: block;
    max-height: none;
  }

  .zoospas-header__nav .menu > .menu-item > a {
    align-items: center;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
    padding: 7px 3px;
    text-align: center;
    transition: border-color 160ms ease, color 160ms ease;
  }

  .zoospas-header__nav .menu-item > a::before,
  .zoospas-header__nav .menu-item > a::after {
    display: none !important;
  }

  .zoospas-header__nav .menu-item > a p {
    line-height: 1.25;
    margin: 0;
  }

  .zoospas-header__nav .menu > .menu-item > a:hover,
  .zoospas-header__nav .menu > .menu-item > a:focus-visible,
  .zoospas-header__nav .menu > .current-menu-item > a {
    border-bottom-color: #d57121;
  }

  .zoospas-header__nav .sub-menu {
    background: #fff;
    border: 1px solid #e7ded3;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(33, 54, 50, 0.14);
    display: block;
    left: 0 !important;
    list-style: none;
    margin: 0;
    opacity: 0;
    padding: 7px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 6px) !important;
    transform: translateY(5px);
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
    visibility: hidden;
    z-index: 1000;
  }

  .zoospas-header__nav .menu-item:hover > .sub-menu,
  .zoospas-header__nav .menu-item:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .zoospas-header__nav .sub-menu .menu-item {
    display: block;
    padding: 0;
  }

  .zoospas-header__nav .sub-menu a {
    border-radius: 6px;
    color: #213632 !important;
    display: block;
    font-size: 14px !important;
    line-height: 1.35;
    padding: 10px 12px !important;
    transition: background-color 140ms ease, color 140ms ease;
  }

  .zoospas-header__nav .sub-menu a:hover,
  .zoospas-header__nav .sub-menu a:focus-visible {
    background: #fff5e9;
    color: #d57121 !important;
  }

  .zoospas-header__nav .sub-menu .sub-menu {
    left: calc(100% + 6px) !important;
    top: -7px !important;
  }

  .zoospas-header__nav .menu-button {
    height: 52px;
    width: 175px;
  }

  .zoospas-header__nav .menu-button::after {
    box-sizing: border-box;
    height: 52px;
    left: 0;
    min-width: 0;
    top: 0;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .zoospas-header__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-between;
    padding-block: 8px;
  }

  .zoospas-header__brand {
    flex: 0 1 92px;
    min-width: 64px;
  }

  .zoospas-header__brand .site-branding {
    align-items: center;
    display: flex;
  }

  .zoospas-header__brand img {
    max-height: 48px;
    max-width: 92px;
    width: 100%;
  }

  .zoospas-header__actions {
    flex: 1 1 auto;
    gap: 2px;
  }

  .zoospas-header__socials {
    gap: 1px;
  }

  .zoospas-header__socials a {
    height: 28px;
    width: 28px;
  }

  .zoospas-header__socials svg,
  .zoospas-header__email svg {
    height: 18px;
    width: 18px;
  }

  .zoospas-header__email {
    height: 28px;
    width: 28px;
  }

  .zoospas-header__email span {
    display: none;
  }

  .zoospas-header__toggle {
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    width: 38px;
  }

  .zoospas-header__nav {
    border-top: 1px solid #eee7de;
    display: none;
    flex: 0 0 100%;
    padding: 8px 0 4px;
  }

  .zoospas-header__nav.is-open {
    display: block;
  }

  .zoospas-header__nav .menu {
    align-items: stretch;
    display: grid;
    gap: 0;
    justify-content: stretch;
    width: 100%;
  }

  .zoospas-header__nav .menu > .menu-item {
    align-items: stretch;
    display: block;
    max-height: none;
    position: relative;
    width: 100%;
  }

  .zoospas-header__nav .menu > .menu-item-has-children > a {
    padding-right: 48px;
  }

  .zoospas-header__nav .menu-item > a,
  .zoospas-header__nav .menu-item > p {
    border-bottom: 1px solid #f3eee7;
    box-sizing: border-box;
    display: block;
    font-size: 15px !important;
    padding: 12px 4px;
    text-align: left;
    white-space: normal;
    width: 100%;
  }

  .zoospas-header__nav .menu-item p {
    margin: 0;
    text-align: left !important;
  }

  .zoospas-header__submenu-toggle {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #d57121 !important;
    display: flex;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 2px;
    width: 44px;
    z-index: 2;
  }

  .zoospas-header__submenu-toggle span {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    height: 8px;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
    width: 8px;
  }

  .zoospas-header__nav .is-submenu-open > .zoospas-header__submenu-toggle span {
    transform: translateY(2px) rotate(225deg);
  }

  .zoospas-header__nav .sub-menu {
    background: transparent;
    float: none;
    left: auto !important;
    min-width: 0;
    display: none;
    opacity: 1;
    padding-left: 18px;
    pointer-events: auto;
    position: static !important;
    top: auto !important;
    transform: none;
    visibility: visible;
    width: 100%;
  }

  .zoospas-header__nav .is-submenu-open > .sub-menu {
    display: block;
  }
}

@media (max-width: 370px) {
  .zoospas-header__inner {
    padding-inline: 10px;
  }

  .zoospas-header__brand {
    flex-basis: 76px;
  }

  .zoospas-header__brand img {
    max-width: 76px;
  }

  .zoospas-header__socials a,
  .zoospas-header__email {
    height: 25px;
    width: 25px;
  }

  .zoospas-header__toggle {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }
}

.zoospas-2-filter__form {
  align-items: end;
  background: #f7f4ef;
  border-radius: 12px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
  padding: 18px;
}

.zoospas-2-filter__form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.zoospas-2-filter__form select,
.zoospas-2-filter__form button {
  min-height: 44px;
}

.zoospas-2-filter__form select {
  background-color: #fff;
  border: 1px solid #d9d3ca;
  border-radius: 8px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.zoospas-2-filter__form select.is-selected {
  background-color: #fff8ef;
  border-color: #d57121;
  box-shadow: 0 0 0 2px rgba(213, 113, 33, 0.14);
}

.zoospas-2-filter__form select:focus-visible {
  border-color: #b95f18;
  box-shadow: 0 0 0 3px rgba(213, 113, 33, 0.22);
  outline: 0;
}

.zoospas-2-filter__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: center;
}

.zoospas-2-filter__check {
  align-items: center;
  display: flex !important;
  font-weight: 400 !important;
  gap: 8px !important;
  grid-column: 1 / -1;
}

.zoospas-2-filter__check input {
  margin: 0;
}

.zoospas-2-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 32px 0;
}

.zoospas-2-pagination .page-numbers {
  align-items: center;
  background: #fff;
  border: 1px solid #d9d3ca;
  border-radius: 8px;
  color: #213632;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  padding: 6px 12px;
  text-decoration: none;
}

.zoospas-2-pagination .current,
.zoospas-2-pagination a:hover,
.zoospas-2-pagination a:focus-visible {
  background: #d57121;
  border-color: #d57121;
  color: #fff !important;
}

.zoospas-2-card__adopted {
  color: #b98738;
  font-size: 0.92em;
}

.zoospas-2-filter__buttons button {
  font-size: 13px !important;
  letter-spacing: 1.5px !important;
  min-width: 132px;
  padding-inline: 20px;
  white-space: nowrap;
}

.zoospas-2-filter__buttons button[type="submit"] {
  background: #d57121;
  border-color: #d57121;
  color: #fff !important;
}

.zoospas-2-filter__buttons button[type="submit"]:hover,
.zoospas-2-filter__buttons button[type="submit"]:focus-visible {
  background: #b95f18;
  border-color: #b95f18;
  color: #fff !important;
}

.zoospas-2-filter__message {
  min-height: 24px;
}

/* Normalize the legacy theme to a conventional readable web type scale. */
body,
body p,
body li,
body a,
body label,
body input,
body textarea,
body select {
  font-weight: 400 !important;
}

body {
  font-size: 16px;
  line-height: 1.6;
}

:root {
  --zoospas-content-width: 1180px;
  --zoospas-gutter: 24px;
  --zoospas-radius: 8px;
}

/* One shared content edge for the legacy header, pages and footer. */
.zoospas-header__inner,
#content > .container {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: calc(var(--zoospas-content-width) + (var(--zoospas-gutter) * 2));
  padding-inline: var(--zoospas-gutter);
  width: 100%;
}

.site-content .content__container {
  padding-inline: 0;
  width: 100%;
}

.footer-navigation,
.footer-dashboard,
#colophon.site-footer {
  box-sizing: border-box;
  padding-inline: max(var(--zoospas-gutter), calc((100% - var(--zoospas-content-width)) / 2));
}

.footer-navigation,
.footer-navigation__container,
.footer-navigation__list {
  align-items: flex-start;
  text-align: left;
}

#colophon.site-footer,
#colophon.site-footer :where(p, a, span),
.footer-navigation,
.footer-navigation :where(p, a, span) {
  letter-spacing: 0;
}

#colophon.site-footer {
  font-size: 14px;
  line-height: 1.55;
}

.footer__numbers {
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer__numbers p {
  margin: 0;
}

/* Keep internal utility pages out of the public header menu. */
#mainnav #menu-item-25300,
#mainnav #menu-item-25303,
#mainnav-mobi #menu-item-25300,
#mainnav-mobi #menu-item-25303,
.zoospas-header__nav #menu-item-25300,
.zoospas-header__nav #menu-item-25303 {
  display: none !important;
}

/* Simplify the legacy 404 page. */
.error404 .page-404-content__image--1024,
.error404 .page-404-content__image--480 {
  display: none !important;
}

.error404 .page-404-content__image--768 {
  display: block !important;
  height: auto;
  width: 100%;
}

.error404 .page-404-content__button--second,
.error404 .page-404-content__social-title {
  display: none !important;
}

.error404 .page-404-content__container-buttons {
  align-items: center;
}

.error404 .page-404-content__buttons {
  margin-bottom: 28px;
}

.error404 .page-404-content__social-links {
  align-items: center;
  display: flex !important;
  gap: 16px;
  justify-content: center;
  margin-inline: auto;
  width: auto;
}

.error404 .page-404-content__social-wrapper {
  display: flex !important;
  flex: 0 0 44px;
  height: 44px;
  width: 44px;
}

@media (min-width: 981px) {
  #mainnav .menu {
    align-items: center;
    flex-wrap: nowrap;
  }

  #mainnav .menu > .menu-item > a,
  #mainnav .menu-item p {
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
  }

  #mainnav .menu-button {
    height: 52px;
    min-width: 150px;
    width: 150px;
  }

  #mainnav .menu-button::after {
    box-sizing: border-box;
    font-size: 13px;
    left: 0;
    letter-spacing: 0.5px;
    min-width: 0;
    padding: 12px 14px;
    top: 0;
    width: 100%;
  }
}

/* Modern program cards on the legacy home page. */
.main-programs__container {
  align-items: stretch !important;
  display: grid !important;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.main-programs__container:hover .main-programs__item {
  filter: none;
  opacity: 1;
}

.main-programs__item:not([style*="display: none"]) {
  background: #fff;
  border: 1px solid #e8e0d5;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(33, 54, 50, 0.08);
  color: #213632;
  display: flex !important;
  flex-direction: column;
  margin: 0;
  max-width: none;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.main-programs__item[style*="display: none"] {
  display: none !important;
}

.main-programs__container:hover .main-programs__item:hover,
.main-programs__item:focus-visible {
  box-shadow: 0 10px 28px rgba(33, 54, 50, 0.14);
  filter: none;
  opacity: 1;
  outline: 3px solid rgba(213, 113, 33, 0.3);
  outline-offset: 2px;
  transform: translateY(-3px);
}

.main-programs__image {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.main-programs__subtitle {
  bottom: auto;
  color: #d57121 !important;
  font-size: 20px !important;
  font-variant: normal;
  left: auto;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 18px 18px 8px;
  position: static;
  text-transform: none;
}

.main-programs__description {
  color: #213632;
  display: -webkit-box;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 !important;
  overflow: hidden;
  padding: 0 18px 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 980px) {
  .main-programs__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a.button,
a.main-button,
a.w-button,
.footer-dashboard__button,
.zoospas-2-pet__button,
.leyka-tpl-radio input[type="submit"],
.leyka-tpl-toggles input[type="submit"],
.leyka-tpl-neo #leyka_donation_submit,
div[id*="leyka_campaign_card_widget"] .leyka-scale-button a,
div[id*="leyka_campaign_list_widget"] .leyka-scale-button a {
  border-radius: var(--zoospas-radius) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body strong,
body b,
body button {
  font-weight: 600 !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  color: #d57121 !important;
  text-wrap: balance;
}

body h1 {
  font-size: clamp(32px, 26px + 1.5vw, 48px) !important;
  line-height: 1.15 !important;
}

body h2 {
  font-size: clamp(26px, 22px + 0.9vw, 36px) !important;
  line-height: 1.2 !important;
}

body h3 {
  font-size: clamp(22px, 20px + 0.45vw, 28px) !important;
  line-height: 1.25 !important;
}

body h4 {
  font-size: clamp(18px, 17px + 0.3vw, 22px) !important;
  line-height: 1.3 !important;
}

body h5,
body h6 {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.site-content :where(p, li, dd) {
  font-size: clamp(16px, 15.6px + 0.1vw, 18px);
  line-height: 1.65;
}

.site-content p {
  margin-block: 0 1em !important;
}

.site-content li {
  margin-block: 0.4em;
}

.site-content :where(.entry-content, .content__container, .zoospas-2-pet__about) :where(ul, ol) {
  margin: 0 0 1.25em;
  padding-inline-start: 1.5em;
}

.site-content :where(.entry-content, .content__container, .zoospas-2-pet__about) ul {
  list-style: disc outside;
}

.site-content :where(.entry-content, .content__container, .zoospas-2-pet__about) ol {
  list-style: decimal outside;
}

.site-content :where(h1, h2, h3, h4, h5, h6) {
  margin-block: 1.35em 0.55em;
}

.site-content :where(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}

.zoospas-2-card__body p {
  line-height: 1.4;
  margin: 0 0 8px !important;
}

.footer-wrapper {
  margin-top: clamp(40px, 6vw, 80px);
}

/* The rebuilt header is in normal document flow; the old 83px spacer is no longer needed. */
#page > .header-clone {
  height: 24px !important;
}

.zoospas-2-pet {
  margin-inline: auto;
  max-width: none;
	overflow-x: clip;
  padding: 32px 0 0;
  width: 100%;
}

.zoospas-2-pet__back {
  display: inline-block;
  margin-bottom: 24px;
}

.zoospas-2-pet__intro {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.zoospas-2-pet__intro > * {
  min-width: 0;
}

.zoospas-2-pet .zoospas-2-gallery {
  margin: 0;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.zoospas-2-pet__summary {
  padding-top: 20px;
}

.zoospas-2-pet__summary h1 {
	margin: 0 0 10px;
}

.zoospas-2-pet__identity {
  font-size: 20px;
  margin: 0 0 8px !important;
}

.zoospas-2-pet__temperament {
  color: #555;
  font-size: 17px;
  margin: 0 0 22px !important;
}

.zoospas-2-pet__status {
	color: #b98738;
	font-size: 0.92em;
	font-weight: 400 !important;
	margin: 18px 0 0 !important;
}

.zoospas-2-pet__facts {
  margin: 0 0 20px;
}

.zoospas-2-pet__facts p {
  margin: 0 0 6px !important;
}

.zoospas-2-pet__slogan {
  font-size: 18px;
  font-style: italic;
}

.zoospas-2-pet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.zoospas-2-pet__button {
  background: #d57120;
  border: 2px solid #d57120;
  border-radius: 8px;
  color: #fff !important;
  padding: 11px 18px;
  text-decoration: none;
}

.zoospas-2-pet__button--secondary {
  background: transparent;
  color: #d57120 !important;
}

.zoospas-2-pet__details,
.zoospas-2-pet__contacts {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 88px);
}

.zoospas-2-pet__details {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

.zoospas-2-pet__details > div,
.zoospas-2-pet__contacts > div {
  background: #f7f4ef;
  border-radius: 14px;
  padding: clamp(22px, 4vw, 36px);
}

.zoospas-2-pet__about {
	min-width: 0;
}

.zoospas-2-pet__health {
	display: grid;
	gap: 10px;
	list-style: none !important;
  margin: 0;
	padding: 0 !important;
}

.zoospas-2-pet__health li {
	margin: 0;
}

@media (max-width: 600px) {
  :root {
    --zoospas-gutter: 16px;
  }

  .main-programs__container {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  #masthead > .container {
		align-items: center;
		display: flex;
		flex-wrap: nowrap;
		gap: 6px;
		justify-content: space-between;
		padding-block: 9px;
		position: relative;
  }

  #masthead .site-branding {
    align-items: center;
		display: flex;
		flex: 1 1 auto;
		flex-basis: auto;
		flex-direction: row;
		flex-wrap: nowrap;
		float: none;
		gap: 6px;
    margin: 0;
		min-width: 0;
    min-height: 0;
		padding: 0;
		width: auto;
  }

  #masthead .custom-logo-link {
		flex: 0 1 96px;
		margin: 0 auto 0 0;
		min-width: 72px;
	}

	#masthead .custom-logo-link img {
		height: auto;
		margin: 0;
		max-height: 48px;
		width: 100%;
  }

  #masthead .header-social {
		display: flex;
		flex: 0 0 auto;
		flex-basis: auto;
		gap: 3px;
		justify-content: flex-end;
		margin: 0 0 0 auto;
    width: auto;
  }

	#masthead .header-social__link svg {
		height: 19px;
		width: 19px;
	}

  #masthead .header-contacts {
		align-items: center;
		display: flex;
		flex: 0 0 22px;
		flex-basis: 22px;
		margin: 0;
		max-width: 22px;
		width: 22px;
  }

  #masthead .header-contacts__mail {
		font-size: 0 !important;
		justify-content: center;
    letter-spacing: 0;
		line-height: 1;
		margin: 0;
	}

	#masthead .header-contacts__mail svg {
		border-radius: 3px;
		fill: #eca900;
		height: 18px;
		margin: 0;
		width: 18px;
  }

  #masthead .btn-menu {
    align-items: center;
		color: #d57120;
    display: flex;
		flex: 0 0 36px;
		float: none;
		font-size: 22px;
		height: 36px;
    justify-content: center;
		margin: 0;
    padding: 0;
		position: static;
		width: 36px;
  }

  .footer-navigation,
  .footer-navigation__container,
  .footer-navigation__list {
    text-align: left;
  }

  .zoospas-2-grid {
    grid-template-columns: 1fr;
  }

  .zoospas-2-filter__form {
    grid-template-columns: 1fr;
  }

  .zoospas-2-filter__buttons button {
    flex: 1 1 120px;
    min-width: 0;
    padding-inline: 12px;
  }

  .footer-wrapper {
    margin-top: 40px;
  }

  .zoospas-2-pet {
    padding: 20px 0 0;
  }

  .zoospas-2-pet__intro,
  .zoospas-2-pet__details,
  .zoospas-2-pet__contacts {
    grid-template-columns: 1fr;
  }

  .zoospas-2-pet__summary {
    padding-top: 0;
  }

  .zoospas-2-gallery__stage {
    max-width: 100%;
    width: 100%;
  }

  .zoospas-2-gallery__main {
    height: min(78vw, 420px);
    min-width: 0;
  }

  .zoospas-2-gallery__main img {
    display: block;
    max-width: 100%;
  }

  .zoospas-2-pet__actions a {
    box-sizing: border-box;
    text-align: center;
    width: 100%;
  }
}

