/* === MINI RESET PERSONALIZADO === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Asegura que html y body no causen desbordes */
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hace que imágenes, videos y elementos visuales se adapten al contenedor */
img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Elimina subrayado y hereda color de enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/* Uniformiza inputs y botones */
input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
}

/* Corrige tablas grandes que causan desbordamiento */
table {
  width: 100%;
  border-collapse: collapse;
}

/* WordPress tiende a inyectar márgenes, especialmente en párrafos y listas */
p, ul, ol, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

/* Asegura que los elementos bloque se comporten bien en scroll horizontal */
section, article, header, footer, main, aside, nav, div {
  max-width: 100vw;
  box-sizing: border-box;
}
