.wp-block-mavmedia-live-stream-slot.mavmedia-live-slot,
.mavmedia-live-slot {
	box-sizing: border-box;
	width: 100%;
}

.mavmedia-live-slot__live,
.mavmedia-live-slot__replay {
	position: relative;
}

.mavmedia-live-slot__player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

.mavmedia-live-slot__player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.mavmedia-live-slot__badge,
.mavmedia-live-slot__replay-label {
	display: inline-block;
	margin-bottom: 8px;
	padding: 4px 8px;
	border-radius: 3px;
	background: #b00020;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .05em;
	line-height: 1.2;
}

.mavmedia-live-slot__replay-label {
	background: #111;
}

.mavmedia-live-slot__title {
	margin: 8px 0 3px;
	font-size: 1.15em;
	line-height: 1.2;
}

.mavmedia-live-slot__description,
.mavmedia-live-slot__date {
	margin-top: 6px;
}

.mavmedia-live-slot__date {
	font-size: .82em;
	opacity: .72;
}

.mavmedia-live-slot__replay-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.mavmedia-live-slot__image {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #111;
}

.mavmedia-live-slot__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mavmedia-live-slot__duration {
	position: absolute;
	right: 7px;
	bottom: 7px;
	padding: 2px 5px;
	border-radius: 3px;
	background: rgba(0,0,0,.82);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.mavmedia-live-slot__offline,
.mavmedia-live-slot__editor-player {
	padding: 18px;
	border: 1px dashed currentColor;
	opacity: .78;
}

.mavmedia-live-slot__editor-player span {
	display: block;
	margin-top: 5px;
	font-size: .9em;
}


/* Compact header/banner-only live indicator. Hidden entirely on the public site while offline. */
.mavmedia-live-slot__banner {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.mavmedia-live-slot__banner-link {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding: .38em .7em;
	border-radius: 4px;
	background: #b00020;
	color: #fff !important;
	text-decoration: none !important;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .045em;
	line-height: 1.15;
	text-transform: uppercase;
	box-shadow: none;
}

.mavmedia-live-slot__banner-link:hover,
.mavmedia-live-slot__banner-link:focus {
	background: #8e001a;
	color: #fff !important;
	text-decoration: none !important;
}

.mavmedia-live-slot__banner-dot {
	width: .62em;
	height: .62em;
	flex: 0 0 .62em;
	border-radius: 999px;
	background: currentColor;
	opacity: .95;
	animation: mavmedia-live-pulse 1.5s ease-in-out infinite;
}

.mavmedia-live-slot__banner-title {
	overflow: hidden;
	max-width: 28em;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 650;
	letter-spacing: 0;
	text-transform: none;
}

.mavmedia-live-slot__banner-placeholder {
	display: inline-block;
	padding: .38em .7em;
	border: 1px dashed currentColor;
	border-radius: 4px;
	font-size: .78rem;
	opacity: .65;
}

@keyframes mavmedia-live-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .4; transform: scale(.82); }
}

@media (prefers-reduced-motion: reduce) {
	.mavmedia-live-slot__banner-dot { animation: none; }
}

/* Remove all layout space when banner-only mode is offline. */
.mavmedia-live-slot:empty {
	display: none;
}

/* Scheduled-live preview shown while the reserved channel is not yet ingesting. */
.mavmedia-live-slot__scheduled{overflow:hidden;border:1px solid rgba(127,127,127,.24);border-radius:14px;background:rgba(127,127,127,.035)}
.mavmedia-live-slot__scheduled[hidden]{display:none}
.mavmedia-live-slot__scheduled-image{width:100%;aspect-ratio:16/9;overflow:hidden;background:rgba(0,0,0,.08)}
.mavmedia-live-slot__scheduled-image img{display:block;width:100%;height:100%;object-fit:cover}
.mavmedia-live-slot__scheduled-body{padding:16px}
.mavmedia-live-slot__scheduled-badge{display:inline-block;margin-bottom:7px;padding:4px 8px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:800;letter-spacing:.055em;line-height:1.2}
.mavmedia-live-slot__scheduled-classification,.mavmedia-live-slot__scheduled-time{margin-top:4px;font-size:.88em;opacity:.76}
.mavmedia-live-slot__countdown{margin-top:8px;font-size:1em;font-weight:800}

/* Read-only rolling Wowza live-viewer indicator. Not an exact concurrent count. */
.mavmedia-live-slot__viewers { display:inline-flex; align-items:center; margin:0 0 8px 8px; padding:4px 8px; border-radius:3px; border:1px solid rgba(127,127,127,.30); color:inherit; font-size:var(--mavmedia-live-viewer-font-size,16px); font-weight:650; line-height:1.2; }
.mavmedia-live-slot__viewers[hidden] { display:none !important; }
