
.rtvslos-prog-shell{
	--accent:#19b9b5;
	--ink:#172534;
	--muted:#70808e;
	--line:#dbe4e9;
	margin:26px 0;
	padding:26px 28px 22px;
	border:1px solid var(--line);
	border-radius:22px;
	background:#fff;
	color:var(--ink);
	box-shadow:0 12px 34px rgba(18,39,55,.06);
	font-family:inherit;
}

/* Kop */
.rtvslos-prog-heading{
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
	gap:28px;
	margin-bottom:18px;
}
.rtvslos-prog-heading h2,
.rtvslos-upcoming h2{
	margin:3px 0 0;
	color:#123755;
	font-size:clamp(34px,4vw,54px);
	line-height:1;
	letter-spacing:-.04em;
}
.rtvslos-prog-eyebrow{
	color:var(--accent);
	font-size:12px;
	font-weight:900;
	letter-spacing:.14em;
	text-transform:uppercase;
}
.rtvslos-prog-heading-side{
	display:flex;
	align-items:center;
	gap:18px;
}
.rtvslos-prog-heading-side p{
	margin:0;
	color:var(--muted);
	font-size:14px;
}
.rtvslos-prog-view-toggle{
	display:flex;
	flex:0 0 auto;
	padding:4px;
	border:1px solid var(--line);
	border-radius:999px;
	background:#f8fafb;
}
.rtvslos-prog-view-toggle button{
	min-height:38px;
	padding:8px 15px;
	border:0;
	border-radius:999px;
	background:transparent;
	color:#687784;
	font:inherit;
	font-size:13px;
	font-weight:800;
	cursor:pointer;
}
.rtvslos-prog-view-toggle button.is-active{
	background:#123f60;
	color:#fff;
	box-shadow:0 3px 10px rgba(18,63,96,.18);
}

/* Dagen */
.rtvslos-prog-tabs{
	display:flex;
	gap:8px;
	overflow-x:auto;
	padding:6px 0 12px;
	scrollbar-width:none;
}
.rtvslos-prog-tabs::-webkit-scrollbar{display:none}
.rtvslos-prog-tab{
	flex:0 0 auto;
	min-height:41px;
	padding:9px 17px;
	border:1px solid #d4dee5;
	border-radius:999px;
	background:#fff;
	color:#34495a;
	font:inherit;
	font-size:13px;
	font-weight:800;
	cursor:pointer;
	transition:.15s ease;
}
.rtvslos-prog-tab:hover{
	border-color:#9eb2c0;
}
.rtvslos-prog-tab.is-active{
	border-color:#123f60;
	background:#123f60;
	color:#fff;
	box-shadow:0 5px 14px rgba(18,63,96,.14);
}

.rtvslos-prog-panel{display:none}
.rtvslos-prog-panel.is-active{display:block}

/* ==========================
   LIJSTWEERGAVE
   ========================== */
