/* RADAR SEO Fixer — correcciones de accesibilidad y lectura (Astra 4 + Elementor). */

/* Contraste del botón "Normas Blog" (era #FF7A3D sobre #6EC1E4 = 1,28:1). Blanco sobre #0B4F6C ≈ 8,9:1. */
.elementor a.elementor-button[href*="/2023/01/20/bienvenida/"] {
	background-color: #0b4f6c !important;
	color: #ffffff !important;
}

/* Foco visible para navegación con teclado. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #0b4f6c !important;
	outline-offset: 2px;
}

/* Barra lateral: evitar cortes dentro de palabras y campo de búsqueda estrecho. */
#secondary .widget,
#secondary .widget a,
#secondary .wp-block-latest-posts__post-title {
	word-break: normal !important;
	overflow-wrap: break-word;
	hyphens: manual;
}
#secondary .wp-block-search__inside-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
}
#secondary .wp-block-search__input {
	flex: 1 1 100%;
	min-width: 0;
}

/* Lectura: texto alineado a la izquierda en artículos (evita los "ríos" de la justificación). */
.single-post .entry-content p,
.single-post .entry-content li {
	text-align: left !important;
}

/* Título del sitio: se conserva para lectores de pantalla pero no altera la cabecera con logo. */
.ast-site-title-wrap .site-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Fecha de actualización y aviso de vigencia. */
.rsf-updated {
	font-size: .9em;
	color: #4a4a4a;
	margin-bottom: 1em;
}
.rsf-forecast {
	border-left: 4px solid #b45309;
	background: #fff7ed;
	color: #1f2937;
	padding: .8em 1em;
	margin: 0 0 1.5em;
	font-size: .95em;
}
.rsf-forecast a {
	color: #0b4f6c;
	text-decoration: underline;
}

/* Rótulo de imágenes generadas con IA. */
.rsf-ai-label {
	display: block;
	font-size: .8em;
	font-style: italic;
	color: #4a4a4a;
	margin: .3em 0 1em;
}

/* Seguir leyendo. */
.rsf-related {
	margin-top: 2.5em;
	padding-top: 1.2em;
	border-top: 2px solid #e5e7eb;
}
.rsf-related-title {
	font-size: 1.3em;
	margin-bottom: .6em;
}
.rsf-related ul {
	margin: 0 0 0 1.2em;
}
.rsf-related li {
	margin-bottom: .5em;
}

/* Enlaces institucionales en el pie. */
.rsf-legal {
	background: #0f172a;
	padding: 1em 16px;
	text-align: center;
}
.rsf-legal ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5em 1.5em;
}
.rsf-legal a {
	color: #e2e8f0;
	font-size: .9em;
	text-decoration: underline;
}
