/*
Theme Name: Hello Elementor Child - La Valira
Theme URI: https://lavalira.eu
Description: Tema hijo de Hello Elementor para La Valira. Sustituye a generatepress-child conservando el código propio del sitio (columnas de visitas, shortcodes de noticias relacionadas y queries de opinión para Elementor).
Author: Cibeles
Template: hello-elementor
Version: 1.1.0
Text Domain: lavalira
*/

/* =========================================================================
   1. BASE DE COMPATIBILIDAD CON GENERATEPRESS
   -------------------------------------------------------------------------
   GeneratePress imprimía su propia base tipográfica (17px, h1 31px, enlaces
   azules sin subrayado, fondo #f7f8f9). Hello trae otra distinta (16px,
   h1 40px, enlaces #c36 subrayados, fondo blanco).

   Dentro de los widgets de Elementor esto no se nota, porque Elementor
   aplica sus propias reglas (el Kit 35346 manda: contenedor 1260px,
   tipografías Roboto). Pero SÍ se nota en:
     - enlaces y párrafos de widgets sin tipografía explícita
     - la plantilla de 404, comentarios y páginas sin plantilla de Elementor
     - el espaciado de bloques de Gutenberg dentro del contenido

   Este bloque reproduce los valores de GeneratePress para que el cambio de
   tema no altere nada visualmente. Si algún día se quiere "limpiar", se
   puede borrar entero y revisar qué se mueve.
   ========================================================================= */

body,
button,
input,
select,
textarea {
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
}

body {
	background-color: #f7f8f9;
	color: #222222;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: inherit;
	font-weight: 400;
	line-height: 1.2em;
	margin: 0 0 20px;
}

h1 { font-size: 31px; }
h2 { font-size: 27px; }
h3 { font-size: 24px; }
h4 { font-size: 22px; }
h5 { font-size: 19px; }

p {
	margin: 0 0 1.5em;
}

a {
	color: #1e73be;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #000000;
}

/* Espaciado de bloques de Gutenberg dentro del contenido */
.entry-content > [class*="wp-block-"]:not(:last-child):not(.wp-block-heading) {
	margin-bottom: 1.5em;
}

/* =========================================================================
   2. AJUSTES PROPIOS DEL SITIO
   ========================================================================= */

/* Regla heredada de generatepress-child/style.css:
   evita el segundo contador que pinta Page Views Count. */
.pvc_stats.total_only.pvc_load_by_ajax_update:nth-of-type(2) {
	display: none;
}
