/* Scrollytelling embeds — front-end styles. Prefixed to avoid theme clashes. */

.scrollytelling-embed--inline {
	position: relative;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #0a0a0a;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.scrollytelling-embed__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.scrollytelling-embed__fs {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: rgba(10, 10, 10, 0.55);
	color: #fff;
	cursor: pointer;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background 0.15s ease;
}
.scrollytelling-embed__fs:hover,
.scrollytelling-embed__fs:focus-visible {
	background: rgba(10, 10, 10, 0.85);
}
.scrollytelling-embed--inline:fullscreen .scrollytelling-embed__frame {
	height: 100vh;
}

/* Launch card */
.scrollytelling-embed--card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #0a0a0a;
	color: #fff;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	max-width: 720px;
}
.scrollytelling-embed--card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.scrollytelling-embed__poster {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
	background-color: #161616;
}
.scrollytelling-embed__poster--blank {
	background-image: linear-gradient(135deg, #1a2456 0%, #00d4ff 100%);
}
.scrollytelling-embed__body {
	display: block;
	padding: 16px 18px 18px;
}
.scrollytelling-embed__eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9ca3af;
}
.scrollytelling-embed__title {
	display: block;
	margin-top: 4px;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}
.scrollytelling-embed__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
}
.scrollytelling-embed--card:hover .scrollytelling-embed__cta {
	text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
	.scrollytelling-embed--card { transition: none; }
}
