/**
 * Featured Podcast carousel (Elementor widget only).
 */

.pg-feat {
	--pg-feat-accent: #3ecfcf;
	--pg-feat-text: #111827;
	--pg-feat-muted: #6b7280;
	--pg-feat-card: #ffffff;
	--pg-feat-sticky-bg: #121826;
	box-sizing: border-box;
	width: 100%;
	background: transparent;
}

.pg-feat *,
.pg-feat *::before,
.pg-feat *::after {
	box-sizing: border-box;
}

.pg-feat__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 80px;
}

.pg-feat__heading-wrap {
	min-width: 0;
}

.pg-feat__heading {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--pg-feat-text);
}

.pg-feat__browse {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pg-feat-text);
	text-decoration: none;
}

.pg-feat__browse:hover {
	color: var(--pg-feat-accent);
	text-decoration: none;
}

.pg-feat__nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.pg-feat__nav-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #d7dde7;
	background: #fff;
	color: #6b7280;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.pg-feat__nav-btn:hover,
.pg-feat__nav-btn:focus-visible {
	background: #fff;
	color: #6b7280;
	outline: none;
}

.pg-feat__nav-btn:disabled {
	opacity: 0.45;
	cursor: default;
}

.pg-feat__viewport {
	overflow: hidden;
	width: 100%;
	padding: 8px 6px 28px;
	margin: -8px -6px -8px;
	background: transparent !important;
}

.pg-feat__track {
	display: flex;
	gap: 24px;
	width: 100%;
	transition: transform 0.35s ease;
	will-change: transform;
	background: transparent !important;
}

.pg-feat__slide {
	flex: 0 0 calc((100% - (var(--pg-feat-gap, 24px) * (var(--pg-feat-visible, 3) - 1))) / var(--pg-feat-visible, 3));
	min-width: 0;
	background: transparent !important;
}

.pg-feat-card {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.pg-feat-card__banner {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #e5e7eb;
}

.pg-feat-card__banner--placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #eef2f7 0%, #d7dee8 100%);
}

.pg-feat-card__body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	flex: 1 1 auto;
}

.pg-feat-card__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--pg-feat-text);
}

.pg-feat-card__title a {
	color: inherit;
	text-decoration: none;
}

.pg-feat-card__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--pg-feat-muted);
}

.pg-feat-card__episodes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 10px;
}

.pg-feat-card__episode {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.pg-feat-card__play {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: #4b5563;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 0 12px 6px rgba(120, 210, 230, 0.18);
}

.pg-feat-card__play:hover,
.pg-feat-card__play:focus-visible {
	background: #ffffff;
	color: #4b5563;
	outline: none;
	box-shadow: 0 0 14px 5px rgba(120, 210, 230, 0.24);
}

.pg-feat-card__play-icon {
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent currentColor;
	margin-left: 2px;
}

.pg-feat-card__episode.is-playing .pg-feat-card__play-icon {
	width: 9px;
	height: 11px;
	border: 0;
	margin-left: 0;
	background:
		linear-gradient(currentColor, currentColor) left / 3px 100% no-repeat,
		linear-gradient(currentColor, currentColor) right / 3px 100% no-repeat;
}

.pg-feat-card__episode-text {
	min-width: 0;
	flex: 1 1 auto;
}

.pg-feat-card__ep-title {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--pg-feat-text);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pg-feat-card__ep-title:hover {
	color: var(--pg-feat-text);
}

.pg-feat-card__footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
}

.pg-feat-card__footer .pg-feat__browse {
	color: var(--pg-feat-text);
}

.pg-feat__empty {
	margin: 0;
	padding: 16px;
	color: var(--pg-feat-muted);
}

/* Sticky player (shared behavior with episode widgets) */
.pg-feat-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 30px 20px;
	background: var(--pg-feat-sticky-bg);
	color: #fff;
	box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.pg-feat.is-sticky-open .pg-feat-sticky {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.pg-feat-sticky__info {
	flex: 0 1 280px;
	min-width: 120px;
}

.pg-feat-sticky__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pg-feat-sticky__meta {
	margin: 3px 0 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #60a5fa;
}

.pg-feat-sticky__controls {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
}

.pg-feat-sticky__btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: #c5cad3;
	cursor: pointer;
	padding: 0;
	font: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pg-feat-sticky__skip {
	font-size: 12px;
	font-weight: 600;
	min-width: 36px;
	color: #c5cad3 !important;
	background: transparent !important;
}

.pg-feat-sticky__skip:hover,
.pg-feat-sticky__skip:focus,
.pg-feat-sticky__skip:focus-visible {
	color: #c5cad3 !important;
	background: transparent !important;
}

.pg-feat-sticky__play {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pg-feat-accent);
	color: #fff;
}

