/* SUNNU · Tema propio · Base de todas las páginas
   Sin Divi: este es el único reset. Las secciones no tocan html, body ni etiquetas sueltas.
   Solo se edita desde el chat madre. */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sn-white);
  color: var(--sn-navy);
  font-family: var(--sn-font);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sn-sky);
  outline-offset: 2px;
}

/* Contenedor de ancho máximo, disponible para cualquier sección */
.sn-wrap {
  width: 100%;
  max-width: calc(var(--sn-max) + var(--sn-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--sn-gutter);
}

/* Texto solo para lectores de pantalla (WordPress usa .screen-reader-text) */
.sn-sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* "Saltar al contenido": invisible hasta que se llega con el teclado */
.sn-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--sn-navy);
  color: var(--sn-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.sn-skip:focus {
  transform: none;
}
