.bbl-conference {
	--bbl-conf-bg: var(--bbl-color-basalt-600);
	--bbl-conf-stage: var(--bbl-color-primary);
	--bbl-conf-ink: var(--bbl-color-chalk-0);
	--bbl-conf-muted: var(--bbl-color-tertiary);
	--bbl-conf-accent: var(--bbl-color-highlight);
	--bbl-conf-accent-ink: var(--bbl-color-on-highlight);
	--bbl-conf-panel: var(--bbl-color-primary);
	--bbl-conf-border: color-mix(in srgb, var(--bbl-color-chalk-0) 14%, transparent);
	--bbl-conf-radius: var(--bbl-radius-m);
	--bbl-conf-gap: var(--bbl-space-s);
	--bbl-conf-font: var(--bbl-font);
	--bbl-conf-display: var(--bbl-font);
	--bbl-conf-move: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	--bbl-conf-chrome: 2.75rem;

	box-sizing: border-box;
	color: var(--bbl-conf-ink);
	font-family: var(--bbl-conf-font);
	width: 100%;
	margin: 0;
	padding: 0;
}

body.bbl-has-conference #main-header,
body.bbl-has-conference #top-header,
body.bbl-has-conference .et-l--header,
body.bbl-has-conference header.et-l,
body.bbl-has-conference .et_pb_section.et_pb_fullwidth_menu,
body.bbl-has-conference .et_pb_fullwidth_menu,
body.bbl-has-conference #main-footer,
body.bbl-has-conference #footer-bottom,
body.bbl-has-conference #footer-widgets,
body.bbl-has-conference #et-footer-nav,
body.bbl-has-conference .et-l--footer,
body.bbl-has-conference footer.et-l,
body.bbl-has-conference footer#main-footer {
	display: none !important;
}

body.bbl-has-conference.et_fixed_nav #page-container,
body.bbl-has-conference.et_non_fixed_nav #page-container,
body.bbl-has-conference #page-container,
body.bbl-has-conference #et-main-area {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.bbl-has-conference #main-content {
	padding-top: 0 !important;
}

.bbl-conference *,
.bbl-conference *::before,
.bbl-conference *::after {
	box-sizing: border-box;
}

.bbl-conference--fit {
	height: calc(100dvh - var(--bbl-conf-chrome));
	max-height: calc(100dvh - var(--bbl-conf-chrome));
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: var(--bbl-conf-bg);
}

body.admin-bar .bbl-conference--fit {
	--bbl-conf-chrome: 4.75rem;
}

.bbl-mediathek--conference {
	padding: 0.35rem clamp(0.5rem, 1.5vw, 1rem) 0.5rem !important;
	min-height: 0 !important;
}

.bbl-mediathek--conference .bbl-mediathek__back {
	margin: 0 0 0.35rem;
	font-size: 0.9rem;
}

.bbl-conference__test-banner {
	flex: 0 0 auto;
	margin: 0 0 var(--bbl-space-s);
	padding: 0.3rem 0.55rem;
	font-size: var(--bbl-type-caption);
	font-weight: 600;
	color: var(--bbl-conf-accent-ink);
	background: var(--bbl-conf-accent);
	border-radius: var(--bbl-radius-pill);
}

.bbl-conference__stage {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	background: var(--bbl-conf-stage);
	border: 1px solid var(--bbl-conf-border);
	border-radius: var(--bbl-conf-radius);
	overflow: hidden;
	padding: var(--bbl-conf-gap);
}

/*
 * First paint = CSS Grid (no JS needed). JS switches to absolute only
 * after the grid has a stable size, so reloads do not jump.
 */
.bbl-conference__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: minmax(0, 1fr) auto;
	gap: var(--bbl-conf-gap);
	width: 100%;
	height: 100%;
	min-height: 0;
	align-content: stretch;
}

.bbl-conference__video {
	position: relative;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	background: #000;
	border-radius: var(--bbl-conf-radius);
	outline: 1px solid transparent;
	overflow: hidden;
	opacity: 0.95;
	cursor: pointer;
	z-index: 1;
}

.bbl-conference.is-js-layout .bbl-conference__grid {
	display: block;
}

.bbl-conference.is-js-layout .bbl-conference__video.is-active,
.bbl-conference.is-js-layout .bbl-conference__video:not(.is-active) {
	grid-column: auto;
	grid-row: auto;
	aspect-ratio: auto;
	align-self: auto;
	height: auto;
}

