/* Park Radio On Air. Override the variables below in your theme's Additional CSS to match your branding. */
.proa-onair,
.proa-schedule {
	--proa-accent: #d62828;   /* Live dot, badge, highlight */
	--proa-bg: #ffffff;
	--proa-border: rgba(0, 0, 0, 0.12);
	--proa-muted: rgba(0, 0, 0, 0.6);
	--proa-radius: 10px;
	font-size: 1rem;
	line-height: 1.35;
}

/* ---- [onair] ---- */
.proa-onair {
	display: grid;
	gap: 12px;
	margin: 0 0 1.5em;
}
.proa-item {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 14px;
	background: var(--proa-bg);
	border: 1px solid var(--proa-border);
	border-radius: var(--proa-radius);
}
.proa-now {
	border-left: 4px solid var(--proa-accent);
}
.proa-image {
	flex: 0 0 auto;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: calc(var(--proa-radius) - 4px);
	margin: 0;
}
.proa-text {
	min-width: 0;
}
.proa-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--proa-muted);
}
.proa-now .proa-label {
	color: var(--proa-accent);
}
.proa-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--proa-accent);
	animation: proa-pulse 1.6s ease-in-out infinite;
}
@keyframes proa-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}
@media (prefers-reduced-motion: reduce) {
	.proa-dot { animation: none; }
}
.proa-show {
	font-size: 1.2em;
	font-weight: 700;
	margin: 2px 0;
}
.proa-show a {
	color: inherit;
	text-decoration: none;
}
.proa-show a:hover {
	text-decoration: underline;
}
.proa-presenter {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	margin: 4px 0 2px;
}
.proa-avatar {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--proa-bg);
	box-shadow: 0 0 0 1px var(--proa-border);
	margin: 0;
}
.proa-now .proa-avatar {
	width: 40px;
	height: 40px;
}
.proa-layout-compact .proa-avatar,
.proa-layout-compact .proa-now .proa-avatar {
	width: 24px;
	height: 24px;
}
.proa-time,
.proa-desc {
	font-size: 0.9em;
	color: var(--proa-muted);
	margin-top: 2px;
}
.proa-next .proa-show {
	font-size: 1.05em;
}
.proa-next .proa-image {
	width: 64px;
	height: 64px;
}

/* Compact layout (sidebars, headers) */
.proa-layout-compact {
	gap: 8px;
}
.proa-layout-compact .proa-item {
	padding: 10px;
	gap: 10px;
}
.proa-layout-compact .proa-image,
.proa-layout-compact .proa-next .proa-image {
	width: 48px;
	height: 48px;
}
.proa-layout-compact .proa-show {
	font-size: 1em;
}

@media (min-width: 700px) {
	.proa-layout-card[data-show="both"] {
		grid-template-columns: 3fr 2fr;
	}
}

/* ---- [onair_schedule] ---- */
.proa-schedule {
	margin: 0 0 1.5em;
}
.proa-tabs {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.proa-tab {
	flex: 1 1 0;
	min-width: 0;
	padding: 8px 6px;
	font: inherit;
	font-weight: 600;
	color: inherit;
	background: transparent;
	border: 1px solid var(--proa-border);
	border-radius: 6px;
	cursor: pointer;
}
.proa-tab[aria-selected="true"] {
	background: var(--proa-accent);
	border-color: var(--proa-accent);
	color: #fff;
}
.proa-tab-short { display: none; }
@media (max-width: 640px) {
	.proa-tab-long { display: none; }
	.proa-tab-short { display: inline; }
}
.proa-row {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 12px 10px;
	border-bottom: 1px solid var(--proa-border);
}
.proa-row.is-live {
	background: color-mix(in srgb, var(--proa-accent) 8%, transparent);
	border-left: 4px solid var(--proa-accent);
}
.proa-row-time {
	flex: 0 0 8.5em;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.proa-row-image {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
	margin: 0;
}
.proa-row-text { min-width: 0; }
.proa-row .proa-show { font-size: 1.05em; }
.proa-live-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	font-size: 0.7em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	vertical-align: middle;
	color: #fff;
	background: var(--proa-accent);
	border-radius: 999px;
}
.proa-empty { color: var(--proa-muted); }
@media (max-width: 520px) {
	.proa-row { flex-wrap: wrap; }
	.proa-row-time { flex-basis: 100%; }
}

/* ---- Schedule changes ---- */
.proa-note {
	font-size: 0.85em;
	font-style: italic;
	color: var(--proa-muted);
	margin-top: 2px;
}
.proa-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	font-size: 0.65em;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	vertical-align: middle;
	border-radius: 999px;
	border: 1px solid currentColor;
	color: var(--proa-muted);
}
.proa-badge-special {
	color: var(--proa-accent);
}
