/*
Theme Name: Eywa
Theme URI: https://eywadivulgazione.it
Author: Team Eywa
Description: Tema custom leggero, senza page builder, per eywadivulgazione.it. Layout a sezioni impilate, mega menu categorie, ottimizzato per performance.
Version: 0.1.2
Requires PHP: 7.4
Text Domain: eywa
*/

/* ==========================================================================
   Variabili colore — palette Eywa + accenti categoria
   ========================================================================== */
:root {
	--eywa-sage: #c2cda5;
	--eywa-dark: #2c3320;
	--eywa-ink: #1a1f16;
	--eywa-body-bg: #1a1f16;
	--eywa-header-bg: #1a1f16;
	--eywa-bg: #fdfcf8;
	--eywa-text-muted: #6b7060;
	--eywa-border: #2c3320;

	/* accenti per categoria (fascia colore card / badge) */
	--tag-ambiente-sostenibilita: #639922;
	--tag-economia-finanza: #ba7517;
	--tag-politica-societa: #993c1d;
	--tag-salute-benessere: #993556;
	--tag-scienza-tecnologia: #185fa5;
}

/* ==========================================================================
   Reset leggero
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #f4f6ef;
	background: var(--eywa-body-bg);
	-webkit-font-smoothing: antialiased;
}

/* Il sito vive dentro un frame boxed, staccato dallo sfondo scuro della pagina */
.site-wrapper {
	background: var(--eywa-ink);
	max-width: 1400px;
	margin: 0 auto;
	overflow: hidden;
}

@media (min-width: 900px) {
	.site-wrapper {
		border-radius: 16px;
		margin: 16px auto;
		box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
	}
	.site-header {
		border-radius: 16px 16px 0 0;
	}
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }

.container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
