/* Hondenhotel Amsterdam — illustrated customer-app related choices, V141. */

body.dha-customer-app-page .support-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

body.dha-customer-app-page .support-related-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

body.dha-customer-app-page .customer-app-related-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #eadde0;
  line-height: 0;
}

body.dha-customer-app-page .customer-app-related-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

body.dha-customer-app-page .support-related-card:nth-child(1) .customer-app-related-media img {
  object-position: 50% 42%;
}

body.dha-customer-app-page .support-related-card:nth-child(2) .customer-app-related-media img {
  object-position: 50% 44%;
}

body.dha-customer-app-page .support-related-card:nth-child(3) .customer-app-related-media img {
  object-position: 50% 52%;
}

body.dha-customer-app-page .support-related-card:nth-child(4) .customer-app-related-media img {
  object-position: 68% 50%;
}

body.dha-customer-app-page .customer-app-related-step {
  position: absolute;
  z-index: 1;
  bottom: .8rem;
  left: .8rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ds-red);
  box-shadow: 0 .25rem .8rem rgba(49, 8, 18, .2);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
}

body.dha-customer-app-page .customer-app-related-body {
  display: flex;
  min-height: 13.5rem;
  flex: 1;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.2rem, 2vw, 1.55rem);
}

body.dha-customer-app-page .customer-app-related-body strong {
  margin: 0;
}

body.dha-customer-app-page .customer-app-related-description {
  color: var(--ds-muted);
  line-height: 1.55;
}

body.dha-customer-app-page .customer-app-related-body em {
  margin-top: auto;
}

body.dha-customer-app-page .support-related-card:hover .customer-app-related-media img,
body.dha-customer-app-page .support-related-card:focus-visible .customer-app-related-media img {
  transform: scale(1.025);
}

@media (max-width: 900px) {
  body.dha-customer-app-page .support-related-grid {
    grid-template-columns: 1fr;
  }

  body.dha-customer-app-page .customer-app-related-media {
    aspect-ratio: 16 / 7;
  }

  body.dha-customer-app-page .customer-app-related-body {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  body.dha-customer-app-page .customer-app-related-media {
    aspect-ratio: 16 / 8.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.dha-customer-app-page .customer-app-related-media img {
    transition: none;
  }
}
