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

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

.general-pest-page .ant-r-hero-image {
  object-position: center center;
}

.general-pest-page .ant-r-hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 28, 61, 0.72), rgba(6, 28, 61, 0.34) 58%, rgba(6, 28, 61, 0.08)),
    linear-gradient(180deg, rgba(6, 28, 61, 0.1), rgba(6, 28, 61, 0.28) 60%, rgba(6, 28, 61, 0.46));
}

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

.general-pest-page .ant-species-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1226px;
  margin-inline: auto;
}

.general-pest-page .ant-species-card {
  min-height: 480px;
  border-radius: 20px;
}

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

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

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

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

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

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

.general-pest-page .ant-process-grid article {
  min-height: 312px;
  border-radius: 20px;
}

.general-pest-page .ant-prep-card {
  align-items: start;
}

.general-pest-page .ant-download-button[disabled] {
  opacity: 0.96;
}

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

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

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

  .general-pest-page .ant-r-hero-image {
    object-position: 58% center;
  }

  .general-pest-page .ant-r-hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 28, 61, 0.72), rgba(6, 28, 61, 0.32) 62%, rgba(6, 28, 61, 0.12)),
      linear-gradient(180deg, rgba(6, 28, 61, 0.38), rgba(6, 28, 61, 0.56) 56%, rgba(6, 28, 61, 0.76));
  }
}

@media (max-width: 560px) {
  .general-pest-hero-ellipse {
    bottom: 12px;
    left: -34px;
    width: 128px;
    height: 128px;
  }

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

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

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