/* TV Program — frontend */
.tvp-program {
	font-family: inherit;
	max-width: 1000px;
}

/* Tabovi za dane */
.tvp-tabs {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 20px;
	border-bottom: 2px solid #e5e5e5;
	padding-bottom: 12px;
}
.tvp-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 72px;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #f7f7f7;
	cursor: pointer;
	transition: all 0.15s ease;
	font: inherit;
}
.tvp-tab:hover {
	background: #eee;
}
.tvp-tab.is-active {
	background: #c8102e;
	border-color: #c8102e;
	color: #fff;
}
.tvp-tab-day {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.5px;
}
.tvp-tab-date {
	font-size: 12px;
	opacity: 0.8;
}

/* Dan / lista emisija */
.tvp-day {
	display: none;
}
.tvp-day.is-active {
	display: block;
}

.tvp-item {
	display: flex;
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid #eee;
	align-items: flex-start;
}
.tvp-item:last-child {
	border-bottom: none;
}

.tvp-time {
	flex: 0 0 90px;
	font-size: 20px;
	font-weight: 700;
	color: #c8102e;
	line-height: 1.2;
}
.tvp-time-to {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: #888;
}
.tvp-live-badge {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 8px;
	background: #c8102e;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 3px;
	letter-spacing: 1px;
	animation: tvp-blink 1.5s ease-in-out infinite;
}
@keyframes tvp-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

.tvp-thumb {
	flex: 0 0 160px;
}
.tvp-thumb img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.tvp-info {
	flex: 1;
	min-width: 0;
}
.tvp-title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.3;
}
.tvp-category {
	display: inline-block;
	padding: 2px 10px;
	background: #f0f0f0;
	border-radius: 20px;
	font-size: 12px;
	color: #555;
	margin-bottom: 8px;
}
.tvp-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
}
.tvp-desc p {
	margin: 0 0 8px;
}

.tvp-none {
	padding: 30px;
	text-align: center;
	color: #888;
}

/* Responsive */
@media (max-width: 600px) {
	.tvp-item {
		flex-wrap: wrap;
	}
	.tvp-time {
		flex: 0 0 100%;
	}
	.tvp-thumb {
		flex: 0 0 120px;
	}
}
