.riot-social-embed {
	box-sizing: border-box;
	width: 100%;
	max-width: 700px;
	margin: 1.5em auto;
}

.riot-social-embed *,
.riot-social-embed *::before,
.riot-social-embed *::after {
	box-sizing: border-box;
}

.riot-social-x {
	max-width: 550px;
}

.riot-social-truth iframe {
	display: block;
	width: 100%;
	max-width: 600px;
	min-height: 300px;
	margin: 0 auto;
	border: 0;
}

.riot-social-ratio {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
	border-radius: 10px;
	background: #111;
}

.riot-social-ratio iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.riot-social-card {
	max-width: 580px;
	padding: 18px;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
	color: #1d2327;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.riot-social-author {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 14px;
}

.riot-social-author img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.riot-social-author strong,
.riot-social-author span {
	display: block;
}

.riot-social-author span {
	color: #646970;
	font-size: 12px;
}

.riot-social-copy {
	margin-bottom: 14px;
	line-height: 1.55;
}

.riot-social-card-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 14px;
	border-radius: 8px;
}

.riot-social-card h3 {
	margin: 10px 0 6px;
	color: inherit;
	font-size: 18px;
}

.riot-social-card p {
	color: #50575e;
}

.riot-social-source {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
}

.riot-social-consent,
.riot-social-fallback {
	max-width: 600px;
	padding: 28px 22px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #f6f7f7;
	text-align: center;
}

.riot-social-consent p,
.riot-social-fallback p {
	margin: 0 0 14px;
	color: #50575e;
}

.riot-social-load {
	display: inline-block;
	min-height: 40px;
	padding: 8px 16px;
	border: 0;
	border-radius: 5px;
	background: #2271b1;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.riot-social-load:hover,
.riot-social-load:focus {
	background: #135e96;
}

.riot-social-load:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.riot-social-consent .riot-social-source {
	display: block;
}

@media (prefers-color-scheme: dark) {
	.riot-social-card,
	.riot-social-consent,
	.riot-social-fallback {
		border-color: #3c434a;
		background: #1d2327;
		color: #f0f0f1;
	}

	.riot-social-card p,
	.riot-social-consent p,
	.riot-social-fallback p,
	.riot-social-author span {
		color: #c3c4c7;
	}
}

@media screen and (max-width: 600px) {
	.riot-social-embed {
		margin: 1em auto;
	}

	.riot-social-card {
		padding: 14px;
	}
}
