/* Podcast: series tabs, player, playlist and chapters. */
.nvn-podcast {
	margin-block: 8px 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid #d7e6f1;
}

.nvn-podcast:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.nvn-podcast ul,
.nvn-podcast ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nvn-podcast button {
	font: inherit;
	cursor: pointer;
}

.nvn-podcast__title {
	margin: 0 0 24px;
	text-align: center;
	font-weight: 700;
	color: var(--primary-color);
}

/* Same blue and green as the course tabs. */
.nvn-podcast__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 24px;
}

.nvn-podcast__tab {
	padding: 8px 18px;
	border: 0;
	border-radius: 6px;
	background: var(--primary-color);
	color: #fff;
}

.nvn-podcast__tab.is-active {
	background: var(--secondary-color);
}

.nvn-podcast__layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.nvn-podcast--single .nvn-podcast__layout {
	grid-template-columns: minmax(0, 1fr);
	max-width: 860px;
	margin-inline: auto;
}

.nvn-podcast__player {
	overflow: hidden;
	border-radius: 14px;
	background: #16324f;
	box-shadow: 0 10px 30px rgba(22, 50, 79, .12);
}

.nvn-podcast__player iframe {
	border: 0;
}

.nvn-podcast__now {
	margin: 16px 0 0;
	font-size: 22px;
	font-weight: 700;
}

.nvn-podcast__heading {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #16324f;
}

.nvn-podcast__chapters {
	margin-top: 20px;
}

.nvn-podcast__chapters ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 8px;
	margin-top: 12px;
}

.nvn-podcast__chapter {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d7e6f1;
	border-radius: 10px;
	background: #f7fbfe;
	color: inherit;
	line-height: 1.4;
	text-align: start;
	transition: background-color .15s, border-color .15s;
}

.nvn-podcast__chapter:hover,
.nvn-podcast__chapter.is-active {
	border-color: var(--primary-color);
	background: #e8f3f9;
}

.nvn-podcast__time {
	flex: none;
	min-width: 3em;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--primary-color);
}

.nvn-podcast__side {
	padding: 16px;
	border: 1px solid #d7e6f1;
	border-radius: 14px;
	background: #f7fbfe;
}

.nvn-podcast__list-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	margin-bottom: 12px;
}

.nvn-podcast__count {
	font-size: 14px;
	color: #6b7c8f;
}

.nvn-podcast__list ol {
	display: grid;
	gap: 6px;
	max-height: 460px;
	overflow-y: auto;
}

.nvn-podcast__item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 6px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: inherit;
	line-height: 1.35;
	text-align: start;
	transition: background-color .15s;
}

.nvn-podcast__item:hover {
	background: #e8f3f9;
}

.nvn-podcast__item.is-active {
	background: var(--primary-color);
	color: #fff;
}

.nvn-podcast__thumb {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 104px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 7px;
	background: #16324f;
	color: #fff;
}

.nvn-podcast__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nvn-podcast__thumb i {
	position: relative;
	font-size: 14px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.nvn-podcast__item-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 15px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

@media (max-width: 991.98px) {
	.nvn-podcast__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.nvn-podcast__list ol {
		max-height: 360px;
	}
}

@media (max-width: 575.98px) {
	.nvn-podcast__now {
		font-size: 18px;
	}

	.nvn-podcast__chapters ul {
		grid-template-columns: minmax(0, 1fr);
	}
}
