/* Boreal Base · Boreal Studio · https://borealstudio.mx */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* Foco visible y consistente para teclado. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* Imágenes nunca desbordan. */
img, video { max-width: 100%; height: auto; }

/* Encabezado fijo opcional: agregar la clase "is-sticky" al grupo del encabezado. */
.is-sticky {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0);
	z-index: 50;
}

/* Botones: transición suave. */
.wp-element-button, .wp-block-button__link {
	transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-1px); }

/* Sin hueco entre el contenido y el pie (las secciones llevan su propio espaciado). */
.wp-site-blocks > .wp-block-template-part:last-child { margin-block-start: 0; }
