.psk-legal-toc {
	margin-block: 28px 40px;
	padding: clamp(16px, 3vw, 32px);
	border-radius: 12px;
	background: var(--wp--preset--color--surface-green, #edf5ef);
}

.psk-legal-toc > p {
	margin: 0 0 14px;
	font-size: 1rem;
	font-weight: 650;
}

.psk-legal-toc > ol {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.psk-legal-toc li {
	min-width: 0;
	margin: 0;
	padding: 0;
}

.psk-legal-toc a {
	display: block;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--wp--preset--color--brand-green, #286348);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.6;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	overflow-wrap: anywhere;
}

.psk-legal-toc a:hover {
	background: #fff;
	text-decoration-color: currentcolor;
}

.psk-legal-toc a:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-green, #286348);
	outline-offset: 2px;
	background: #fff;
}

.psk-legal-anchor {
	scroll-margin-top: 180px;
}

@media (width >= 1000px) {
	.psk-legal-toc > ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 24px;
	}
}

@media (width <= 600px) {
	.psk-legal-toc a {
		padding-inline: 4px;
		font-size: 0.8125rem;
	}

	.psk-legal-anchor {
		scroll-margin-top: 112px;
	}
}
