/* ==========================================================================
   Reproductor de radio en vivo de la barra del menú.
   Solo escritorio: se oculta por debajo de 992px. Por debajo de ese ancho el
   menú del template ya se parte en dos líneas por sí solo, y bajo 768px esta
   zona queda dentro del panel lateral que abre navigation.js.
   ========================================================================== */

.header-radio {
	display: none; }

@media (min-width: 992px) {
	.header-radio {
		display: block;
		position: relative; } }

/* ---------- botón EN VIVO ---------- */

.radio-live-toggle {
	display: flex;
	align-items: center;
	height: 65px;
	padding: 0 16px;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.18);
	background: transparent;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.09em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.25s ease; }

.radio-live-toggle:hover,
.radio-live.is-open .radio-live-toggle {
	background: rgba(255, 255, 255, 0.1); }

.radio-live.is-playing .radio-live-toggle {
	background: #d72924; }

.radio-live-toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -5px; }

.radio-live-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	margin-right: 9px;
	border-radius: 50%;
	background: #d72924;
	color: #fff;
	font-size: 10px;
	transition: background 0.25s ease, color 0.25s ease; }

.radio-live-icon .fa-play {
	margin-left: 2px; }

.radio-live.is-playing .radio-live-icon {
	background: #fff;
	color: #d72924; }

/* spinner mientras conecta con el servidor */
.radio-live.is-loading .radio-live-icon {
	background: #fff;
	color: transparent;
	position: relative; }

.radio-live.is-loading .radio-live-icon:after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	border: 2px solid rgba(215, 41, 36, 0.25);
	border-top-color: #d72924;
	border-radius: 50%;
	animation: radio-live-spin 0.7s linear infinite; }

@keyframes radio-live-spin {
	to { transform: rotate(360deg); } }

/* ---------- panel desplegable ---------- */

.radio-live-panel {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20001;
	width: 288px;
	padding: 18px 20px 20px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; }

.radio-live.is-open .radio-live-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0); }

.radio-live-status {
	display: flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a8a8a; }

.radio-live-dot {
	width: 8px;
	height: 8px;
	margin-right: 7px;
	border-radius: 50%;
	background: #b5b5b5; }

.radio-live-status.is-online {
	color: #d72924; }

.radio-live-status.is-online .radio-live-dot {
	background: #d72924;
	animation: radio-live-pulse 1.6s ease-out infinite; }

@keyframes radio-live-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(215, 41, 36, 0.55); }
	100% { box-shadow: 0 0 0 7px rgba(215, 41, 36, 0); } }

.radio-live-name {
	margin: 6px 0 2px;
	font-size: 17px;
	font-weight: 700;
	color: #232323; }

.radio-live-song {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #70798b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap; }

.radio-live-controls {
	display: flex;
	align-items: center;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #e9e9e9; }

.radio-live-play {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	margin-right: 14px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #d72924;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.25s ease; }

.radio-live-play:hover {
	background: #bb1619; }

.radio-live-play .fa-play {
	margin-left: 3px; }

.radio-live-volume {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	color: #8a8a8a;
	font-size: 14px; }

.radio-live-volume input[type=range] {
	width: 100%;
	margin-left: 9px;
	accent-color: #d72924;
	cursor: pointer; }

.radio-live-error {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #d72924; }
