/**
 * Base tipográfica y reset ligero — mobile-first.
 */

html {
	overflow-x: clip;
	scrollbar-gutter: stable;
}

body {
	font-family: var(--aab-font);
	color: var(--aab-navy);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	background-color: var(--aab-grey);
}

.site-content,
#content,
.ast-container {
	background-color: transparent;
}

h1, h2, h3, h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.page-title,
.site-title {
	font-family: var(--aab-display);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--aab-navy);
	text-transform: none;
}

.entry-content p {
	color: var(--aab-muted);
	font-size: var(--aab-step-0);
	font-weight: 400;
}

/* Enlaces de texto: azul profundo WCAG AA (4.93:1), no #2B98C8 */
.entry-content a {
	color: var(--aab-blue-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--aab-navy);
}

.entry-content a.wp-block-button__link,
.entry-content a.button,
.entry-content a.aab-btn,
.entry-content .wp-block-button__link {
	color: var(--aab-white);
	text-decoration: none;
}

.entry-content a.wp-block-button__link:hover,
.entry-content a.button:hover,
.entry-content a.aab-btn:hover {
	color: var(--aab-white);
}

.custom-logo-link img,
.site-logo-img img,
.ast-header-logo img {
	max-height: 56px;
	width: auto;
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none;
		transition: none;
		scroll-behavior: auto;
	}
}