.bbl-conference.is-js-layout .bbl-conference__video,
.bbl-conference.is-js-layout .bbl-conference__sidebar,
.bbl-conference.is-js-layout .bbl-conference__ad {
	position: absolute;
}

.bbl-conference.is-js-layout.is-ready-to-move .bbl-conference__video,
.bbl-conference.is-js-layout.is-ready-to-move .bbl-conference__sidebar,
.bbl-conference.is-js-layout.is-ready-to-move .bbl-conference__ad {
	transition:
		top var(--bbl-conf-move),
		left var(--bbl-conf-move),
		width var(--bbl-conf-move),
		height var(--bbl-conf-move),
		outline-color 0.2s ease,
		opacity 0.2s ease;
}

.bbl-conference__video.is-active {
	grid-column: 1 / span 3;
	grid-row: 1;
	width: auto;
	max-width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	justify-self: start;
	z-index: 2;
	opacity: 1;
	cursor: default;
	outline-color: color-mix(in srgb, var(--bbl-conf-accent) 45%, transparent);
}

.bbl-conference__video:not(.is-active) {
	grid-row: 2;
	aspect-ratio: 16 / 9;
	width: 100%;
	align-self: start;
}

.bbl-conference__video:not(.is-active):hover {
	opacity: 1;
	outline-color: rgba(255, 255, 255, 0.28);
	z-index: 3;
}

.bbl-conference__video.is-moving {
	z-index: 5;
}

/* Stable inner viewport – player is sized in JS (cover or contain) */
.bbl-conference__viewport {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #000;
}

.bbl-conference__player {
	/* YT replaces this node with iframe */
	display: block;
	width: 100%;
	height: 100%;
}

.bbl-conference__viewport iframe {
	position: absolute !important;
	border: 0 !important;
	max-width: none !important;
	max-height: none !important;
	/* left/top/width/height set in JS (cover-fill) */
}

.bbl-conference__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	pointer-events: auto;
}

.bbl-conference__video.is-active .bbl-conference__overlay {
	cursor: default;
}

.bbl-conference__badge {
	position: absolute;
	top: 0.45rem;
	right: 0.45rem;
	left: auto;
	bottom: auto;
	z-index: 3;
	font-family: var(--bbl-conf-display);
	font-weight: var(--bbl-weight-semibold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
	padding: 0.35em 0.55em;
	border-radius: var(--bbl-radius-pill);
	pointer-events: none;
	color: var(--bbl-conf-accent-ink);
	background: var(--bbl-conf-accent);
	font-size: clamp(0.7rem, 1.2vw, 0.95rem);
}

.bbl-conference__video.is-active .bbl-conference__badge {
	top: 0.55rem;
	right: 0.55rem;
	font-size: clamp(0.75rem, 1.3vw, 1rem);
}

.bbl-conference__sidebar {
	grid-column: 4;
	grid-row: 1;
	min-width: 0;
	min-height: 0;
	height: 100%;
	z-index: 4;
}

.bbl-conference__ad {
	display: none;
	position: relative;
	overflow: hidden;
	border-radius: var(--bbl-conf-radius);
	background: #0b1014;
	border: 1px solid var(--bbl-conf-border);
	z-index: 3;
}

.bbl-conference.is-js-layout .bbl-conference__ad.is-visible {
	display: block;
}

.bbl-conference__ad img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	opacity: 0;
	transition: opacity 0.7s ease;
}

.bbl-conference__ad img.is-active {
	opacity: 1;
	z-index: 1;
}

.bbl-conference__ad-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0.75rem;
	text-align: center;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bbl-conf-muted);
}

.bbl-conference__sidebar-inner {
	height: 100%;
	overflow: visible;
	padding: 0.75rem 0.85rem;
	background: var(--bbl-conf-panel);
	border: 1px solid var(--bbl-conf-border);
	border-radius: var(--bbl-conf-radius);
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.bbl-conference__eyebrow {
	margin: 0;
	font-size: var(--bbl-type-caption);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bbl-conf-accent);
}

.bbl-conference__event-title {
	margin: 0;
	font-family: var(--bbl-conf-display);
	font-size: var(--bbl-type-subhead);
	font-weight: 600;
	letter-spacing: 0;
	line-height: var(--bbl-lh-subhead);
	text-transform: none;
}

.bbl-conference__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

.bbl-conference__meta li {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.86rem;
	line-height: 1.25;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding-bottom: 0.3rem;
}

.bbl-conference__meta span {
	color: var(--bbl-conf-muted);
}

.bbl-conference__meta strong {
	font-weight: 600;
	text-align: right;
}

