/**
 * Menu Carousel Elementor – horizontal/vertical carousel, image + linked text per item.
 * Foothold warm palette; section title + arrows; progress/dots.
 * Last updated: 2026-02-05 (Podcast HERO video poster shade + play overlay z-index)
 */

/* ========== Wrapper ========== */
.mce-wrapper {
	position: relative;
	width: 100%;
	font-family: 'Inter', sans-serif;
	--mce-gap: 1.5rem;
}

.mce-empty {
	padding: 1.5rem;
	text-align: center;
	color: #6B6661;
	background: #FAF9F6;
	border-radius: 8px;
}

/* ========== Header: section title + arrows ========== */
.mce-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
}

.mce-section-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	color: #2D2926;
}

.mce-arrows {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.mce-arrows-standalone {
	margin-bottom: 1rem;
}

/* ========== Carousel track – horizontal (default) ========== */
.mce-carousel-track {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--mce-gap);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0.25rem 0 1rem 0;
	-webkit-overflow-scrolling: touch;
	/* Touch: horizontal swipes scroll the carousel, not the page */
	touch-action: pan-x;
	overscroll-behavior-x: contain;
}

.mce-direction-horizontal .mce-carousel-track {
	/* Slide width set by JS or by data-slides attribute in fallback */
}

/* ========== Carousel track – vertical ========== */
.mce-direction-vertical .mce-carousel-track {
	flex-direction: column;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-snap-type: y mandatory;
	max-height: 80vh;
	-webkit-overflow-scrolling: touch;
	/* Touch: vertical swipes scroll the carousel, not the page */
	touch-action: pan-y;
	overscroll-behavior-y: contain;
}

/* ========== Slide (card container) ========== */
.mce-slide {
	flex: 0 0 auto;
	scroll-snap-align: start;
	min-width: 0;
}

/* Horizontal: slide width from data-slides (desktop default 4) */
.mce-direction-horizontal .mce-slide {
	/* Fallback; JS or responsive CSS will set flex basis */
	flex: 0 0 calc((100% - (var(--mce-gap) * (var(--mce-slides, 4) - 1))) / var(--mce-slides, 4));
}

/* Use data attributes for responsive slide count (JS sets --mce-slides on wrapper) */
@media (max-width: 1024px) {
	.mce-direction-horizontal .mce-slide {
		flex: 0 0 calc((100% - (var(--mce-gap) * (var(--mce-slides-tablet, 3) - 1))) / var(--mce-slides-tablet, 3));
	}
}

@media (max-width: 767px) {
	.mce-direction-horizontal .mce-slide {
		flex: 0 0 calc((100% - (var(--mce-gap) * (var(--mce-slides-mobile, 2) - 1))) / var(--mce-slides-mobile, 2));
	}
}

/* Vertical: fixed height per slide so we can scroll by N */
.mce-direction-vertical .mce-slide {
	width: 100%;
	flex: 0 0 auto;
}

/* ========== Card (link wrapper) ========== */
.mce-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.mce-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ========== Image ========== */
.mce-card-image-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 75%; /* 4:3 */
	overflow: hidden;
	background: #f0f0f0;
}

.mce-card-image,
.mce-card-image-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mce-card-image-placeholder {
	background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
}

/* ========== Title (text under image) ========== */
.mce-card-title {
	display: block;
	padding: 1rem 1rem 1.25rem;
	text-align: center;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	color: #2D2926;
	transition: color 0.2s ease;
}

.mce-card:hover .mce-card-title {
	color: #B45309;
}

