.fw--radio,
.fw--radio * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.fw--radio {
	scroll-padding-top: 0px;
	margin-top: 0px !important;
}

.fw--radio #wpadminbar {
	display: none;
}

.fw-site-frame {
	border: 0;
	display: block;
	height: 100dvh;
	height: 100vh;
	position: relative;
	width: 100%;
	z-index: 1;
}

.fw-audio-player {
	align-items: center;
	background: #333;
	border: 1px solid #FBC100;
	border-radius: 44px;
	bottom: 5px;
	display: flex;
	gap: 12px;
	height: 44px;
	justify-content: space-between;
	left: 50%;
	max-width: 400px;
	padding: 0 5px;
	position: absolute;
	transform: translateX(-50%);
	width: calc( 100vw - calc( 10px - env(safe-area-inset-left) - env(safe-area-inset-right) ) );
	z-index: 2;
}

@media (min-width: 728px) {
	.fw-audio-player {
		bottom: 24px;
		padding: 24px 12px;
	}
}

.fw-audio-player__audio {
	flex: 0 0 calc( 100% - 24px - 33px );
}

.fw-audio-player__close,
.fw-audio-player__play {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: transparent;
	background-image: url(/wp-content/themes/yellowhammernews.com/images/mobile-navigation-close.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border: 0;
	flex: 0 0 33px;
	height: 33px;
	overflow: hidden;
	position: relative;
	text-indent: 110%;
	white-space: nowrap;
	width: 33px;
}

.fw-audio-player__play {
	background-image: url(/wp-content/themes/yellowhammernews.com/images/play-button.svg);
}

.fw-audio-player__play--playing {
	background-image: url(/wp-content/themes/yellowhammernews.com/images/pause-button.svg);
}

.fw-audio-player__progress-container {
	align-items: center;
	display: flex;
	flex-grow: 1;
	gap: 12px;
}

.fw-audio-player__progress-container:before,
.fw-audio-player__progress-container:after {
	font-size: 10px;
	color: #FBC100;
	font-family: ui-monospace,
	 Menlo, Monaco,
	 "Cascadia Mono", "Segoe UI Mono",
	 "Roboto Mono",
	 "Oxygen Mono",
	 "Ubuntu Mono",
	 "Source Code Pro",
	 "Fira Mono",
	 "Droid Sans Mono",
	 "Consolas", "Courier New", monospace;
}

.fw-audio-player__progress-container:before {
	content: attr(data-current);
}
.fw-audio-player__progress-container:after {
	content: attr(data-duration);
}

.fw-audio-player__progress {
	flex-grow: 1;
}

/* Style the range input (progress bar) */
.fw-audio-player__progress {
	-webkit-appearance: none; /* Remove default styling */
	appearance: none;
	width: 100%;
	height: 10px; /* Set the height of the track */
	background: black; /* Background color of the progress bar */
	outline: none;
	border-radius: 5px;
	/* transform: translateY(-2px); */
}

/* Style the thumb */
.fw-audio-player__progress::-webkit-slider-thumb {
	-webkit-appearance: none; /* Remove default styling */
	appearance: none;
	width: 10px; /* Width of the thumb */
	height: 10px; /* Height of the thumb (same as its width) */
	background: #FBC100; /* Thumb color */
	cursor: pointer;
	border-radius: 50%; /* Make the thumb circular */
}

.fw-audio-player__progress::-moz-range-thumb {
	width: 20px; /* Width of the thumb */
	height: 20px; /* Height of the thumb (same as its width) */
	background: #FBC100; /* Thumb color */
	cursor: pointer;
	border-radius: 50%; /* Make the thumb circular */
}