.bbl-conference__venue-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem;
	background: rgba(255, 255, 255, 0.04);
	border-radius: var(--bbl-conf-radius);
}

.bbl-conference__venue-logo img {
	display: block;
	max-width: 100%;
	max-height: 4.5rem;
	width: auto;
	height: auto;
	object-fit: contain;
}

.bbl-conference__sidebar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.bbl-conference__settings {
	position: relative;
	flex: 0 0 auto;
}

.bbl-conference .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.22);
	color: var(--bbl-color-chalk-0);
	cursor: pointer;
}

.bbl-conference__settings-btn:hover,
.bbl-conference__settings-btn[aria-expanded="true"] {
	border-color: color-mix(in srgb, var(--bbl-conf-accent) 55%, transparent);
	color: var(--bbl-conf-accent);
}

.bbl-conference__settings-menu {
	position: absolute;
	top: calc(100% + 0.4rem);
	right: 0;
	z-index: 8;
	min-width: 13.5rem;
	padding: 0.7rem 0.75rem;
	border: 1px solid var(--bbl-conf-border);
	border-radius: var(--bbl-conf-radius);
	background: var(--bbl-conf-panel);
	box-shadow: 0 12px 28px rgba(1, 21, 36, 0.45);
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.bbl-conference__settings-menu[hidden] {
	display: none;
}

.bbl-conference__toggle {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	cursor: pointer;
	color: var(--bbl-color-chalk-0);
	font-size: 0.84rem;
	line-height: 1.3;
}

.bbl-conference__test-form {
	margin: 0;
}

.bbl-conference__toggle.is-disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.bbl-conference__toggle input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.bbl-conference__toggle-ui {
	flex: 0 0 auto;
	width: 2.1rem;
	height: 1.2rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	position: relative;
	transition: background 0.16s ease;
}

.bbl-conference__toggle-ui::after {
	content: "";
	position: absolute;
	top: 0.14rem;
	left: 0.14rem;
	width: 0.92rem;
	height: 0.92rem;
	border-radius: 50%;
	background: var(--bbl-color-chalk-0);
	transition: transform 0.16s ease;
}

.bbl-conference__toggle input:checked + .bbl-conference__toggle-ui {
	background: var(--bbl-conf-accent);
}

.bbl-conference__toggle input:checked + .bbl-conference__toggle-ui::after {
	transform: translateX(0.9rem);
}

.bbl-conference__toggle input:focus-visible + .bbl-conference__toggle-ui {
	outline: 2px solid var(--bbl-conf-accent);
	outline-offset: 2px;
}

.bbl-conference.has-yt-controls .bbl-conference__video.is-active .bbl-conference__overlay {
	pointer-events: none;
}

.bbl-conference.has-hidden-labels .bbl-conference__badge {
	display: none;
}

.bbl-conference__sidebar-slot {
	margin-top: auto;
	padding: 0.65rem 0.7rem;
	border: 1px dashed rgba(255, 255, 255, 0.16);
	border-radius: var(--bbl-conf-radius);
	background: rgba(0, 0, 0, 0.18);
}

.bbl-conference__slot-label {
	margin: 0 0 0.25rem;
	font-size: 0.72rem;
	font-weight: var(--bbl-weight-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bbl-conf-muted);
}

.bbl-conference__slot-note {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--bbl-conf-muted);
}

.bbl-conference__hint {
	margin: 0;
	color: var(--bbl-conf-muted);
	font-size: 0.8rem;
}

.bbl-conference__start {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 10, 12, 0.84);
	backdrop-filter: blur(2px);
	border-radius: var(--bbl-conf-radius);
}

.bbl-conference__start.is-hidden {
	display: none;
}

.bbl-conference__start-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	font-family: var(--bbl-conf-display);
	font-size: var(--bbl-type-hero);
	font-weight: var(--bbl-weight-semibold);
	letter-spacing: 0.12em;
	line-height: 1;
	padding: 0.55em 1.1em;
	color: var(--bbl-conf-accent-ink);
	background: var(--bbl-conf-accent);
	border-radius: var(--bbl-radius-m);
	box-shadow: 0 12px 40px rgba(1, 21, 36, 0.45);
}

.bbl-conference-empty {
	margin: 1rem 0;
	padding: 1rem 1.15rem;
	background: var(--bbl-color-bg-chalk);
	border-left: 3px solid var(--bbl-color-primary);
	color: var(--bbl-color-text-primary);
	font-family: var(--bbl-font);
}

.bbl-conference__phone {
	display: none;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	gap: 0.65rem;
}