/* ========== Arrows (solid buttons; beat theme/Elementor button styles) ========== */
.mce-wrapper button.mce-carousel-arrow {
	width: 44px;
	height: 44px;
	border-radius: 2px;
	border: 2px solid var(--e-global-color-secondary, #0A3161) !important;
	background: var(--e-global-color-secondary, #0A3161) !important;
	background-color: var(--e-global-color-secondary, #0A3161) !important;
	color: #fff !important;
	text-decoration: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}

.mce-wrapper button.mce-carousel-arrow:hover,
.mce-wrapper button.mce-carousel-arrow:focus {
	background: var(--e-global-color-primary, #B31942) !important;
	background-color: var(--e-global-color-primary, #B31942) !important;
	border-color: var(--e-global-color-primary, #B31942) !important;
	color: #fff !important;
	text-decoration: none;
}

.mce-wrapper button.mce-carousel-arrow .material-symbols-outlined {
	font-size: 24px;
	color: #fff !important;
}

/* Vertical: position arrows on the side or below track */
.mce-direction-vertical .mce-carousel-prev {
	transform: rotate(-90deg);
}
.mce-direction-vertical .mce-carousel-next {
	transform: rotate(90deg);
}

/* ========== Dots / progress ========== */
.mce-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1rem;
	flex-wrap: wrap;
}

.mce-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d0d0d0;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.3s ease;
}

.mce-carousel-dot:hover,
.mce-carousel-dot.is-active {
	background: #B45309;
}

/* Optional progress bar (same element list; we use dots) */

/* ========== Scrollbar ========== */
.mce-carousel-track::-webkit-scrollbar {
	height: 6px;
	width: 6px;
}

.mce-direction-vertical .mce-carousel-track::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

.mce-carousel-track::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 3px;
}

.mce-carousel-track::-webkit-scrollbar-thumb {
	background: #c0c0c0;
	border-radius: 3px;
}

/* ========== Material Symbols ========== */
.mce-wrapper .material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
}

/* ========== Author Block ========== */
.mce-author-block {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.5rem;
	width: 100%;
}

.mce-author-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.mce-author-image {
	width: 120px;
	height: 120px;
	min-width: 120px;
	min-height: 120px;
	border-radius: 50%;
	overflow: hidden;
	background: #f0f0f0;
}

.mce-author-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mce-author-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.mce-author-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--e-global-color-secondary, #0A3161);
	text-decoration: none;
	transition: color 0.2s ease;
}

.mce-author-icons a:hover {
	color: var(--e-global-color-primary, #B31942);
}

.mce-author-icons .material-symbols-outlined {
	font-size: 24px;
}

.mce-author-icons .mce-icon-svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.mce-author-right {
	flex: 1;
	min-width: 0;
}

.mce-author-name {
	margin: 0 0 0.5rem;
	font-family: 'Playfair Display', serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--e-global-color-secondary, #0A3161);
}

.mce-author-bio {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--e-global-color-secondary, #0A3161);
}

/* ========== Team Scheduler ========== */
/* Elementor section with tab-calendar + hs-iframe: force row layout so left and right align */
.e-con:has(.tab-calendar):has(.hs-iframe) {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 2rem;
	width: 100%;
}

/* Two-column layout: left = person blocks, right = calendar embed; aligned side-by-side */
.mce-team-scheduler {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 2rem;
	width: 100%;
	min-height: 400px;
}

/* Left column: person blocks stacked vertically – one on top, another below */
.mce-ts-left {
	flex: 0 0 auto;
	width: 100%;
	max-width: 320px;
	min-width: 260px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: stretch;
}

/* Person block: card look (white, rounded, shadow); not a link – click switches calendar script on the right */
.mce-team-scheduler .tab-calendar {
	cursor: pointer;
	padding: 32px;
	background: #fff;
	border-radius: 8px;
	border: none;
	transition: box-shadow 250ms ease-in-out, color 0.2s ease;
	font-family: inherit;
	margin: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mce-team-scheduler .tab-calendar:hover {
	color: var(--e-global-color-primary, #B31942);
}

/* Selected block: more pronounced shadow so it reads as active */
.mce-team-scheduler .tab-calendar.active-tab-calendar {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mce-team-scheduler .tab-calendar h3 {
	margin: 0 0 0.5em;
	font-size: 1.125rem;
	line-height: 1.3;
}

.mce-team-scheduler .tab-calendar .country-bi {
	display: block;
	margin-bottom: 1rem;
	font-size: 1rem;
}

.mce-team-scheduler .tab-calendar p {
	margin: 0 0 1em;
	font-size: 1rem;
	line-height: 1.25;
}

.mce-team-scheduler .tab-calendar p:last-child {
	margin-bottom: 0;
}

.mce-ts-right {
	flex: 1 1 0%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	align-self: stretch;
}

.mce-ts-calendars-wrap {
	position: relative;
	flex: 1;
	min-height: 720px;
}

/* Stacked calendars: only .active visible (match Elementor custom CSS) */
.mce-team-scheduler .hs-iframe {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	opacity: 0;
	pointer-events: none;
}

.mce-team-scheduler .hs-iframe.active {
	position: relative;
	z-index: 2;
	opacity: 1;
	pointer-events: auto;
}

.mce-team-scheduler .hs-iframe .meetings-iframe-container {
	width: 100%;
	height: 100%;
	min-height: 720px;
}

.mce-team-scheduler .hs-iframe iframe {
	width: 100%;
	height: 100%;
	min-height: 720px;
	border: 0;
}

.mce-ts-no-calendar {
	margin: 0;
	padding: 1.5rem;
	background: #f5f5f5;
	color: #666;
	border-radius: 8px;
}

/* ========== Podcast HERO ========== */
.mce-podcast-hero {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.25rem;
	width: 100%;
	padding: 2rem;
	border-radius: 18px;
	background: #ffffff;
}

/* Two columns: copy + media (title sits full-width above). */
.mce-ph-main-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 2.5rem;
	width: 100%;
	min-width: 0;
}

.mce-ph-content {
	flex: 1 1 56%;
	min-width: 280px;
}

.mce-ph-eyebrow {
	display: inline-block;
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #B31942;
}

.mce-ph-title {
	margin: 0;
	width: 100%;
	max-width: 100%;
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.8rem, 2.6vw, 3rem);
	line-height: 1.2;
	color: #0A3161;
	font-weight: 700;
}

/* Same accent as Elementor heading: Library of <span style="color:#b31942">…</span> — use <strong> instead */
.mce-ph-title strong,
.mce-ph-title b {
	color: #b31942;
	font-weight: 700;
}

/* Core Elementor Heading widget: strong/b pick up brand red without inline styles */
.elementor-widget-heading .elementor-heading-title strong,
.elementor-widget-heading .elementor-heading-title b {
	color: #b31942;
	font-weight: 700;
}

.mce-ph-description {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: #0A3161;
}

.mce-ph-description > *:first-child {
	margin-top: 0;
}

.mce-ph-description > *:last-child {
	margin-bottom: 0;
}

.mce-ph-description p {
	margin: 0 0 0.75em;
}

.mce-ph-description ul,
.mce-ph-description ol {
	margin: 0 0 0.75em 1.25em;
	padding: 0;
}

.mce-ph-description a {
	color: #0a3161;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mce-ph-description a:hover {
	color: #b31942;
}

.mce-ph-event-meta {
	margin-top: 1rem;
	color: #0A3161;
}

.mce-ph-event-meta p {
	margin: 0 0 1em;
}

.mce-ph-event-title {
	font-weight: 700;
}

.mce-ph-listen-label {
	font-weight: 700;
}

.mce-ph-partnership {
	margin-top: 0.5rem;
}

.mce-ph-partnership-text {
	margin-bottom: 0.35rem;
}

.mce-ph-partnership-logo img {
	display: block;
	max-width: 220px;
	width: 100%;
	height: auto;
}

.mce-ph-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.mce-ph-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(10, 49, 97, 0.1);
	color: #0A3161;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.mce-ph-social-link:hover {
	color: #B31942;
	background: rgba(179, 25, 66, 0.12);
}

.mce-ph-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.mce-ph-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.25s ease, color 0.2s ease, transform 0.2s ease;
	color: #ffffff;
}

.mce-ph-button:hover {
	transform: translateY(-1px);
}

.mce-ph-button-primary {
	background: #0A3161;
}

.mce-ph-button-secondary {
	background: #B31942;
}

.mce-ph-media-col {
	flex: 1 1 44%;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

/* Event speakers grid (event-style cards; defaults match Life Science layout) */
.mce-ph-panelists {
	width: 100%;
}

.mce-ph-panelists--below-media {
	margin-top: 1rem;
}

.mce-ph-panelists--below-content {
	margin-top: 1rem;
}

.mce-ph-panelists-heading {
	margin: 0 0 1.2rem;
	padding: 0;
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.2rem, 2vw, 1.65rem);
	font-weight: 700;
	line-height: 1.25;
	color: #0a3161;
}

.mce-ph-panelists-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.mce-ph-panelist-item {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.mce-ph-panelist-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	min-height: 100%;
	padding: 0;
	background: #ffffff;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
	border-radius: 11px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Full-card hit target (photo + text); image clicks always hit the link */
.mce-ph-panelist-card--linkable {
	position: relative;
}

.mce-ph-panelist-stretched-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
	cursor: pointer;
}

.mce-ph-panelist-card--linkable .mce-ph-panelist-photo,
.mce-ph-panelist-card--linkable .mce-ph-panelist-text {
	position: relative;
	z-index: 1;
}

.mce-ph-panelist-item:has(.mce-ph-panelist-stretched-link:hover) .mce-ph-panelist-card {
	box-shadow: 0 8px 22px rgba(10, 49, 97, 0.12);
	transform: translateY(-2px);
}

.mce-ph-panelist-item:has(.mce-ph-panelist-stretched-link:focus-visible) .mce-ph-panelist-card {
	outline: 2px solid #0a3161;
	outline-offset: 2px;
}

.mce-ph-panelist-stretched-link:focus-visible {
	outline: none;
}

.mce-ph-panelist-photo {
	width: 90px;
	min-width: 90px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: #e8ecf2;
	flex-shrink: 0;
}

.mce-ph-panelist-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mce-ph-panelist-photo--placeholder {
	background: linear-gradient(145deg, #dce4ef 0%, #c5d2e3 100%);
}

.mce-ph-panelist-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
	text-align: left;
}

.mce-ph-panelist-name {
	display: block;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.25;
	color: #0a3161;
}

.mce-ph-panelist-role {
	display: block;
	font-size: 0.9rem;
	line-height: 1.35;
	color: #2d2926;
}

.mce-ph-panelist-company {
	display: block;
	font-size: 0.875rem;
	line-height: 1.35;
	color: #5c5c5c;
}

@media (max-width: 639px) {
	.mce-ph-panelists-grid {
		grid-template-columns: 1fr;
	}
}

.mce-ph-media-card {
	background: #0A3161;
	border-radius: 14px;
	padding: 1.25rem;
	color: #ffffff;
}

.mce-ph-panel-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #bf9438;
	margin: 0 0 0.5rem;
}

