/* DarkBeat-inspired Radio Show Schedule */

.rss-schedule {
	--rss-red: #d32f2f;
	--rss-red-deep: #b71c1c;
	--rss-bg: #1a1a1a;
	--rss-bg-dark: #000000;
	--rss-card: #ffffff;
	--rss-text: #111111;
	--rss-muted: #6b6b6b;
	--rss-border: #e5e5e5;
	--rss-radius: 10px;

	color: #fff;
	font-family: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
	line-height: 1.45;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

.rss-schedule *,
.rss-schedule *::before,
.rss-schedule *::after {
	box-sizing: border-box;
}

/* Now on air hero */
.rss-now-on-air {
	position: relative;
	min-height: 260px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--rss-bg-dark);
	margin-bottom: 2.5rem;
}

.rss-now-on-air__media {
	position: absolute;
	inset: 0;
}

.rss-now-on-air__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rss-now-on-air__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(211, 47, 47, 0.35) 100%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 50%);
}

.rss-now-on-air__content {
	position: relative;
	z-index: 1;
	padding: 2rem 1.5rem 2.25rem;
	width: 100%;
}

.rss-badge-live {
	display: inline-block;
	background: var(--rss-red);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.35rem 0.65rem;
	margin-bottom: 0.85rem;
}

.rss-now-on-air__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.rss-now-on-air__subtitle {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 500;
	opacity: 0.95;
}

.rss-now-on-air__time {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.85;
	text-transform: lowercase;
}

/* Schedule header */
.rss-schedule__main {
	background: transparent;
}

.rss-schedule__header {
	margin-bottom: 1.25rem;
}

.rss-schedule__heading {
	margin: 0;
	font-size: clamp(1.75rem, 3.5vw, 2.4rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #fff;
}

.rss-schedule__heading span {
	color: var(--rss-red);
}

/* Day tabs */
.rss-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	background: var(--rss-bg);
	border: 1px solid #2a2a2a;
	margin-bottom: 1.5rem;
}

.rss-tabs__btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.95rem 1.1rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.rss-tabs__btn:hover {
	background: #242424;
}

.rss-tabs__btn.is-active {
	background: var(--rss-red);
	color: #fff;
}

.rss-tabs__view-toggle {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	padding: 0 1rem;
	color: #999;
}

/* Two-column body */
.rss-schedule__body {
	display: grid;
	gap: 1.5rem;
}

.rss-schedule__list-wrap {
	min-width: 0;
}

.rss-day-panel[hidden] {
	display: none !important;
}

.rss-empty {
	margin: 0;
	padding: 1.5rem;
	background: #222;
	color: #ccc;
}

/* Show cards */
.rss-show-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.rss-show-item {
	display: grid;
	grid-template-columns: 88px 1fr auto auto;
	align-items: center;
	gap: 1rem;
	background: var(--rss-card);
	color: var(--rss-text);
	padding: 0.85rem 1rem;
	border-radius: var(--rss-radius);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.rss-show-item__thumb {
	position: relative;
	width: 88px;
	height: 72px;
	overflow: hidden;
	border-radius: 8px;
	background: #ddd;
	flex-shrink: 0;
}

.rss-show-item__thumb img,
.rss-show-item__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rss-show-item__placeholder {
	background: linear-gradient(135deg, #cfcfcf, #9e9e9e);
}

.rss-now-playing-ribbon {
	position: absolute;
	top: 10px;
	left: -28px;
	width: 110px;
	background: var(--rss-red);
	color: #fff;
	font-size: 0.55rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	padding: 0.2rem 0;
	transform: rotate(-35deg);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.rss-show-item__meta {
	min-width: 0;
}

.rss-show-item__title {
	margin: 0 0 0.15rem;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
	color: #111;
}

.rss-show-item__subtitle {
	margin: 0 0 0.2rem;
	font-size: 0.85rem;
	color: #444;
}

.rss-show-item__time {
	margin: 0;
	font-size: 0.82rem;
	color: var(--rss-muted);
	text-transform: lowercase;
}

.rss-show-item__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	padding: 0.4rem 0.7rem;
	border: 1px solid #222;
	border-radius: 3px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #222;
	background: #fff;
	white-space: nowrap;
}

.rss-show-item__more {
	width: 28px;
	height: 36px;
	border: 0;
	background: transparent;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	cursor: default;
	padding: 0;
}

.rss-show-item__more span {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #222;
	display: block;
}

/* Listen Live panel */
.rss-listen-live {
	position: relative;
	min-height: 280px;
	background:
		linear-gradient(160deg, rgba(183, 28, 28, 0.92), rgba(26, 26, 26, 0.95)),
		var(--rss-bg-dark);
	border-radius: 4px;
	overflow: hidden;
	align-self: start;
}

.rss-listen-live__inner {
	padding: 1.5rem 1.25rem;
}

.rss-listen-live__title {
	margin: 0 0 1.25rem;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.rss-listen-live__table {
	width: 100%;
	border-collapse: collapse;
	color: #fff;
}

.rss-listen-live__table th,
.rss-listen-live__table td {
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: left;
}

.rss-listen-live__table th {
	width: 42%;
	text-transform: uppercase;
	opacity: 0.95;
}

.rss-listen-live__table td {
	text-align: right;
	font-weight: 500;
	opacity: 0.9;
	text-transform: uppercase;
}

.rss-listen-live__table tr:last-child th,
.rss-listen-live__table tr:last-child td {
	border-bottom: 0;
}

/* Section sits on dark page backgrounds; provide local dark canvas */
.rss-schedule__main {
	background: var(--rss-bg);
	padding: 1.75rem 1.25rem 2rem;
}

@media (min-width: 900px) {
	.rss-schedule__body {
		grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
		align-items: start;
	}

	.rss-now-on-air {
		min-height: 320px;
	}

	.rss-now-on-air__content {
		padding: 2.5rem 2rem 2.75rem;
	}
}

@media (max-width: 700px) {
	.rss-tabs__btn {
		flex: 1 1 calc(33.333% - 0px);
		padding: 0.75rem 0.35rem;
		font-size: 0.65rem;
	}

	.rss-tabs__view-toggle {
		display: none;
	}

	.rss-show-item {
		grid-template-columns: 72px 1fr;
		grid-template-areas:
			"thumb meta"
			"tag tag"
			"more more";
		gap: 0.75rem;
	}

	.rss-show-item__thumb {
		grid-area: thumb;
		width: 72px;
		height: 64px;
	}

	.rss-show-item__meta {
		grid-area: meta;
	}

	.rss-show-item__tag {
		grid-area: tag;
		justify-self: start;
	}

	.rss-show-item__more {
		display: none;
	}
}
