.bf-soundbites {
	width: 100%;
}

.bf-soundbites__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 38px 30px;
	align-items: start;
}

.bf-soundbites__item {
	min-width: 0;
	padding-top: 35px;
}

.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen]::before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	content: attr(data-bfm-listen);
	color: #fff000;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.bf-soundbites__player .vinyl-player-cover {
	overflow: visible;
}

/*
 * Keep Odio's off-stage play/pause icon clipped while making the label part of
 * the real player control. The anchor grows upward by the same 35px used for
 * the label, and the icon positions are offset so their rendered locations do
 * not move.
 */
.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen] {
	top: -35px;
	height: 225px;
	overflow: hidden;
}

.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen] .vinyl-player-play-button {
	top: -37px;
}

.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen].vinyl-player-play .vinyl-player-play-button {
	top: 107px;
}

.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen] .vinyl-player-pause-button,
.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen] .vinyl-player-pause-button::after {
	top: 251px;
}

.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen].vinyl-player-pause .vinyl-player-pause-button {
	top: 101px;
}

.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen].vinyl-player-pause .vinyl-player-pause-button::after {
	top: 0;
}

/*
 * Odio animates both icons vertically when the state class changes. Hide the
 * outgoing icon immediately so it cannot travel through the Listen strip;
 * the active icon retains Odio's original position, transition, and opacity.
 */
.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen].vinyl-player-play .vinyl-player-pause-button,
.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen].vinyl-player-pause .vinyl-player-play-button {
	visibility: hidden;
	opacity: 0 !important;
}

.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen]:hover::before,
.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen]:focus-visible::before {
	color: #fff;
}

.bf-soundbites__player .vinyl-player-cover a[data-bfm-listen]:focus-visible::before {
	outline: 2px solid #fff000;
	outline-offset: 4px;
}

.bf-soundbites__item::after {
	display: table;
	clear: both;
	content: '';
}

.bf-soundbites__more {
	margin-top: 42px;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.bf-soundbites__more[hidden] {
	display: none !important;
}

.bf-soundbites__more.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.bf-soundbites__actions {
	display: flex;
	justify-content: center;
	margin-top: 42px;
}

.bf-soundbites__toggle {
	min-width: 230px;
	padding: 15px 24px;
	border: 2px solid #fff000;
	border-radius: 0;
	background: #fff000;
	color: #111;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.bf-soundbites__toggle:hover,
.bf-soundbites__toggle:focus-visible {
	background: transparent;
	color: #fff000;
}

.bf-soundbites__toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.bf-soundbites__notice {
	padding: 12px;
	border: 1px solid currentColor;
	text-align: center;
}

@media (max-width: 767px) {
	.bf-soundbites__grid {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 7vw 16px 0;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.bf-soundbites__item {
		flex: 0 0 min(86vw, 390px);
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.bf-soundbites__more {
		margin-top: 30px;
	}

	.bf-soundbites__actions {
		margin-top: 28px;
	}

	.bf-soundbites__toggle {
		width: 100%;
		max-width: 320px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bf-soundbites__more,
	.bf-soundbites__toggle,
	.bf-soundbites__grid {
		scroll-behavior: auto;
		transition: none;
	}
}
