/* Flea & mite page additions on top of the shared ant redesign system. */

.flea-mite-page .ant-r-hero-image {
  object-position: center center;
}

.flea-mite-page .ant-r-hero {
  min-height: 560px;
}

.flea-mite-hero-ellipse {
  position: absolute;
  z-index: 0;
  right: -46px;
  bottom: -24px;
  width: 190px;
  height: 190px;
  pointer-events: none;
}

.flea-mite-page .ant-r-hero-overlay {
  background: linear-gradient(180deg, rgba(6, 28, 61, 0.2), rgba(6, 28, 61, 0.55) 60%, rgba(6, 28, 61, 0.92));
}

.flea-mite-page .ant-species-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin-inline: auto;
}

.flea-mite-page .ant-species-card {
  min-height: 548px;
  border-radius: 20px;
}

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

.flea-mite-page .ant-species-body {
  padding: 26px;
}

.flea-mite-page .ant-species-body h3 {
  font-size: 20px;
  line-height: 26px;
}

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

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

.flea-mite-page .ant-species-body p {
  font-size: 13px;
  line-height: 1.55;
}

.flea-mite-page .ant-prep-card {
  align-items: start;
}

.flea-mite-page .ant-download-button {
  background: var(--ant-gold);
  color: var(--ant-navy);
}

.flea-mite-page .ant-download-button[disabled] {
  opacity: 0.96;
}

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

.flea-mite-page .ant-final-cta-inner {
  gap: 36px;
}

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

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

  .flea-mite-page .ant-r-hero-image {
    object-position: center center;
  }
}

@media (max-width: 560px) {
  .flea-mite-hero-ellipse {
    right: -34px;
    bottom: 14px;
    width: 132px;
    height: 132px;
  }

  .flea-mite-page .ant-r-hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 28, 61, 0.22), rgba(6, 28, 61, 0.08) 58%),
      linear-gradient(180deg, rgba(6, 28, 61, 0.46), rgba(6, 28, 61, 0.62) 56%, rgba(6, 28, 61, 0.8));
  }

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

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

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