.hci-county-dossier .hci-pilot-explore {
	padding-block: 0;
}

.hci-pilot-explore .hci-pilot-explore__inner {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(1rem, 2vw, 1.75rem);
	max-inline-size: 1140px;
	border-block: 1px solid #d7ccb7;
	color: var(--wp--preset--color--primary, #0e2a47);
}

.hci-pilot-explore .hci-pilot-explore__inner > h2 {
	margin: 0;
	color: inherit;
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.25;
}

.hci-pilot-explore .hci-pilot-explore__links {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	min-inline-size: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hci-pilot-explore__links > li {
	position: relative;
	min-inline-size: 0;
}

.hci-pilot-explore__links > li:only-child {
	max-inline-size: 26rem;
}

.hci-pilot-explore__links > li + li::before {
	position: absolute;
	inset: .65rem auto .65rem 0;
	border-inline-start: 1px solid #d7ccb7;
	content: "";
}

.hci-pilot-explore__links a {
	position: relative;
	box-sizing: border-box;
	display: grid;
	align-content: center;
	gap: .125rem;
	min-block-size: 44px;
	padding: .425rem 1.75rem .425rem .875rem;
	color: inherit;
	text-decoration: none;
	overflow-wrap: anywhere;
}

/* WordPress inserts line breaks into the shortcode output. */
.hci-pilot-explore__links a > br {
	display: none;
}

.hci-pilot-explore__links strong {
	font-size: .875rem;
	line-height: 1.25;
}

.hci-pilot-explore__links a > span:not(.hci-pilot-explore__arrow) {
	color: var(--wp--preset--color--muted-text, #555);
	font-size: .75rem;
	line-height: 1.3;
}

.hci-pilot-explore__arrow {
	position: absolute;
	inset-inline-end: .5rem;
	inset-block-start: 50%;
	transform: translateY(-50%);
	font-size: .9375rem;
}

.hci-pilot-explore__links a:hover strong,
.hci-pilot-explore__links a:focus-visible strong {
	text-decoration: underline;
	text-underline-offset: .18em;
}

.hci-pilot-explore__links a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

/* Tighten only the narrative entrance directly after an Explore strip. */
.hci-county-dossier .hci-pilot-explore + #county-story {
	padding-block-start: 1rem;
}

.hci-pilot-explore + #county-story .hci-county-expansion {
	margin-block-start: 0;
}

@media (max-width: 900px) {
	.hci-pilot-explore .hci-pilot-explore__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.hci-pilot-explore .hci-pilot-explore__inner > h2 {
		padding-block: .55rem .25rem;
	}

	.hci-pilot-explore .hci-pilot-explore__links {
		grid-auto-flow: row;
		grid-template-columns: minmax(0, 1fr);
	}

	.hci-pilot-explore__links > li:only-child {
		max-inline-size: none;
	}

	.hci-pilot-explore__links > li + li::before {
		inset: 0 0 auto;
		border: 0;
		border-block-start: 1px solid #d7ccb7;
	}

	.hci-pilot-explore__links a {
		padding-inline-start: 0;
	}
}

.hci-pilot-explore .hci-pilot-explore__inner {
	--explore-gold: #e2cfa7;
	--explore-divider: rgb(226 207 167 / 26%);
	background: linear-gradient(135deg, #0e2a47, #081c30);
	border-block: 1px solid transparent;
	border-radius: 6px;
	color: #fff;
	column-gap: .625rem;
	padding-inline: 0;
}

.hci-pilot-explore .hci-pilot-explore__inner > h2 {
	color: var(--explore-gold);
	font-family: inherit;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .075em;
	line-height: 1.25;
	padding-inline: .875rem .25rem;
	text-transform: uppercase;
}

.hci-pilot-explore .hci-pilot-explore__links > li:only-child {
	max-inline-size: none;
}

.hci-pilot-explore .hci-pilot-explore__links > li + li::before {
	border-color: var(--explore-divider);
	pointer-events: none;
	z-index: 1;
}

.hci-pilot-explore .hci-pilot-explore__links a {
	block-size: 100%;
	color: #fff;
	padding-inline: .875rem 1.75rem;
}

.hci-pilot-explore .hci-pilot-explore__links a strong {
	color: inherit;
}

.hci-pilot-explore .hci-pilot-explore__links a > span:not(.hci-pilot-explore__arrow) {
	color: #cbd3db;
}

.hci-pilot-explore .hci-pilot-explore__arrow {
	color: var(--explore-gold);
	font-family: system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}

.hci-pilot-explore .hci-pilot-explore__links a:is(:hover, :focus-visible) {
	background-color: #1d3c57;
}

.hci-pilot-explore .hci-pilot-explore__links a:focus-visible {
	outline-color: var(--explore-gold);
	z-index: 2;
}

.hci-pilot-explore .hci-pilot-explore__links > li:last-child > a {
	border-start-end-radius: 5px;
	border-end-end-radius: 5px;
}

@media (max-width: 900px) {
	.hci-pilot-explore .hci-pilot-explore__inner > h2 {
		padding-block: .55rem .25rem;
	}

	.hci-pilot-explore .hci-pilot-explore__links > li + li::before {
		inset-inline: .875rem;
		border-block-start-color: var(--explore-divider);
	}

	.hci-pilot-explore .hci-pilot-explore__links > li:last-child > a {
		border-start-end-radius: 0;
		border-end-start-radius: 5px;
	}
}

@media (min-width: 901px) {
	.hci-pilot-explore .hci-pilot-explore__links:has(> li:nth-child(3)) {
		grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.2fr);
	}
}
