/* Wildlife page additions on top of the shared ant redesign system. */

.wildlife-page .ant-r-hero {
  min-height: 468px;
}

.wildlife-page .ant-r-hero-image {
  object-position: center 42%;
}

.wildlife-page .ant-r-hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 28, 61, 0.78), rgba(6, 28, 61, 0.42) 58%, rgba(6, 28, 61, 0.12)),
    linear-gradient(180deg, rgba(6, 28, 61, 0.18), rgba(6, 28, 61, 0.5) 60%, rgba(6, 28, 61, 0.84));
}

.wildlife-hero-ellipse {
  position: absolute;
  z-index: 0;
  bottom: -23px;
  left: -40px;
  width: 180px;
  height: 180px;
  pointer-events: none;
}

.wildlife-page .ant-r-hero h1 {
  max-width: 1098px;
}

.wildlife-page .ant-species-grid {
  grid-template-columns: repeat(3, minmax(0, 290px));
  gap: 22px;
  justify-content: center;
  max-width: 1226px;
  margin-inline: auto;
}

.wildlife-page .ant-species-card {
  min-height: 510px;
  border-radius: 20px;
}

.wildlife-page .ant-species-card > img {
  height: 170px;
  background: var(--ant-cream-strong);
  object-fit: cover;
  object-position: center;
}

.wildlife-page .ant-species-body {
  padding: 22px;
}

.wildlife-page .ant-species-body h3 {
  font-size: 18px;
  line-height: 24px;
}

.wildlife-page .ant-species-body dl {
  display: block;
}

.wildlife-page .ant-species-body dl div + div {
  margin-top: 10px;
}

.wildlife-page .ant-species-body p {
  font-size: 12px;
  line-height: 1.5;
}

.wildlife-page .ant-process-grid article {
  min-height: 334px;
  border-radius: 20px;
}

.wildlife-page .faq-list {
  max-width: 900px;
}

@media (max-width: 1100px) {
  .wildlife-page .ant-species-grid {
    grid-template-columns: repeat(2, minmax(0, 290px));
  }
}

@media (max-width: 820px) {
  .wildlife-page .ant-r-hero {
    min-height: 0;
  }

  .wildlife-page .ant-r-hero-image {
    object-position: 56% center;
  }

  .wildlife-page .ant-r-hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 28, 61, 0.76), rgba(6, 28, 61, 0.36) 62%, rgba(6, 28, 61, 0.14)),
      linear-gradient(180deg, rgba(6, 28, 61, 0.44), rgba(6, 28, 61, 0.62) 56%, rgba(6, 28, 61, 0.82));
  }
}

@media (max-width: 560px) {
  .wildlife-page .ant-r-hero h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .wildlife-hero-ellipse {
    bottom: 12px;
    left: -34px;
    width: 128px;
    height: 128px;
  }

  .wildlife-page .ant-species-grid {
    grid-template-columns: 1fr;
  }

  .wildlife-page .ant-species-card {
    min-height: 0;
  }

  .wildlife-page .ant-species-card > img {
    height: 198px;
  }
}
