.some-embdr {
	max-width: 640px;
	margin: 1.5rem auto;
}

.some-embdr--align-left {
	margin-left: 0;
	margin-right: auto;
}

.some-embdr--align-right {
	margin-left: auto;
	margin-right: 0;
}

.some-embdr--align-center {
	margin-left: auto;
	margin-right: auto;
}

/* Responsive 16:9 wrapper for iframe embeds (YouTube etc.). */
.some-embdr__aspect {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.some-embdr__aspect iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Facebook and similar embeds size themselves; let them flow. */
.some-embdr__aspect--auto {
	padding-top: 0;
}

.some-embdr__aspect--auto iframe {
	position: static;
	min-height: 480px;
}

.some-embdr--error {
	padding: 0.75rem 1rem;
	border: 1px dashed #d63638;
	border-radius: 4px;
	color: #d63638;
	background: #fcf0f1;
	font-size: 0.875rem;
}

/* Optional caption below an embed. */
.some-embdr__caption {
	margin-top: 0.5rem;
	color: #50575e;
	font-size: 0.875rem;
	line-height: 1.5;
	text-align: center;
}

/* Click-to-load (GDPR) consent placeholder. */
.some-embdr__consent {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 2rem 1.25rem;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #f6f7f7;
	text-align: center;
}

.some-embdr__consent-text {
	margin: 0;
	max-width: 42ch;
	color: #3c434a;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.some-embdr__consent-button {
	display: inline-block;
	padding: 0.5rem 1.25rem;
	border: 0;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.some-embdr__consent-button:hover,
.some-embdr__consent-button:focus {
	background: #135e96;
}

.some-embdr__consent-button:focus-visible {
	outline: 2px solid #135e96;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.some-embdr__consent-button {
		transition: none;
	}
}
