/**
 * Inadapress 2026 — fonts
 * Montserrat: self-hosted (assets/fonts/montserrat). Unbounded: Google Fonts.
 * Pilas finales: --inadapress-font-stack-body / --inadapress-font-stack-heading (wp_head).
 */

:root {
	--inadapress-font-family-body: var(
		--inadapress-font-stack-body,
		var(--inadapress-font-body, var(--font-body, "Montserrat", sans-serif))
	);
	--inadapress-font-family-heading: var(
		--inadapress-font-stack-heading,
		var(--inadapress-font-heading, var(--font-headline, "Unbounded", sans-serif))
	);
}

body {
	font-family: var(--inadapress-font-family-body);
	font-size: var(--font-size-base, 1rem);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.site-title {
	font-family: var(--inadapress-font-family-heading);
}

/* Entrada individual: todo el bloque en Montserrat (cuerpo del panel Inadapress) */
body.single .post-hero-band,
body.single .site-main--single {
	font-family: var(--inadapress-font-family-body);
}

body.single .post-hero-band :where(
		h1,
		.page-hero__title,
		.post-hero__title,
		.page-breadcrumbs,
		.post-hero__meta
	),
body.single .site-main--single :where(
		h1,
		h2,
		h3,
		h4,
		h5,
		h6,
		.entry-title,
		.singular-panel__title,
		.singular-panel,
		.post-pagination__link,
		.singular-sidebar__link
	) {
	font-family: inherit;
}

/* Contenido singular y portada */
.site-main--singular .entry-content,
.page-hero {
	font-family: var(--inadapress-font-family-body);
	font-size: var(--font-size-base, 1rem);
}

.site-main--singular .entry-content :where(h1, h2, h3, h4, h5, h6),
.page-hero__title {
	font-family: var(--inadapress-font-family-heading);
}

/* En single, titulares del hero y paneles usan Montserrat (ver body.single arriba) */
body.single .site-main--singular .entry-content :where(h1, h2, h3, h4, h5, h6) {
	font-family: inherit;
}

/* Bloques del editor: heredan las pilas del tema */
.site-main--singular .entry-content :where(p, li, blockquote, figcaption, .wp-block-paragraph) {
	font-family: inherit;
	font-size: inherit;
}
