/* CXM Prime Newsroom – all rules scoped under .cxmp-news */
.cxmp-news {
	--cxmp-navy: #26357a;
	--cxmp-navy-deep: #1c2860;
	--cxmp-red: #e3202a;
	--cxmp-ink: #2a2f3d;
	--cxmp-muted: #5c6172;
	--cxmp-line: #dfe2ec;
	--cxmp-mist: #eef0f7;
	--cxmp-white: #ffffff;
	--cxmp-radius: 14px;

	box-sizing: border-box;
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 6vw, 5rem);
	color: var(--cxmp-ink);
	font-size: 1rem;
	line-height: 1.6;
}
.cxmp-news *, .cxmp-news *::before, .cxmp-news *::after { box-sizing: inherit; }
.cxmp-news a { color: var(--cxmp-navy); }
.cxmp-news a:focus-visible,
.cxmp-news button:focus-visible {
	outline: 3px solid var(--cxmp-red);
	outline-offset: 3px;
	border-radius: 4px;
}
.cxmp-news img { max-width: 100%; height: auto; display: block; }

/* Page heading: the brand's red-to-navy rule, used once */
.cxmp-news__head { margin-bottom: 2rem; }
.cxmp-news__title {
	margin: 0;
	color: var(--cxmp-navy);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
}
.cxmp-news__head::after {
	content: "";
	display: block;
	height: 3px;
	margin-top: 1.5rem;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--cxmp-red) 0%, var(--cxmp-navy) 100%);
}
.cxmp-news__lead {
	max-width: 40em;
	margin: 0.9rem 0 0;
	color: var(--cxmp-muted);
	font-size: 1.15rem;
}

/* Filters: outlined chips, as in print materials */
.cxmp-news__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0 0 2.5rem;
}
.cxmp-news__filters a {
	padding: 0.45rem 1.1rem;
	border: 1.5px solid var(--cxmp-red);
	border-radius: 999px;
	color: var(--cxmp-navy);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.cxmp-news__filters a:hover { background: var(--cxmp-mist); }
.cxmp-news__filters a[aria-current="page"] {
	border-color: var(--cxmp-navy);
	background: var(--cxmp-navy);
	color: var(--cxmp-white);
}

/* Type and date */
.cxmp-news__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 1rem;
	margin: 0 0 0.75rem;
	color: var(--cxmp-muted);
	font-size: 0.9rem;
}
.cxmp-news__type {
	color: var(--cxmp-red);
	font-weight: 600;
	text-decoration: none;
}
a.cxmp-news__type:hover { text-decoration: underline; }

/* Featured (newest) article */
.cxmp-news__featured {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	overflow: hidden;
	margin-bottom: 3rem;
	border-radius: var(--cxmp-radius);
	background: var(--cxmp-mist);
}
.cxmp-news__featured--no-image { grid-template-columns: 1fr; }
.cxmp-news__featured-media img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}
.cxmp-news__featured-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.5rem, 4vw, 3rem);
}
.cxmp-news__featured-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 700;
	line-height: 1.2;
}
.cxmp-news__featured-title a { color: var(--cxmp-navy); text-decoration: none; }
.cxmp-news__featured-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cxmp-news__featured-excerpt { margin: 0 0 1.5rem; color: var(--cxmp-muted); max-width: 34em; }

.cxmp-news__button {
	align-self: flex-start;
	display: inline-block;
	padding: 0.7rem 1.4rem;
	border-radius: 999px;
	background: var(--cxmp-navy);
	color: var(--cxmp-white) !important;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s ease;
}
.cxmp-news__button:hover { background: var(--cxmp-navy-deep); }

/* Article list: dated rows, read like a wire */
.cxmp-news__list { list-style: none; margin: 0; padding: 0; }
.cxmp-news__row {
	display: grid;
	grid-template-columns: 10rem minmax(0, 1fr);
	gap: 0.5rem 2rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--cxmp-line);
}
.cxmp-news__row:last-child { border-bottom: 1px solid var(--cxmp-line); }
.cxmp-news__row-meta {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	color: var(--cxmp-muted);
	font-size: 0.9rem;
}
.cxmp-news__row-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
}
.cxmp-news__row-title a { color: var(--cxmp-navy); text-decoration: none; }
.cxmp-news__row-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cxmp-news__row-excerpt { margin: 0.4rem 0 0; color: var(--cxmp-muted); max-width: 46em; }
.cxmp-news__source { margin: 0.3rem 0 0; color: var(--cxmp-muted); font-size: 0.9rem; font-style: italic; }

/* Pagination */
.cxmp-news__pages ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}
.cxmp-news__pages .page-numbers {
	display: inline-block;
	min-width: 2.5rem;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
}
.cxmp-news__pages a.page-numbers:hover { background: var(--cxmp-mist); }
.cxmp-news__pages .current { background: var(--cxmp-navy); color: var(--cxmp-white); }

.cxmp-news__empty {
	padding: 3rem 2rem;
	border-radius: var(--cxmp-radius);
	background: var(--cxmp-mist);
	text-align: center;
	color: var(--cxmp-muted);
}

/* Single article */
.cxmp-news--single { max-width: 820px; }
.cxmp-news__back {
	display: inline-block;
	margin-bottom: 2rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}
