/**
 * Texto justificado en notas: ficha, índice y bloque en inicio.
 * Los encabezados de sección y pies de figura siguen alineados al inicio.
 */
.nota-article .note-body,
.nota-article .note-html-block {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.nota-article .note-body section > h2,
.nota-article .note-html-block h2,
.nota-article .note-html-block h3,
.nota-article .note-html-block h4 {
    text-align: start;
}

.nota-article .note-body figure figcaption {
    text-align: start;
}

.nota-article > header p.max-w-2xl.leading-relaxed,
.nota-article > footer p.max-w-2xl.leading-relaxed,
.nota-article > footer p.leading-relaxed {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.nota-article .case-related p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* /notas — listado */
.notas-index .page-lead,
.notas-index p.max-w-2xl.leading-relaxed,
.notas-index .card p.text-slate-600.leading-relaxed {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Inicio — sección notas */
.home-notas-prose > p.text-slate-600.max-w-2xl,
.home-notas-prose .card p.text-slate-600.leading-relaxed {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Imágenes en notas: capturas verticales más pequeñas (tope de alto + ancho automático, centrado) */
.nota-article .note-media {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nota-article .note-media-img {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: min(85vh, 920px);
    object-fit: contain;
    border-radius: 0.5rem;
    border: 1px solid rgb(226 232 240 / 0.9);
}

