.elchmoor-horse-theme-trakehner {
  --em-forest: #081b33;
  --em-ivy: #102f58;
  --em-champagne: #d7c38c;
  --em-antique: #a98e54;
}

.elchmoor-horse-theme-shetland {
  --em-forest: #3a2a1f;
  --em-ivy: #6c4d35;
  --em-linen: #f4ead7;
  --em-mist: #fbf4e7;
  --em-champagne: #d8a75e;
  --em-antique: #9d6840;
  --em-radius: 2.4rem;
}

.elchmoor-horse-theme-thoroughbred {
  --em-forest: #1b1718;
  --em-ivy: #3a2d2d;
  --em-champagne: #d0b276;
  --em-antique: #8e653f;
}

.elchmoor-horse-theme-icelandic {
  --em-forest: #102b2d;
  --em-ivy: #1d4d51;
  --em-champagne: #c9d5c8;
  --em-antique: #7f9c94;
}

.elchmoor-horse-profile {
  background: var(--em-linen);
}

.elchmoor-horse-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--em-forest);
  color: var(--em-linen);
}

.elchmoor-horse-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.elchmoor-horse-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 37, 30, 0.86), rgba(16, 37, 30, 0.28));
}

.elchmoor-horse-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
  padding: 6rem 0 4rem;
}

.elchmoor-horse-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.elchmoor-horse-fact {
  border: 1px solid rgba(247, 241, 228, 0.14);
  border-radius: 1.5rem;
  background: rgba(247, 241, 228, 0.08);
  padding: 1rem;
}

.elchmoor-horse-fact span {
  display: block;
  color: rgba(247, 241, 228, 0.56);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.elchmoor-horse-fact strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--em-linen);
  font-family: var(--em-heading);
  font-size: 1.8rem;
  line-height: 1;
}

.elchmoor-detail-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.elchmoor-line-list {
  display: grid;
  gap: 1rem;
}

.elchmoor-line-item {
  border-left: 1px solid rgba(162, 123, 55, 0.42);
  padding-left: 1rem;
}

.elchmoor-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.elchmoor-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: var(--em-lift);
}

@media (max-width: 900px) {
  .elchmoor-horse-facts,
  .elchmoor-detail-grid,
  .elchmoor-gallery {
    grid-template-columns: 1fr;
  }
}

