/* Share Science video filters: pill row. Selectors are doubled up to win over theme link styles. */

.ssvf {
	margin: 1.5rem 0 1.75rem;
}

.ssvf .ssvf__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ssvf .ssvf__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssvf .ssvf__item::before,
.ssvf .ssvf__item::marker {
	content: none;
}

.ssvf .ssvf__list a.ssvf__pill {
	display: inline-block;
	padding: 0.5rem 1.15rem;
	border: 1px solid #c9d3d1;
	border-radius: 999px;
	background: #fff;
	color: #1f2a30;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.25;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ssvf .ssvf__list a.ssvf__pill:hover {
	border-color: #0f766e;
	background: #f0f8f6;
	color: #0f766e;
	text-decoration: none;
}

.ssvf .ssvf__list a.ssvf__pill:focus-visible {
	outline: 3px solid #5dcaa5;
	outline-offset: 2px;
}

.ssvf .ssvf__list a.ssvf__pill.is-current,
.ssvf .ssvf__list a.ssvf__pill.is-current:hover {
	border-color: #0f766e;
	background: #0f766e;
	color: #fff;
}

@media (max-width: 600px) {
	.ssvf .ssvf__list {
		gap: 0.4rem;
	}

	.ssvf .ssvf__list a.ssvf__pill {
		padding: 0.45rem 0.9rem;
		font-size: 0.9375rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ssvf .ssvf__list a.ssvf__pill {
		transition: none;
	}
}
