/* =========================================
   TAIBO BASE — Fundamentos
   Los tokens viven en tokens.css
   ========================================= */

/* Reset ligero — no agresivo, compatible con Elementor (MT-010 §77) */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--taibo-font-secondary);
    line-height: 1.5;
    color: var(--taibo-color-text);
    background-color: var(--taibo-color-bg);
}

img,
picture,
video {
    max-width: 100%;
    height: auto;
    display: block;
}
/* =========================================
   PROTECCIÓN DE TEXTO — evita desbordamientos
   MT-010 §82: el sistema debe tolerar expansión
   de contenido sin romperse.
   ========================================= */
h1, h2, h3, h4, h5, h6, p {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Aplicación tipográfica — Oswald (titulares) + Montserrat (texto) */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: var(--taibo-font-primary) !important;
    font-weight: var(--taibo-weight-bold);
    letter-spacing: var(--taibo-letter-spacing-titles);
    text-transform: uppercase;
    line-height: 1.2;
}

body, p, a, button, input, textarea {
    font-family: var(--taibo-font-secondary);
}