/* Układ główny Strefy Video (76% + 23%) */
.nedds-video-layout {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin-top: 8px;
}

.nedds-video-main {
	width: 76%;
	min-width: 0;
}

.nedds-video-sidebar {
	width: 23%;
	min-width: 260px;
}

/* Pasek najnowszych aktualizacji VOD */
.nedds-v-news-bar {
	background: linear-gradient(90deg, #221d17 0%, #171614 100%);
	border: 1px solid #3d352a;
	border-left: 3px solid #e2b879;
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: #e6dfd5;
}

.nedds-v-news-pill {
	background: #e2b879;
	color: #141311;
	font-weight: 800;
	font-size: 10.5px;
	padding: 2px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	margin-right: 8px;
}

/* Centrum wyszukiwania i filtrów */
.nedds-v-toolbar {
	background: #1b1a18;
	border: 1px solid #38332c;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nedds-v-toolbar-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.nedds-v-search-box {
	position: relative;
	flex: 1;
	min-width: 220px;
}

.nedds-v-search-box i {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #e2b879;
	font-size: 13px;
}

.nedds-v-search-input {
	width: 100%;
	box-sizing: border-box;
	background: #141311;
	border: 1px solid #3a342c;
	border-radius: 8px;
	padding: 9px 12px 9px 34px;
	color: #f5f0e8;
	font-size: 13px;
	outline: none;
}

.nedds-v-search-input:focus {
	border-color: #e2b879;
}

.nedds-v-filter-group {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.nedds-v-cat-btn,
.nedds-v-lang-btn {
	background: #24211d;
	border: 1px solid #3a342c;
	color: #d6cfc7;
	padding: 7px 11px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s;
}

.nedds-v-cat-btn:hover,
.nedds-v-cat-btn.active {
	background: #e2b879;
	border-color: #e2b879;
	color: #141311;
}

.nedds-v-lang-btn:hover,
.nedds-v-lang-btn.active {
	background: #34d399;
	border-color: #34d399;
	color: #141311;
}

.nedds-v-alpha-bar {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
	padding-top: 8px;
	border-top: 1px solid #2b2722;
}

.v2-filter-btn {
	background: #141311;
	border: 1px solid #332e27;
	color: #c7c0b8;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.v2-filter-btn:hover,
.v2-filter-btn.active {
	background: #e2b879;
	border-color: #e2b879;
	color: #141311;
}

/* Sekcja Popularne teraz (Top 6) */
.nedds-v-trending-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
}

.nedds-v-trend-card {
	position: relative;
	display: block;
	background: #181715;
	border: 1px solid #332e27;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none !important;
	transition: transform 0.2s, border-color 0.2s;
}

.nedds-v-trend-card:hover {
	transform: translateY(-3px);
	border-color: #e2b879;
}

.nedds-v-trend-rank {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 3;
	background: rgba(20, 19, 17, 0.9);
	border: 1px solid #e2b879;
	color: #e2b879;
	font-weight: 800;
	font-size: 11px;
	padding: 2px 7px;
	border-radius: 5px;
}

.nedds-v-trend-card img {
	width: 100%;
	aspect-ratio: 2/3;
	object-fit: cover;
	display: block;
}

.nedds-v-trend-title {
	padding: 8px 6px;
	font-size: 12px;
	font-weight: 700;
	color: #f5f0e8;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Odznaki meta na plakatach katalogu */
.nedds-card-meta {
	position: absolute;
	bottom: 6px;
	left: 6px;
	right: 6px;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	gap: 4px;
	pointer-events: none;
}

.nedds-meta-pill {
	background: rgba(15, 14, 13, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #e6dfd5;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
}

.nedds-meta-pill.gold {
	border-color: rgba(226, 184, 121, 0.5);
	color: #e2b879;
}

.v2-box-card.is-hidden {
	display: none !important;
}

.nedds-v-empty-msg {
	display: none;
	text-align: center;
	padding: 28px 16px;
	color: #a39b90;
	font-size: 13.5px;
	background: #181715;
	border: 1px dashed #3a342c;
	border-radius: 8px;
	margin-bottom: 16px;
}

@media screen and (max-width: 1024px) {
	.nedds-video-layout {
		flex-direction: column;
	}
	.nedds-video-main,
	.nedds-video-sidebar {
		width: 100%;
	}
	.nedds-v-trending-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 600px) {
	.nedds-v-trending-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
