/* Episode Filter Grid — scoped to .efg-28380 */

.efg-28380 {
	position: relative;
	width: 100%;
	background-color: var(--tw-color-white, #FFFFFF);
	box-sizing: border-box;
	font-family: var(--tw-font-family, "azo-sans-web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	color: #1F2428;
	padding: 60px 20px 80px;
}

.efg-28380 *,
.efg-28380 *::before,
.efg-28380 *::after {
	box-sizing: border-box;
}

.efg-28380 .efg-28380__container {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.efg-28380 .efg-28380__layout {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

/* -------------------------------------------------- Sidebar */

.efg-28380 .efg-28380__sidebar {
	width: 220px;
	flex-shrink: 0;
}

.efg-28380 .efg-28380__sidebar-title {
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #0B1E2D;
	margin: 0 0 18px;
	padding: 0;
}

.efg-28380 .efg-28380__filter-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.efg-28380 .efg-28380__filter-item {
	margin: 0;
	padding: 0;
}

.efg-28380 .efg-28380__filter-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	color: #334155;
	user-select: none;
}

.efg-28380 .efg-28380__filter-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	pointer-events: none;
}

.efg-28380 .efg-28380__custom-box {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 1.5px solid #00A3E0;
	border-radius: 2px;
	background-color: var(--tw-color-white, #FFFFFF);
	position: relative;
	flex-shrink: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.efg-28380 .efg-28380__filter-checkbox:checked + .efg-28380__custom-box {
	background-color: #00A3E0;
}

.efg-28380 .efg-28380__filter-checkbox:checked + .efg-28380__custom-box::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid var(--tw-color-white, #FFFFFF);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.efg-28380 .efg-28380__filter-text {
	line-height: 1.3;
}

/* -------------------------------------------------- Main Grid */

.efg-28380 .efg-28380__main {
	flex: 1 1 0%;
	min-width: 0;
}

.efg-28380 .efg-28380__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 32px;
}

.efg-28380 .efg-28380__card {
	display: flex;
	flex-direction: column;
	background: var(--tw-color-white, #FFFFFF);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.efg-28380 .efg-28380__card.is-hidden {
	display: none !important;
}

/* -------------------------------------------------- Media / Player */

.efg-28380 .efg-28380__media {
	width: 100%;
	position: relative;
	background-color: #0B1E2D;
	overflow: hidden;
}

.efg-28380 .efg-28380__embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.efg-28380 .efg-28380__poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.efg-28380 .efg-28380__facade {
	all: unset;
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.efg-28380 .efg-28380__play-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	background-color: rgba(11, 30, 45, 0.85);
	border: 2px solid var(--tw-color-white, #FFFFFF);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tw-color-white, #FFFFFF);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.efg-28380 .efg-28380__facade:hover .efg-28380__play-badge {
	transform: translate(-50%, -50%) scale(1.1);
	background-color: #00A3E0;
	border-color: #00A3E0;
}

.efg-28380 .efg-28380__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* -------------------------------------------------- Body & Typography */

.efg-28380 .efg-28380__body {
	display: flex;
	flex-direction: column;
	padding-top: 16px;
	flex: 1 1 auto;
}

.efg-28380 .efg-28380__date {
	font-size: 13px;
	font-style: italic;
	color: #64748B;
	margin-bottom: 6px;
}

.efg-28380 .efg-28380__title {
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #0B1E2D;
	margin: 0 0 8px;
}

.efg-28380 .efg-28380__speaker {
	font-size: 13.5px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 8px;
	line-height: 1.4;
}

.efg-28380 .efg-28380__desc {
	font-size: 13.5px;
	line-height: 1.55;
	color: #4A5568;
	margin: 0 0 16px;
}

.efg-28380 .efg-28380__footer {
	margin-top: auto;
}

.efg-28380 .efg-28380__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #00A3E0;
	background-color: transparent;
	border: 1.5px solid #00A3E0;
	border-radius: 2px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
}

.efg-28380 .efg-28380__button:hover {
	background-color: #00A3E0;
	color: var(--tw-color-white, #FFFFFF);
}

.efg-28380 .efg-28380__empty {
	padding: 40px 0;
	text-align: center;
	color: #64748B;
	font-size: 15px;
}

.efg-28380 .efg-28380__empty.is-hidden {
	display: none;
}

/* Notice shown instead of the filters + grid when no episode is published */

.efg-28380.efg-28380--notice {
	padding: 64px 20px;
}

.efg-28380 .efg-28380__notice {
	margin: 0;
	text-align: center;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 400;
	line-height: 1.4;
	color: #475569;
}

/* -------------------------------------------------- Responsive */

@media (max-width: 960px) {
	.efg-28380 .efg-28380__layout {
		flex-direction: column;
		gap: 32px;
	}

	.efg-28380 .efg-28380__sidebar {
		width: 100%;
	}

	.efg-28380 .efg-28380__filter-list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.efg-28380 {
		padding: 40px 16px 60px;
	}

	.efg-28380 .efg-28380__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
