.core-news-page {
	--core-news-gap: 10px;
	--core-news-radius: 10px;
	--core-news-ink: #171717;
	--core-news-muted: #6a6a6a;
	--core-news-border: rgba(0, 0, 0, .10);
	--core-news-surface: #fff;
	--core-news-soft: #f1f1f1;
	--core-news-accent: #b51f2e;
	box-sizing: border-box;
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw !important;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 0 15px;
	background: var(--core-news-soft);
	color: var(--core-news-ink);
	font-family: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.core-news-page *,
.core-news-page *::before,
.core-news-page *::after {
	box-sizing: inherit;
}

.core-news-page a {
	color: inherit;
}

.core-news-hero {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: var(--core-news-radius);
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
}

.core-news-hero-inner {
	width: 100%;
	padding: 48px 3.5vw;
}

.core-news-hero h1 {
	margin: 0;
	color: #fff;
	font-size: 64px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.06;
	text-transform: none !important;
}

/* Filtros del archivo: mismo patrón de Agenda. */
.core-news-sticky-sentinel {
	display: block;
	width: 1px;
	height: 1px;
	margin: -1px 0 0;
	pointer-events: none;
}

.core-news-controls {
	position: sticky;
	top: 109px;
	z-index: 30;
	margin-top: var(--core-news-gap);
	border: 1px solid rgba(0,0,0,.07);
	border-radius: var(--core-news-radius);
	background: rgba(255,255,255,.95);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	box-shadow: none;
	isolation: isolate;
}

.core-news-controls.is-stuck {
	--awb-sticky-background-color: rgba(255, 255, 255, 0.70) !important;
}

.core-news-controls.is-stuck::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: -10px;
	left: 50%;
	z-index: -1;
	width: 100vw;
	background: var(--awb-sticky-background-color);
	transform: translateX(-50%);
	pointer-events: none;
}

.core-news-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	min-height: 76px;
	padding: 18px 20px;
	transition: grid-template-columns 240ms ease;
}

.core-news-toolbar.is-history {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, auto);
}

.core-news-search {
	position: relative;
	min-width: 0;
	padding-right: 22px;
}

.core-news-search svg {
	position: absolute;
	top: 50%;
	left: 0;
	width: 18px;
	height: 18px;
	color: #5b5b5b;
	transform: translateY(-50%);
	pointer-events: none;
}

.core-news-search input {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 2px 0 28px;
	border: 0;
	border-bottom: 1px solid #bdbdbd;
	border-radius: 0;
	background: transparent;
	color: #111;
	font: inherit;
	font-size: 16px;
	box-shadow: none;
}

.core-news-search input::placeholder {
	color: #999;
	opacity: 1;
}

.core-news-search input:focus {
	border-bottom-color: #111;
	outline: 0;
	box-shadow: 0 1px 0 #111;
}

.core-news-filter-switch {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 40px;
	padding: 0 0 0 22px;
	border-left: 1px solid rgba(0,0,0,.10);
	white-space: nowrap;
}

.core-news-toolbar.is-history .core-news-filter-switch {
	padding-right: 10px;
}

.core-news-filter-switch button,
.core-news-filter-options button {
	margin: 0;
	padding: 8px 0 7px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	color: #777;
	font: inherit;
	font-size: 14px;
	font-weight: 470;
	line-height: 1;
	cursor: pointer;
	transition: color 160ms ease, border-color 160ms ease;
}

.core-news-filter-switch button:hover,
.core-news-filter-switch button:focus-visible,
.core-news-filter-options button:hover,
.core-news-filter-options button:focus-visible {
	color: #111;
	outline: 0;
}

.core-news-filter-switch button.is-open,
.core-news-filter-switch button.has-value,
.core-news-filter-options button.is-active {
	color: #111;
	font-weight: 650;
}

.core-news-filter-switch button.has-value,
.core-news-filter-options button.is-active {
	border-bottom-color: #111;
}

.core-news-filter-switch button.is-open:not(.has-value) {
	border-bottom-color: transparent;
}

.core-news-filter-colon {
	display: none;
	margin-left: 1px;
}

.core-news-filter-switch button.is-open .core-news-filter-colon {
	display: inline;
}

