/**
 * Shared navigation between the three individual solution pages.
 */

.mextura-related-solutions {
	position: relative;
	isolation: isolate;
	margin-block-start: 0 !important;
	padding-top: clamp(2.75rem, 5vw, 4rem);
	padding-bottom: clamp(2.75rem, 5vw, 4rem);
	overflow: clip;
}

.mextura-related-solutions::after {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 5rem;
	height: 5rem;
	background: rgba(22, 143, 163, 0.12);
	clip-path: polygon(0 0, 100% 0, 100% 100%);
	content: "";
	pointer-events: none;
}

.mextura-related-solutions__inner,
.mextura-related-solutions__heading,
.mextura-related-solutions__nav {
	margin-block-start: 0;
}

.mextura-related-solutions__heading {
	max-width: 42rem;
}

.mextura-related-solutions__eyebrow {
	margin: 0 0 0.4rem;
	color: var(--wp--preset--color--petrol-dark);
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.11em;
	line-height: 1.35;
}

.mextura-related-solutions__heading h2 {
	margin-top: 0;
	margin-bottom: 0;
	text-wrap: balance;
}

.mextura-related-solutions__nav {
	margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

.mextura-related-solutions__links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.mextura-related-solutions__link {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr) 1rem;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem 0;
	border-top: 1px solid var(--wp--preset--color--neutral-100);
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.mextura-related-solutions__link:last-child {
	border-bottom: 1px solid var(--wp--preset--color--neutral-100);
}

.mextura-related-solutions__number {
	color: var(--wp--preset--color--petrol-dark);
	font-size: 0.875rem;
	font-weight: 750;
	letter-spacing: 0.08em;
}

.mextura-related-solutions__title {
	font-size: clamp(1.075rem, 1rem + 0.3vw, 1.25rem);
	font-weight: 750;
	hyphens: none;
	line-height: 1.25;
	overflow-wrap: normal;
	word-break: normal;
}

.mextura-related-solutions__arrow {
	color: var(--wp--preset--color--petrol-dark);
	font-size: 1.125rem;
	font-weight: 750;
}

.mextura-related-solutions__link:hover .mextura-related-solutions__title,
.mextura-related-solutions__link:hover .mextura-related-solutions__arrow {
	color: var(--wp--preset--color--petrol-dark);
}

.mextura-related-solutions__link:focus-visible,
.mextura-related-solutions__overview a:focus-visible {
	outline: 0.1875rem solid var(--wp--preset--color--petrol-dark);
	outline-offset: 0.25rem;
}

.mextura-related-solutions__overview {
	margin: 1.5rem 0 0;
}

.mextura-related-solutions__overview a {
	font-weight: 700;
}

@media (min-width: 48rem) {
	.mextura-related-solutions__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}

	.mextura-related-solutions__link:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 23.4375rem) {
	.mextura-related-solutions__link {
		grid-template-columns: 2.25rem minmax(0, 1fr) 0.875rem;
		gap: 0.75rem;
	}
}
