/**
 * Scroll Story Video Section — widget styles.
 *
 * Every rule is scoped under `.ssvs` (the widget root) so nothing leaks to
 * the rest of the site. These base rules reproduce the original HTML/CSS
 * design 1:1; every value can be overridden from the Elementor panel
 * (panel selectors are prefixed with the widget wrapper, so they always win).
 *
 * Layout mode (pinned scroll-scrub vs. normal stacked flow) is driven by CSS
 * custom properties that the "Layout mode" control writes per device on the
 * widget wrapper. Fallbacks below = pinned (desktop) behaviour.
 */

.ssvs {
	position: relative;
	background-color: #e9e9e0;
	color: #242424;
}

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

/* ---------- Scroll-driven pinned section ---------- */
.ssvs .ssvs-scroll {
	position: relative;
	height: var(--ssvs-wrap-h, 500vh);
}

.ssvs .ssvs-viewport {
	position: var(--ssvs-vp-pos, sticky);
	top: var(--ssvs-top, 0px);
	height: var(--ssvs-vp-h, 100vh);
	overflow: var(--ssvs-vp-ov, visible clip);
	display: var(--ssvs-vp-display, grid);
	/* one cell exactly the size of the screen: a tall card can never push
	   the intro text off-screen (it is always centred in the visible area) */
	grid-template-rows: minmax(0, 1fr);
	grid-template-columns: minmax(0, 1fr);
	flex-direction: column;
	gap: var(--ssvs-stack-gap, 56px);
	padding: var(--ssvs-vp-pad, 0px);
}

/* every stage sits stacked in the same grid cell (pinned mode) */
.ssvs .ssvs-stage {
	grid-area: var(--ssvs-stage-area, 1 / 1);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	width: 100%;
	min-width: 0;
	height: var(--ssvs-stage-h, 100%);
}

/* ---------- Heading stage ---------- */
.ssvs .ssvs-heading-stage {
	flex-direction: column;
	gap: 10px;
	text-align: center;
	pointer-events: none;
}

.ssvs .ssvs-heading-stage {
	position: relative;
}

/* Full-width intro: the heading stage breaks out of the container to the
   browser edges (JS measures the exact offsets); lines are clipped at the
   screen edge so there is never a horizontal scrollbar. Cards stay boxed. */
.ssvs.ssvs--bleed .ssvs-heading-stage {
	width: auto;
	margin-left: var(--ssvs-bleed-l, 0px);
	margin-right: var(--ssvs-bleed-r, 0px);
	overflow: hidden;
}

.ssvs .ssvs-line {
	margin: 0;
	max-width: 100%;
	color: #242424;
	font-size: clamp(26px, 4.2vw, 44px);
	font-weight: 800;
	line-height: 1.3;
	will-change: transform, opacity;
	transition:
		opacity var(--ssvs-line-dur, 0.9s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		transform var(--ssvs-line-dur, 0.9s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1));
	transition-delay: var(--ssvs-line-delay, 0s);
}

.ssvs .ssvs-line--muted {
	color: #616161;
	font-weight: 700;
}

/* ---------- Cards stage ---------- */
.ssvs .ssvs-cards-stage {
	position: relative;
	flex-direction: column;
	gap: 35px;
	will-change: transform, opacity;
	transition:
		opacity var(--ssvs-card-dur, 1.5s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		transform var(--ssvs-card-dur, 1.5s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1));
	transition-delay: var(--ssvs-card-delay, 0s);
}

.ssvs .ssvs-cards-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	max-width: 900px;
	margin: 0;
	text-align: center;
	color: #242424;
	font-size: clamp(24px, 3.5vw, 42px);
	font-weight: 800;
	line-height: 1.35;
}

.ssvs .ssvs-cards-title__text {
	display: block;
}

.ssvs .ssvs-cards {
	width: 100%;
	max-width: 920px;
	display: flex;
	gap: 24px;
}