.core-news-filter-options {
	display: none;
	min-width: 0;
	width: max-content;
	max-width: min(58vw, 920px);
	align-items: center;
	justify-content: flex-end;
	gap: 17px;
	height: 40px;
	padding-left: 0;
	border-left: 0;
	opacity: 0;
	visibility: hidden;
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.core-news-filter-options::-webkit-scrollbar {
	display: none;
}

.core-news-year-options {
	min-width: max-content;
}


.core-news-toolbar.is-history .core-news-year-options {
	display: flex;
	opacity: 1;
	visibility: visible;
	transition: opacity 180ms ease 60ms, visibility 0s linear 0s;
}

/* Archivo y tarjetas. */
.core-news-archive-body {
	width: 100%;
	margin-top: var(--core-news-gap);
}

.core-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--core-news-gap);
	width: 100%;
}

.core-news-card {
	min-width: 0;
	border: 1px solid var(--core-news-border);
	border-radius: var(--core-news-radius);
	background: var(--core-news-surface);
	overflow: hidden;
	transition: border-color .18s ease;
}

.core-news-card:hover,
.core-news-card:focus-within {
	border-color: rgba(0, 0, 0, .28);
}

.core-news-card-link {
	display: flex;
	height: 100%;
	flex-direction: column;
	text-decoration: none !important;
}

.core-news-card-media {
	aspect-ratio: 16 / 10;
	background: #e8e8e5;
	overflow: hidden;
}

.core-news-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.core-news-card-media-empty {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e2e2df, #f4f4f1);
}

.core-news-card-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px 28px 30px;
}

.core-news-card-meta,
.core-news-single-meta {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--core-news-muted);
}

.core-news-card-meta > span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.core-news-card-meta-separator,
.core-news-single-meta-separator {
	display: block;
	flex: 0 0 1px;
	width: 1px;
	height: 14px;
	background: #c8c8c8;
}

.core-news-card-title-row {
	display: flex;
	align-items: flex-start;
	margin: 17px 0 12px;
}

.core-news-card-title-row > svg {
	display: block;
	width: 0;
	min-width: 0;
	height: 17px;
	flex: 0 0 0;
	margin-top: 4px;
	margin-right: 0;
	fill: var(--core-news-accent);
	opacity: 0;
	transition:
		width 220ms cubic-bezier(.22,1,.36,1),
		min-width 220ms cubic-bezier(.22,1,.36,1),
		flex-basis 220ms cubic-bezier(.22,1,.36,1),
		margin-right 220ms cubic-bezier(.22,1,.36,1),
		opacity 160ms ease;
}

.core-news-card:hover .core-news-card-title-row > svg,
.core-news-card:focus-within .core-news-card-title-row > svg {
	width: 17px;
	min-width: 17px;
	flex-basis: 17px;
	margin-right: 7px;
	opacity: 1;
}

.core-news-card h2 {
	margin: 0;
	font-size: 25px;
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -.025em;
}

.core-news-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #555;
}

.core-news-empty {
	width: 100%;
	padding: 60px 32px;
	border: 1px solid var(--core-news-border);
	border-radius: var(--core-news-radius);
	background: #fff;
	text-align: center;
}

.core-news-empty h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
}

.core-news-infinite {
	width: 100%;
	height: 2px;
	margin-top: 18px;
	pointer-events: none;
}

.core-news-infinite[hidden] {
	display: none !important;
}

.core-news-spinner {
	display: none;
}

/* Ficha: cabecera editorial partida con fondo derivado de la noticia. */
.core-news-single-header {
	--core-news-header-image: none;
	position: relative;
	isolation: isolate;
	width: 100%;
	margin: 0 0 var(--core-news-gap);
	border: 1px solid var(--core-news-border);
	border-radius: var(--core-news-radius);
	overflow: hidden;
	background: #ecebe8;
}

.core-news-single-header::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: -18%;
	background-image: var(--core-news-header-image);
	background-size: cover;
	background-position: center;
	filter: blur(75px) saturate(1.08) brightness(1.08);
	opacity: .72;
}

.core-news-single-header::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: rgba(255, 255, 255, .58);
}

.core-news-single-header-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
	gap: clamp(28px, 4vw, 72px);
	align-items: center;
	width: 100%;
	padding: 36px 3.5vw;
}

.core-news-single-copy {
	min-width: 0;
	padding: 12px 0;
}


.core-news-single-meta {
	margin-bottom: 18px;
	flex-wrap: wrap;
	font-size: 13px;
	line-height: 1.35;
	color: #535353;
}

.core-news-program-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.core-news-program-links a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.core-news-single h1 {
	max-width: 1050px;
	margin: 0;
	font-size: clamp(40px, 4.15vw, 72px);
	line-height: .99;
	font-weight: 600;
	letter-spacing: -.04em;
	text-transform: none !important;
}

