/* Globales */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.container-large {
	width: calc(100% - 40px);
	margin: 0 auto;
	padding: 0 20px;
}

.global-wrapper {
	padding: 0px 60px;
}

/* Breadcrumb */
.breadcrumb {
	padding: 16px 0;
}

.breadcrumb .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.breadcrumb-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.breadcrumb-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.breadcrumb-link {
	color: #666666;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumb-link:hover {
	color: #0070C1;
	text-decoration: underline;
}

.breadcrumb-separator {
	color: #666666;
	font-size: 14px;
	user-select: none;
}

.breadcrumb-current {
	color: #1A1A1A;
	font-size: 14px;
	font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
	.breadcrumb {
		padding: 12px 0;
	}

	.breadcrumb-link,
	.breadcrumb-separator,
	.breadcrumb-current {
		font-size: 13px;
	}

	.breadcrumb-nav {
		gap: 8px;
	}

	.breadcrumb-item {
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.breadcrumb-link,
	.breadcrumb-separator,
	.breadcrumb-current {
		font-size: 12px;
	}
}

/* Top decorative bar */
.top-bar {
	height: 6px;
	background: linear-gradient(90deg, #0070C1 0%, #00A8E8 100%);
	width: 100%;
	margin-bottom: 60px;
}

/* News Section */
.news-section {
	padding: 60px 0 80px;
	background-color: #FFFFFF;
}

.news-title {
	font-size: 56px;
	font-weight: 700;
	color: #1A1A1A;
	margin: 0 0 16px 0;
	line-height: 1.1;
}

.news-subtitle {
	font-size: 18px;
	line-height: 1.6;
	color: #666666;
	margin: 0 0 48px 0;
}

/* Search Form */
.news-search-form {
	background-color: #FFFFFF;
	margin-bottom: 48px;
}

.news-search-fields {
	background-color: #F8F9FA;
	padding: 20px;
	border-radius: 8px;
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 16px;
	align-items: end;
}

.search-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.search-field-large {
	min-width: 0;
}

.search-input {
	padding: 14px 20px;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	font-size: 15px;
	color: #1A1A1A;
	background-color: #FFFFFF;
	transition: all 0.3s ease;
	font-family: inherit;
	width: 100%;
}

.search-input::placeholder {
	color: #9CA3AF;
}

.search-input:focus {
	outline: none;
	border-color: #0070C1;
	box-shadow: 0 0 0 3px rgba(0, 112, 193, 0.1);
}

.search-select {
	padding: 14px 20px;
	padding-right: 45px;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	font-size: 15px;
	color: #1A1A1A;
	background-color: #FFFFFF;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	transition: all 0.3s ease;
	font-family: inherit;
	min-width: 180px;
}

.search-select:focus {
	outline: none;
	border-color: #0070C1;
	box-shadow: 0 0 0 3px rgba(0, 112, 193, 0.1);
}

.btn-news-search {
	padding: 14px 48px;
	background-color: #0070C1;
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.btn-news-search:hover {
	background-color: #005A9E;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 112, 193, 0.3);
}

/* Results Header */
.news-results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
}

.results-count {
	font-size: 16px;
	color: #666666;
	margin: 0;
}

.results-count strong {
	color: #1A1A1A;
	font-weight: 700;
}

.sort-dropdown {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sort-label {
	font-size: 14px;
	font-weight: 500;
	color: #666666;
	white-space: nowrap;
}

.sort-select {
	padding: 10px 16px;
	padding-right: 40px;
	border: 1px solid #D1D5DB;
	border-radius: 6px;
	font-size: 14px;
	color: #1A1A1A;
	background-color: #FFFFFF;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	min-width: 180px;
	font-family: inherit;
}

/* News Grid */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 48px;
}

.news-card {
	display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-image {
	width: 100%;
	height: 220px;
	overflow: hidden;
	background-color: #E5E7EB;
}

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

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

.news-card-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.news-category {
	font-size: 13px;
	font-weight: 700;
	color: #0070C1;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Comentario: reset para botones de categoría que actúan como enlaces. */
.news-detail-category-button {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

.news-card-title {
	font-size: 20px;
	font-weight: 600;
	color: #1A1A1A;
	line-height: 1.4;
	margin: 0;
}

.news-date {
	font-size: 14px;
	color: #666666;
	margin: 0;
}

/* Pagination */
.news-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 48px;
}

.pagination-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	background-color: #FFFFFF;
	color: #666666;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pagination-number,
.page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	background-color: #FFFFFF;
	color: #666666;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
.page-numbers.current,
.pagination-number.active {
	background-color: #0070C1;
	border-color: #0070C1;
	color: #FFFFFF;
}

.pagination-dots {
	color: #666666;
	font-size: 15px;
	padding: 0 8px;
	user-select: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.news-section {
		padding: 48px 0 60px;
	}

	.top-bar {
		margin-bottom: 48px;
	}

	.news-title {
		font-size: 48px;
	}

	.news-subtitle {
		font-size: 16px;
		margin-bottom: 40px;
	}

	.news-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.news-section {
		padding: 40px 0 60px;
	}

	.top-bar {
		margin-bottom: 32px;
	}

	.news-title {
		font-size: 36px;
		margin-bottom: 12px;
	}

	.news-subtitle {
		font-size: 15px;
		margin-bottom: 32px;
	}

	.news-search-fields {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.search-select {
		min-width: 100%;
	}

	.btn-news-search {
		width: 100%;
		padding: 14px 24px;
	}

	.news-results-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin-bottom: 24px;
	}

	.sort-dropdown {
		width: 100%;
	}

	.sort-select {
		flex: 1;
		min-width: 0;
	}

	.news-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 40px;
	}

	.news-image {
		height: 200px;
	}

	.news-card-content {
		padding: 20px;
	}

	.news-card-title {
		font-size: 18px;
	}

	.news-pagination {
		gap: 6px;
		flex-wrap: wrap;
	}

	.pagination-btn,
	.pagination-number {
		width: 36px;
		height: 36px;
		min-width: 36px;
	}
}

@media (max-width: 480px) {
	.news-title {
		font-size: 28px;
	}

	.news-subtitle {
		font-size: 14px;
	}

	.news-image {
		height: 180px;
	}

	.news-card-title {
		font-size: 16px;
	}

	.pagination-number {
		font-size: 14px;
	}
}


