/* =========================================================
   HERO SECTION BASE
========================================================= */
.hero-section {
	--clamp-400-800: clamp(25rem, -3.571rem + 59.524vw, 50rem);
	position: relative;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	min-height: var(--clamp-400-800);
	overflow: hidden;
	padding: 0 !important;
}

@media (min-width: 768px) {

	body:has(.podcast-swiper-sec) .hero-section:not(:has(.hero-media-external-frame)) {
		padding-bottom: 5rem !important;
	}
}

.hero-video-embed,
.hero-video-embed iframe {
	width: 100%;
	height: 100%;
}

.hero-video-embed {
	/* position: absolute; */
	/* inset: 0; */
}

.hero-media-default-view {
	position: relative;
	z-index: 5;
	width: 100%;
}

.hero-section:has(.hero-media-external-frame) {
	min-height: inherit;
	padding-bottom: 0 !important;
}

.hero-media-player-view {
	/* position: absolute; */
	/* inset: 0; */
	/* z-index: 6; */
	/* padding: 0; */
	width: 100%;
}

.hero-media-player-view[hidden] {
	display: none !important;
}

.hero-media-player-controls {
	position: absolute;
	top: 90px;
	/* left: calc((100vw - var(--container)) / 2); */
	left: 20px;
	z-index: 8;
}

