/**
 * Pulse — estilos base (complementan Tailwind CDN del tema).
 * Equivalente al bloque <style> de la plantilla de referencia.
 */

.material-symbols-outlined {
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.neon-gradient {
	background: linear-gradient(135deg, #811cd9 0%, #26e6ff 100%);
}

/* Plantilla Contacto: botón enviar (mismo gradiente que .neon-glow) */
.vibrant-gradient {
	background: linear-gradient(135deg, #811cd9 0%, #00d7f0 100%);
}

/* Hero hub /temas/ — botón primario (misma idea que plantilla neon-gradient-bg) */
.quiztheme-temas-hero__btn-primary {
	background: linear-gradient(135deg, #811cd9 0%, #26e6ff 100%);
	color: #fff;
	box-shadow: 0 10px 15px -3px rgba(129, 28, 217, 0.2);
}

.quiztheme-temas-hero__btn-primary:hover {
	transform: scale(1.05);
}

.quiztheme-temas-hero__btn-primary:active {
	transform: scale(0.95);
}

.quiztheme-temas-hero__frame .quiztheme-temas-hero__img {
	max-height: 100%;
}

.vibrant-gradient:hover {
	box-shadow: 0 0 20px rgba(129, 28, 217, 0.35);
}

/* Plantilla About: CTA / botones (mismo gradiente que neon-gradient) */
.neon-glow {
	background: linear-gradient(135deg, #811cd9 0%, #00d7f0 100%);
}

/* Hub de categorías quiz (taxonomía): título tipo plantilla Pulse */
.neon-gradient-text {
	background: linear-gradient(135deg, #811cd9 0%, #26e6ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* Paginación hub /temas/ (bloque rejilla) */
.quiztheme-temas-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: center;
}

.quiztheme-temas-pagination .page-numbers a,
.quiztheme-temas-pagination .page-numbers span {
	display: inline-flex;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
}

.quiztheme-temas-pagination .page-numbers a {
	background: #fff;
	color: #811cd9;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.quiztheme-temas-pagination .page-numbers span.current {
	background: linear-gradient(135deg, #811cd9 0%, #26e6ff 100%);
	color: #fff;
}

/* Tarjetas “Explora por categorías” (sombra plantilla) */
.neon-shadow {
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

/*
 * Pulse — Categorías (carril): en viewport estrecho .site-main usa overflow-x: clip,
 * lo que puede impedir el deslizamiento horizontal del carril. Relajamos solo si existe el bloque.
 */
.quiztheme-pulse-category-strip__rail {
	cursor: grab;
}

.quiztheme-pulse-category-strip__rail.is-dragging {
	cursor: grabbing;
	-webkit-user-select: none;
	user-select: none;
}

@media (max-width: 781px) {
	main#primary.site-main:has(.quiztheme-pulse-category-strip),
	.site-main:has(.quiztheme-pulse-category-strip) {
		overflow-x: visible;
	}

	.site-main .entry-content:has(.quiztheme-pulse-category-strip) {
		overflow-x: visible;
	}

	.quiztheme-pulse-category-strip__rail {
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		touch-action: pan-x pan-y;
		scroll-snap-type: x proximity;
		scroll-padding-inline: 1rem;
	}

	.quiztheme-pulse-category-strip__rail > a,
	.quiztheme-pulse-category-strip__rail > button {
		scroll-snap-align: start;
	}
}

/**
 * Búsqueda en cabecera: el style.css del tema añade borde a todo input[type="search"].
 */
.pulse-header-search input.pulse-header-search__input[type="search"],
.pulse-header-search input.pulse-header-search__input[type="search"]:focus {
	border: 0 !important;
	box-shadow: none !important;
	outline: none;
	padding: 0;
	border-radius: 0;
}

.pulse-header-search {
	border: none;
	box-shadow: none;
}

/* Logo del personalizador (custom-logo) en cabecera Pulse */
header .quiztheme-site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
	color: inherit;
}

header .quiztheme-site-branding .custom-logo-link:hover {
	opacity: 0.9;
}

header .quiztheme-site-branding .custom-logo {
	display: block;
	max-height: 2.25rem;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (min-width: 768px) {
	header .quiztheme-site-branding .custom-logo {
		max-height: 2.75rem;
	}
}

/**
 * Formulario contacto Pulse: la hoja style.css del tema aplica borde fino y padding mínimo
 * a todos los input/textarea/select; aquí se restablece el aspecto de la plantilla estática.
 */
.quiztheme-pulse-contact input.quiztheme-pulse-contact__field[type="text"],
.quiztheme-pulse-contact input.quiztheme-pulse-contact__field[type="email"],
.quiztheme-pulse-contact select.quiztheme-pulse-contact__field,
.quiztheme-pulse-contact textarea.quiztheme-pulse-contact__field {
	width: 100%;
	border: 0 !important;
	box-shadow: none !important;
	outline: none;
	padding: 1.25rem 2rem !important;
	color: inherit !important;
}

.quiztheme-pulse-contact input.quiztheme-pulse-contact__field[type="text"]:focus,
.quiztheme-pulse-contact input.quiztheme-pulse-contact__field[type="email"]:focus,
.quiztheme-pulse-contact select.quiztheme-pulse-contact__field:focus,
.quiztheme-pulse-contact textarea.quiztheme-pulse-contact__field:focus {
	color: inherit !important;
	border: 0 !important;
}

.quiztheme-pulse-contact input.quiztheme-pulse-contact__field[type="text"],
.quiztheme-pulse-contact input.quiztheme-pulse-contact__field[type="email"],
.quiztheme-pulse-contact select.quiztheme-pulse-contact__field {
	border-radius: 9999px !important;
}

.quiztheme-pulse-contact textarea.quiztheme-pulse-contact__field--textarea {
	border-radius: 0.75rem !important;
}

.quiztheme-pulse-contact button.vibrant-gradient[type="submit"] {
	border: 0 !important;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	background: linear-gradient(135deg, #811cd9 0%, #00d7f0 100%) !important;
	color: #fbefff !important;
	padding: 1.5rem 1rem !important;
	line-height: 1.25 !important;
}

.quiztheme-pulse-contact button.vibrant-gradient[type="submit"]:hover,
.quiztheme-pulse-contact button.vibrant-gradient[type="submit"]:focus,
.quiztheme-pulse-contact button.vibrant-gradient[type="submit"]:active {
	border: 0 !important;
	background: linear-gradient(135deg, #811cd9 0%, #00d7f0 100%) !important;
	color: #fbefff !important;
}

/* Contacto: consentimiento privacidad */
.quiztheme-pulse-contact__privacy {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 0.25rem;
	padding: 0 0.25rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: inherit;
}

.quiztheme-pulse-contact__privacy input[type="checkbox"] {
	margin-top: 0.2rem;
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
	accent-color: #811cd9;
	cursor: pointer;
}

.quiztheme-pulse-contact__privacy a {
	color: #811cd9;
	text-decoration: underline;
	font-weight: 600;
}

.quiztheme-pulse-contact__privacy a:hover {
	text-decoration: none;
}

/* Contacto: modal éxito */
.quiztheme-pulse-contact-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
}

.quiztheme-pulse-contact-modal[hidden] {
	display: none !important;
}

.quiztheme-pulse-contact-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.quiztheme-pulse-contact-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 26rem;
	padding: 1.75rem 1.5rem;
	border-radius: 1rem;
	background: #fff;
	color: #0f172a;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
	text-align: center;
}

.quiztheme-pulse-contact-modal__dialog h2 {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.2;
}

.quiztheme-pulse-contact-modal__dialog p {
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #475569;
}

.quiztheme-pulse-contact-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0 1.5rem;
	border: 0;
	border-radius: 9999px;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.95rem;
	color: #fbefff;
	background: linear-gradient(135deg, #811cd9 0%, #00d7f0 100%);
	box-shadow: 0 10px 30px rgba(129, 28, 217, 0.35);
}

.quiztheme-pulse-contact-modal__close:hover,
.quiztheme-pulse-contact-modal__close:focus {
	filter: brightness(1.05);
	outline: 2px solid #811cd9;
	outline-offset: 2px;
}

/* Referencia plantilla legal: acento del titular */
.neon-accent-text {
	color: #811cd9;
}

/* Plantilla Legal limpio: tipografía del cuerpo (bloques Pulse Legal + párrafos) */
.quiztheme-legal-minimal__article .entry-content > * + * {
	margin-top: 1rem;
}

.quiztheme-legal-section__inner > * + * {
	margin-top: 1rem;
}

.quiztheme-legal-section__inner strong {
	color: #0f172a;
	font-weight: 700;
}

.quiztheme-legal-minimal__article .entry-content h2,
.quiztheme-legal-minimal__article .entry-content h3 {
	margin-top: 1.75rem;
	margin-bottom: 0.5rem;
	font-weight: 800;
	color: inherit;
}

/* Newsletter: campo correo (radio + padding; el tema fuerza padding/radius en inputs). */
input.quiztheme-pulse-newsletter__email[type="email"],
input.quiztheme-pulse-newsletter__email[type="email"]:focus {
	border-radius: 30px !important;
	padding-top: 1.25rem !important;
	padding-bottom: 1.25rem !important;
	padding-left: 20px !important;
	padding-right: 2rem !important;
}

/* Newsletter: consentimiento */
input.quiztheme-pulse-newsletter__consent-input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.2em;
	accent-color: #fff;
	cursor: pointer;
}

.quiztheme-pulse-newsletter__consent-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Skip link visible al enfocar */
.skip-link.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 1rem;
	top: 1rem;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Barra de administración + cabecera fija */
body.admin-bar header.fixed.top-0,
body.admin-bar header.quiztheme-site-header.fixed {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar header.fixed.top-0,
	body.admin-bar header.quiztheme-site-header.fixed {
		top: 46px;
	}
}

/* Menú principal: ítems en fila con scroll horizontal en pantallas estrechas */
header .quiztheme-primary-menu > li {
	flex-shrink: 0;
}

header .quiztheme-primary-menu > li > a {
	display: inline-block;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

/* Escritorio: cabecera alineada con el canvas Pulse (misma familia y ritmo que el contenido). */
@media (min-width: 768px) {
	.quiztheme-site-header {
		transition:
			background-color 0.2s ease,
			border-color 0.2s ease,
			box-shadow 0.2s ease;
	}

	#quiztheme-top-bar {
		min-height: 3.25rem;
	}

	header .quiztheme-header-nav-link {
		font-family: Epilogue, ui-sans-serif, system-ui, sans-serif;
		letter-spacing: -0.02em;
	}

	.quiztheme-header-search--desktop:focus-within {
		box-shadow:
			0 0 0 1px rgb(129 28 217 / 0.18),
			0 6px 20px rgb(129 28 217 / 0.08);
		border-color: transparent;
	}

	html.dark .quiztheme-header-search--desktop:focus-within {
		box-shadow:
			0 0 0 1px rgb(193 133 255 / 0.28),
			0 8px 24px rgb(0 0 0 / 0.35);
	}
}

/* Velo móvil: al final del body (ver footer.php). Tamaño viewport fijo en CSS — no depende del header ni de Tailwind inset-0. */
.quiztheme-menu-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	z-index: 40;
	background: rgb(15 23 42 / 0.5);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (min-width: 768px) {
	.quiztheme-menu-backdrop {
		display: none !important;
	}
}

/* Móvil: menú hamburguesa (el header ya no usa backdrop-filter: fixed respecto al viewport). */
@media (max-width: 767px) {
	body.quiztheme-menu-open {
		overflow: hidden;
	}

	body.quiztheme-menu-open .quiztheme-site-header {
		overflow: visible !important;
	}

	/*
	 * Panel móvil Pulse: tarjeta bajo el logo, sombra ambient, acento primary / secondary (plantilla).
	 */
	body.quiztheme-menu-open .quiztheme-header-panel {
		position: fixed !important;
		top: var(--quiztheme-panel-top, clamp(4rem, 11vh, 6.5rem));
		left: 0 !important;
		right: 0 !important;
		bottom: auto !important;
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		max-height: min(75vh, calc(100dvh - var(--quiztheme-panel-top, 5.5rem) - 1rem)) !important;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		z-index: 45;
		/* Esquinas redondeadas solo abajo (arriba a ras con los bordes de pantalla). */
		border-radius: 0 0 1rem 1rem;
		border: 1px solid rgb(218 221 229 / 0.9);
		background: linear-gradient(
			165deg,
			rgb(255 255 255 / 0.97) 0%,
			rgb(239 240 247 / 0.98) 55%,
			rgb(230 232 239 / 0.96) 100%
		);
		box-shadow:
			0 40px 100px rgba(0, 0, 0, 0.08),
			0 0 0 1px rgb(129 28 217 / 0.07),
			inset 0 1px 0 rgb(255 255 255 / 0.85);
	}

	body.quiztheme-menu-open .quiztheme-header-panel::before {
		content: "";
		display: block;
		height: 3px;
		margin: 0.5rem 0 0.35rem;
		border-radius: 0 0 2px 2px;
		background: linear-gradient(90deg, #811cd9 0%, #26e6ff 100%);
		opacity: 0.95;
	}

	html.dark body.quiztheme-menu-open .quiztheme-header-panel {
		border-color: rgb(51 65 85 / 0.65);
		background: linear-gradient(
			165deg,
			rgb(15 23 42 / 0.98) 0%,
			rgb(30 41 59 / 0.97) 50%,
			rgb(15 23 42 / 0.99) 100%
		);
		box-shadow:
			0 40px 100px rgba(0, 0, 0, 0.45),
			0 0 0 1px rgb(129 28 217 / 0.18),
			inset 0 1px 0 rgb(255 255 255 / 0.04);
	}

	body.quiztheme-menu-open .quiztheme-site-branding,
	body.quiztheme-menu-open .quiztheme-menu-toggle {
		position: relative;
		z-index: 50;
	}

	/* Velo solo debajo de la barra (misma referencia que el panel): el header no se oscurece. */
	body.quiztheme-menu-open .quiztheme-menu-backdrop {
		top: var(--quiztheme-panel-top, 5.5rem);
		height: auto !important;
		bottom: 0;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		background: rgb(11 14 18 / 0.42);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	.quiztheme-menu-toggle[aria-expanded="true"] .quiztheme-menu-icon-open {
		display: none !important;
	}

	.quiztheme-menu-toggle[aria-expanded="true"] .quiztheme-menu-icon-close {
		display: inline-block !important;
	}

	body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu {
		margin: 0;
		padding: 0.35rem 1rem 0.85rem;
		gap: 0.35rem;
		font-family: Epilogue, ui-sans-serif, system-ui, sans-serif;
		letter-spacing: -0.02em;
	}

	body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li > a {
		border: 0 !important;
		border-radius: 0.75rem;
		padding: 0.7rem 1rem !important;
		font-size: 1rem;
		font-weight: 800;
		color: #595b61 !important;
		transition:
			background-color 0.2s ease,
			color 0.2s ease,
			box-shadow 0.2s ease,
			transform 0.2s ease;
	}

	html.dark body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li > a {
		color: rgb(203 213 225 / 0.95) !important;
	}

	body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li > a:hover,
	body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li > a:focus-visible {
		background: rgb(129 28 217 / 0.09);
		color: #811cd9 !important;
		box-shadow: 0 0 0 1px rgb(129 28 217 / 0.12);
		outline: none;
	}

	html.dark body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li > a:hover,
	html.dark body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li > a:focus-visible {
		background: rgb(129 28 217 / 0.15);
		color: #c185ff !important;
		box-shadow: 0 0 0 1px rgb(193 133 255 / 0.2);
	}

	body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li.current-menu-item > a,
	body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li.current_page_item > a {
		background: linear-gradient(
			135deg,
			rgb(129 28 217 / 0.12) 0%,
			rgb(38 230 255 / 0.08) 100%
		);
		color: #811cd9 !important;
		box-shadow:
			inset 0 0 0 1px rgb(129 28 217 / 0.22),
			0 8px 24px rgb(129 28 217 / 0.12);
	}

	html.dark body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li.current-menu-item > a,
	html.dark body.quiztheme-menu-open .quiztheme-header-panel .quiztheme-primary-menu > li.current_page_item > a {
		color: #c185ff !important;
		background: linear-gradient(
			135deg,
			rgb(129 28 217 / 0.2) 0%,
			rgb(38 230 255 / 0.1) 100%
		);
		box-shadow:
			inset 0 0 0 1px rgb(193 133 255 / 0.28),
			0 8px 28px rgb(0 0 0 / 0.25);
	}
}

@media (min-width: 768px) {
	.quiztheme-menu-icon-close {
		display: none !important;
	}
}

/**
 * Contenido principal y bloques Gutenberg: nunca más ancho que el viewport.
 * (alignwide / alignfull, columnas, embeds, tablas, bloques QuizTheme.)
 */
.site-main,
main#primary.site-main {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

@media (max-width: 781px) {
	.site-main,
	main#primary.site-main {
		min-width: 0;
		overflow-x: clip;
	}
}

.site-main .entry-content {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.site-main .entry-content > * {
	max-width: 100%;
	box-sizing: border-box;
}

.site-main .entry-content .wp-block-group,
.site-main .entry-content .wp-block-columns,
.site-main .entry-content .wp-block-column,
.site-main .entry-content .wp-block-media-text,
.site-main .entry-content .wp-block-buttons,
.site-main .entry-content .wp-block-gallery,
.site-main .entry-content .wp-block-cover,
.site-main .entry-content .wp-block-navigation,
.site-main .entry-content .wp-block-query,
.site-main .entry-content .wp-block-post-template {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.site-main .entry-content .wp-block-columns {
	flex-wrap: wrap;
}

.site-main .entry-content .wp-block-column {
	overflow-wrap: anywhere;
}

/* Imágenes, medios y embeds del editor */
.site-main .entry-content img,
.site-main .entry-content video,
.site-main .entry-content svg:not(:root),
.site-main .entry-content iframe,
.site-main .entry-content embed,
.site-main .entry-content object {
	max-width: 100%;
	height: auto;
}

.site-main .entry-content .wp-block-embed,
.site-main .entry-content .wp-block-embed__wrapper {
	max-width: 100%;
}

.site-main .entry-content table {
	width: 100%;
	max-width: 100%;
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}

.site-main .entry-content pre,
.site-main .entry-content code {
	max-width: 100%;
	overflow-x: auto;
	word-break: break-word;
}

@media (max-width: 781px) {
	.site-main .entry-content .alignfull {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.site-main .entry-content .alignwide {
		margin-left: auto !important;
		margin-right: auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/*
 * PC (lg+): columna 88rem (un paso por encima de max-w-7xl).
 * No aplica por debajo de 1024px — el responsive existente no se modifica.
 */
@media (min-width: 1024px) {
	/* Plantilla legal: conserva el ancho estrecho del propio main (max-w-3xl). */
	.site-main:not(.quiztheme-legal-minimal__main) .entry-content {
		max-width: 88rem;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		box-sizing: border-box;
	}

	/* Single quiz /temas/…: bloques renderizados directo en main sin .entry-content */
	main#primary.site-main > [class*="wp-block-"] {
		max-width: 88rem;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		box-sizing: border-box;
	}

	.site-main:not(.quiztheme-legal-minimal__main) .entry-content .alignwide,
	.site-main:not(.quiztheme-legal-minimal__main) .entry-content .alignfull,
	main#primary.site-main > [class*="wp-block-"].alignwide,
	main#primary.site-main > [class*="wp-block-"].alignfull {
		max-width: 88rem !important;
		width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* Bloques dinámicos QuizTheme (clase wp-block-quiztheme-*) */
[class*="wp-block-quiztheme-"] {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Secciones Pulse renderizadas fuera de .entry-content */
.site-main > section[class*="quiztheme-"],
.site-main > section[class*="pulse-"] {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/*
 * Nuevos experimentos: cover a todo el alto del card.
 * .site-main .entry-content img { height: auto } anulaba h-full/object-cover en móvil.
 */
.site-main .entry-content .quiztheme-pulse-lab-shelf .quiztheme-pulse-lab-shelf__cover,
.quiztheme-pulse-lab-shelf .quiztheme-pulse-lab-shelf__cover {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}

/*
 * Hero About: imagen <img> solo dentro del card (no como fondo del section).
 * .site-main .entry-content img { height: auto } rompe object-cover en el marco aspect-[4/5].
 */
.site-main .entry-content .quiztheme-pulse-about-hero__media .quiztheme-pulse-about-hero__img,
.quiztheme-pulse-about-hero__media .quiztheme-pulse-about-hero__img {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}

@media (max-width: 639px) {
	input.quiztheme-pulse-newsletter__email[type="email"],
	input.quiztheme-pulse-newsletter__email[type="email"]:focus {
		padding-top: 1rem !important;
		padding-bottom: 1rem !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}
