/**
 * Footer link menus — minimal, inherit typography from container.
 * WCAG 2.1 AA: visible focus, clear hover underline, landmark nav.
 * No font-family / font-size (set by Oxygen container).
 */

.ance-footer-links {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.ance-footer-links *,
.ance-footer-links *::before,
.ance-footer-links *::after {
	box-sizing: border-box;
}

.ance-footer-links__list,
.ance-footer-links .ance-footer-links__list,
.ance-footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35em;
}

.ance-footer-links .menu-item {
	margin: 0;
	padding: 0;
}

.ance-footer-links .sub-menu {
	list-style: none;
	margin: 0.25em 0 0;
	padding: 0 0 0 0.75em;
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.ance-footer-links .menu-item > a {
	display: inline;
	margin: 0;
	padding: 0;
	color: #ffffff;
	text-decoration: none;
	/* Inherit font-size / font-family / weight from container */
	background: transparent;
	border: 0;
	border-radius: 0;
	transition: text-decoration-color 0.15s ease;
}

.ance-footer-links .menu-item > a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ance-footer-links .menu-item > a:focus-visible {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.ance-footer-links .menu-item > a:focus:not(:focus-visible) {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.ance-footer-links .menu-item > a {
		transition: none;
	}
}
