/**
 * Tipografia di base.
 * Specificità volutamente bassa: gli override di Astra vivono in coda.
 */

body {
	font-family: var(--ee-font-body);
	font-size: var(--ee-fs-body);
	font-weight: 400;
	line-height: var(--ee-lh-body);
	color: var(--ee-ink);
	background: var(--ee-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ee-section__title,
.ee-hero__title,
.ee-chapter__title,
.ee-cta-band__title,
.ee-404__title {
	font-family: var(--ee-font-display);
	font-weight: 600;
	line-height: var(--ee-lh-title);
	letter-spacing: var(--ee-track-tight);
	text-transform: uppercase;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

.ee-hero__title {
	font-size: var(--ee-fs-display);
	line-height: var(--ee-lh-tight);
	font-weight: 600;
}

.ee-section__title,
.ee-cta-band__title,
.ee-404__title {
	font-size: var(--ee-fs-h2);
}

h3,
.ee-fs-h3 {
	font-size: var(--ee-fs-h3);
	letter-spacing: -0.01em;
}

.ee-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--ee-font-body);
	font-size: var(--ee-fs-label);
	font-weight: 500;
	letter-spacing: var(--ee-track-label);
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--ee-muted);
}

.ee-section--ink .ee-label,
.ee-hero .ee-label,
.ee-menu .ee-label {
	color: var(--ee-muted-invert);
}

.ee-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ee-magenta);
	flex: none;
}

.ee-lead {
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	line-height: 1.55;
}

.ee-muted {
	color: var(--ee-muted);
}

.ee-section--ink .ee-muted {
	color: var(--ee-muted-invert);
}

/* Link nel contenuto */
.ee-content a:not(.wp-block-button__link) {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.ee-content a:not(.wp-block-button__link):hover {
	color: var(--ee-magenta);
}

.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;
}

.ee-skip-link {
	position: absolute;
	left: var(--ee-space-4);
	top: -100px;
	z-index: var(--ee-z-skip);
	padding: 12px 20px;
	background: var(--ee-magenta);
	color: #fff;
	font-size: var(--ee-fs-small);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: top var(--ee-dur-fast) var(--ee-ease);
}

.ee-skip-link:focus {
	top: var(--ee-space-4);
}
