
:root {
	--primary-color: #0f172a;
	--accent-color: #2563eb;
	--text-main: #334155;
	--text-dark: #1e293b;
	--bg-light: #f8fafc;
	--white: #ffffff;
	--border-color: #e2e8f0;
	--hover-color: #eff6ff;
	--card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	background-color: var(--bg-light);
	margin: 0;
	padding: 0;
	color: var(--text-main);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

header {
	background-color: var(--white);
	border-bottom: 1px solid var(--border-color);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.brand-group {
	display: flex;
	flex-direction: column;
}

h1.logo-sitio {
	font-size: 1.5rem;
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--primary-color);
	text-decoration: none;
}

h1.logo-sitio a {
	color: inherit;
	text-decoration: none;
}

.slogan-sitio {
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 2px;
	font-weight: 500;
}

nav.menu-principal {
	display: flex;
	gap: 20px;
}

nav.menu-principal a {
	color: var(--text-dark);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	transition: all 0.2s ease;
}

nav.menu-principal a:hover {
	background-color: var(--hover-color);
	color: var(--accent-color);
}

.hero-section {
	background-color: var(--primary-color);
	color: white;
	padding: 4rem 20px;
	text-align: center;
	margin-bottom: 3rem;
}

.hero-section h2 {
	font-size: 2.5rem;
	margin: 0 0 1rem 0;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.contenedor-principal {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	min-height: 60vh;
}

.seccion-titulo {
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border-color);
}

.seccion-titulo h2 {
	font-size: 1.5rem;
	color: var(--text-dark);
	margin: 0;
	font-weight: 700;
}

.contenedor-grid-fichas {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2rem;
	margin-bottom: 4rem;
}

.ficha-noticia {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ficha-noticia:hover {
	transform: translateY(-4px);
	box-shadow: var(--card-shadow);
	border-color: var(--accent-color);
}

.ficha-contenido {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ficha-tag {
	display: inline-block;
	background-color: var(--hover-color);
	color: var(--accent-color);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 4px;
	margin-bottom: 1rem;
	align-self: flex-start;
}

.ficha-noticia h2 {
	font-size: 1.25rem;
	margin: 0 0 0.75rem 0;
	line-height: 1.4;
	font-weight: 700;
	color: var(--text-dark);
}

.ficha-noticia h2 a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(transparent 95%, var(--accent-color) 5%);
	background-repeat: no-repeat;
	background-size: 0% 100%;
	transition: background-size .3s;
}

.ficha-noticia:hover h2 a {
	background-size: 100% 100%;
	color: var(--accent-color);
}

.resumen-texto {
	font-size: 0.95rem;
	color: #64748b;
	margin: 0 0 1.5rem 0;
	flex-grow: 1;
}

/* Estilos Artículo Completo */
.articulo-container {
	max-width: 800px;
	margin: 0 auto;
	background: var(--white);
	padding: 4rem;
	border-radius: 16px;
	box-shadow: var(--card-shadow);
}

.articulo-header {
	margin-bottom: 2.5rem;
	text-align: center;
}

.articulo-meta {
	display: flex;
	justify-content: center;
	gap: 1rem;
	color: #64748b;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.articulo-completo h1 {
	font-size: 2.5rem;
	line-height: 1.2;
	color: var(--text-dark);
	margin-bottom: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.articulo-completo .bajada {
	font-size: 1.25rem;
	line-height: 1.6;
	color: #475569;
	margin-bottom: 2.5rem;
	font-weight: 400;
	border-left: 4px solid var(--accent-color);
	padding-left: 1.5rem;
}

.cuerpo-articulo {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--text-main);
}

.cuerpo-articulo p {
	margin-bottom: 1.5rem;
}

.cuerpo-articulo h2 {
	font-size: 1.75rem;
	color: var(--text-dark);
	margin-top: 3rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.cuerpo-articulo a {
	color: var(--accent-color);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	transition: color 0.2s;
}

.cuerpo-articulo a:hover {
	color: var(--primary-color);
}

footer {
	background-color: var(--white);
	border-top: 1px solid var(--border-color);
	padding: 4rem 0;
	margin-top: 6rem;
	text-align: center;
	color: #64748b;
}

.footer-brand {
	font-weight: 800;
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.header-inner {
		flex-direction: column;
		gap: 1rem;
	}

	.hero-section h2 {
		font-size: 2rem;
	}

	.articulo-container {
		padding: 2rem;
	}

	.articulo-completo h1 {
		font-size: 2rem;
	}
}