.rtvslos-prog-items{
	display:grid;
	gap:9px;
	margin-top:4px;
}
.rtvslos-prog-item{
	position:relative;
	display:grid;
	grid-template-columns:145px 92px minmax(0,1fr);
	gap:16px;
	align-items:center;
	min-height:88px;
	padding:10px 18px 10px 16px;
	overflow:hidden;
	border:1px solid var(--line);
	border-radius:15px;
	background:#fff;
	box-shadow:0 3px 12px rgba(20,45,62,.025);
}
.rtvslos-prog-item::before{
	content:"";
	position:absolute;
	inset:0 auto 0 0;
	width:5px;
	background:var(--rtvslos-row-color,#19b9b5);
}
.rtvslos-prog-item.is-now{
	border-color:#b9e6e3;
	box-shadow:0 0 0 2px rgba(25,185,181,.12);
}
.rtvslos-prog-time{
	display:flex;
	gap:7px;
	align-items:center;
	padding-left:4px;
	color:#123f60;
	font-size:14px;
	font-weight:800;
	letter-spacing:.01em;
	white-space:nowrap;
}
.rtvslos-prog-image{
	width:92px;
	height:66px;
	overflow:hidden;
	border:1px solid #dce5ea;
	border-radius:10px;
	background:#eef3f6;
}
.rtvslos-prog-image img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}
.rtvslos-prog-image.is-empty{
	background:linear-gradient(135deg,#eef3f6,#f8fafb);
}
.rtvslos-prog-copy{
	min-width:0;
}
.rtvslos-prog-copy strong{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:6px;
	color:#1e2b35;
	font-size:17px;
	font-weight:850;
	line-height:1.2;
}
.rtvslos-prog-copy small{
	display:block;
	margin-top:5px;
	color:#13817e;
	font-size:12px;
	font-weight:800;
}
.rtvslos-prog-copy p{
	display:-webkit-box;
	overflow:hidden;
	margin:5px 0 0;
	color:#75818a;
	font-size:12px;
	line-height:1.35;
	-webkit-line-clamp:1;
	-webkit-box-orient:vertical;
}
.rtvslos-prog-live{
	display:inline-flex;
	align-items:center;
	padding:3px 7px;
	border-radius:999px;
	background:#e5f8f2;
	color:#237a50;
	font-size:9px;
	font-weight:900;
	text-transform:uppercase;
}

/* ==========================
   TEGELWEERGAVE
   ========================== */
.rtvslos-prog-week.is-grid .rtvslos-prog-items{
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:14px;
}
.rtvslos-prog-week.is-grid .rtvslos-prog-item{
	display:flex;
	flex-direction:column;
	align-items:stretch;
	min-height:0;
	padding:0 0 14px;
	border-radius:15px;
}
.rtvslos-prog-week.is-grid .rtvslos-prog-item::before{
	width:5px;
	z-index:2;
}
.rtvslos-prog-week.is-grid .rtvslos-prog-time{
	order:2;
	padding:11px 15px 0 18px;
	font-size:12px;
}
.rtvslos-prog-week.is-grid .rtvslos-prog-image{
	order:1;
	width:100%;
	height:auto;
	aspect-ratio:16/9;
	border:0;
	border-bottom:1px solid var(--line);
	border-radius:14px 14px 0 0;
}
.rtvslos-prog-week.is-grid .rtvslos-prog-copy{
	order:3;
	padding:5px 15px 0 18px;
}
.rtvslos-prog-week.is-grid .rtvslos-prog-copy strong{
	font-size:16px;
	line-height:1.25;
}
.rtvslos-prog-week.is-grid .rtvslos-prog-copy small{
	margin-top:6px;
	font-size:11px;
}
.rtvslos-prog-week.is-grid .rtvslos-prog-copy p{
	display:none;
}

/* Bronregel */
.rtvslos-prog-source{
	margin-top:14px;
	color:#93a0a8;
	font-size:10px;
	text-align:right;
}

/* Fouten */
.rtvslos-prog-error{
	padding:16px;
	border:1px solid #efc9c9;
	border-radius:14px;
	background:#fff1f1;
	color:#8a2d2d;
}
.rtvslos-prog-error strong,
.rtvslos-prog-error span{display:block}
.rtvslos-prog-error span{
	margin-top:4px;
	font-size:12px;
}

/* Nu op de zender */
.rtvslos-now-card{
	padding:24px;
	border-radius:20px;
	background:linear-gradient(135deg,#17212b,#244950);
	color:#fff;
	box-shadow:0 14px 35px rgba(23,33,43,.14);
}
.rtvslos-now-top span{
	color:#21c3bf;
	font-size:11px;
	font-weight:900;
	letter-spacing:.12em;
	text-transform:uppercase;
}
.rtvslos-now-top h3{
	margin:4px 0 16px;
	color:#fff;
}
.rtvslos-now-main{
	display:grid;
	grid-template-columns:minmax(0,1fr) 140px;
	gap:20px;
	align-items:center;
}
.rtvslos-now-main h2{
	margin:0 0 6px;
	color:#fff;
	font-size:28px;
}
.rtvslos-now-main p{color:#d4dde2}
.rtvslos-now-main img{
	width:140px;
	height:140px;
	object-fit:cover;
	border-radius:12px;
}
.rtvslos-now-presenter{font-weight:800}
.rtvslos-now-next{
	margin-top:16px;
	padding-top:13px;
	border-top:1px solid rgba(255,255,255,.12);
	color:#d2dce1;
}
.rtvslos-now-next span{float:right}

/* Aankomend */
.rtvslos-upcoming-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:14px;
}
.rtvslos-upcoming-grid article{
	overflow:hidden;
	border:1px solid var(--line);
	border-radius:15px;
	background:#fff;
}
.rtvslos-upcoming-grid img{
	width:100%;
	aspect-ratio:16/9;
	object-fit:cover;
}
.rtvslos-upcoming-grid article div{padding:12px}
.rtvslos-upcoming-grid small{color:#78848c}
.rtvslos-upcoming-grid h3{margin:5px 0 0}

.rtvslos-prog-empty{
	padding:18px;
	border:1px dashed #ccd4d9;
	border-radius:12px;
	background:#fafbfc;
	color:#697680;
}

/* Tablet */
@media(max-width:1050px){
	.rtvslos-prog-week.is-grid .rtvslos-prog-items{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
}

/* Klein tablet */
@media(max-width:820px){
	.rtvslos-prog-shell{
		padding:22px 18px;
	}
	.rtvslos-prog-heading{
		align-items:flex-start;
		flex-direction:column;
		gap:14px;
	}
	.rtvslos-prog-heading-side{
		width:100%;
		justify-content:space-between;
	}
	.rtvslos-prog-item{
		grid-template-columns:112px 76px minmax(0,1fr);
		min-height:82px;
		padding-right:12px;
	}
	.rtvslos-prog-image{
		width:76px;
		height:58px;
	}
	.rtvslos-prog-week.is-grid .rtvslos-prog-items{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
	.rtvslos-upcoming-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

/* Mobiel */
@media(max-width:580px){
	.rtvslos-prog-shell{
		margin:18px 0;
		padding:18px 12px;
		border-radius:17px;
	}
	.rtvslos-prog-heading h2{
		font-size:36px;
	}
	.rtvslos-prog-heading-side p{
		display:none;
	}
	.rtvslos-prog-view-toggle{
		margin-left:auto;
	}
	.rtvslos-prog-tab{
		padding:8px 13px;
		font-size:12px;
	}
	.rtvslos-prog-item{
		grid-template-columns:76px 54px minmax(0,1fr);
		gap:8px;
		min-height:70px;
		padding:8px 9px 8px 10px;
	}
	.rtvslos-prog-time{
		display:block;
		padding-left:2px;
		font-size:11px;
		line-height:1.35;
	}
	.rtvslos-prog-time span{
		display:inline;
	}
	.rtvslos-prog-image{
		width:54px;
		height:48px;
		border-radius:8px;
	}
	.rtvslos-prog-copy strong{
		font-size:14px;
	}
	.rtvslos-prog-copy small{
		font-size:10px;
	}
	.rtvslos-prog-copy p{
		display:none;
	}
	.rtvslos-prog-week.is-grid .rtvslos-prog-items,
	.rtvslos-upcoming-grid{
		grid-template-columns:1fr;
	}
	.rtvslos-prog-week.is-grid .rtvslos-prog-item{
		padding-bottom:13px;
	}
	.rtvslos-now-main{
		grid-template-columns:1fr;
	}
	.rtvslos-now-main img{display:none}
	.rtvslos-prog-source{text-align:left}
}