.mce-ph-panel-title {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
	line-height: 1.3;
	color: #ffffff;
}

.mce-ph-panel-meta {
	margin: 0 0 0.9rem;
	font-size: 0.9rem;
	opacity: 0.9;
}

.mce-ph-media-embed {
	width: 100%;
	min-height: 360px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.12);
	display: flex;
	flex-direction: column;
}

.mce-ph-media-embed iframe,
.mce-ph-media-image {
	width: 100%;
	height: 100%;
	min-height: 360px;
	display: block;
	border: 0;
	object-fit: cover;
}

/* Video (lazy): 16:9 stage; iframe injected on first play */
.mce-ph-embed-video-lazy .mce-ph-video-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: 200px;
	border-radius: 10px;
	overflow: hidden;
	background: #0a1628;
}

.mce-ph-video-poster,
.mce-ph-video-poster-fallback {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mce-ph-video-poster-fallback {
	background: linear-gradient(145deg, rgba(20, 40, 70, 0.92), rgba(8, 20, 40, 0.98));
}

/* Dim layer on preload thumbnail (between poster and play overlay); color from Elementor */
.mce-ph-poster-shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-color: transparent;
}

.mce-ph-video-frame {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.mce-ph-embed-video-lazy .mce-ph-video-frame iframe {
	width: 100% !important;
	height: 100% !important;
	min-height: 100%;
	display: block;
	border: 0;
	background: #000;
}

/* Shared poster + Elementor-style play (eicon play SVG ~100×100) */
.mce-ph-embed-stage {
	position: relative;
	width: 100%;
}

.mce-ph-audio-stage {
	flex: 1 1 auto;
	min-height: 240px;
	border-radius: 10px;
	overflow: hidden;
}

.mce-ph-audio-cover {
	width: 100%;
	height: 100%;
	min-height: 240px;
	display: block;
	object-fit: cover;
}

.mce-ph-audio-stage::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(10, 25, 45, 0.2);
	pointer-events: none;
	z-index: 1;
}