.hero-media-player-controls .btn {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hero-media-player-view .hero-video-embed {
	/* position: absolute; */
	/* inset: 0; */
}

.hero-media-player-view .hero-video-embed {
	/* height: auto; */
}

.hero-media-player-view .hero-video-embed:has(.hero-media-audio) {
	position: relative;
	min-height: var(--clamp-400-800);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 4;
}

.hero-media-player-view .hero-video-embed iframe.hero-media-frame {
	aspect-ratio: 16 / 9;
}

.hero-section:has(iframe.hero-media-frame),
.hero-section:has(video.hero-media-self-video) {
	padding-bottom: 0 !important;
}

.hero-media-player-view .hero-video-embed video.hero-media-self-video {
	aspect-ratio: 16 / 9;
}

.hero-media-player-view .hero-video-embed iframe.hero-media-external-frame {
	aspect-ratio: inherit;
	height: 500px;
}

.hero-media-back-btn {
	min-width: 96px;
}

.hero-video-embed iframe {
	object-fit: cover;
	border: 0;
}

/* =========================================================
   BACKGROUND LAYERS
========================================================= */
.hero-background {
	position: absolute;
	inset: 0;
	z-index: 0;
}

/* Image background fallback */
.hero-background--image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Video background wrapper */
.hero-background--video {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

/* Video element */
.hero-video-element {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Video poster (thumbnail) */
.hero-video-poster {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	transition: opacity 0.3s ease;
}

/* Hidden state when video is playing */
.hero-video-poster.is-hidden {
	opacity: 0;
	pointer-events: none;
}

/* =========================================================
   GRADIENT OVERLAY (UNCHANGED BEHAVIOR)
========================================================= */
.hero-section::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 87.25%);
	z-index: 2;
	pointer-events: none;
}

/* .hero-section:has(.js-hero-default-view[hidden])::after {
	display: none;
} */
.hero-section:has(.hero-media-frame)::after,
.hero-section:has(.hero-media-self-video)::after {
	display: none;
}

/* =========================================================
   CONTENT LAYER
========================================================= */
.hero-section .about-content {
	position: relative;
	display: flex;
	gap: 24px;
	color: var(--color-white);
	width: 100%;
	margin-bottom: 90px;
	z-index: 5;
}

.hero-section .about-content .flex-1 {
	flex: 1;
}

.hero-section .about-content .content {
	max-width: 610px;
}

.hero-section .about-content .video-btn-col {
	align-self: flex-end;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
.hero-section .small-title {
	font-size: var(--h3);
	font-family: var(--font-roman);
}

.hero-section h2 {
	font-size: var(--h1);
	font-family: var(--font-udt-600);
	text-transform: capitalize;
}

.hero-section .description {
	background: var(--color-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0;
}

/* =========================================================
   BUTTON GROUP
========================================================= */
.hero-section .button-group {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 24px;
}

.hero-section .btn {
	min-width: 120px;
}

.hero-section .btn-close {
	filter: invert(1);
	opacity: 1;
	display: block;
	margin-left: auto;
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

/* =========================================================
   TRANSPARENT BUTTON (UNCHANGED, CLEANED)
========================================================= */
.btn-transparent {
	position: relative;
	z-index: 1;
	color: var(--color-white);
}

.btn-transparent::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: 2px;
	border-radius: 8px;
	background: linear-gradient(90deg,
			#F4F4EC -25.28%,
			#C39454 24.83%,
			#C39454 100%);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.btn-transparent:hover::after {
	opacity: 0;
}

.btn-transparent:hover {
	background: var(--color-primary);
	color: var(--color-white);
}

.btn-white:hover {
	background: var(--color-white);
	color: var(--color-black);
}

/* =========================================================
   VIDEO PLAY / PAUSE BUTTON
========================================================= */
.hero-video-toggle:not(.btn-close) {
	background: var(--color-white);
	border: 0;
	display: block;
	cursor: pointer;
	--play-icon-size: 45px;
	width: var(--play-icon-size);
	height: var(--play-icon-size);
	mask-image: url('../../../assets/icons/circle-play2.svg');
	mask-size: 51px;
	mask-position: center;
	mask-repeat: no-repeat;
	-webkit-mask-image: url('../../../assets/icons/circle-play2.svg');
	-webkit-mask-size: 51px;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	transition: transform 0.3s ease;
	font-size: 0 !important;
	padding: 0 !important;
}

.hero-video-toggle[aria-pressed="true"]:not(.btn-close) {
	mask-image: url('../../../assets/icons/pause-circle.svg');
	-webkit-mask-image: url('../../../assets/icons/pause-circle.svg');
}

.hero-video-toggle[aria-disabled="true"]:not(.btn-close) {
	opacity: 0.55;
}

.hero-video-toggle:not(.btn-close):hover,
.hero-video-toggle:not(.btn-close):focus-visible {
	background: var(--color-primary);
	outline: 0 !important;
	box-shadow: none !important;
}

.hero-video-toggle .hero-video-toggle__icon,
.hero-video-toggle .hero-video-toggle__icon img {
	display: none !important;
}

.hero-external-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* .hero-media-audio {
	position: absolute;
	left: 24px;
	bottom: 24px;
	z-index: 6;
	max-width: min(480px, calc(100% - 48px));
} */

/* =========================================================
   VIDEO POPUP MODAL
========================================================= */
.hero-section .modal .modal-content {
	background-color: transparent;
	border: 0;
	border-radius: 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {
	/* .hero-section {
		aspect-ratio: 3 / 4;
		min-height: auto;
	} */

	/* .button-group {
		flex-direction: column;
		width: 100%;
		max-width: 250px;
	} */
	.hero-section .about-content {
		margin-bottom: 24px;
	}
}

.hero-section.hero-podcast {
	--mh-eyebrow-lh: calc(var(--h3) * 1.6);
	--mh-title-lh: calc(var(--h1) * 1.15);
	--mh-title-gap: 8px;
	--mh-desc-lh: calc(var(--h6) * 1.5);
	--mh-desc-lines: 3;
	--mh-gap-bottom: 90px;
	--mh-pad-bottom: 5rem;
	--mh-top-min: 128px;
	--mh-copy-max: calc(var(--mh-eyebrow-lh) + var(--mh-title-lh) * 2 + var(--mh-title-gap) + var(--mh-desc-lh) * var(--mh-desc-lines));
	--mh-height: max(var(--clamp-400-800), calc(var(--mh-top-min) + var(--mh-copy-max) + var(--mh-gap-bottom) + var(--mh-pad-bottom)));
}

.hero-section.hero-podcast:not(.is-player-active) {
	min-height: var(--mh-height);
	padding-bottom: var(--mh-pad-bottom) !important;
}

.hero-podcast .hero-media-default-view {
	align-self: flex-start;
	margin-top: calc(var(--mh-height) - var(--mh-pad-bottom) - var(--mh-gap-bottom) - var(--mh-copy-max));
}

.hero-podcast .about-content {
	margin-bottom: var(--mh-gap-bottom);
}

.hero-podcast .about-content .content {
	display: flex;
	flex-direction: column;
	min-height: var(--mh-copy-max);
	max-width: 1000px;
}

.hero-podcast .description {
	max-width: 39em;
}

.hero-podcast .small-title {
	display: block;
	line-height: var(--mh-eyebrow-lh);
	white-space: nowrap;
}

.hero-podcast .main-title {
	line-height: var(--mh-title-lh);
	margin-bottom: var(--mh-title-gap);
	text-wrap: balance;
	overflow-wrap: break-word;
}

.hero-podcast .description,
.hero-podcast .description p {
	line-height: var(--mh-desc-lh);
}

.hero-podcast .description p {
	margin-bottom: 0;
	text-wrap: pretty;
}

@media (max-width: 767.98px) {
	.hero-section.hero-podcast {
		--mh-desc-lh: 24px;
		--mh-gap-bottom: 24px;
		--mh-pad-bottom: 0px;
	}

	.hero-podcast .about-content .video-btn-col {
		position: absolute;
		top: calc((var(--mh-eyebrow-lh) - 45px) / 2);
		right: 0;
	}
}

.hero-section.hero-podcast.is-player-active {
	background-color: #080808;
}

body:has(.hero-podcast.is-player-active) .site-header::before {
	background-color: var(--color-white);
	border-bottom: 2px solid var(--color-light);
	animation: none;
}

body:has(.hero-podcast.is-player-active) .site-header>.container {
	animation: none;
}

.feature-episodes-section {
	position: relative;
	z-index: 2;
	padding-top: var(--space-100-30) !important;
	padding-bottom: 0 !important;
}

.feature-episodes-section .section-title {
	margin-bottom: 24px;
}

@media (min-width: 768px) {
	.feature-episodes-section {
		margin-top: -142px;
		padding-top: 0 !important;
	}

	.feature-episodes-section .section-title {
		color: var(--color-white);
	}

	:has(.hero-podcast.is-player-active) .feature-episodes-section {
		margin-top: 0;
		padding-top: var(--space-30) !important;
	}

	:has(.hero-podcast.is-player-active) .feature-episodes-section .section-title {
		color: var(--color-dark);
	}
}

.feature-episodes-section .podcast-item {
	width: 100%;
	margin: 0;
}

.feature-episodes-section .podcast-item .img-wrapper {
	height: auto;
	aspect-ratio: 16 / 9;
	background: linear-gradient(#000000, #000000) padding-box, var(--color-gradient) border-box;
	transition: border-color 0.2s ease;
}

.feature-episodes-section .podcast-item .img-wrapper img {
	display: block;
	object-fit: contain;
}

.podcast-item .podcast-item__trigger {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.podcast-item .podcast-item__trigger:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: -4px;
}

.podcast-item .img-wrapper .play-button {
	z-index: 1;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.podcast-item:hover .img-wrapper,
.podcast-item:focus-within .img-wrapper,
.podcast-item.information-open .img-wrapper {
	border-color: var(--color-primary);
	background: linear-gradient(#000000, #000000) padding-box;
}

.podcast-item.information-open .img-wrapper {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.podcast-swiper-sec .music-card {
	position: relative;
	border-radius: 18px;
	padding: 0;
	width: 100%;
	border: 2px solid transparent;
	background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, var(--color-gradient) border-box;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	overflow: hidden;
}

.podcast-swiper-sec .music-card img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 16px;
}

.podcast-item {
	position: relative;
	flex-shrink: 0;
	width: 295px;
	border-radius: 16px;
	margin-bottom: 40px;
	margin-top: 16px;
	background: transparent;
	border: 0;
	padding: 0;
	text-align: left;
	cursor: pointer;
}

.podcast-item .img-wrapper {
	position: relative;
	height: 166px;
	border: 3px solid transparent;
	background: linear-gradient(90deg, #F4F4EC -25.28%, #C39454 24.83%, #C39454 100%);
	border-radius: 16px;
	overflow: hidden;
}

.podcast-item.is-active .img-wrapper {
	border-color: #C39454;
	box-shadow: 0 0 0 1px rgba(195, 148, 84, 0.35);
}

.podcast-item .img-wrapper img,
.podcast-item .img-wrapper iframe,
.podcast-item .img-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.podcast-item .img-wrapper .play-button {
	position: absolute;
	right: 9px;
	bottom: 8px;
	color: var(--color-white);
	transition: var(--td-3);
	display: inline-block;
	line-height: 1;
}

.podcast-item .img-wrapper .play-button:hover {
	color: var(--color-primary);
}

.podcast-swiper-sec .swiper-track {
	padding-left: calc((100vw - var(--container)) / 2);
}

.podcast-swiper-sec .swiper-track:not(.type1)::before {
	content: "";
	background: linear-gradient(270deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
	width: 100px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	pointer-events: none;
}

.podcast-swiper-sec .swiper-track:not(.type1)::after {
	content: "";
	width: calc((100vw - var(--container)) / 2);
	height: 100%;
	display: inline-block;
	min-width: calc((100vw - var(--container)) / 2);
	height: 166px;
	pointer-events: none;
}

.podcast-swiper-sec .scroll-thumb {
	width: 225px;
}

@media (min-width:992px) {
	.podcast-swiper-sec .swiper-track.type1 {
		padding-left: 0;
	}
}

@media (max-width: 991.98px) {
	.podcast-swiper-sec .container:has(.swiper-wrapper) {
		padding-left: 0;
		padding-right: 0;
	}

}
.feature-episodes-section .podcast-item.is-active:not(:hover):not(:focus-within):not(.information-open) .img-wrapper {
	border-color: transparent;
	box-shadow: none;
}

.hero-section .hero-copy-mobile {
	display: none;
}

@media (max-width: 767.98px) {
	.hero-section .hero-copy-desktop {
		display: none;
	}

	.hero-section .hero-copy-mobile {
		display: inline;
	}
}
