.elementor-widget-archivo_noticias_an8c3e { min-width: 0; width: 100%; }
.an-wrap-an8c3e {
	--an-accent: #EF9618;
	--an-primary: #223C6A;
	font-family: 'Poppins', sans-serif;
	scroll-margin-top: 120px;
}
.an-wrap-an8c3e .an-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cabecera */
.an-wrap-an8c3e .an-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.an-wrap-an8c3e .an-heading { margin: 0; font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 600; line-height: 1.15; color: #1F3864; }
.an-wrap-an8c3e .an-line { display: block; width: 50px; height: 4px; background: var(--an-accent); margin-top: 14px; }
.an-wrap-an8c3e .an-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.an-wrap-an8c3e .an-select,
.an-wrap-an8c3e .an-search input {
	height: 46px;
	border: 1px solid #CDD5E2;
	border-radius: 0;
	background-color: #fff;
	color: #1A1A1A;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	padding: 0 14px;
	box-shadow: none;
	outline: none;
}
.an-wrap-an8c3e .an-select { min-width: 240px; max-width: 320px; padding-right: 36px; cursor: pointer; }
.an-wrap-an8c3e .an-select:focus,
.an-wrap-an8c3e .an-search input:focus { border-color: var(--an-primary); box-shadow: 0 0 0 2px rgba(34,60,106,.15); }
.an-wrap-an8c3e .an-search { display: flex; align-items: stretch; }
.an-wrap-an8c3e .an-search input { width: 280px; border-right: 0; }
.an-wrap-an8c3e .an-search button {
	width: 50px; height: 46px; padding: 0; margin: 0; border: 0; border-radius: 0;
	background: var(--an-primary); color: #fff; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background-color .2s;
}
.an-wrap-an8c3e .an-search button:hover,
.an-wrap-an8c3e .an-search button:focus { background: var(--an-accent); color: #fff; }
.an-wrap-an8c3e .an-search button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Botones de categoría */
.an-wrap-an8c3e .an-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.an-wrap-an8c3e .an-chip {
	display: inline-flex; align-items: center;
	padding: 8px 16px;
	border: 1px solid var(--an-primary);
	color: var(--an-primary);
	background: transparent;
	font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500; line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.an-wrap-an8c3e .an-chip:hover,
.an-wrap-an8c3e .an-chip:focus-visible { background: var(--an-primary); color: #fff; }
.an-wrap-an8c3e .an-chip.is-active { background: var(--an-primary); color: #fff; }

/* Estado del filtro */
.an-wrap-an8c3e .an-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: -8px 0 28px; font-size: 15px; color: #333; }
.an-wrap-an8c3e .an-status strong { color: var(--an-primary); }
.an-wrap-an8c3e .an-clear { color: var(--an-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.an-wrap-an8c3e .an-clear:hover { color: var(--an-accent); }

/* Grilla */
.an-wrap-an8c3e .an-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.an-wrap-an8c3e .an-card {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.an-wrap-an8c3e .an-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14, 42, 79, .12); }
.an-wrap-an8c3e .an-thumb { aspect-ratio: 3 / 2; background: #E3E8F0; overflow: hidden; line-height: 0; }
.an-wrap-an8c3e .an-thumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; border-radius: 0; box-shadow: none; transition: transform .5s ease; }
.an-wrap-an8c3e .an-card:hover .an-thumb img { transform: scale(1.04); }
.an-wrap-an8c3e .an-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #223C6A, #0E2A4F); }
.an-wrap-an8c3e .an-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 24px; }
.an-wrap-an8c3e .an-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; font-family: 'Roboto', sans-serif; font-size: 13px; line-height: 1.2; }
.an-wrap-an8c3e .an-badge { display: inline-block; padding: 4px 8px; background: #223C6A; color: #fff; font-weight: 500; }
.an-wrap-an8c3e .an-meta time { color: #5B6475; }
.an-wrap-an8c3e .an-title { margin: 0 0 12px; font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; line-height: 1.3; color: #1F3864; }
.an-wrap-an8c3e .an-title a { color: #1F3864; text-decoration: none; }
.an-wrap-an8c3e .an-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.an-wrap-an8c3e .an-title a:focus-visible { outline: none; }
.an-wrap-an8c3e .an-card:focus-within { outline: 2px solid var(--an-accent); outline-offset: 3px; }
.an-wrap-an8c3e .an-excerpt { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: #333; }
.an-wrap-an8c3e .an-more { margin-top: auto; align-self: flex-end; display: inline-flex; align-items: center; gap: 12px; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500; color: #000; }
.an-wrap-an8c3e .an-more-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--an-accent); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.an-wrap-an8c3e .an-more-ic svg { width: 15px; height: 15px; fill: none; stroke: #1A1A1A; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.an-wrap-an8c3e .an-card:hover .an-more-ic { transform: translateX(4px); }

/* Vacío */
.an-wrap-an8c3e .an-empty { padding: 60px 20px; text-align: center; background: #fff; }
.an-wrap-an8c3e .an-empty p { margin: 0 0 10px; font-size: 18px; color: #333; }

/* Paginación */
.an-wrap-an8c3e .an-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 48px; }
.an-wrap-an8c3e .an-nums { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.an-wrap-an8c3e .an-nums li { margin: 0; padding: 0; }
.an-wrap-an8c3e .an-num,
.an-wrap-an8c3e .an-dots {
	min-width: 40px; height: 40px; padding: 0 6px;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500;
	color: var(--an-primary); text-decoration: none;
}
.an-wrap-an8c3e a.an-num:hover { background: rgba(34,60,106,.08); color: var(--an-primary); }
.an-wrap-an8c3e .an-num.is-current { background: var(--an-primary); color: #fff; }
.an-wrap-an8c3e .an-arrow {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--an-accent); color: #111;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background-color .2s, color .2s;
}
.an-wrap-an8c3e a.an-arrow:hover { background: var(--an-primary); color: #fff; }
.an-wrap-an8c3e .an-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.an-wrap-an8c3e .an-arrow.is-disabled { opacity: .4; }

@media (max-width: 1024px) {
	.an-wrap-an8c3e .an-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.an-wrap-an8c3e .an-heading { font-size: 30px; }
	.an-wrap-an8c3e .an-search input { width: 220px; }
}
@media (max-width: 767px) {
	.an-wrap-an8c3e .an-grid { grid-template-columns: 1fr; gap: 20px; }
	.an-wrap-an8c3e .an-heading { font-size: 26px; }
	.an-wrap-an8c3e .an-head { align-items: stretch; }
	.an-wrap-an8c3e .an-form { width: 100%; }
	.an-wrap-an8c3e .an-select { width: 100%; max-width: none; min-width: 0; }
	.an-wrap-an8c3e .an-search { width: 100%; }
	.an-wrap-an8c3e .an-search input { width: auto; flex: 1 1 auto; min-width: 0; }
	.an-wrap-an8c3e .an-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; -webkit-overflow-scrolling: touch; }
	.an-wrap-an8c3e .an-chip { flex: 0 0 auto; }
	.an-wrap-an8c3e .an-body { padding: 18px 18px 20px; }
	.an-wrap-an8c3e .an-title { font-size: 18px; }
	.an-wrap-an8c3e .an-pager { gap: 8px; }
	.an-wrap-an8c3e .an-num, .an-wrap-an8c3e .an-dots { min-width: 34px; height: 34px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.an-wrap-an8c3e .an-card, .an-wrap-an8c3e .an-thumb img, .an-wrap-an8c3e .an-more-ic { transition: none; }
	.an-wrap-an8c3e .an-card:hover { transform: none; }
	.an-wrap-an8c3e .an-card:hover .an-thumb img { transform: none; }
}
