/*
Theme Name:        Tribunas Villena 2026
Theme URI:         https://econsciente.es/
Author:            Adrián Navarro
Author URI:        https://econsciente.es/
Description:       Tema mínimo (estilo Hello Elementor) optimizado para el plugin Tribunas Villena. Sin chrome, sin opiniones — el plugin o el page builder ponen toda la UI.
Version:           1.0.0
Requires at least: 6.4
Requires PHP:      8.1
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       tribunas-villena-theme
Tags:              minimal, page-builder, custom-colors, custom-logo, threaded-comments, translation-ready, accessibility-ready
*/

/* === RESET MÍNIMO ============================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }

/* === TIPOGRAFÍA BASE ========================================= */

body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: #1a1a1a;
	background: #fafaf7;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* === ALINEACIÓN DE BLOQUES =================================== */
/* Necesarias para que el editor de bloques de WP funcione bien. */

.alignwide {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft  { float: left;  margin-right: 1em; }
.alignright { float: right; margin-left:  1em; }

/* === ACCESIBILIDAD =========================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