.mce-ph-embed-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	background: rgba(10, 25, 45, 0.12);
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mce-ph-embed-overlay.mce-ph-overlay-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.mce-ph-play-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: #ffffff; /* play path uses currentColor */
	cursor: pointer;
	line-height: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.mce-ph-play-trigger:hover:not(:disabled) {
	transform: scale(1.05);
	opacity: 0.95;
}

.mce-ph-play-trigger:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.9);
	outline-offset: 4px;
}

.mce-ph-play-trigger:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.mce-ph-play-svg {
	width: 100px;
	height: 100px;
	display: block;
}

.mce-ph-play-svg path {
	fill: currentColor;
}

.mce-ph-play-trigger .mce-ph-play-svg {
	filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

/* Podcast HERO audio: FA-style card player (native audio + range), 2026-02-05 */
.mce-ph-media-audio-fa,
.mce-ph-media-embed.mce-ph-media-audio-fa {
	padding: 0;
	min-height: 0;
	background: transparent;
	overflow: visible;
}

.mce-ph-media-card--fa-audio .mce-ph-panel-label {
	margin-bottom: 0.35rem;
}

.mce-ph-fa-missing-audio {
	margin: 0.75rem 0 0;
	text-align: center;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
}

.mce-podcast-hero .mce-ph-fa-player {
	font-family: 'Inter', system-ui, sans-serif;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding-top: 2.5rem;
	position: relative;
	box-sizing: border-box;
	color: #1e3a8a;
}

.mce-podcast-hero .mce-ph-fa-player *,
.mce-podcast-hero .mce-ph-fa-player *::before,
.mce-podcast-hero .mce-ph-fa-player *::after {
	box-sizing: border-box;
}

.mce-podcast-hero .mce-ph-fa-card {
	background: #ffffff;
	border-radius: 24px;
	padding: 24px;
	margin-top: 100px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 1;
}

.mce-podcast-hero .mce-ph-fa-header-actions {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	color: #1e3a8a;
	z-index: 5;
	pointer-events: none;
}

.mce-podcast-hero .mce-ph-fa-header-group,
.mce-podcast-hero .mce-ph-fa-icon-btn {
	pointer-events: auto;
	display: flex;
	gap: 15px;
}

.mce-podcast-hero .mce-ph-fa-icon-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: #1e3a8a;
	transition: transform 0.2s ease;
}

