/* Página 404 — diseño child (desktop en fila, móvil en columna). */

body.error404 .theme-page.relative {
	background-color: #f5f6f8;
}

.mc-404-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(1.5rem, 5vw, 4rem);
	box-sizing: border-box;
	min-height: clamp(18rem, 55vh, 32rem);
	margin: clamp(1rem, 3vw, 2rem) auto;
	padding: clamp(1rem, 3vw, 2.5rem) clamp(0.75rem, 2vw, 1rem);
	max-width: 72rem;
	background-color: transparent;
	font-family: inherit;
}

.mc-404-layout__code {
	flex: 0 0 auto;
	align-self: center;
	margin: 0;
	padding: 0;
	font-weight: 700;
	line-height: 1;
	color: #348fff;
	/* Protagonista visual: muy superior al titular y al resto del bloque */
	font-size: clamp(5rem, calc(18vw + 1.75rem), 12.5rem) !important;
	letter-spacing: -0.025em;
}

.mc-404-layout__content {
	flex: 1 1 18rem;
	max-width: 100%;
	text-align: left;
}

.mc-404-layout__heading {
	margin: 0 0 clamp(0.75rem, 2vw, 1.125rem);
	font-weight: 700;
	color: #2a2929;
	font-size: clamp(1.125rem, 2.75vw, 1.75rem);
	line-height: 1.28;
	font-family: inherit;
}

.mc-404-layout__text {
	max-width: 36em;
	color: #575c65;
	font-weight: 400;
	font-size: clamp(0.9375rem, 2.1vw, 1.0625rem) !important;
	line-height: 1.55;
	font-family: inherit;
	padding: 0.5rem 0 !important;
}

.mc-404-layout__text.last {
	margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.mc-404-layout__button {
	display: inline-block;
	box-sizing: border-box;
	padding: clamp(0.65rem, 2vw, 0.875rem) clamp(1.25rem, 3.5vw, 2rem);
	background-color: #002a6c;
	color: #fff;
	font-weight: 500;
	font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
	font-family: inherit;
	line-height: 1.35;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	border: 0;
	border-radius: 0;
	transition: background-color 0.2s ease;
}

.mc-404-layout__button:hover,
.mc-404-layout__button:focus-visible {
	background-color: #348fff;
	color: #fff;
}

/* Contenedor WPBakery (fallback cuando VC está activo). */
.mc-404-vc-root .wpb_column > .wpb_wrapper {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

@media (max-width: 719px) {
	.mc-404-layout {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.mc-404-layout__content {
		text-align: center;
		max-width: 100%;
	}

	.mc-404-layout__text {
		text-align: left;
	}

	.mc-404-layout__heading {
		font-size: clamp(1.1875rem, calc(3vw + 0.9375rem), 1.375rem);
	}

	.mc-404-layout__button {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Edición del single.php */

.comment-box .comments-number a, body.single ul.blog li.single .post-content > a.reply-button[href="#comment_form"], .reply-button {
	display: none !important;
}

/* Imágenes de doctores a color */

.mc-gallery .gallery-box img {
	filter: none !important;
}

