/* Focused focal-point corrections for dog/cat hub photography. */

.kc-pet-hub__hero-visual img,
.kc-pet-hub__article-card > img {
  object-fit: cover;
}

/* Keep the animal's face inside the hero crop instead of letting it fall to an edge. */
.kc-pet-hub--dog .kc-pet-hub__hero-visual img {
  object-position: 50% 34%;
}

.kc-pet-hub--cat .kc-pet-hub__hero-visual img {
  object-position: 50% 76%;
}

/* Curated article focal points: dog portrait, car safety scene and feeding photo. */
.kc-pet-hub--dog .kc-pet-hub__article-card:nth-child(1) > img {
  object-position: 50% 24%;
}

.kc-pet-hub--dog .kc-pet-hub__article-card:nth-child(2) > img {
  object-position: 70% 48%;
}

.kc-pet-hub--dog .kc-pet-hub__article-card:nth-child(3) > img {
  object-position: 52% 56%;
}

/* Cat hub starts with the shared summer-safety and feeding articles. */
.kc-pet-hub--cat .kc-pet-hub__article-card:nth-child(1) > img {
  object-position: 70% 48%;
}

.kc-pet-hub--cat .kc-pet-hub__article-card:nth-child(2) > img {
  object-position: 52% 56%;
}

@media (max-width: 700px) {
  .kc-pet-hub--cat .kc-pet-hub__hero-visual img {
    object-position: 50% 72%;
  }
}
