@charset "UTF-8";

/* Estilos para la página de noticias */
.news-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	height: 100%;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 31, 63, 0.15);
	border-color: rgba(0, 31, 63, 0.2);
}

.news-card-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-card:hover .news-card-image {
	transform: scale(1.05);
}

.news-card-body {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-card-title {
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #001f3f;
	margin-bottom: 0.75rem;
	line-height: 1.4;
	transition: color 0.3s ease;
	text-decoration: none;
}

.news-card:hover .news-card-title {
	color: #003d7a;
}

.news-card-text {
	color: #6c757d;
	font-size: 0.95rem;
	line-height: 1.6;
	flex: 1;
	margin-bottom: 1rem;
	text-align: justify;
}

.news-card-footer {
	padding: 1rem 1.5rem;
	background-color: #f8f9fa;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.news-card-date {
	color: #6c757d;
	font-size: 0.875rem;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.news-card-date i {
	color: #001f3f;
}

.divider-line {
	width: 100px;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, #001f3f 50%, transparent 100%);
	margin-top: 10px;
	border-radius: 2px;
}

/* Paginación mejorada */
.pagination-custom .page-link {
	color: #001f3f;
	border: 1px solid rgba(0, 31, 63, 0.2);
	padding: 0.5rem 1rem;
	margin: 0 0.25rem;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.pagination-custom .page-link:hover {
	background-color: #001f3f;
	color: white;
	border-color: #001f3f;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 31, 63, 0.2);
}

.pagination-custom .page-item.active .page-link {
	background-color: #001f3f;
	border-color: #001f3f;
	color: white;
	box-shadow: 0 4px 12px rgba(0, 31, 63, 0.3);
}

.pagination-custom .page-item.disabled .page-link {
	color: #6c757d;
	border-color: rgba(0, 0, 0, 0.1);
	opacity: 0.5;
	cursor: not-allowed;
}

.pagination-custom .page-item.disabled .page-link:hover {
	background-color: transparent;
	color: #6c757d;
	transform: none;
	box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
	.news-card-image {
		height: 180px;
	}
	
	.news-card-body {
		padding: 1.25rem;
	}
	
	.news-card-title {
		font-size: 1.1rem;
	}
	
	.news-card-text {
		font-size: 0.9rem;
	}
}

/* Placeholder para cuando no hay imagen */
.news-card-no-image {
	width: 100%;
	height: 220px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6c757d;
	font-size: 3rem;
}

@media (max-width: 768px) {
	.news-card-no-image {
		height: 180px;
		font-size: 2.5rem;
	}
}
