/* Planlos am Plektrum – Übungswerkzeug
 * Überarbeitete Tab-Navigation vor den privaten Werkzeugseiten.
 */

.pap-werkzeug-navigation {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 1rem 0 1.35rem;
	padding: 0;
	border-bottom: 0;
	font-family: "Roboto Mono", monospace;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.pap-werkzeug-navigation__link {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 0.15rem 0 0.35rem;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1rem;
	font-weight: normal;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.pap-werkzeug-navigation__link::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: transparent;
	content: "";
}

.pap-werkzeug-navigation__link:hover,
.pap-werkzeug-navigation__link:focus-visible {
	color: #fff;
}

.pap-werkzeug-navigation__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.pap-werkzeug-navigation__link.is-active {
	color: var(--accent);
}

.pap-werkzeug-navigation__link.is-active::after {
	background: var(--accent);
}

@media (max-width: 600px) {
	.pap-werkzeug-navigation {
		gap: 1.15rem;
		margin: 0.75rem 20px 1.25rem;
	}

	.pap-werkzeug-navigation__link {
		padding-bottom: 0.35rem;
		font-size: 0.96rem;
	}
}
