.rx-enc-article .rx-expert-card {
  display: grid;
  grid-template-columns: clamp(64px, 11vw, 104px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
  margin-top: 16px;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid var(--rb-line, #d9dde3);
  border-radius: 16px;
  background: var(--rb-surface, #fff);
  color: var(--rb-ink, #191b1f);
  text-decoration: none;
}

.rx-enc-article .rx-expert-card:hover {
  border-color: var(--rb-accent-text, #851e1a);
  color: var(--rb-ink, #191b1f);
  text-decoration: none;
}

.rx-enc-article .rx-expert-card:focus-visible {
  outline: 2px solid var(--rb-focus, #851e1a);
  outline-offset: 3px;
}

.rx-enc-article .rx-expert-card__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 12px;
  background: var(--rb-soft, #f2f3f5);
}

.rx-enc-article .rx-expert-card__body {
  display: grid;
  gap: 3px;
  min-width: 0;
  line-height: 1.45;
}

.rx-enc-article .rx-expert-card__label,
.rx-enc-article .rx-expert-card__role {
  color: var(--rb-muted, #4f545c);
  font-size: 0.8125rem;
}

.rx-enc-article .rx-expert-card__name {
  color: var(--rb-ink, #191b1f);
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.rx-enc-article .rx-expert-card__bio {
  margin-top: 2px;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.rx-enc-article .rx-expert-card__profile {
  width: fit-content;
  margin-top: 3px;
  color: var(--rb-accent-text, #851e1a);
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
