/* Stable, page-only Resources hub. */
.base-resources-hub {
	--brh-navy: #0d1636;
	--brh-blue: #273d8f;
	--brh-blue-deep: #1a2b6b;
	--brh-red: #d13e43;
	--brh-white: #ffffff;
	--brh-cloud: #f4f7ff;
	--brh-copy: #4a5873;
	--brh-focus: #ffbf47;
	--brh-shadow: 0 18px 36px rgba(18, 32, 79, 0.1);
	--brh-shadow-sm: 0 10px 22px rgba(18, 32, 79, 0.08);
	background: var(--brh-blue-deep);
	box-sizing: border-box;
	color: var(--brh-white);
	font-family: "Atkinson Hyperlegible", sans-serif;
	overflow: hidden;
	padding: 10px 0 0;
	width: 100%;
}

.base-resources-hub *,
.base-resources-hub *::before,
.base-resources-hub *::after {
	box-sizing: border-box;
}

.base-resources-hub__inner {
	margin: 0 auto;
	max-width: none;
	width: calc(100% - 20px);
}

.base-resources-hub h1,
.base-resources-hub h2,
.base-resources-hub h3,
.base-resources-hub p {
	margin: 0;
}

.base-resources-hub__hero {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.75fr);
	margin: 0;
}

.base-resources-hub__hero-copy {
	align-self: stretch;
	background: linear-gradient(231deg, #273d8f 0%, #3b54b5 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 25px;
	box-shadow: var(--brh-shadow);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(42px, 5vw, 64px);
}

.base-resources-hub__eyebrow,
.base-resources-hub__card-label {
	font-size: 0.79rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	line-height: 1.25;
	margin: 0;
	text-transform: uppercase;
}

.base-resources-hub__eyebrow {
	align-items: center;
	color: var(--brh-white);
	display: inline-flex;
	gap: 10px;
}

.base-resources-hub__eyebrow::before {
	background: var(--brh-red);
	border-radius: 999px;
	content: "";
	flex: 0 0 auto;
	height: 3px;
	width: 28px;
}

.base-resources-hub h1 {
	color: var(--brh-white);
	font-size: clamp(3rem, 5.15vw, 4.8rem);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 0.94;
	margin-top: 16px;
	max-width: 12ch;
}

.base-resources-hub__lede {
	color: var(--brh-white);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	line-height: 1.65;
	margin-top: 22px;
	max-width: 60ch;
}

.base-resources-hub__jump-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.base-resources-hub__jump-links a,
.base-resources-hub__cta-link {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	min-height: 46px;
	padding: 10px 18px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.base-resources-hub__jump-links a {
	background: var(--brh-white);
	color: var(--brh-blue-deep);
}

.base-resources-hub__jump-links a:first-child {
	background: var(--brh-red);
	color: var(--brh-white);
}

.base-resources-hub__jump-links a:hover {
	background: #e9efff;
	transform: translateY(-2px);
}

.base-resources-hub__jump-links a:first-child:hover {
	background: #b92f35;
}


.base-resources-hub__hero-media {
	align-self: stretch;
	border-radius: 25px;
	box-shadow: var(--brh-shadow);
	margin: 0;
	min-width: 0;
	overflow: hidden;
}

.base-resources-hub__hero-image {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.base-resources-hub__section {
	margin-top: clamp(42px, 5vw, 64px);
}

.base-resources-hub__section-heading {
	margin: 0 auto clamp(22px, 3vw, 30px);
	max-width: 760px;
	text-align: center;
}

.base-resources-hub__section-heading h2 {
	color: var(--brh-white);
	font-size: clamp(2rem, 3.7vw, 3.6rem);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin-top: 12px;
}

.base-resources-hub__section-heading > p:last-child {
	color: var(--brh-white);
	font-size: 1.05rem;
	line-height: 1.65;
	margin: 16px auto 0;
	max-width: 64ch;
}

.base-resources-hub__grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.base-resources-hub__section + .base-resources-hub__section .base-resources-hub__grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.base-resources-hub__card {
	background: var(--brh-white);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 25px;
	box-shadow: var(--brh-shadow-sm);
	color: var(--brh-navy);
	display: flex;
	flex-direction: column;
	min-height: 286px;
	padding: 26px;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.base-resources-hub__card:hover {
	box-shadow: 0 16px 30px rgba(18, 32, 79, 0.16);
	color: var(--brh-navy);
	transform: translateY(-4px);
}

.base-resources-hub__card-icon {
	align-items: center;
	background: var(--brh-cloud);
	border-radius: 14px;
	color: var(--brh-blue);
	display: inline-flex;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.base-resources-hub__card-icon svg {
	fill: none;
	height: 24px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
	width: 24px;
}

.base-resources-hub__card-label {
	color: var(--brh-red);
	margin-top: 22px;
}

.base-resources-hub__card h3 {
	color: var(--brh-navy);
	font-size: clamp(1.18rem, 1.55vw, 1.42rem);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.08;
	margin-top: 9px;
}

.base-resources-hub__card-copy {
	color: var(--brh-copy);
	display: block;
	font-size: 0.98rem;
	line-height: 1.55;
	margin-top: 14px;
}

.base-resources-hub__card-action {
	align-items: center;
	color: var(--brh-red);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 900;
	gap: 8px;
	margin-top: auto;
	padding-top: 20px;
}

.base-resources-hub__cta {
	align-items: center;
	background: var(--brh-red);
	border-radius: 25px;
	box-shadow: 0 14px 28px rgba(126, 30, 34, 0.26);
	display: flex;
	gap: 28px;
	justify-content: space-between;
	margin-top: 10px;
	padding: clamp(28px, 4vw, 44px);
}

.base-resources-hub__cta .base-resources-hub__eyebrow {
	color: var(--brh-white);
}

.base-resources-hub__cta .base-resources-hub__eyebrow::before {
	background: var(--brh-white);
}

.base-resources-hub__cta h2 {
	color: var(--brh-white);
	font-size: clamp(1.8rem, 3vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
	margin-top: 10px;
}

.base-resources-hub__cta p:not(.base-resources-hub__eyebrow) {
	color: var(--brh-white);
	line-height: 1.55;
	margin-top: 13px;
	max-width: 58ch;
}

.base-resources-hub__cta-link {
	background: var(--brh-white);
	color: var(--brh-blue-deep);
	flex: 0 0 auto;
}

.base-resources-hub__cta-link:hover {
	background: #e9efff;
	color: var(--brh-blue-deep);
	transform: translateY(-2px);
}

.base-resources-hub a:focus-visible {
	outline: 3px solid var(--brh-focus);
	outline-offset: 4px;
}

@media (max-width: 1180px) {
	.base-resources-hub__hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.base-resources-hub__hero-media {
		aspect-ratio: 16 / 8;
	}

	.base-resources-hub__grid,
	.base-resources-hub__section + .base-resources-hub__section .base-resources-hub__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.base-resources-hub__grid,
	.base-resources-hub__section + .base-resources-hub__section .base-resources-hub__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.base-resources-hub__cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 620px) {
	.base-resources-hub {
		padding: 10px 0 0;
	}

	.base-resources-hub__inner {
		width: calc(100% - 20px);
	}

	.base-resources-hub__hero-copy,
	.base-resources-hub__hero-media,
	.base-resources-hub__card,
	.base-resources-hub__cta {
		border-radius: 22px;
	}

	.base-resources-hub__hero-copy {
		padding: 34px 26px;
	}

	.base-resources-hub__hero-media {
		aspect-ratio: 4 / 3;
	}

	.base-resources-hub h1 {
		font-size: clamp(2.45rem, 14vw, 3.55rem);
	}

	.base-resources-hub__section {
		margin-top: 40px;
	}

	.base-resources-hub__section-heading {
		padding: 0 10px;
	}

	.base-resources-hub__grid,
	.base-resources-hub__section + .base-resources-hub__section .base-resources-hub__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.base-resources-hub__card {
		min-height: 0;
		padding: 24px;
	}

	.base-resources-hub__cta {
		padding: 28px 22px;
	}
}
