/* Nocturnalia — reglas constitucionales de identidad visual. */

/* Una sola voz serif para identidad y jerarquía; sans sólo para interfaz. */
.site-branding__name,
.lead-story h1,
.section-heading h2,
.archive-hero h1,
.page-hero h1,
.article-header h1,
.photo-essay__header h1,
.ed-card__title,
.ed-row-card h3,
.related-posts h2,
.editorial-content h2,
.editorial-content h3,
.editorial-content h4 {
  font-family: var(--ed-display-serif);
}

.ed-kicker,
.ed-meta,
.primary-menu,
.site-header__utility,
.article-share,
.editorial-media-caption__credits,
.ed-card__meta,
.site-footer__legal,
.archive-subnav {
  font-family: var(--ed-ui-sans);
}

/* Nunca se dibuja un segundo filete inmediatamente encima de una tarjeta. */
.ed-card,
.card-grid > .ed-card,
.front-section .ed-card,
.related-posts .ed-card,
.archive-grid .ed-card {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.ed-card::before,
.ed-card__media::before,
.card-grid > .ed-card::before {
  content: none !important;
  display: none !important;
}

.ed-kicker {
  color: var(--ed-accent-text-on-paper);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ed-card__body,
.lead-story__body,
.article-header__inner {
  text-wrap: pretty;
}

.ed-card__title,
.lead-story h1,
.article-header h1 {
  text-wrap: balance;
}

/* La máquina de escribir es un recurso editorial deliberado, nunca la marca. */
.is-style-nocturnalia-typewriter,
.nocturnalia-document,
.is-style-nocturnalia-document {
  font-family: var(--ed-typewriter);
}
