/* Horse Vet Now: pearl and carmine racing stripes on navy, with a gold Horse wordmark. */
.horse-partners-footer { scroll-margin-top: 96px; }
.horse-partners-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
.horse-partners-grid > a { grid-column: auto; min-width: 0; width: 100%; }
.horse-vet-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 1040px);
  aspect-ratio: 1330 / 720;
  container-type: inline-size;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 8.5% 7% 5.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #f0f3f8;
  background: #0b203b;
  border-radius: 0 0 14px 0;
  text-decoration: none;
}
.horse-vet-banner::before {
  position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(135deg, #142f50 0% 28%, #d8dce1 28%, #f7f5ef 33.5%, #e5e6e4 39%, #a6192e 39%, #bd2035 44.5%, #98182b 50%, #0b203b 50% 79%, #112e50 79% 100%);
  content: "";
}
.horse-vet-banner::after {
  position: absolute; left: 4%; right: 4%; bottom: 4%;
  height: 2px; background: #cba65b; content: "";
}
.horse-vet-banner .horse-vet-crest {
  display: block; width: 18%; height: auto; margin: 0;
}
.horse-vet-title {
  display: grid; justify-items: center; gap: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 800; font-size: 12.5cqw;
  letter-spacing: -.055em; line-height: .98;
}
.horse-vet-title > span:first-child {
  color: #dfb653;
  background-image: linear-gradient(110deg, #b88732 0%, #e6be65 24%, #fff0b5 43%, #cc9b44 65%, #f3d58b 83%, #bb8937 100%);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.horse-vet-banner:hover { box-shadow: inset 0 0 0 1px #cba65b; }
.horse-vet-banner:focus-visible, .site-nav .nav-vet:focus-visible { outline: 3px solid #e6c574; outline-offset: 5px; }
.site-nav .nav-vet, .site-nav .nav-vet:hover {
  position: relative; overflow: hidden;
  grid-template-columns: 29px minmax(0, 1fr); gap: 9px;
  background: linear-gradient(135deg, #142f50 0% 28%, #d8dce1 28%, #f7f5ef 33.5%, #e5e6e4 39%, #a6192e 39%, #bd2035 44.5%, #98182b 50%, #0b203b 50% 79%, #112e50 79% 100%);
  border-color: #cba65b;
}
.site-nav .nav-vet img { width: 29px; height: auto; }
.site-nav .nav-vet span { white-space: normal; min-width: 0; color: #efd087; font-size: .68rem; line-height: 1.25; letter-spacing: .06em; text-align: center; }
@media (min-width: 1661px) and (max-width: 1840px) {
  .site-header:has(.nav-vet) .menu-button { display: grid; }
  .site-nav:has(.nav-vet) {
    position: absolute; top: 82px; right: 20px; left: 20px;
    display: none; align-items: stretch; gap: 0; padding: 20px;
    background: #f8f6ef; border: 1px solid #c5a059; border-radius: 10px;
    box-shadow: 0 20px 50px #0d1c3233;
  }
  .site-nav.open:has(.nav-vet) { display: grid; max-height: calc(100dvh - 110px); overflow-y: auto; }
  .site-nav:has(.nav-vet) a { padding: 10px; color: #0d1c32; }
  .site-nav:has(.nav-vet) a::after { display: none; }
  .site-nav:has(.nav-vet) .nav-exchange { width: 100%; margin-top: 10px; }
}
@media (max-width: 1840px) {
  .site-nav .nav-vet { grid-template-columns: 29px max-content; justify-content: center; }
}
@media (max-width: 600px) {
  .horse-partners-grid { gap: 10px; }
  .horse-partners-footer { padding: 28px 0; }
  .horse-vet-banner::after { height: 1px; }
}
