/*
Theme Name: westudio
Theme URI: https://westudio.cc
Description: El tema de westudio. Mínimo a propósito: la cabecera, el pie y un lienzo vacío donde el plugin dibuja el portal. Sin constructor de páginas, sin estilos que pelear.
Author: westudio
Author URI: https://westudio.cc
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: westudio
*/

/* Lo justo para que cualquier página se vea bien sola; el portal trae sus propios estilos (plugin) y manda sobre estos. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 400 16px/1.6 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--tinta-fondo, #0a0c10);
    color: var(--tinta-texto, #e9ecf1);
    -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--tinta-acento-tx, #8ab4ff); }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 1.4em 0 .5em; }
p, ul, ol { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 14px; background: #fff; color: #000; border-radius: 6px; }

/* Cabecera y pie: el plugin los viste (menú del portal, colores del estudio). Acá solo la estructura. */
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1280px; margin: 0 auto; padding: 14px 20px; }
.site-header .site-title { margin: 0; font-size: 19px; font-weight: 700; }
.site-header .site-title a { text-decoration: none; color: inherit; }
.site-header .custom-logo { max-height: 40px; width: auto; display: block; }
.site-footer .footer-inner { max-width: 1280px; margin: 0 auto; }

/* Páginas comunes (legales, avisos): una columna legible. */
.site-main { min-height: 50vh; }
.site-main > .page-header, .site-main > .page-content, .site-main > article { max-width: 760px; margin: 0 auto; padding: 32px 20px; }
.site-main > .page-header { padding-bottom: 0; }
.site-main > .page-header .entry-title { margin: 0; }
.site-main.site-main-portal > .page-content { max-width: none; padding: 0; }
