
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	padding: 20px;
	line-height: 1.6;
	color: #2d3748;
}

.contenedor-principal {
	max-width: 1200px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

header {
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
	color: #ffffff;
	padding: 40px 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

header::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
	animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(30px, 30px); }
}

.cabecera-superior {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 10px;
	opacity: 0.9;
	font-weight: 600;
}

.logo-sitio {
	font-size: 48px;
	font-weight: 900;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	letter-spacing: -1px;
	position: relative;
	z-index: 1;
}

.slogan-sitio {
	font-size: 16px;
	font-weight: 300;
	margin-top: 10px;
	letter-spacing: 2px;
	opacity: 0.95;
	position: relative;
	z-index: 1;
}

nav.menu-principal {
	background: #2d3748;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav.menu-principal a {
	color: #ffffff;
	text-decoration: none;
	padding: 18px 30px;
	display: inline-block;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	position: relative;
}

nav.menu-principal a::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

nav.menu-principal a:hover {
	background: #1a202c;
	color: #ffffff;
}

nav.menu-principal a:hover::before {
	width: 80%;
}

.columna-noticias {
	padding: 40px;
}

.encabezado-seccion-index h2,
.encabezado-seccion-categoria h2 {
	font-size: 32px;
	font-weight: 800;
	color: #1a202c;
	margin-bottom: 15px;
	position: relative;
	padding-bottom: 15px;
}

.encabezado-seccion-index h2::after,
.encabezado-seccion-categoria h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	border-radius: 2px;
}

.contenedor-grid-fichas {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
	padding: 30px 40px;
}

.ficha-noticia {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 25px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.ficha-noticia::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.ficha-noticia:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
	border-color: #667eea;
}

.ficha-noticia:hover::before {
	transform: scaleX(1);
}

.meta-datos {
	font-size: 11px;
	color: #667eea;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 12px;
	display: inline-block;
	padding: 4px 12px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 20px;
}

.ficha-noticia h2 {
	font-size: 20px;
	margin-bottom: 12px;
	line-height: 1.4;
	font-weight: 700;
	color: #1a202c;
}

.ficha-noticia h2 a {
	color: #1a202c;
	text-decoration: none;
	transition: color 0.3s ease;
}

.ficha-noticia h2 a:hover {
	color: #667eea;
}

.resumen-texto {
	font-size: 15px;
	line-height: 1.6;
	color: #4a5568;
	flex-grow: 1;
	margin-bottom: 15px;
}

.boton-leer-mas {
	align-self: flex-start;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	text-decoration: none;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 25px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	display: inline-block;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.boton-leer-mas:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.articulo-completo h1 {
	font-size: 42px;
	margin-bottom: 15px;
	line-height: 1.2;
	color: #1a202c;
	font-weight: 900;
}

.articulo-completo .bajada {
	font-size: 20px;
	font-weight: 400;
	color: #4a5568;
	margin-bottom: 30px;
	line-height: 1.5;
	font-style: italic;
	padding: 20px;
	background: #f7fafc;
	border-left: 4px solid #667eea;
	border-radius: 8px;
}

.cuerpo-articulo {
	font-size: 18px;
	line-height: 1.8;
	color: #2d3748;
}

.cuerpo-articulo p {
	margin-bottom: 20px;
}

.cuerpo-articulo h2 {
	font-size: 28px;
	margin-top: 35px;
	margin-bottom: 15px;
	color: #1a202c;
	font-weight: 700;
	position: relative;
	padding-left: 20px;
}

.cuerpo-articulo h2::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 80%;
	background: linear-gradient(180deg, #667eea, #764ba2);
	border-radius: 3px;
}

.cuerpo-articulo a {
	color: #667eea;
	text-decoration: none;
	border-bottom: 2px solid rgba(102, 126, 234, 0.3);
	transition: all 0.3s ease;
	font-weight: 500;
}

.cuerpo-articulo a:hover {
	color: #764ba2;
	border-bottom-color: #764ba2;
}

footer {
	background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
	color: #ffffff;
	text-align: center;
	padding: 40px 30px;
	font-size: 14px;
	line-height: 1.8;
}

footer p {
	margin: 5px 0;
	opacity: 0.9;
}

.publicidad {
	background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
	border: 2px dashed #cbd5e0;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
	margin: 30px 0;
	font-size: 13px;
	color: #718096;
	font-weight: 500;
}

@media (max-width: 768px) {
	body {
		padding: 10px;
	}

	.logo-sitio {
		font-size: 32px;
	}

	.contenedor-grid-fichas {
		grid-template-columns: 1fr;
		padding: 20px;
		gap: 20px;
	}

	nav.menu-principal {
		flex-direction: column;
	}

	nav.menu-principal a {
		text-align: center;
		padding: 15px;
	}

	.columna-noticias {
		padding: 20px;
	}

	.articulo-completo h1 {
		font-size: 28px;
	}
}