.mce-podcast-hero .mce-ph-fa-icon-btn:hover {
	transform: scale(1.1);
}

.mce-podcast-hero .mce-ph-fa-media-box {
	width: 180px;
	height: 180px;
	background: #eee;
	border-radius: 20px;
	margin: -130px auto 20px auto;
	overflow: hidden;
	border: 4px solid #ffffff;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	position: relative;
	z-index: 10;
}

.mce-podcast-hero .mce-ph-fa-bg-video,
.mce-podcast-hero .mce-ph-fa-cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mce-podcast-hero .mce-ph-fa-media-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #dce4ef, #b8c5d8);
}

.mce-podcast-hero .mce-ph-fa-track-info {
	text-align: center;
	margin-bottom: 20px;
	margin-top: 10px;
}

.mce-podcast-hero .mce-ph-fa-title {
	font-size: 18px;
	font-weight: 600;
	color: #1e3a8a;
	margin: 0 0 4px 0;
	line-height: 1.3;
}

.mce-podcast-hero .mce-ph-fa-artist {
	font-size: 13px;
	color: #94a3b8;
	margin: 0;
}

.mce-podcast-hero .mce-ph-fa-progress-container {
	margin-bottom: 20px;
}

.mce-podcast-hero .mce-ph-fa-seek {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	background: transparent;
	height: 24px;
	margin: 0;
}

.mce-podcast-hero .mce-ph-fa-seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	background: #1e3a8a;
	cursor: pointer;
	margin-top: -6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mce-podcast-hero .mce-ph-fa-seek::-webkit-slider-runnable-track {
	width: 100%;
	height: 4px;
	cursor: pointer;
	background: #e2e8f0;
	border-radius: 2px;
}

