/* UX-103: limitar la lectura sin estrechar el contenedor de la página. */
.mm-apoyo .entry-content > *,
.mm-apoyo .entry-content :where(p, h1, h2, h3, h4, h5, h6, ul, ol, dl, blockquote) {
	max-width: 72ch;
}

.mm-apoyo .site-main h1,
.mm-404 .site-main h1 {
	font-size: 1.75rem;
	line-height: 1.15;
}

.mm-apoyo .entry-content h2,
.mm-404 .site-main h2 {
	margin-top: 1.5rem;
	margin-bottom: .75rem;
}

.mm-apoyo .entry-content p,
.mm-404 .site-main p {
	margin-bottom: 1rem;
}

.mm-apoyo .mm-indice {
	margin-block: 1.5rem;
	padding: 1rem;
	border: 1px solid var(--mm-line);
	border-radius: var(--mm-radius-md);
}

.mm-apoyo .mm-indice ol {
	margin: 0;
	padding-left: 1.5rem;
}

.mm-apoyo .mm-indice ol a {
	display: inline-flex;
	min-height: var(--mm-tactil);
	align-items: center;
}

/* También cubre enlaces con solo el modificador --wa. */
.mm-apoyo .site-main :is(.mm-btn, .mm-btn--wa),
.mm-404 .site-main :is(.mm-btn, .mm-btn--wa) {
	display: inline-flex;
	box-sizing: border-box;
	min-width: var(--mm-tactil);
	min-height: var(--mm-tactil);
	padding: 0 1.1rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--mm-secundario-borde);
	border-radius: 10px;
	background: transparent;
	color: var(--mm-secundario-texto);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	line-height: 1.4;
}

.mm-apoyo .site-main .mm-btn--wa,
.mm-404 .site-main .mm-btn--wa {
	--mm-enlace: var(--mm-accion-texto);
	/* #1f8f4e con blanco da 4,12:1; el token verde alcanza 4,62:1. */
	border-color: var(--mm-green);
	background: var(--mm-green);
	color: var(--mm-accion-texto);
}

.mm-apoyo .mm-contacto-acciones,
.mm-404 .mm-contacto-acciones {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.mm-404 .mm-404__container {
	float: none;
	width: 100%;
	max-width: 640px;
	margin-inline: auto;
}

.mm-404 .mm-404__main {
	margin: 0 0 2rem;
}

.mm-404 .mm-404__search {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	margin-block: 1.5rem;
}

.mm-404 .mm-404__search input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: var(--mm-tactil);
	padding: .65rem .85rem;
	border: 1px solid var(--mm-line);
	border-radius: 10px;
	background: var(--mm-paper);
	color: var(--mm-text);
	box-shadow: none;
}

@media (min-width: 701px) {
	.mm-apoyo .site-main h1,
	.mm-404 .site-main h1 {
		font-size: var(--mm-titulo-1);
		line-height: 1.2;
	}

	.mm-404 .mm-404__search {
		flex-direction: row;
	}

	.mm-404 .mm-404__search input[type="search"] {
		flex: 1;
	}
}
