.ovsh-expertises {
	--ovsh-border: #d5d5d5;
	--ovsh-surface: #f4f4f4;
}

.ovsh-expertises .ovsh-expertises__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ovsh-expertises--grid .ovsh-expertises__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
}

.ovsh-expertises a {
	display: flex;
	align-items: center;
	color: inherit;
	line-height: 1.4;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.ovsh-expertises a:hover,
.ovsh-expertises a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: .2em;
}

.ovsh-expertises a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}

.ovsh-expertises--grid a {
	min-height: 4rem;
	height: 100%;
	padding: .85rem 1rem;
	border: 1px solid var(--ovsh-border);
}

.ovsh-expertises--menu {
	padding: 1rem 1.25rem;
	background: var(--ovsh-surface);
	color: #222;
}

.ovsh-expertises--menu .ovsh-expertises__heading {
	margin: 0 0 .5rem;
	padding: 0;
	font-size: 1.125em;
	font-weight: 700;
}

.ovsh-expertises--menu a {
	padding: .65rem 0;
	border-top: 1px solid var(--ovsh-border);
}

.ovsh-expertises--menu a[aria-current="page"] {
	font-weight: 700;
}

.ovsh-expertises--navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
}

.ovsh-expertises--navigation a {
	display: block;
	padding: .75rem 1rem;
	border: 1px solid var(--ovsh-border);
	font-weight: 600;
}

.ovsh-expertises--navigation .ovsh-expertises__next {
	grid-column: 2;
	text-align: end;
}

.ovsh-expertises--navigation .ovsh-expertises__direction {
	display: block;
	margin-block-end: .25rem;
	font-size: .875em;
}

@media (max-width: 480px) {
	.ovsh-expertises--navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.ovsh-expertises--navigation .ovsh-expertises__next {
		grid-column: auto;
		text-align: start;
	}
}
