/* ═══════════════════════════════════════════
   CONDITION CARDS
   ═══════════════════════════════════════════ */
.card__img-wrap {
  overflow: hidden;
}

.card__img-placeholder {
  width: 100%;
  height: 200px;
  display: block;
}

.card--image:hover .card__img-placeholder,
.card--image:hover .card__img {
  transform: scale(1.05);
}

.card--image .card__img-placeholder,
.card--image .card__img {
  transition: transform var(--duration-slow) var(--ease-out);
}

/* ═══════════════════════════════════════════
   WHEN TO SEE A DOCTOR
   ═══════════════════════════════════════════ */
.when-to-see {
  max-width: 640px;
  margin-inline: auto;
}

.when-to-see__list {
  list-style: none;
  padding: 0;
}

.when-to-see__list li {
  position: relative;
  padding: var(--space-md) 0 var(--space-md) var(--space-2xl);
  border-bottom: 1px solid var(--border-light);
  font-size: var(--text-base);
  color: var(--text-body);
}

.when-to-see__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.when-to-see__list li:last-child {
  border-bottom: none;
}
