﻿/**
 * News & Media - editorial pass, 2026-11.
 *
 * The page is a long reading surface: hero, photographic band, filter bar, a
 * featured story, a recent grid and a grouped newsroom list. It already has a
 * clear structure; what it lacked was state and closure - the photographic band
 * had no brand rule, and none of the story cards responded to the pointer.
 *
 * Copy and markup untouched; scoped to body.page-id-164.
 */

/* The photographic band closes with the brand rule, like the rest of the site. */
body.page-id-164 .unoc-news-photo-band {
	position: relative !important;
}

body.page-id-164 .unoc-news-photo-band::before {
	content: "" !important;
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, #000 0 33%, #ffc808 33% 66%, #e10032 66% 100%);
	z-index: 2;
}



/* ------------------------------------------------------------- filter bar --- */

body.page-id-164 .filter button {
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body.page-id-164 .filter button.is-active {
	box-shadow: inset 0 -3px 0 #ffc808;
}

body.page-id-164 .filter button:not(.is-active):hover {
	box-shadow: inset 0 -3px 0 rgba(255, 200, 8, 0.5);
}

/* ---------------------------------------------------------- featured story --- */

body.page-id-164 .featured {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(20, 20, 22, 0.1);
}

body.page-id-164 .featured::before {
	content: "" !important;
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: #ffc808;
	z-index: 2;
}

body.page-id-164 .featured h2, body.page-id-164 .featured h3 {
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* ------------------------------------------------------------- story cards --- */

body.page-id-164 .card {
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-id-164 .card:hover {
	transform: translateY(-5px);
	border-color: #e10032 !important;
	box-shadow: 0 22px 44px rgba(20, 20, 22, 0.14);
}

body.page-id-164 .card h3, body.page-id-164 .card h4 {
	letter-spacing: -0.01em;
}

/* Media centre cards get the same response as story cards. */
body.page-id-164 .section .card:hover {
	border-color: #e10032 !important;
}

/* ----------------------------------------------------------------- mobile --- */

@media (max-width: 760px) {
	body.page-id-164 .card:hover {
		transform: none;
	}
}

/* ------------------------------------------------------------- hero photo --- */

/* The previous hero photograph was a busy rig shot that fought the headline.
 * The replacement is calmer and better balanced; the scrim is tuned so the left
 * third stays readable while the right side of the frame stays visible. */
body.page-id-164 .unoc-news-photo-band {
	background: #1f2023 url('../../../../uploads/2026/10/news-media-hero.jpg') center/cover no-repeat !important;
	min-height: clamp(420px, 46vw, 560px) !important;
}

body.page-id-164 .unoc-news-photo-band::before {
	background: linear-gradient(90deg, rgba(18, 18, 20, 0.90) 0%, rgba(18, 18, 20, 0.74) 34%, rgba(18, 18, 20, 0.34) 62%, rgba(18, 18, 20, 0.12) 100%) !important;
}

/* A soft base vignette keeps the CTA legible without dulling the photograph. */
body.page-id-164 .unoc-news-photo-band::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 46%;
	background: linear-gradient(180deg, rgba(18, 18, 20, 0) 0%, rgba(18, 18, 20, 0.55) 100%);
	pointer-events: none;
	z-index: 0;
}

body.page-id-164 .unoc-news-photo-band__inner {
	position: relative;
	z-index: 1;
}

body.page-id-164 .unoc-news-photo-band h1,
body.page-id-164 .unoc-news-photo-band h2 {
	text-shadow: 0 2px 26px rgba(0, 0, 0, 0.42);
}

/* ---------------------------------------------------------------- newsroom --- */

/* Four category blocks each in their own three-column grid left ragged holes -
 * one card beside two empty slots. Give every category a label column and a
 * two-column card field, so short categories read as short rather than broken. */
body.page-id-164 .unoc-cpt-directory__group {
	display: grid !important;
	grid-template-columns: 190px minmax(0, 1fr) !important;
	gap: clamp(20px, 3vw, 40px) !important;
	align-items: start;
	border-top: 1px solid #e6e3dd;
	padding-top: 30px;
	margin-top: 30px;
}

body.page-id-164 .unoc-cpt-directory__group > :first-child {
	grid-column: 1;
	margin: 0 !important;
}

body.page-id-164 .unoc-cpt-directory__group > .unoc-cpt-directory__grid {
	grid-column: 2;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
}

body.page-id-164 .unoc-cpt-directory__card {
	min-height: 0 !important;
	padding: 20px 22px !important;
	border: 1px solid #e9e6e0 !important;
	box-shadow: none !important;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.page-id-164 .unoc-cpt-directory__card:hover {
	transform: translateY(-3px);
	border-color: #e10032 !important;
	box-shadow: 0 16px 32px rgba(20, 20, 22, 0.10) !important;
}

body.page-id-164 .unoc-cpt-directory__card h3,
body.page-id-164 .unoc-cpt-directory__card h4 {
	font-size: 17px !important;
	line-height: 1.3 !important;
	letter-spacing: -0.01em;
}

@media (max-width: 900px) {
	body.page-id-164 .unoc-cpt-directory__group {
		grid-template-columns: 1fr !important;
	}

	body.page-id-164 .unoc-cpt-directory__group > .unoc-cpt-directory__grid {
		grid-template-columns: 1fr !important;
	}
}

/* The replacement photo puts its subjects centre-right, so shift the focal point
 * and hold a little more density on the left, where the copy sits. */
body.page-id-164 .unoc-news-photo-band {
	background-position: 68% center !important;
}

body.page-id-164 .unoc-news-photo-band::before {
	background: linear-gradient(90deg, rgba(16, 16, 18, 0.93) 0%, rgba(16, 16, 18, 0.80) 30%, rgba(16, 16, 18, 0.42) 58%, rgba(16, 16, 18, 0.10) 100%) !important;
}

/* The eyebrow is brand red, which disappears against photography. */
body.page-id-164 .unoc-news-photo-band .unoc-eyebrow,
body.page-id-164 .unoc-news-photo-band__copy .unoc-eyebrow,
body.page-id-164 .unoc-news-photo-band__copy > span:first-child {
	color: #ffc808 !important;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

body.page-id-164 .unoc-news-photo-band p {
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

/* The eyebrow element is .ey with a pinned text-fill colour. */
body.page-id-164 .unoc-news-photo-band__copy .ey {
	color: #ffc808 !important;
	-webkit-text-fill-color: #ffc808 !important;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

/* Cards size to their content so a short item does not stretch into a large
 * empty panel beside a long one. */
body.page-id-164 .unoc-cpt-directory__grid {
	align-items: start !important;
	align-content: start !important;
}

body.page-id-164 .unoc-cpt-directory__card {
	height: auto !important;
}

/* ======================================================== hero, split ground === */

/* The headline and the photograph were competing for the same area, and every
 * scrim strength traded legibility against the image. Split the band instead:
 * a solid charcoal field carries the copy on the left, the photograph holds the
 * right. Nothing overlaps, so neither has to be compromised. */
body.page-id-164 .unoc-news-photo-band {
	background-color: #17181a !important;
	background-image: url('../../../../uploads/2026/10/news-media-hero.jpg') !important;
	background-size: 58% 100% !important;
	background-position: right center !important;
	background-repeat: no-repeat !important;
	min-height: clamp(420px, 44vw, 540px) !important;
}

/* Solid field on the left, dissolving into the photograph around 60%. */
body.page-id-164 .unoc-news-photo-band::before {
	background: linear-gradient(90deg, #17181a 0%, #17181a 36%, rgba(23, 24, 26, 0.94) 46%, rgba(23, 24, 26, 0) 63%) !important;
}

/* The bottom vignette is no longer needed. */
body.page-id-164 .unoc-news-photo-band::after {
	display: none !important;
}

body.page-id-164 .unoc-news-photo-band__copy {
	max-width: 44ch;
}

body.page-id-164 .unoc-news-photo-band h1,
body.page-id-164 .unoc-news-photo-band h2 {
	text-shadow: none !important;
}

/* Below the split point, revert to a full-bleed photograph with a scrim. */
@media (max-width: 900px) {
	body.page-id-164 .unoc-news-photo-band {
		background-size: cover !important;
		background-position: center !important;
	}

	body.page-id-164 .unoc-news-photo-band::before {
		background: linear-gradient(180deg, rgba(18, 18, 20, 0.92) 0%, rgba(18, 18, 20, 0.72) 55%, rgba(18, 18, 20, 0.92) 100%) !important;
	}

	body.page-id-164 .unoc-news-photo-band__copy {
		max-width: none;
	}
}

/* Soften the seam where the charcoal field meets the photograph. */
body.page-id-164 .unoc-news-photo-band::before {
	background: linear-gradient(90deg, #17181a 0%, #17181a 34%, rgba(23, 24, 26, 0.96) 44%, rgba(23, 24, 26, 0.55) 54%, rgba(23, 24, 26, 0) 68%) !important;
}

/* The hero CTA rule is gold rather than red: on the charcoal field the gold
 * matches the eyebrow and keeps the single red accent for active states. */
body.page-id-164 .unoc-news-photo-band__link {
	border-bottom-color: #ffc808 !important;
}

body.page-id-164 .unoc-news-photo-band__link:hover,
body.page-id-164 .unoc-news-photo-band__link:focus-visible {
	border-bottom-color: #ffffff !important;
}

/* ================================================== mobile hero, final word === */

/* The split hero above out-specifies the earlier mobile block, so phones were
 * still getting the desktop left-to-right wash over a full-bleed photo - text
 * over faces. This block is last and explicit. */
@media (max-width: 900px) {
	body.page-id-164 .unoc-news-photo-band {
		background-image: url('../../../../uploads/2026/10/news-media-hero.jpg') !important;
		background-size: cover !important;
		background-position: 58% center !important;
		min-height: clamp(430px, 78vh, 560px) !important;
		align-items: end !important;
	}

	body.page-id-164 .unoc-news-photo-band::before {
		background: linear-gradient(180deg, rgba(12, 12, 14, 0.25) 0%, rgba(12, 12, 14, 0.62) 42%, rgba(12, 12, 14, 0.93) 72%, rgba(12, 12, 14, 0.97) 100%) !important;
	}

	body.page-id-164 .unoc-news-photo-band::after {
		display: none !important;
	}

	body.page-id-164 .unoc-news-photo-band__copy {
		max-width: 100% !important;
		position: relative;
		z-index: 1;
	}

	body.page-id-164 .unoc-news-photo-band__copy .ey {
		color: #ffc808 !important;
		-webkit-text-fill-color: #ffc808 !important;
		text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
	}

	body.page-id-164 .unoc-news-photo-band h2 {
		font-size: clamp(25px, 7.2vw, 34px) !important;
		line-height: 1.12 !important;
		text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
	}

	body.page-id-164 .unoc-news-photo-band p {
		font-size: 14.5px !important;
		line-height: 1.5 !important;
		text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
	}
}

/* On a phone the photo fills the frame with people, so overlaid copy always
 * crosses faces. Anchor the copy to the base on its own solid ground instead -
 * the same separation the desktop split uses, stacked vertically. */
@media (max-width: 900px) {
	body.page-id-164 .unoc-news-photo-band {
		padding: 0 !important;
		align-items: end !important;
		background-position: 60% 28% !important;
		min-height: clamp(430px, 76vh, 560px) !important;
	}

	body.page-id-164 .unoc-news-photo-band::before {
		background: linear-gradient(180deg, rgba(10, 10, 12, 0.05) 0%, rgba(10, 10, 12, 0.35) 45%, rgba(10, 10, 12, 0.72) 100%) !important;
	}

	body.page-id-164 .unoc-news-photo-band__inner {
		width: 100% !important;
		padding: 0 !important;
	}

	body.page-id-164 .unoc-news-photo-band__copy {
		max-width: 100% !important;
		background: rgba(12, 12, 14, 0.94) !important;
		padding: 22px 22px 26px !important;
		border-top: 3px solid #ffc808;
	}

	body.page-id-164 .unoc-news-photo-band h2 {
		font-size: clamp(24px, 6.6vw, 30px) !important;
		line-height: 1.14 !important;
	}

	body.page-id-164 .unoc-news-photo-band p {
		font-size: 14px !important;
		line-height: 1.5 !important;
		margin-top: 8px !important;
	}
}

@media (max-width: 900px) {
	/* Clear the floating countdown tab on the left edge. */
	body.page-id-164 .unoc-news-photo-band__copy {
		padding-left: 100px !important;
	}

	/* The eyebrow is brand red, invisible on the dark panel. */
	body.page-id-164 .unoc-news-photo-band .unoc-news-photo-band__copy .ey {
		color: #ffc808 !important;
		-webkit-text-fill-color: #ffc808 !important;
	}
}

/* ============================================================== newsroom v2 === */

/* Cards were content-sized, so "Explore" sat at a different height on every
 * tile. Equalise the row and pin the link to the base. */
body.page-id-164 .unoc-cpt-directory__grid {
	align-items: stretch !important;
	grid-auto-rows: 1fr !important;
}

body.page-id-164 .unoc-cpt-directory__card {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	min-height: 172px !important;
}

body.page-id-164 .unoc-cpt-directory__body {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
}

body.page-id-164 .unoc-cpt-directory__card h4 {
	margin: 0 0 8px !important;
}

body.page-id-164 .unoc-cpt-directory__link {
	margin-top: auto !important;
	padding-top: 12px !important;
}

/* Category headings: make each block read as a section, not a stray label. */
body.page-id-164 .unoc-cpt-directory__group {
	border-top: 1px solid #ddd8cf !important;
	padding-top: 34px !important;
	margin-top: 42px !important;
}

body.page-id-164 .unoc-cpt-directory__group:first-of-type {
	margin-top: 24px !important;
}

body.page-id-164 .unoc-cpt-directory__group > h3 {
	position: relative;
	padding-left: 16px;
	font-size: 20px !important;
	letter-spacing: -0.01em;
	color: #1f2023 !important;
}

body.page-id-164 .unoc-cpt-directory__group > h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 4px;
	background: #e10032;
	border-radius: 2px;
}

/* ==================================== hero split, tablet and small laptop === */

/* Between 901px and ~1250px the copy column was wider than its share of the
 * band, so the headline ran under the photograph. Give the photo a fixed share,
 * cap the copy to the remainder and step the type down. */
@media (min-width: 901px) and (max-width: 1250px) {
	body.page-id-164 .unoc-news-photo-band {
		background-size: 48% 100% !important;
		background-position: right center !important;
		/* Left clearance keeps the copy clear of the floating countdown tab,
		 * which overlaps the edge once the centred container stops adding
		 * margin. */
		padding-left: clamp(88px, 9vw, 130px) !important;
		padding-right: calc(48% + 24px) !important;
	}

	body.page-id-164 .unoc-news-photo-band::before {
		background: linear-gradient(
			90deg,
			#17181a 0%,
			#17181a 34%,
			rgba(23, 24, 26, 0.96) 42%,
			rgba(23, 24, 26, 0.55) 48%,
			rgba(23, 24, 26, 0) 54%
		) !important;
	}

	body.page-id-164 .unoc-news-photo-band__copy {
		max-width: 100% !important;
	}

	body.page-id-164 .unoc-news-photo-band h2 {
		font-size: clamp(26px, 3.2vw, 36px) !important;
		line-height: 1.1 !important;
	}

	body.page-id-164 .unoc-news-photo-band p {
		font-size: 14.5px !important;
		line-height: 1.55 !important;
	}
}

/* ================================================== hero photo, no distortion === */

/* The photo was painted straight onto the band with background-size: 58% 100%,
 * which stretches a 16:9 photograph into a 1.36:1 box - the "squeezed" look.
 * Put the photograph on its own layer sized to the split, using cover so it
 * crops instead of distorting. */
body.page-id-164 .unoc-news-photo-band {
	position: relative;
	isolation: isolate;
	background-image: none !important;
	background-color: #17181a !important;
}

body.page-id-164 .unoc-news-photo-band::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto !important;
	width: 58%;
	height: auto !important;
	background-image: url('../../../../uploads/2026/10/news-media-hero.jpg') !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	z-index: 0;
	pointer-events: none;
}

body.page-id-164 .unoc-news-photo-band::before {
	z-index: 1;
}

body.page-id-164 .unoc-news-photo-band__inner {
	position: relative;
	z-index: 2;
}

@media (min-width: 901px) and (max-width: 1250px) {
	body.page-id-164 .unoc-news-photo-band::after {
		width: 48%;
	}
}

@media (max-width: 900px) {
	body.page-id-164 .unoc-news-photo-band::after {
		width: 100%;
		background-position: 60% 28% !important;
	}
}

/* ================================================= news: filter removed + directory === */

/* The category filter row and the search box above the newsroom were dead
 * controls; the page is now a straight, browsable listing. */
body.page-id-164 section.filter,
body.page-id-164 .filterRow {
	display: none !important;
}

/* The directory put a lone bordered box beside each category name. Give every
 * category its own band: a rule, a bold label, then a proper card grid. */
body.page-id-164 .unoc-cpt-directory {
	padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 84px);
}

body.page-id-164 .unoc-cpt-directory__head {
	max-width: 760px;
	margin-bottom: clamp(28px, 3vw, 44px);
}

body.page-id-164 .unoc-cpt-directory__eyebrow {
	margin: 0 0 10px !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase;
	color: #e10032 !important;
}

body.page-id-164 .unoc-cpt-directory__head h2 {
	margin: 0 0 12px !important;
	font-size: clamp(28px, 3vw, 40px) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em;
	color: #1f2023 !important;
}

body.page-id-164 .unoc-cpt-directory__head p {
	margin: 0 !important;
	font-size: 15px !important;
	line-height: 1.65 !important;
	color: #5f5e60 !important;
}

body.page-id-164 .unoc-cpt-directory__group {
	display: block !important;
	border-top: 1px solid #e6e2db;
	padding-top: 26px !important;
	margin-top: 30px !important;
}

body.page-id-164 .unoc-cpt-directory__group:first-of-type {
	border-top: 0;
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* Category label: a red spine and bold caps, sitting on the rule. */
body.page-id-164 .unoc-cpt-directory__group h3 {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase;
	color: #414042 !important;
}

body.page-id-164 .unoc-cpt-directory__group h3::before {
	content: "";
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: #e10032;
	flex: 0 0 auto;
}

body.page-id-164 .unoc-cpt-directory__grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
	gap: clamp(14px, 1.6vw, 20px) !important;
}

body.page-id-164 .unoc-cpt-directory__card {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: clamp(20px, 2vw, 26px) !important;
	background: #ffffff !important;
	border: 1px solid #e9e6e0 !important;
	border-radius: 14px !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-id-164 .unoc-cpt-directory__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 38px rgba(20, 20, 22, 0.10);
	border-color: #dedad2 !important;
}

body.page-id-164 .unoc-cpt-directory__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
}

body.page-id-164 .unoc-cpt-directory__body h4 {
	margin: 0 !important;
	font-size: clamp(16px, 1.5vw, 18px) !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: -0.01em;
}

body.page-id-164 .unoc-cpt-directory__body h4 a {
	color: #1f2023 !important;
	text-decoration: none;
}

body.page-id-164 .unoc-cpt-directory__body h4 a:hover {
	color: #e10032 !important;
}

body.page-id-164 .unoc-cpt-directory__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11.5px !important;
	font-weight: 800 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e10032 !important;
	text-decoration: none;
}

body.page-id-164 .unoc-cpt-directory__link:hover {
	color: #b8002a !important;
}