.pg-feat-sticky__play-icon {
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent currentColor;
	margin-left: 2px;
}

.pg-feat.is-playing .pg-feat-sticky__play-icon {
	width: 10px;
	height: 12px;
	border: 0;
	margin-left: 0;
	background:
		linear-gradient(currentColor, currentColor) left / 3px 100% no-repeat,
		linear-gradient(currentColor, currentColor) right / 3px 100% no-repeat;
}

.pg-feat-sticky__progress-wrap {
	flex: 1 1 auto;
	min-width: 80px;
	display: flex;
	align-items: center;
	box-shadow: none;
	background: transparent;
	border: 0;
	overflow: hidden;
}

.pg-feat-sticky__progress {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 4px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #3a4558;
	outline: none;
	cursor: pointer;
	box-shadow: none;
	overflow: hidden;
}

.pg-feat-sticky__progress:hover,
.pg-feat-sticky__progress:focus,
.pg-feat-sticky__progress:focus-visible,
.pg-feat-sticky__progress:active {
	box-shadow: none;
	outline: none;
	border: 0;
	background-image: none;
}

/* Kill the native range track (shows as a thin white line under the bar). */
.pg-feat-sticky__progress::-webkit-slider-runnable-track {
	-webkit-appearance: none;
	appearance: none;
	height: 4px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
}

.pg-feat-sticky__progress::-moz-range-track {
	height: 4px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
}

.pg-feat-sticky__progress::-ms-track {
	height: 4px;
	border: 0;
	background: transparent;
	color: transparent;
	box-shadow: none;
}

.pg-feat-sticky__progress::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	margin-top: -4px;
	border-radius: 50%;
	background: #60a5fa;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}

.pg-feat-sticky__progress::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #60a5fa;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}

.pg-feat-sticky__time {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.pg-feat-sticky__extras {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pg-feat-sticky__volume {
	position: relative;
}

.pg-feat-sticky__volume-btn {
	width: 28px;
	height: 28px;
	color: #fff;
}

.pg-feat-sticky__volume-btn svg {
	width: 18px;
	height: 18px;
	display: block;
}

.pg-feat-sticky__volume-panel {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(-50%);
	width: 36px;
	height: 110px;
	padding: 12px 0 10px;
	background: #0b1220;
	border-radius: 10px;
	display: none;
	align-items: center;
	justify-content: center;
}

.pg-feat-sticky__volume.is-open .pg-feat-sticky__volume-panel,
.pg-feat-sticky__volume:hover .pg-feat-sticky__volume-panel,
.pg-feat-sticky__volume:focus-within .pg-feat-sticky__volume-panel {
	display: flex;
}

.pg-feat-sticky__volume-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 84px;
	height: 4px;
	transform: rotate(-90deg);
	background: rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	cursor: pointer;
}

.pg-feat-sticky__volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 0;
}

.pg-feat-sticky__speed {
	min-width: 28px;
	font-size: 13px;
	font-weight: 700;
	color: #fff !important;
	background: transparent !important;
}

.pg-feat-sticky__speed:hover,
.pg-feat-sticky__speed:focus {
	color: #fff !important;
	background: transparent !important;
}

.pg-feat-sticky__close {
	width: 28px;
	height: 28px;
	color: #c5cad3 !important;
	background: transparent !important;
}

.pg-feat-sticky__audio {
	display: none;
}

body.pg-feat-sticky-active {
	padding-bottom: 84px;
}

@media (max-width: 1024px) {
	.pg-feat {
		--pg-feat-visible: 2 !important;
	}
}

@media (max-width: 640px) {
	.pg-feat {
		--pg-feat-visible: 1 !important;
	}

	.pg-feat__header {
		flex-wrap: wrap;
	}

	.pg-feat-sticky {
		flex-wrap: wrap;
		row-gap: 10px;
	}

	.pg-feat-sticky__controls {
		flex: 1 1 100%;
	}
}
