.playlist-section {
	display: flex;
	flex-direction: row;
	gap: 20px;
	margin: 0 auto 60px;
	max-width: 1000px;
	align-items: flex-start;
	flex-wrap: nowrap;
}

.player-wrapper {
	flex: 2;
	min-width: 300px;
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 ratio */
	height: 0;
}

.player {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	}

.overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 20px;
	z-index: 2;
	flex-direction: column;
	text-align: center;
	padding: 20px;
}

.overlay button {
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	margin-top: 10px;
}

.video-list {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 200px;
}

.video-item {
	cursor: pointer;
	padding: 10px;
	background: #f0f0f0;
	border-radius: 4px;
	transition: background 0.2s;
	font-size:.9rem;
}

.video-item:hover {
	background: #e0e0e0;
}

@media (max-width: 768px) {
  .playlist-section {
	flex-direction: column;
  }

  .player-wrapper,
  .video-list {
	width: 100%;
  }

  .video-list {
	margin-top: 10px;
  }
}