/* EDC Performance: fachada do YouTube. Cores ajustáveis por site com as variáveis --edc-yt-*. */
.edc-yt {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 1.5rem;
	box-sizing: border-box;
	background: var(--edc-yt-fundo, #1a1a1a);
	color: var(--edc-yt-texto, #fff);
	text-align: center;
}
.edc-yt__titulo {
	margin: 0;
	max-width: 40ch;
	font-weight: 600;
}
.edc-yt__botao {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.75rem 1.25rem;
	border: 0;
	background: var(--edc-yt-botao, #fff);
	color: var(--edc-yt-botao-texto, #1a1a1a);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.edc-yt__botao:focus-visible {
	outline: 3px solid var(--edc-yt-foco, currentColor);
	outline-offset: 3px;
}
.edc-yt__nota {
	margin: 0;
	max-width: 50ch;
	font-size: 0.875rem;
}
.edc-yt__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.edc-yt--ativo {
	padding: 0;
}
.edc-yt iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
