/* ==========================================================================
   FEATURED SECTION / VIDEO DETAIL LAYOUT
   ========================================================================== */

.hnt-learning-hub {
	box-sizing: border-box;
	color: #333333;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.5;
}

.hnt-learning-hub *,
.hnt-learning-hub *::before,
.hnt-learning-hub *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.hnt-learning-hub .hnt-container {
	max-width: 100%;
	margin: 0 auto;
}

/* Shared Typography Classes */
.hnt-learning-hub .hnt-category {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #B57D71;
}

.hnt-learning-hub .hnt-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: #332C27;
}

.hnt-learning-hub .hnt-detail-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}

@media (min-width: 992px) {
	.hnt-learning-hub .hnt-detail-layout {
		grid-template-columns: 1.6fr 1fr;
		/* Tỷ lệ 60/40 giữa Video & Playlist */
		align-items: stretch;
	}

	.hnt-learning-hub .hnt-playlist {
		height: 100%;
		justify-content: space-between;
	}
}

/* Main Featured Video Player */
.hnt-learning-hub .hnt-main-player {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	/* Ratio 16:9 */
	background-color: #000000;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hnt-learning-hub .hnt-main-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Playlist Sidebar */
.hnt-learning-hub .hnt-playlist {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Playlist Item Card */
.hnt-learning-hub .hnt-playlist-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #FAF5EF;
	border: 1px solid #EADCD1;
	border-radius: 16px;
	padding: 12px;
	cursor: pointer;
	position: relative;
	transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hnt-learning-hub .hnt-playlist-card:hover {
	background: #FFFFFF;
	border-color: #C8B9AD;
	transform: translateX(4px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.hnt-learning-hub .hnt-playlist-card.hnt-active {
	background: #FFFFFF;
	border-color: #8C5248;
	box-shadow: 0 4px 15px rgba(140, 82, 72, 0.12);
}

/* Playlist Item Thumbnail */
.hnt-learning-hub .hnt-playlist-thumb {
	position: relative;
	width: 120px;
	height: 72px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background-color: #D6C2B4;
}

.hnt-learning-hub .hnt-playlist-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hnt-learning-hub .hnt-playlist-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 28px;
	height: 28px;
	background-color: rgba(140, 82, 72, 0.85);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hnt-learning-hub .hnt-playlist-play-icon::after {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 8px;
	border-color: transparent transparent transparent #FFFFFF;
	margin-left: 2px;
}

/* Playlist Item Info */
.hnt-learning-hub .hnt-playlist-info {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hnt-learning-hub .hnt-playlist-info .hnt-title {
	font-size: 14px;
	margin-bottom: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Indicator Star Icon */
.hnt-learning-hub .hnt-playlist-star {
	position: absolute;
	bottom: 12px;
	right: 12px;
	color: #8C5248;
	font-size: 10px;
	opacity: 0.6;
}

.hnt-learning-hub .hnt-playlist-card.hnt-active .hnt-playlist-star {
	opacity: 1;
}