.cxmp-news__back::before { content: "\2190\00a0"; }
.cxmp-news__back:hover { text-decoration: underline; }
.cxmp-news__article-title {
	margin: 0;
	color: var(--cxmp-navy);
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.015em;
}
.cxmp-news__standfirst {
	margin: 1.1rem 0 0;
	color: var(--cxmp-muted);
	font-size: 1.2rem;
	line-height: 1.55;
}
.cxmp-news__image { margin: 2.25rem 0 0; }
.cxmp-news__image img { width: 100%; border-radius: var(--cxmp-radius); }
.cxmp-news__image figcaption { margin-top: 0.6rem; color: var(--cxmp-muted); font-size: 0.88rem; }

.cxmp-news__body { margin-top: 2.25rem; font-size: 1.075rem; line-height: 1.75; }
.cxmp-news__body > * { max-width: 68ch; }
.cxmp-news__body h2, .cxmp-news__body h3 { color: var(--cxmp-navy); line-height: 1.3; margin: 2rem 0 0.75rem; }
.cxmp-news__body p { margin: 0 0 1.2rem; }
.cxmp-news__body ul, .cxmp-news__body ol { margin: 0 0 1.4rem; padding-left: 1.3rem; }
.cxmp-news__body li { margin-bottom: 0.4rem; }
.cxmp-news__body li::marker { color: var(--cxmp-red); }
.cxmp-news__body blockquote {
	margin: 1.75rem 0;
	padding: 0.25rem 0 0.25rem 1.4rem;
	border-left: 4px solid var(--cxmp-red);
	color: var(--cxmp-navy);
	font-size: 1.15rem;
}

.cxmp-news__external { margin: 2rem 0 0; }

.cxmp-news__share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--cxmp-line);
	font-size: 0.95rem;
}
.cxmp-news__share-label { color: var(--cxmp-muted); }
.cxmp-news__share a { font-weight: 600; text-decoration: none; }
.cxmp-news__share a:hover { text-decoration: underline; }
.cxmp-news__copy {
	padding: 0;
	border: 0;
	background: none;
	color: var(--cxmp-navy);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.cxmp-news__copy:hover { text-decoration: underline; }

/* About and media contact */
.cxmp-news__about {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 15rem;
	gap: 2rem;
	margin-top: 2.5rem;
	padding: clamp(1.5rem, 4vw, 2.25rem);
	border-radius: var(--cxmp-radius);
	background: var(--cxmp-mist);
	font-size: 0.95rem;
}
.cxmp-news__about h2, .cxmp-news__about h3 {
	margin: 0 0 0.6rem;
	color: var(--cxmp-navy);
	font-size: 1.05rem;
	font-weight: 700;
}
.cxmp-news__about p { margin: 0 0 0.6rem; color: var(--cxmp-muted); }
.cxmp-news__contact { padding-left: 2rem; border-left: 1px solid var(--cxmp-line); }
.cxmp-news__contact p { margin: 0 0 0.25rem; }
.cxmp-news__contact-name { color: var(--cxmp-ink) !important; font-weight: 600; }

.cxmp-news__more { margin-top: 4rem; }
.cxmp-news__more h2 { margin: 0 0 1rem; color: var(--cxmp-navy); font-size: 1.4rem; }

/* [cxmp_latest_news] shortcode */
.cxmp-news--latest { padding: 0; max-width: none; }
.cxmp-news__latest-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}
.cxmp-news__latest-title { margin: 0; color: var(--cxmp-navy); font-size: 1.6rem; }
.cxmp-news__all { font-weight: 600; text-decoration: none; white-space: nowrap; }
.cxmp-news__all:hover { text-decoration: underline; }

/* Small screens */
@media (max-width: 760px) {
	.cxmp-news__featured { grid-template-columns: 1fr; }
	.cxmp-news__featured-media img { min-height: 0; aspect-ratio: 16 / 9; }
	.cxmp-news__row { grid-template-columns: 1fr; gap: 0.35rem; }
	.cxmp-news__row-meta { flex-direction: row; gap: 0.75rem; }
	.cxmp-news__about { grid-template-columns: 1fr; gap: 1.25rem; }
	.cxmp-news__contact { padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid var(--cxmp-line); }
}

@media (prefers-reduced-motion: reduce) {
	.cxmp-news * { transition: none !important; }
}

/* v1.0.1 – protect the Newsroom from theme-wide element styles */
.cxmp-news { padding-top: clamp(7rem, 12vw, 9rem); }
.cxmp-news .cxmp-news__head,
.cxmp-news .cxmp-news__article-head,
.cxmp-news .cxmp-news__filters,
.cxmp-news .cxmp-news__pages,
.cxmp-news .cxmp-news__contact,
.cxmp-news .cxmp-news__about,
.cxmp-news .cxmp-news__more,
.cxmp-news .cxmp-news__article {
	position: static;
	inset: auto;
	width: auto;
	height: auto;
	box-shadow: none;
	transform: none;
	z-index: auto;
}
.cxmp-news .cxmp-news__head,
.cxmp-news .cxmp-news__article-head,
.cxmp-news .cxmp-news__article { background: transparent; }
.cxmp-news .cxmp-news__article-title,
.cxmp-news .cxmp-news__title { color: var(--cxmp-navy); white-space: normal; }
.cxmp-news .cxmp-news__body strong,
.cxmp-news .cxmp-news__body b { font-weight: 700; color: var(--cxmp-ink); }
.cxmp-news .cxmp-news__body ul { list-style: disc outside; padding-left: 1.3rem; }
.cxmp-news .cxmp-news__body ol { list-style: decimal outside; padding-left: 1.3rem; }
.cxmp-news .cxmp-news__body li { display: list-item; }