.core-news-single-excerpt {
	max-width: 900px;
	margin: 26px 0 0;
	font-size: 20px;
	line-height: 1.43;
	color: #3f3f3f;
}

.core-news-single-photo-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	max-width: 980px;
	margin-top: 22px;
	font-family: "Inter Tight", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.42;
	letter-spacing: -.005em;
	color: #505050;
}

.core-news-single-photo-note svg {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	margin-top: 0;
	color: #4d4d4d;
}

.core-news-single-photo-note p {
	margin: 0;
}

.core-news-single-photo-credit {
	white-space: nowrap;
}

.core-news-single-photo-copyright {
	display: inline-block;
	margin-right: 1px;
	font-size: .9em;
	font-weight: 400;
	line-height: .9;
	vertical-align: -.02em;
}

.core-news-header-featured {
	min-width: 0;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: var(--core-news-radius);
	overflow: hidden;
	background: rgba(255,255,255,.86);
	box-shadow: 0 14px 40px rgba(0,0,0,.10);
}

.core-news-header-featured > img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}


.core-news-single-body {
	width: 100%;
	margin: 0;
	border: 1px solid var(--core-news-border);
	border-radius: var(--core-news-radius);
	background: #fff;
	overflow: hidden;
}

.core-news-content {
	width: min(920px, calc(100% - 7vw));
	max-width: 920px;
	margin: 0 auto;
	padding: 58px 0 72px;
	font-size: 18px;
	line-height: 1.67;
}

.core-news-content p {
	margin: 0 0 1.35em;
}

.core-news-content h2,
.core-news-content h3,
.core-news-content h4,
.core-news-content h5,
.core-news-content h6 {
	margin: 2.2em 0 .75em;
	line-height: 1.08;
	letter-spacing: -.02em;
}

.core-news-content h2 { font-size: 34px; }
.core-news-content h3 { font-size: 30px; }
.core-news-content h4 { font-size: 26px; }
.core-news-content h5 { font-size: 22px; }
.core-news-content h6 { font-size: 19px; }

.core-news-content ul,
.core-news-content ol {
	margin: 0 0 1.55em;
	padding-left: 1.3em;
}

.core-news-content li {
	margin: .4em 0;
}

.core-news-content a {
	color: var(--core-news-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 1180px) {
	.core-news-single-header-inner {
		grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
		gap: 30px;
	}
}

@media (max-width: 1100px) {
	.core-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.core-news-hero h1 {
		font-size: 34px;
		line-height: 1.10;
	}

	.core-news-single-header-inner {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 34px 26px;
	}

	.core-news-single-copy {
		padding-bottom: 0;
	}


	.core-news-header-featured {
		width: 100%;
	}
}

@media (max-width: 1180px) {
	.core-news-toolbar.is-history {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, auto);
	}

	.core-news-filter-options {
		gap: 13px;
		max-width: 46vw;
	}
}

/* Igual que Agenda: en móvil la barra queda reducida al buscador. */
@media (max-width: 900px) {
	.core-news-toolbar,
	.core-news-toolbar.is-history {
		display: block;
		grid-template-columns: none;
		min-height: 0;
		padding: 16px 18px;
	}

	.core-news-filter-switch,
	.core-news-filter-options,
	.core-news-toolbar.is-history .core-news-year-options {
		display: none !important;
	}

	.core-news-search {
		display: flex;
		width: 100%;
		min-width: 0;
		padding: 0;
		border: 0;
	}

	.core-news-search input {
		width: 100%;
	}
}

@media (max-width: 760px) {
	.core-news-hero-inner {
		padding: 34px 22px;
	}


	.core-news-grid {
		grid-template-columns: 1fr;
	}

	.core-news-card-copy {
		padding: 24px 22px 26px;
	}

	.core-news-card h2 {
		font-size: 23px;
	}

	.core-news-single-header-inner {
		padding: 30px 22px;
	}

	.core-news-single h1 {
		font-size: 40px;
	}

	.core-news-single-excerpt {
		font-size: 18px;
	}

	.core-news-single-photo-note {
		font-size: 15px;
	}

	.core-news-single-photo-credit {
		white-space: normal;
	}

	.core-news-content {
		width: auto;
		max-width: none;
		margin: 0;
		padding: 38px 22px 50px;
		font-size: 17px;
	}
}
