.st-ascolta {
	--st-colore: #e42719;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 460px;
	margin: 0 0 24px;
	padding: 12px 14px 12px 12px;
	border: 1px solid #e6e6e6;
	border-radius: 16px;
	background: #fafafa;
	font-family: inherit;
	line-height: 1.2;
	box-sizing: border-box;
}
.st-ascolta[hidden] { display: none !important; }
/* Il tema Newspaper centra i blocchi del contenuto: lo allineiamo al testo */
.tdb_single_content .tdb-block-inner > .st-ascolta,
.td-post-content > .st-ascolta { margin-left: 0 !important; margin-right: 0 !important; }

.st-ascolta button {
	margin: 0;
	border: 0;
	cursor: pointer;
	font: inherit;
	-webkit-tap-highlight-color: transparent;
}
.st-ascolta button:focus-visible {
	outline: 2px solid var(--st-colore);
	outline-offset: 2px;
}

.st-ascolta__play {
	align-self: flex-start;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	background: var(--st-colore);
	color: #fff;
	display: grid;
	place-items: center;
	transition: transform .15s ease, filter .15s ease;
}
.st-ascolta__play:hover { filter: brightness(1.08); }
.st-ascolta__play:active { transform: scale(.94); }

.st-ascolta svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.st-ascolta__icona--pausa { display: none !important; }
.st-ascolta.is-playing .st-ascolta__icona--play { display: none !important; }
.st-ascolta.is-playing .st-ascolta__icona--pausa { display: block !important; }

.st-ascolta__info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 8px;
	row-gap: 6px;
}
.st-ascolta__etichetta { font-size: 15px; font-weight: 700; color: #111; }
.st-ascolta__durata { font-size: 13px; color: #666; }
.st-ascolta__barra {
	flex: 1 0 100%;
	height: 4px;
	border-radius: 2px;
	background: #e3e3e3;
	overflow: hidden;
}
.st-ascolta__progresso {
	display: block;
	width: 0;
	height: 100%;
	background: var(--st-colore);
	transition: width .3s linear;
}

.st-ascolta__velocita {
	flex: 1 0 100%;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}
.st-ascolta__vel-label {
	font-size: 12px;
	color: #666;
	margin-right: 2px;
}
.st-ascolta__velocita button {
	min-width: 46px;
	height: 30px;
	padding: 0 8px;
	border-radius: 15px;
	background: #ececec;
	color: #222;
	font-size: 13px;
	font-weight: 600;
	transition: background .15s ease, color .15s ease;
}
.st-ascolta__velocita button:hover { background: #e0e0e0; }
.st-ascolta__velocita button[aria-pressed="true"] {
	background: var(--st-colore);
	color: #fff;
}
.st-ascolta__stop {
	align-self: flex-start;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	color: #555;
	display: grid;
	place-items: center;
}
.st-ascolta__stop[hidden] { display: none; }
.st-ascolta__stop svg { width: 16px; height: 16px; }

/* Testo che si sta leggendo, evidenziato leggermente */
.st-ascolta-lettura {
	background: rgba(228, 39, 25, .07);
	box-shadow: -8px 0 0 rgba(228, 39, 25, .07), 8px 0 0 rgba(228, 39, 25, .07);
	transition: background .2s ease;
}

@media (max-width: 480px) {
	.st-ascolta { max-width: none; }
	.st-ascolta__vel-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.st-ascolta *, .st-ascolta-lettura { transition: none !important; }
}
