/* Shared creature profile helpers for real-life and game creature pages. */

.mh-creature-quick-info { margin: 0; border-top: 1px solid var(--mh-border); }
.mh-creature-quick-info__row { padding: 12px 0; border-bottom: 1px solid var(--mh-border); }
.mh-creature-quick-info__row:last-child { border-bottom: 0; }
.mh-creature-quick-info dt { margin: 0 0 3px; font-size: 0.82rem; font-weight: 800; color: var(--mh-sandstone); }
.mh-creature-quick-info dd { margin: 0; overflow-wrap: anywhere; }

.mh-creature-article { min-width: 0; }
.mh-creature-article > :is(h2, section > h2) { margin-top: 3rem; }
.mh-creature-article > h2:first-child,
.mh-creature-article > section:first-child > h2:first-child { margin-top: 0; }
.mh-creature-article h3 { margin-top: 2.15rem; margin-bottom: 0.75rem; }
.mh-creature-article h4 { margin-top: 1.65rem; margin-bottom: 0.65rem; }
.mh-creature-article p + p { margin-top: 1.15rem; }
.mh-creature-article figure { margin: 2.25rem 0; }
.mh-creature-article figure img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; }
.mh-creature-article figcaption { max-width: 68rem; margin: 0.65rem auto 0; color: var(--mh-muted); line-height: 1.5; }

.mh-evidence-note { margin-block: 2rem; background: color-mix(in srgb, var(--mh-surface-soft) 62%, var(--mh-surface)); }
.mh-evidence-note .mh-card__eyebrow { color: var(--mh-river-teal); }
.mh-evidence-note--uncertain,
.mh-evidence-note--changing,
.mh-evidence-note--reconstruction { border-left-color: var(--mh-river-teal); }

.mh-sources-details ul { overflow-wrap: anywhere; }
.mh-sources-details li + li { margin-top: 0.8rem; }
