/* Illustrated cards on the resources index. Article cards keep their own layout. */
.healthcare-v2 .resources-hub .guide-card {
  padding: 0;
  overflow: hidden;
}

.resources-hub .guide-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
  flex: none;
  background: #edf1ed;
}

/* Keep faces and the guided movement visible in the shallower image area. */
.resources-hub .guide-card-image[src*="practice-capacity-"],
.resources-hub .guide-card-image[src*="choosing-ai-"] {
  object-position: 50% 28%;
}

.resources-hub .guide-card-image[src*="patient-conversation-"],
.resources-hub .guide-card-image[src*="orthopedic-preparation-"] {
  object-position: 50% 35%;
}

.resources-hub .guide-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.resources-hub .guide-card-top {
  margin-bottom: 12px;
}

.resources-hub .guide-card-category {
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
}

.healthcare-v2 .resources-hub .guide-card h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.35;
  text-wrap: pretty;
}

.healthcare-v2 .resources-hub .guide-card p {
  margin: 12px 0 24px;
  font-size: .94rem;
  line-height: 1.6;
}

.resources-hub .guide-card-link {
  margin-top: auto;
  font-size: .9rem;
}

.resources-hub .guide-card:hover .guide-card-link,
.resources-hub .guide-card:focus-visible .guide-card-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 650px) {
  .resources-hub .guide-card-body {
    padding: 22px;
  }
}

@media print {
  .resources-hub .guide-card {
    break-inside: avoid;
  }
}