.ssvs .ssvs-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 26px;
	min-width: 0;
	padding: 40px;
	border-radius: 40px;
	color: #242424;
	/* --split is scrubbed by JS for "expand" items (0 -> 1); static items = 1 */
	flex: var(--ssvs-card-flex, var(--split, 1) 1 0%);
	transition:
		transform var(--ssvs-card-hover-dur, 0.3s) ease,
		box-shadow var(--ssvs-card-hover-dur, 0.3s) ease,
		background-color var(--ssvs-card-hover-dur, 0.3s) ease,
		border-color var(--ssvs-card-hover-dur, 0.3s) ease,
		opacity var(--ssvs-card-dur, 1.5s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		flex-grow var(--ssvs-card-dur, 1.5s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.ssvs .ssvs-card:hover {
	transform: translateY(var(--ssvs-card-hover-y, 0px)) scale(var(--ssvs-card-hover-scale, 1));
}

.ssvs .ssvs-card--expand {
	overflow: hidden;
	will-change: opacity;
}

.ssvs .ssvs-card > * {
	min-width: 0;
}

/* ---------- Eyebrow ---------- */
.ssvs .ssvs-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ssvs .ssvs-eyebrow__label {
	color: #616161;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ssvs .ssvs-eyebrow__line {
	height: 2px;
	flex: 1;
	background: currentColor;
	opacity: 0.25;
}

/* ---------- Item title ---------- */
.ssvs .ssvs-card__title {
	margin: 0;
	color: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
}

/* ---------- Media ---------- */
.ssvs .ssvs-media {
	position: relative;
	width: 100%;
	/* ratio comes from the widget's "Aspect Ratio" controls (as a variable);
	   !important so theme / old CSS can't collapse or stretch the frame */
	aspect-ratio: var(--ssvs-ratio, 4 / 3) !important;
	border-radius: 24px;
	overflow: hidden;
	background-color: #d8d8cc;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ssvs .ssvs-media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-color: transparent;
	opacity: 1;
	transition: opacity var(--ssvs-media-dur, 0.3s) ease;
}

.ssvs .ssvs-media__el {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: center center;
	transition:
		opacity var(--ssvs-media-dur, 0.3s) ease,
		transform var(--ssvs-media-dur, 0.3s) ease,
		filter var(--ssvs-media-dur, 0.3s) ease;
}

.ssvs .ssvs-card:hover .ssvs-media__el {
	transform: scale(var(--ssvs-media-hover-scale, 1));
}

/* ---------- Caption ---------- */
.ssvs .ssvs-caption {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.ssvs .ssvs-check {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #242424;
	color: #ffffff;
	font-size: 16px;
	line-height: 1;
}

.ssvs .ssvs-check svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.ssvs .ssvs-desc {
	margin: 0;
	color: #242424;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
}

/* ---------- Button (optional, off by default) ---------- */
.ssvs .ssvs-btn-wrap {
	display: flex;
	justify-content: center;
}

.ssvs .ssvs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border-radius: 999px;
	background-color: #242424;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--ssvs-btn-dur, 0.3s) ease,
		color var(--ssvs-btn-dur, 0.3s) ease,
		border-color var(--ssvs-btn-dur, 0.3s) ease,
		box-shadow var(--ssvs-btn-dur, 0.3s) ease,
		transform var(--ssvs-btn-dur, 0.3s) ease;
}

.ssvs .ssvs-btn:hover,
.ssvs .ssvs-btn:focus-visible {
	transform: translateY(var(--ssvs-btn-hover-y, 0px));
}

.ssvs .ssvs-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* ---------- Grid layout (many items) ----------
   Used when "Items Layout" is Grid, or Auto with more items than the
   threshold. Columns come from the "Grid Columns" control (per device). */
.elementor-widget-ssvs-video-story, .elementor-widget-cems-media-section { --ssvs-grid-cols: 3; }
@media (max-width: 1024px) { .elementor-widget-ssvs-video-story, .elementor-widget-cems-media-section { --ssvs-grid-cols: 2; } }
@media (max-width: 767px)  { .elementor-widget-ssvs-video-story, .elementor-widget-cems-media-section { --ssvs-grid-cols: 1; } }

.ssvs .ssvs-cards.ssvs-cards--grid {
	display: grid;
	grid-template-columns: repeat(var(--ssvs-grid-cols, 3), minmax(0, 1fr));
	align-items: stretch;
	max-width: 1140px;
}

.ssvs .ssvs-cards--grid .ssvs-card {
	flex: none;
	padding: 24px;
	gap: 16px;
	border-radius: 28px;
	/* --split is scrubbed 0 -> 1 by JS: each item rises in, one after another */
	translate: 0 calc((1 - var(--split, 1)) * 40px);
	scale: calc(0.94 + 0.06 * var(--split, 1));
	transition:
		transform var(--ssvs-card-hover-dur, 0.3s) ease,
		box-shadow var(--ssvs-card-hover-dur, 0.3s) ease,
		background-color var(--ssvs-card-hover-dur, 0.3s) ease,
		border-color var(--ssvs-card-hover-dur, 0.3s) ease,
		opacity var(--ssvs-card-dur, 1.5s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		translate var(--ssvs-card-dur, 1.5s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		scale var(--ssvs-card-dur, 1.5s) var(--ssvs-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.ssvs .ssvs-cards--grid .ssvs-media {
	--ssvs-ratio: 16 / 9;
}

/* ---------- Layout-mode fallback ----------
   Used only if Elementor's generated CSS for this widget is missing/stale
   (e.g. before "Regenerate CSS"). Elementor's own per-widget rules are more
   specific and always win when present. */
.elementor-widget-ssvs-video-story, .elementor-widget-cems-media-section { --ssvs-mode:pinned; --ssvs-wrap-h:var(--ssvs-scroll-len,500vh); --ssvs-vp-pos:sticky; --ssvs-vp-h:calc(100vh - var(--ssvs-top,0px)); --ssvs-vp-ov:visible clip; --ssvs-vp-display:grid; --ssvs-vp-pad:0px; --ssvs-stage-area:1 / 1; --ssvs-stage-h:100%; --ssvs-card-flex:initial; --ssvs-pre-op:0;  }
@media (max-width: 767px) {
	.elementor-widget-ssvs-video-story, .elementor-widget-cems-media-section { --ssvs-mode:stacked; --ssvs-wrap-h:auto; --ssvs-vp-pos:static; --ssvs-vp-h:auto; --ssvs-vp-ov:visible; --ssvs-vp-display:flex; --ssvs-vp-pad:var(--ssvs-stack-pad,56px 0px); --ssvs-stage-area:auto; --ssvs-stage-h:auto; --ssvs-card-flex:1 1 0%; --ssvs-pre-op:1;  }
}

/* ---------- JS sticky fallback (parent has overflow:hidden) ---------- */
.ssvs.ssvs--js-pin .ssvs-viewport {
	position: relative;
	top: 0;
	will-change: transform;
}

/* ---------- Before JS is ready ----------
   Safe normal-flow layout until the script has started (it adds
   .ssvs--ready). If a cache / "delay JS" / combine plugin stops the script,
   visitors still see the intro text and every video – never a blank area. */
.ssvs:not(.ssvs--ready) {
	--ssvs-wrap-h: auto;
	--ssvs-vp-pos: static;
	--ssvs-vp-h: auto;
	--ssvs-vp-ov: visible;
	--ssvs-vp-display: flex;
	--ssvs-vp-pad: var(--ssvs-stack-pad, 56px 0px);
	--ssvs-stage-area: auto;
	--ssvs-stage-h: auto;
	--ssvs-card-flex: 1 1 0%;
	--ssvs-pre-op: 1;
}

/* ---------- Before JS is ready: avoid a flash of overlapping stages ----------
   Only the cards are hidden. The intro text stays visible, so the section is
   never an empty screen even if the script loads late (e.g. "Delay JS" in a
   cache / speed plugin). */
.ssvs:not(.ssvs--ready) .ssvs-cards-stage {
	opacity: var(--ssvs-pre-op, 0);
}

/* ---------- Editor preview (fixed progress, no 900vh scroll) ---------- */
.ssvs.ssvs--preview {
	--ssvs-wrap-h: auto;
}

/* ---------- Mobile defaults (original < 720px rules, aligned to Elementor's mobile breakpoint) ---------- */
@media (max-width: 767px) {
	.ssvs .ssvs-stage { padding: 0 16px; }
	.ssvs .ssvs-line { font-size: clamp(20px, 6vw, 28px); }
	.ssvs .ssvs-cards-stage { gap: 20px; }
	.ssvs .ssvs-cards-title {
		min-height: 0;
		max-width: 100%;
		padding: 0 4px;
		font-size: clamp(16px, 4.5vw, 20px);
		line-height: 1.35;
	}
	.ssvs .ssvs-cards { flex-direction: column; gap: 24px; max-width: 100%; }
	.ssvs .ssvs-cards--grid .ssvs-card { padding: 18px; border-radius: 22px; gap: 14px; }
	.ssvs .ssvs-card { padding: 18px; border-radius: 22px; gap: 14px; }
	.ssvs .ssvs-media { border-radius: 16px; }
	.ssvs .ssvs-card__title { font-size: 16px; }
	.ssvs .ssvs-caption { gap: 8px; }
	.ssvs .ssvs-desc { font-size: 13.5px; line-height: 1.45; }
}

/* ---------- Reduced motion (when "Respect reduced motion" is on) ---------- */
@media (prefers-reduced-motion: reduce) {
	.ssvs.ssvs--respect-rm {
		--ssvs-mode: stacked;
		--ssvs-wrap-h: auto;
		--ssvs-vp-pos: relative;
		--ssvs-vp-h: auto;
		--ssvs-vp-ov: visible;
		--ssvs-vp-display: flex;
		--ssvs-vp-pad: 80px 24px;
		--ssvs-stack-gap: 48px;
		--ssvs-stage-area: auto;
		--ssvs-stage-h: auto;
		--ssvs-card-flex: 1 1 0%;
		--ssvs-pre-op: 1;
	}

	.ssvs.ssvs--respect-rm .ssvs-line,
	.ssvs.ssvs--respect-rm .ssvs-cards-stage,
	.ssvs.ssvs--respect-rm .ssvs-card,
	.ssvs.ssvs--respect-rm .ssvs-cards--grid .ssvs-card,
	.ssvs.ssvs--respect-rm .ssvs-media__el,
	.ssvs.ssvs--respect-rm .ssvs-btn {
		transition: none;
	}
}

/* ---------- Video: play button (click to play) ----------
   Selectors are deliberately strong (.ssvs .ssvs-media .ssvs-play.ssvs-play)
   and every visual property is set explicitly, so theme / Elementor-kit /
   other-plugin button styles (button:hover, [type=button] …) can't change it. */
.ssvs .ssvs-media--click {
	cursor: pointer;
}

.ssvs .ssvs-media .ssvs-play-layer {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.12);
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.ssvs .ssvs-media .ssvs-play.ssvs-play,
.ssvs .ssvs-media .ssvs-play.ssvs-play:hover,
.ssvs .ssvs-media .ssvs-play.ssvs-play:focus,
.ssvs .ssvs-media .ssvs-play.ssvs-play:active {
	position: absolute;
	top: 50%;
	left: 50%;
	right: auto;
	bottom: auto;
	z-index: 3;
	box-sizing: border-box;
	width: var(--ssvs-play-size, 84px);
	height: var(--ssvs-play-size, 84px);
	min-width: 0;
	min-height: 0;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f4f4f4 55%, #ebebeb 100%);
	color: #1f1f1f;
	font-size: 0;
	line-height: 0;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
	outline: none;
	opacity: 1;
	cursor: pointer;
	/* fixed in place: never moves, scales or shifts */
	transform: translate(-50%, -50%);
	transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

/* thin white ring just outside the button */
.ssvs .ssvs-media .ssvs-play.ssvs-play::before {
	content: "";
	position: absolute;
	inset: -7px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	pointer-events: none;
}

/* large soft ring */
.ssvs .ssvs-media .ssvs-play.ssvs-play::after {
	content: "";
	position: absolute;
	inset: -24px;
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.12);
	pointer-events: none;
}

/* animation: soft rings pulse outward from the (static) button */
.ssvs .ssvs-media .ssvs-play__pulse {
	position: absolute;
	inset: -7px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	animation: ssvs-play-pulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.ssvs .ssvs-media .ssvs-play__pulse + .ssvs-play__pulse {
	animation-delay: 1.2s;
}

@keyframes ssvs-play-pulse {
	0%   { transform: scale(1);    opacity: 0.75; }
	80%  { opacity: 0; }
	100% { transform: scale(1.75); opacity: 0; }
}

.ssvs .ssvs-media .ssvs-play.ssvs-play svg {
	position: relative;
	display: block;
	width: var(--ssvs-play-icon, 30%);
	height: var(--ssvs-play-icon, 30%);
	margin: 0 0 0 7%;
	fill: currentColor;
	pointer-events: none;
}

.ssvs .ssvs-media .ssvs-play.ssvs-play:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 10px;
}

.ssvs .ssvs-media--click.is-playing .ssvs-play.ssvs-play,
.ssvs .ssvs-media--click.is-playing .ssvs-play-layer,
.ssvs .ssvs-media--click.is-playing .ssvs-badge {
	opacity: 0;
	pointer-events: none;
}

.ssvs .ssvs-media--click.is-playing .ssvs-play__pulse {
	animation: none;
}

.ssvs .ssvs-media--click.is-playing {
	cursor: default;
}

/* while playing, don't zoom the video on hover (keeps controls steady) */
.ssvs .ssvs-card:hover .ssvs-media--click.is-playing .ssvs-media__el {
	transform: none;
}

/* ---------- Video badge ("▶ וידאו · 0:10") ---------- */
.ssvs .ssvs-media .ssvs-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	background-color: rgba(30, 30, 30, 0.72);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	direction: ltr;
	white-space: nowrap;
	pointer-events: none;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: opacity 0.25s ease;
}

.ssvs .ssvs-media .ssvs-badge--right {
	left: auto;
	right: 14px;
}

.ssvs .ssvs-media .ssvs-badge svg {
	width: 9px;
	height: 9px;
	fill: currentColor;
	flex: 0 0 auto;
}

.ssvs .ssvs-media .ssvs-badge__dot,
.ssvs .ssvs-media .ssvs-badge__dur {
	display: none;
}

.ssvs .ssvs-media.has-duration .ssvs-badge__dot,
.ssvs .ssvs-media.has-duration .ssvs-badge__dur {
	display: inline;
}

/* ---------- Step-by-step reveal inside each item ----------
   --step (0 -> 1) is scrubbed by JS per item: the video appears first,
   then the item's text. Outside pinned mode --step is unset = 1. */
.ssvs .ssvs-cards--step .ssvs-card .ssvs-media {
	opacity: clamp(0, calc(var(--step, 1) * 1.8), 1);
	transition: opacity 0.35s ease;
}

.ssvs .ssvs-cards--step .ssvs-card .ssvs-eyebrow,
.ssvs .ssvs-cards--step .ssvs-card .ssvs-card__title,
.ssvs .ssvs-cards--step .ssvs-card .ssvs-caption,
.ssvs .ssvs-cards--step .ssvs-card .ssvs-btn-wrap {
	opacity: clamp(0, calc((var(--step, 1) - 0.45) * 2.2), 1);
	translate: 0 calc((1 - clamp(0, calc((var(--step, 1) - 0.45) * 2.2), 1)) * 12px);
	transition: opacity 0.35s ease, translate 0.35s ease;
}

@media (max-width: 767px) {
	.ssvs .ssvs-media .ssvs-play.ssvs-play,
	.ssvs .ssvs-media .ssvs-play.ssvs-play:hover,
	.ssvs .ssvs-media .ssvs-play.ssvs-play:focus,
	.ssvs .ssvs-media .ssvs-play.ssvs-play:active {
		width: var(--ssvs-play-size, 64px);
		height: var(--ssvs-play-size, 64px);
	}
	.ssvs .ssvs-media .ssvs-play.ssvs-play::after { inset: -16px; }
	.ssvs .ssvs-media .ssvs-badge { top: 10px; left: 10px; }
	.ssvs .ssvs-media .ssvs-badge--right { left: auto; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.ssvs .ssvs-media .ssvs-play__pulse { animation-duration: 4s; }
}


/* ---------- Isolation / hardening ----------
   Old sites often carry theme or plugin CSS for video / img / headings
   (height:auto, max-width, position, transitions on everything …).
   These rules keep the widget's layout independent of that. */
.ssvs .ssvs-media {
	position: relative !important;
	overflow: hidden !important;
	min-height: 0;
	max-height: none;
	padding: 0 !important;
}

.ssvs .ssvs-media > .ssvs-media__el,
.ssvs .ssvs-media > video.ssvs-media__el,
.ssvs .ssvs-media > img.ssvs-media__el {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: auto !important;
	bottom: auto !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
	aspect-ratio: auto !important;
	z-index: 0;
}

/* the scroll wrapper and pinned viewport must never animate (a theme's
   "* { transition: all }" would make the pin lag and jump) */
.ssvs .ssvs-scroll,
.ssvs .ssvs-viewport {
	transition: none !important;
	animation: none !important;
	float: none !important;
}

.ssvs .ssvs-line {
	display: block;
	visibility: visible;
	float: none;
	text-indent: 0;
}

/* ---------- Embedded players (YouTube, Vimeo, Dailymotion, VideoPress, oEmbed) ---------- */
.ssvs .ssvs-media > iframe.ssvs-media__el,
.ssvs .ssvs-media > .ssvs-media__frame {
	z-index: 4 !important;
	background: #000000;
	transform: none !important;
}

.ssvs .ssvs-card:hover .ssvs-media > .ssvs-media__frame {
	transform: none !important;
}

/* embed without any thumbnail: neutral dark frame behind the play button */
.ssvs .ssvs-media--nothumb {
	background: linear-gradient(135deg, #3a3a3a 0%, #1c1c1c 100%);
}

/* editor only: an item whose video link is still empty */
.ssvs .ssvs-media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(45deg, #ddddd2, #ddddd2 12px, #e6e6dc 12px, #e6e6dc 24px);
}

.ssvs .ssvs-media--empty .ssvs-media__hint {
	position: relative;
	z-index: 1;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #444444;
	font-size: 13px;
	font-weight: 600;
}