.mce-podcast-hero .mce-ph-fa-seek::-moz-range-thumb {
	height: 16px;
	width: 16px;
	border: none;
	border-radius: 50%;
	background: #1e3a8a;
	cursor: pointer;
}

.mce-podcast-hero .mce-ph-fa-seek::-moz-range-track {
	width: 100%;
	height: 4px;
	background: #e2e8f0;
	border-radius: 2px;
}

.mce-podcast-hero .mce-ph-fa-seek:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.mce-podcast-hero .mce-ph-fa-time-display {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #1e3a8a;
	margin-top: 8px;
	font-weight: 500;
}

.mce-podcast-hero .mce-ph-fa-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
	margin-bottom: 10px;
}

.mce-podcast-hero .mce-ph-fa-ctrl-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: #1e3a8a;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
}

.mce-podcast-hero .mce-ph-fa-ctrl-btn:hover:not(:disabled) {
	opacity: 0.7;
}

.mce-podcast-hero .mce-ph-fa-ctrl-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.mce-podcast-hero .mce-ph-fa-play-btn {
	width: 56px;
	height: 56px;
	background-color: #1e3a8a;
	border-radius: 50%;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
	transition: transform 0.2s, background-color 0.2s;
}

.mce-podcast-hero .mce-ph-fa-play-btn:hover:not(:disabled) {
	background-color: #172554;
	transform: scale(1.05);
	opacity: 1;
}

.mce-podcast-hero .mce-ph-fa-audio-source {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mce-podcast-hero .mce-ph-fa-like.is-active svg {
	fill: #bf2428;
	stroke: #bf2428;
}

.mce-ph-media-placeholder {
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
}

@media (max-width: 1024px) {
	.mce-podcast-hero {
		row-gap: 1.5rem;
		padding: 1.5rem;
	}

	.mce-ph-main-row {
		gap: 1.5rem;
	}
	.mce-ph-media-embed,
	.mce-ph-media-embed iframe,
	.mce-ph-media-image,
	.mce-ph-embed-stage {
		min-height: 300px;
	}
}

/* Stack left above right on small screens */
@media (max-width: 767px) {
	/* Undo desktop row-forcing rule on mobile. */
	.e-con:has(.tab-calendar):has(.hs-iframe) {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 1rem;
	}

	.mce-team-scheduler {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 1rem;
	}

	.mce-ts-left {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin-left: 0 !important;
		transform: none !important;
	}

	.mce-ts-right {
		width: 100%;
		margin: 0 !important;
	}

	.mce-ts-calendars-wrap {
		min-height: 620px;
	}

	.mce-team-scheduler .hs-iframe .meetings-iframe-container,
	.mce-team-scheduler .hs-iframe iframe {
		min-height: 620px;
	}

	.mce-podcast-hero {
		row-gap: 1rem;
		padding: 1rem;
	}

	/* Hero headline: fixed mobile size + tight leading for readability */
	.mce-podcast-hero .mce-ph-title {
		font-size: 38px;
		line-height: 1.2em;
	}

	/* Title stays first (outside row); media directly under title, copy + CTAs below.
	   !important beats Elementor "Swap" (row-reverse) on small screens. */
	.mce-podcast-hero .mce-ph-main-row {
		flex-direction: column-reverse !important;
		align-items: stretch;
		gap: 1rem;
	}

	.mce-ph-content,
	.mce-ph-media-col {
		width: 100%;
		min-width: 0;
		flex-basis: 100%;
	}

	.mce-ph-media-embed,
	.mce-ph-media-embed iframe,
	.mce-ph-media-image,
	.mce-ph-embed-stage {
		min-height: 240px;
	}

	.mce-podcast-hero .mce-ph-fa-card {
		margin-top: 72px;
		padding: 18px;
	}

	.mce-podcast-hero .mce-ph-fa-media-box {
		width: 140px;
		height: 140px;
		margin: -100px auto 16px auto;
	}

	.mce-podcast-hero .mce-ph-fa-player {
		padding-top: 1.5rem;
	}
}
