.horses-body {
  overflow-x: hidden;
  background: #392d25;
  font-family: "Quicksand", sans-serif;
}

.horses-page {
  position: relative;
  min-height: 100vh;
  padding: 110px 70px 190px;
  background-image:
    linear-gradient(rgba(38, 29, 23, 0.08), rgba(38, 29, 23, 0.08)),
    url("../../assets/images/sh-stable/horses/horses-and-ponies.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.ponies-page {
  background-image:
    linear-gradient(rgba(38, 29, 23, 0.08), rgba(38, 29, 23, 0.08)),
    url("../../assets/images/sh-stable/ponies/horses-and-ponies.jpg");
}

.horses-page::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 8;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg id='comp-mnyn4v74-bottom' preserveAspectRatio='xMidYMax slice' data-bbox='0 221.3 1920 78.7' viewBox='0 221.3 1920 78.7' height='100%25' width='100%25' xmlns='http://www.w3.org/2000/svg' data-type='color'%3E%3Cdefs%3E%3Cstyle%3E%23comp-mnyn4v74-bottom, %23comp-mnyn4v74-bottom %5Bdata-color='1'%5D %7B fill: %23392D25; %7D%3C/style%3E%3C/defs%3E%3Cg%3E%3Cpath d='M1920 300v-24.9c-5.3-1.1-11-2.8-16.7-3.2-17.8 2.7-35-5.1-52.4-2.3-9.7-3.4-18.5-2.6-28.4-4.6-2.1-1.3-4.3-2.7-6.5-4-3.1-.5-5.9-1-9.2-.2-1.5.2-2.1 1.6-4.3 1.5l-4.9-2.4c-10.5 1.7-21.3 1.2-31.8 2.4-6.4-1.3-9.3-5.3-14.1-7.3-9.8-2.4-18.1-2.4-28.4-1-5.9.2-12.3-.6-19.6.4-1.8-.6-3.4-1.1-5.3-1.6-4.9.1-9.8.2-14.9.4-1.5-1.1-2.7-2.2-4.2-3.4-2.1.1-4 .2-5.9.2-2.2-.7-4.3-1.5-6.2-2.1-11.1 3.7-23.5 2.1-33.9 2-11.1 2.1-18.6.5-28-2.1-1.7-.4-4.2-.9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9 4.4-4.5-.1-3.1 4.1-1.9.4-4.7 1.1-5-.6-2.8.3V300h1920z' fill='%23020203' data-color='1'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
  content: "";
  pointer-events: none;
}

