/*
Theme Name: JESP Blank
Theme URI: https://jespweb.com/
Author: JESP - Diseño Web
Description: Theme base vacío y normalizado para proyectos JESP.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: jesp-blank
*/

/* ==========================================================
 * JESP BLANK — NORMALIZACIÓN BASE
 * ========================================================== */

html {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
}

img,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

img,
video {
    height: auto;
}

input,
select,
textarea,
button {
    max-width: 100%;
    font: inherit;
}

/* Evita que wrappers nativos de WordPress generen ancho extra. */
#page,
.site,
.site-content,
.entry-content,
.wp-site-blocks,
.wp-block-post-content {
    max-width: 100%;
}

/*
 * Protección para secciones full-bleed basadas en 100vw.
 * Algunos navegadores calculan 100vw incluyendo la barra vertical,
 * lo que puede producir un pequeño scroll horizontal.
 */
@supports (width: 100dvw) {
    .jesp-fullwidth,
    [data-jesp-fullwidth] {
        width: 100dvw;
        max-width: 100dvw;
    }
}
