:root {
	--hero-cream: #fdf9f0;
}

/* In The News hub page */

.in-the-news-page {
	background: var(--cream);
}

.in-the-news-page .container {
	position: relative;
}

/* Hero */

.in-the-news-hero {
	padding: 0;
}

.in-the-news-hero__visual {
	min-height: 50vh;
	position: relative;
	width: 100%;
}

.in-the-news-hero__image {
	display: block;
	height: 100%;
	left: 0;
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	position: absolute;
	top: 0;
	width: 100%;
}

.in-the-news-hero__badge-layer {
	bottom: -75px;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 1;
}

.in-the-news-hero__badge {
	aspect-ratio: 400 / 392;
	display: block;
	height: auto;
	max-width: 150px;
	pointer-events: auto;
	width: min(150px, 100%);
}

.in-the-news-hero__copy-layer {
	align-items: center;
	display: flex;
	inset: 0;
	min-height: inherit;
	pointer-events: none;
	position: absolute;
}

.in-the-news-hero__copy {
	max-width: min(680px, 92%);
	pointer-events: auto;
	position: relative;
	top: 180px;
}

.in-the-news-hero__title {
	color: var(--hero-cream);
	font-family: "Passion One", sans-serif;
	font-size: 88px;
	font-weight: 400;
	line-height: 0.9;
	margin: 0 0 16px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	text-transform: uppercase;
}

.in-the-news-hero__lead {
	color: var(--hero-cream);
	font-family: "Figtree", sans-serif;
	font-size: 25px;
	line-height: 1.1;
	margin: 0;
	max-width: 520px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.in-the-news-hero__lead-name {
	white-space: nowrap;
}

/* Pathway cards */

.in-the-news-pathways {
	padding-bottom: 48px;
	padding-top: 72px;
}

.in-the-news-pathway {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--text);
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 100%;
	padding: 32px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.in-the-news-pathway:hover,
.in-the-news-pathway:focus {
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.12);
	color: var(--text);
	text-decoration: none;
	transform: translateY(-4px);
}

.in-the-news-pathway--media {
	border-top: 6px solid var(--purple);
}

.in-the-news-pathway--news {
	border-top: 6px solid var(--orange);
}

.in-the-news-pathway__icon img {
	display: block;
	height: auto;
	max-width: 100px;
	width: 100px;
}

.in-the-news-pathway__title {
	color: var(--black);
	font-family: "Passion One", sans-serif;
	font-size: 36px;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.in-the-news-pathway__text {
	margin: 0 0 24px;
}

.in-the-news-pathway__cta {
	margin-top: auto;
	pointer-events: none;
	width: fit-content;
}

.in-the-news-pathway:hover .in-the-news-pathway__cta,
.in-the-news-pathway:focus .in-the-news-pathway__cta {
	background: var(--orange);
}

/* Latest headlines */

.in-the-news-latest {
	background: var(--offwhite);
	padding-bottom: 80px;
	padding-top: 48px;
}

.in-the-news-latest__header {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 32px;
}

.in-the-news-latest__title {
	font-family: "Passion One", sans-serif;
	font-size: 48px;
	margin: 0;
	text-transform: uppercase;
}

.in-the-news-latest__all-link {
	font-weight: 700;
	text-decoration: underline;
}

.in-the-news-latest__list {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	list-style: none;
	margin: 0;
	padding: 0;
}

.in-the-news-latest__item {
	align-items: baseline;
	border-bottom: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding: 24px 32px;
}

.in-the-news-latest__item:last-child {
	border-bottom: 0;
}

.in-the-news-latest__date {
	color: var(--muted);
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	min-width: 100px;
	text-transform: uppercase;
}

.in-the-news-latest__link {
	color: var(--black);
	font-family: "Passion One", sans-serif;
	font-size: 22px;
	text-decoration: none;
	text-transform: uppercase;
}

.in-the-news-latest__link:hover,
.in-the-news-latest__link:focus {
	color: var(--orange);
	text-decoration: underline;
}

/* Responsive */

@media (max-height: 850px) and (min-width: 769px) {
	.in-the-news-hero__copy {
		top: 0;
	}
}

@media (max-height: 680px) and (min-width: 769px) {
	.in-the-news-hero__copy {
		top: 0;
	}
}

@media (max-width: 1024px) {
	.in-the-news-hero__copy {
		top: 60px;
	}

	.in-the-news-hero__title {
		font-size: 72px;
	}
}

@media (max-width: 991px) {
	.in-the-news-hero__badge {
		max-width: 100px;
	}
}

@media (max-width: 900px) {
	.in-the-news-hero__copy {
		top: 24px;
	}

	.in-the-news-hero__title {
		font-size: 64px;
	}

	.in-the-news-hero__lead {
		font-size: 23px;
	}
}

@media (max-width: 767px) {
	.in-the-news-hero__copy {
		top: 24px;
	}

	.in-the-news-hero__visual {
		min-height: 30vh;
	}

	.in-the-news-hero__title {
		font-size: 56px;
	}

	.in-the-news-hero__lead {
		font-size: 20px;
	}

	.in-the-news-hero__badge-layer {
		bottom: -48px;
	}

	.in-the-news-hero__badge {
		max-width: 90px;
	}

	.in-the-news-pathways {
		padding-top: 56px;
	}

	.in-the-news-pathway__title {
		font-size: 30px;
	}

	.in-the-news-latest__title {
		font-size: 36px;
	}

	.in-the-news-latest__item {
		flex-direction: column;
		gap: 8px;
		padding: 20px 24px;
	}
}

@media (max-width: 601px) {
	.in-the-news-hero__title {
		font-size: 48px;
	}
}

@media (max-width: 480px) {
	.in-the-news-hero__title {
		font-size: 40px;
		line-height: 1;
	}

	.in-the-news-hero__badge {
		max-width: 90px;
	}
}