.horses-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.horses-introduction {
  margin: 0 auto 155px;
  color: #ffffff;
  text-align: center;
}
.horses-heading {
  position: relative;
  display: inline-block;
  min-width: 280px;
  margin-bottom: 37px;
}
.horses-heading h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.025em;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 25px rgba(255, 244, 186, 0.82),
    0 0 42px rgba(255, 230, 128, 0.68);
}
.horses-heading span {
  position: absolute;
  right: 7px;
  bottom: -27px;
  font-family: "Dancing Script", cursive;
  font-size: 43px;
  font-weight: 400;
  line-height: 1;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.72),
    0 1px 8px rgba(55, 42, 31, 0.38);
}
.horses-introduction > p {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 1px 7px rgba(50, 37, 28, 0.72);
}
.horses-grid {
  display: grid;
  grid-template-columns: repeat(2, 610px);
  justify-content: center;
  column-gap: 185px;
  row-gap: 195px;
}
.horse-card {
  position: relative;
  width: 610px;
}
.horse-visual {
  position: relative;
  z-index: 4;
  display: flex;
  height: 325px;
  align-items: flex-end;
  justify-content: center;
}
.horse-portrait {
  position: relative;
  width: 304px;
  height: 304px;
  flex: 0 0 304px;
}
.horse-portrait-left {
  z-index: 1;
}
.horse-portrait-right {
  z-index: 2;
  margin-left: -34px;
}
.horse-portrait-photo {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 272px;
  height: 272px;
  border-radius: 50%;
  object-fit: cover;
}
.horse-portrait-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.horse-horseshoe {
  position: absolute;
  top: -31px;
  left: 48%;
  z-index: 7;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
}
.horse-horseshoe-decoration {
  display: block;
  object-fit: contain;
}
.horse-horseshoe-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.horse-horseshoe-button {
  cursor: pointer;
}
.horse-real-image {
  position: absolute;
  right: 50%;
  bottom: 79px;
  z-index: 10;
  display: block;
  width: 245px;
  height: 245px;
  border: 9px solid #f2dcc3;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(41, 28, 20, 0.48);
  object-fit: cover;
  opacity: 0;
  transform: translateX(50%) scale(0.88);
  transform-origin: bottom center;
  visibility: hidden;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  pointer-events: none;
}
.horse-horseshoe-button:hover .horse-real-image,
.horse-horseshoe-button:focus-visible .horse-real-image {
  opacity: 1;
  transform: translateX(50%) scale(1);
  visibility: visible;
}
.horse-horseshoe-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 5px;
  border-radius: 50%;
}
.horse-price {
  position: absolute;
  top: -24px;
  right: 38px;
  z-index: 6;
  width: 92px;
  height: 92px;
}
.horse-price::before {
  position: absolute;
  inset: -4px;
  z-index: 0;
  background: #fae8b0;
  clip-path: polygon(
    50% 0%,
    56% 4.4%,
    62.9% 1.7%,
    67.6% 7.5%,
    75% 6.7%,
    78% 13.5%,
    85.4% 14.6%,
    86.5% 22%,
    93.3% 25%,
    92.5% 32.4%,
    98.3% 37.1%,
    95.6% 44%,
    100% 50%,
    95.6% 56%,
    98.3% 62.9%,
    92.5% 67.6%,
    93.3% 75%,
    86.5% 78%,
    85.4% 85.4%,
    78% 86.5%,
    75% 93.3%,
    67.6% 92.5%,
    62.9% 98.3%,
    56% 95.6%,
    50% 100%,
    44% 95.6%,
    37.1% 98.3%,
    32.4% 92.5%,
    25% 93.3%,
    22% 86.5%,
    14.6% 85.4%,
    13.5% 78%,
    6.7% 75%,
    7.5% 67.6%,
    1.7% 62.9%,
    4.4% 56%,
    0% 50%,
    4.4% 44%,
    1.7% 37.1%,
    7.5% 32.4%,
    6.7% 25%,
    13.5% 22%,
    14.6% 14.6%,
    22% 13.5%,
    25% 6.7%,
    32.4% 7.5%,
    37.1% 1.7%,
    44% 4.4%
  );
  content: "";
  filter: drop-shadow(0 1px 1px rgba(73, 47, 29, 0.11));
}
.horse-price-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.horse-price span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  color: #38271f;
  font-size: 20px;
  font-weight: 700;
  transform: translate(-50%, -50%);
}
.horse-plaque {
  position: relative;
  z-index: 3;
  width: 392px;
  height: 150px;
  margin: -47px auto 0;
}
.horse-plaque-image {
  display: block;
  width: 100%;
  height: 100%;
}
.horse-plaque-text {
  position: absolute;
  top: 54%;
  left: 50%;
  display: flex;
  width: 315px;
  height: 72px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #39281f;
  text-align: center;
  transform: translate(-50%, -50%);
}
.horse-plaque-text h2 {
  width: 100%;
  margin: 0 0 5px;
  overflow: hidden;
  font-family: "Dancing Script", cursive;
  font-size: clamp(22px, 2.05vw, 29px);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}
.horse-plaque-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}
.horse-information {
  position: relative;
  z-index: 1;
  min-height: 310px;
  margin-top: -37px;
  padding: 79px 45px 34px;
  background: rgba(67, 47, 34, 0.79);
  color: #fff;
  font-size: 15px;
  line-height: 1.42;
  text-align: center;
  box-shadow: 0 13px 32px rgba(43, 30, 22, 0.15);
}
.horse-information::before,
.horse-information::after {
  position: absolute;
  top: 10px;
  z-index: 5;
  width: 68px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(
    100deg,
    rgba(239, 220, 177, 0.28),
    rgba(255, 249, 226, 0.2) 50%,
    rgba(218, 193, 145, 0.3)
  );
  clip-path: polygon(
    0 5%,
    4% 8%,
    2% 13%,
    5% 18%,
    2% 24%,
    5% 30%,
    1% 36%,
    4% 43%,
    2% 49%,
    5% 56%,
    1% 63%,
    4% 69%,
    2% 76%,
    5% 82%,
    2% 88%,
    4% 94%,
    0 100%,
    100% 96%,
    97% 90%,
    100% 84%,
    97% 77%,
    100% 70%,
    97% 64%,
    100% 57%,
    97% 50%,
    100% 43%,
    97% 36%,
    100% 29%,
    97% 22%,
    100% 15%,
    97% 9%,
    100% 3%
  );
  content: "";
  opacity: 0.72;
  box-shadow:
    1px 3px 4px rgba(47, 32, 21, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(0.35px);
}
.horse-information::before {
  left: -34px;
  transform: rotate(-47deg);
}
.horse-information::after {
  right: -34px;
  transform: rotate(47deg);
}
.horse-description {
  margin: 0 auto 25px;
}
.horse-status {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.horses-body .site-footer {
  position: relative;
  z-index: 10;
}