.bbl-conference__phone-stage {
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
	container-type: size;
	display: grid;
	place-items: center;
}

.bbl-conference__phone-frame {
	position: relative;
	width: min(100cqw, calc(100cqh * 16 / 9));
	height: min(100cqh, calc(100cqw * 9 / 16));
	background: #000;
	border-radius: var(--bbl-conf-radius);
	overflow: hidden;
}

.bbl-conference__phone-nav {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 0;
}

.bbl-conference__phone-arrow {
	appearance: none;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.28);
	color: var(--bbl-color-chalk-0);
	cursor: pointer;
}

.bbl-conference__phone-chips {
	flex: 1 1 auto;
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.bbl-conference__phone-chips::-webkit-scrollbar {
	display: none;
}

.bbl-conference__phone-chip {
	appearance: none;
	flex: 0 0 auto;
	margin: 0;
	padding: 0.45rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--bbl-radius-pill);
	background: rgba(0, 0, 0, 0.28);
	color: var(--bbl-color-chalk-0);
	font-family: var(--bbl-conf-display);
	font-size: 0.78rem;
	font-weight: var(--bbl-weight-semibold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.bbl-conference.is-compact .bbl-conference__grid {
	display: block !important;
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: transparent;
	z-index: 12;
}

.bbl-conference.is-compact .bbl-conference__video,
.bbl-conference.is-compact .bbl-conference__ad {
	display: none !important;
}

.bbl-conference.is-compact .bbl-conference__phone {
	display: flex;
	position: relative;
	z-index: 1;
	height: 100%;
}

.bbl-conference.is-desktop .bbl-conference__phone {
	display: none !important;
}

.bbl-conference.is-compact .bbl-conference__sidebar {
	position: absolute;
	top: 0.45rem;
	right: 0.45rem;
	width: auto;
	height: auto;
	z-index: 12;
	background: transparent;
	border: 0;
	pointer-events: auto;
}

.bbl-conference.is-compact .bbl-conference__sidebar-inner {
	padding: 0;
	background: transparent;
	border: 0;
	height: auto;
	overflow: visible;
	gap: 0;
}

.bbl-conference.is-compact .bbl-conference__sidebar-inner > *:not(.bbl-conference__sidebar-head) {
	display: none;
}

.bbl-conference.is-compact .bbl-conference__eyebrow {
	display: none;
}

.bbl-conference.is-compact.is-landscape .bbl-conference__phone {
	flex-direction: row;
	align-items: stretch;
}

.bbl-conference.is-compact.is-landscape .bbl-conference__phone-nav {
	flex-direction: column;
	width: 6.75rem;
	flex: 0 0 6.75rem;
}

.bbl-conference.is-compact.is-landscape .bbl-conference__phone-chips {
	flex-direction: column;
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
}

.bbl-conference.is-compact.is-landscape .bbl-conference__phone-chip {
	width: 100%;
	text-align: center;
}

@media (max-width: 767px), (max-height: 520px) {
	.bbl-conference:not(.is-desktop) .bbl-conference__grid {
		display: block !important;
		position: absolute;
		inset: 0;
		pointer-events: none;
		background: transparent;
		z-index: 12;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__video,
	.bbl-conference:not(.is-desktop) .bbl-conference__ad {
		display: none !important;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__phone {
		display: flex;
		position: relative;
		z-index: 1;
		height: 100%;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__sidebar {
		position: absolute;
		top: 0.45rem;
		right: 0.45rem;
		width: auto;
		height: auto;
		z-index: 12;
		background: transparent;
		border: 0;
		pointer-events: auto;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__sidebar-inner {
		padding: 0;
		background: transparent;
		border: 0;
		height: auto;
		overflow: visible;
		gap: 0;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__sidebar-inner > *:not(.bbl-conference__sidebar-head) {
		display: none;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__eyebrow {
		display: none;
	}
}

@media (orientation: landscape) and (max-height: 520px) {
	.bbl-conference:not(.is-desktop) .bbl-conference__phone {
		flex-direction: row;
		align-items: stretch;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__phone-nav {
		flex-direction: column;
		width: 6.75rem;
		flex: 0 0 6.75rem;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__phone-chips {
		flex-direction: column;
		overflow-x: hidden;
		overflow-y: auto;
		width: 100%;
	}

	.bbl-conference:not(.is-desktop) .bbl-conference__phone-chip {
		width: 100%;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bbl-conference {
		--bbl-conf-move: 0.01ms;
	}

	.bbl-conference__ad img {
		transition: none;
	}
}
