/*
 * NursingProxy organic resource image pilot
 * Version: 20260729-imagepilot1
 *
 * Makes the page's primary resource image visible to users and image crawlers
 * without presenting educational resources as Merchant Center products.
 */
.np-resource-image-card {
  width: min(1020px, calc(100% - 4rem));
  margin: -1.5rem auto 2rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, .2);
  border-radius: 20px;
  background: rgba(253, 250, 246, .98);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .11);
  font-family: "Outfit", sans-serif;
}

.np-resource-image-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.35rem, 4vw, 2.25rem);
}

.np-resource-image-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
  color: #0d9488;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.np-resource-image-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2dd4bf;
  box-shadow: 0 0 0 5px rgba(45, 212, 191, .14);
  content: "";
}

.np-resource-image-card h2 {
  margin: 0 0 .55rem;
  color: #0f172a;
  font-size: clamp(1.28rem, 2.3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.np-resource-image-card p {
  max-width: 600px;
  margin: 0;
  color: #625b52;
  font-size: .93rem;
  line-height: 1.65;
}

.np-resource-image-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}

.np-resource-image-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .35rem .7rem;
  border: 1px solid rgba(13, 148, 136, .18);
  border-radius: 999px;
  background: #eef8f6;
  color: #0f766e;
  font-size: .75rem;
  font-weight: 700;
}

.np-resource-image-figure {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #ccfbf1, #f0fdfa);
}

.np-resource-image-figure img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.np-resource-image-figure::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(to top, rgba(2, 44, 44, .72), transparent);
  pointer-events: none;
  content: "";
}

.np-resource-image-figure figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

@media (max-width: 760px) {
  .np-resource-image-card {
    width: min(100% - 2rem, 640px);
    margin: 1rem auto 1.5rem;
    grid-template-columns: 1fr;
  }

  .np-resource-image-copy {
    padding: 1.35rem;
  }

  .np-resource-image-figure {
    min-height: 220px;
    order: -1;
  }

  .np-resource-image-figure img {
    min-height: 220px;
    max-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-resource-image-card,
  .np-resource-image-card * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
