/* wp-content/plugins/ceca-widgets/widgets/video-panel/video-panel.css */
/* Video Panel (Figma 257:3111): full-bleed 723px media band. Poster + play
   button facade; the video (or third-party embed) only starts on click. */

.ceca-vp {
	--ceca-vp-h: 700px;
	--ceca-vp-play: #1a1a1a;

	position: relative;
	height: var(--ceca-vp-h);
	background: #1a1a1a;
	overflow: hidden;
}

.ceca-vp--full {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

/* Button wrappers (circle or text button): one copy per place it can show —
   the desktop layer, the mobile layer, or outside below the panel, each
   switched on per breakpoint (user, 2026-10-05). Text-button colours, type,
   padding and radius come from the widget's Style tab. */
.ceca-vp-full {
	display: none;
	justify-content: center;
}

.ceca-vp-full--below {
	margin-top: 30px;
}

@media (min-width: 768px) {
	.ceca-vp-full.ceca-vp-full--on-d {
		display: flex;
	}
}

@media (max-width: 767px) {
	.ceca-vp-full.ceca-vp-full--on-m {
		display: flex;
	}
}

.ceca-vp-full .ceca-vp-full__btn,
.ceca-vp-full .ceca-vp-full__btn:hover,
.ceca-vp-full .ceca-vp-full__btn:focus {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 5px 28px;
	border: 0;
	border-radius: 300px;
	background: var(--ceca-vpf-bg, #c65a93);
	color: var(--ceca-vpf-color, #ffffff);
	font-family: inherit;
	font-size: 18px;
	line-height: 30px;
	font-weight: 400;
	cursor: pointer;
	pointer-events: auto;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ceca-vp-full .ceca-vp-full__btn:hover,
.ceca-vp-full .ceca-vp-full__btn:focus-visible {
	background: var(--ceca-vpf-bg-hover, #411024);
	color: var(--ceca-vpf-color-hover, #ffffff);
}

/* Doubled class specificity: Elementor's global ".elementor img
   { height: auto }" outranked the bare class and let the poster render at
   its intrinsic aspect height — below ~1330px viewports the panel showed a
   dark band under the image with the overlay text on it. */
.ceca-vp .ceca-vp__video,
.ceca-vp .ceca-vp__poster,
.ceca-vp .ceca-vp__loop,
.ceca-vp iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	border: 0;
}

.ceca-vp .ceca-vp__play,
.ceca-vp .ceca-vp__play:hover,
.ceca-vp .ceca-vp__play:focus {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ceca-vp-play);
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s ease;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.ceca-vp .ceca-vp__play:hover,
.ceca-vp .ceca-vp__play:focus {
	transform: translate(-50%, -50%) scale(1.06);
}

.ceca-vp__play svg {
	width: 40px;
	height: 40px;
	margin-left: 4px;
}

.ceca-vp.is-playing .ceca-vp__play,
.ceca-vp.is-playing .ceca-vp__loop {
	display: none;
}

/* Image-mode overlay: pure design parity while no video exists — inert. */
.ceca-vp .ceca-vp__play--static {
	pointer-events: none;
	cursor: default;
}

/* --- banner mode (Figma 84:798): text over the media ---------------------- */
/* Bottom-weighted gradient keeps the white copy legible on any footage. On
   the media (not the panel) so text placed below the video isn't shaded. */
@media (min-width: 768px) {
	.ceca-vp--overlay:not(.ceca-vp--dt-below) .ceca-vp__media::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 2;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.45) 100%);
		pointer-events: none;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.ceca-vp.is-playing .ceca-vp__media::after {
		display: none;
	}
}

.ceca-vp__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px 160px 60px 63px;
	pointer-events: none;
}

.ceca-vp .ceca-vp__ov-heading {
	margin: 0;
	max-width: 814px;
	font-size: 70px;
	line-height: 75px;
	font-weight: 700;
	color: #fff;
}

.ceca-vp .ceca-vp__ov-text {
	margin: 20px 0 0;
	max-width: 590px;
	font-size: 20px;
	line-height: 30px;
	color: #fff;
}

/* Banner mode play button: 66px pinned bottom-right (60/60 in the design). */
.ceca-vp--overlay .ceca-vp__play,
.ceca-vp--overlay .ceca-vp__play:hover,
.ceca-vp--overlay .ceca-vp__play:focus {
	top: auto;
	left: auto;
	right: 60px;
	bottom: 60px;
	transform: none;
	width: 66px;
	height: 66px;
	z-index: 2;
}

.ceca-vp--overlay .ceca-vp__play:hover,
.ceca-vp--overlay .ceca-vp__play:focus {
	transform: scale(1.06);
}

/* Arrow 20% bigger within the circle (user, 2026-09-16, Figma 2112:9877). */
.ceca-vp--overlay .ceca-vp__play svg {
	width: 31px;
	height: 31px;
	margin-left: 4px;
}

@media (max-width: 1024px) {
	.ceca-vp__overlay {
		padding: 24px 100px 32px 32px;
	}

	.ceca-vp .ceca-vp__ov-heading {
		font-size: 36px;
		line-height: 48px;
	}
}

@media (max-width: 767px) {
	.ceca-vp__overlay {
		padding: 16px 20px 24px;
	}

	.ceca-vp .ceca-vp__ov-heading {
		font-size: 26px;
		line-height: 34px;
	}

	.ceca-vp .ceca-vp__ov-text {
		font-size: 15px;
		line-height: 22px;
	}

	.ceca-vp--overlay .ceca-vp__play,
	.ceca-vp--overlay .ceca-vp__play:hover,
	.ceca-vp--overlay .ceca-vp__play:focus {
		right: 20px;
		bottom: 20px;
		width: 48px;
		height: 48px;
	}
}

.ceca-vp__empty {
	padding: 24px;
	background: #f7f7f7;
	border: 1px dashed #c4c4c4;
	border-radius: 8px;
	font-size: 14px;
	color: #666;
}

@media (max-width: 1024px) {
	.ceca-vp {
		--ceca-vp-h: 480px;
	}
}

@media (max-width: 767px) {
	.ceca-vp {
		--ceca-vp-h: 300px;
	}

	/* Plain panels are a 2:1 band on phones (Figma 2372:11309: 440×220).
	   The instance height control (700px desktop) applies to every device
	   through an ID-specific rule, hence !important (user, 2026-10-02). */
	.ceca-vp:not(.ceca-vp--overlay) {
		height: auto !important;
		aspect-ratio: 2 / 1;
	}

	.ceca-vp .ceca-vp__play,
	.ceca-vp .ceca-vp__play:hover,
	.ceca-vp .ceca-vp__play:focus {
		width: 64px;
		height: 64px;
	}

	.ceca-vp__play svg {
		width: 28px;
		height: 28px;
	}
}

/* Media wrapper: identical to before on desktop (covers the panel). Size
   container so an embedded preview can be cropped to cover it (cq units). */
.ceca-vp__media {
	position: absolute;
	inset: 0;
	container-type: size;
}

/* Embedded preview: a 16:9 player scaled to COVER the panel (the banner is
   far wider than 16:9, so plain 100%/100% would letterbox), centred and
   cropped. Hidden until the player has painted, over the poster. */
.ceca-vp .ceca-vp__loop--embed {
	inset: auto;
	top: 50%;
	left: 50%;
	width: max(100cqw, 177.78cqh);
	height: max(100cqh, 56.25cqw);
	transform: translate(-50%, -50%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.ceca-vp .ceca-vp__loop--embed.is-ready {
	opacity: 1;
}

/* --- mobile banner mode (Figma 2372:7357): media block, then text ------- */
@media (max-width: 767px) {
	.ceca-vp--overlay {
		height: auto;
		background: transparent;
		overflow: visible;
	}

	.ceca-vp--overlay .ceca-vp__media {
		position: relative;
		inset: auto;
		aspect-ratio: 400 / 205;
		overflow: hidden;
		background: #1a1a1a;
	}

	.ceca-vp--overlay .ceca-vp__overlay {
		position: static;
		padding: 20px 0 0;
		pointer-events: auto;
	}

	.ceca-vp--overlay .ceca-vp__ov-heading {
		max-width: none;
		font-size: 30px;
		line-height: 35px;
		color: #000;
	}

	.ceca-vp--overlay .ceca-vp__ov-text {
		max-width: none;
		margin-top: 20px;
		font-size: 18px;
		line-height: 26px;
		color: #000;
	}

	/* Play button centred on the media, not pinned to a corner. */
	.ceca-vp--overlay .ceca-vp__play,
	.ceca-vp--overlay .ceca-vp__play:hover,
	.ceca-vp--overlay .ceca-vp__play:focus {
		top: 50%;
		left: 50%;
		right: auto;
		bottom: auto;
		transform: translate(-50%, -50%);
		width: 66px;
		height: 66px;
	}
}

/* --- play pressed: overlay heading steps aside ---------------------------- */
/* Desktop/tablet only: on mobile the text sits below the media in the flow,
   so hiding it would just collapse the layout. */
.ceca-vp__overlay,
.ceca-vp__desk-title,
.ceca-vp__desk-text,
.ceca-vp__desk::before {
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (min-width: 768px) {
	.ceca-vp.is-overlay-hidden .ceca-vp__overlay,
	.ceca-vp.is-overlay-hidden .ceca-vp__media::after,
	.ceca-vp.is-overlay-hidden .ceca-vp__desk-title,
	.ceca-vp.is-overlay-hidden .ceca-vp__desk-text,
	.ceca-vp.is-overlay-hidden .ceca-vp__desk::before {
		opacity: 0;
		visibility: hidden;
	}
}

/* --- lightbox (built in video-panel.js as a modal <dialog>) --------------- */
/* The dialog itself is the dimmed full-screen layer, so a click on it (not
   the player) closes it. Top layer: sits above the sticky header and the
   admin bar without any z-index. */

.ceca-vp-lightbox[open] {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 64px 24px;
	border: 0;
	background: rgba(0, 0, 0, 0.9);
}

/* Phones: the player runs edge to edge — no side gutter (user, 2026-10-06). */
@media (max-width: 767px) {
	.ceca-vp-lightbox[open] {
		padding-inline: 0;
	}
}

.ceca-vp-lightbox::backdrop {
	background: transparent;
}

/* 16:9 box as large as fits both ways. */
.ceca-vp-lightbox__frame {
	position: relative;
	width: min(1200px, 100%, (100vh - 128px) * 16 / 9);
	aspect-ratio: 16 / 9;
	background: #000;
}

.ceca-vp-lightbox__frame iframe,
.ceca-vp-lightbox__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.ceca-vp-lightbox .ceca-vp-lightbox__close,
.ceca-vp-lightbox .ceca-vp-lightbox__close:hover,
.ceca-vp-lightbox .ceca-vp-lightbox__close:focus {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ceca-vp-lightbox .ceca-vp-lightbox__close:hover,
.ceca-vp-lightbox .ceca-vp-lightbox__close:focus-visible {
	background: rgba(255, 255, 255, 0.25);
}

.ceca-vp-lightbox__close svg {
	width: 22px;
	height: 22px;
}

/* Page behind the modal must not scroll (class set in JS). */
html.ceca-vp-locked {
	overflow: hidden;
}

/* Mobile: the video band's own shape (Style → Mobile shape) and, by
   default, edge to edge — the text keeps its 20px gutter (user,
   2026-10-05). Banner (overlay) panels sit in-flow on phones; plain
   panels are the 2:1-default band. */
@media (max-width: 767px) {
	.ceca-vp.ceca-vp--overlay .ceca-vp__media {
		aspect-ratio: var(--ceca-vp-mratio, 400 / 205);
	}

	/* One gutter past each side of the content box, not 100vw: 100vw counts
	   a visible scrollbar (Elementor's preview, narrow desktop windows), so
	   the band shifted left and its text sat closer to the edge than the
	   content around it. */
	.ceca-vp--m-bleed.ceca-vp--overlay:not(.ceca-vp--full) .ceca-vp__media,
	.ceca-vp--m-bleed:not(.ceca-vp--overlay):not(.ceca-vp--full) {
		width: auto;
		max-width: none;
		margin-left: calc(-1 * var(--ceca-gutter, 20px));
		margin-right: calc(-1 * var(--ceca-gutter, 20px));
	}
}

/* --- Mobile layer on the video (user, 2026-10-05) -------------------------
   Button position: centre / bottom left / centre / right. Text on the
   video: with the button centred the title sits above it and the text
   below; at the bottom everything stacks at the bottom, aligned with the
   button. Tint colour/opacity, colours, type and spacing from Style. The
   real heading/text stay in the DOM (visually hidden on phones when shown
   on the video) — the copies here are aria-hidden. */
.ceca-vp__mob {
	display: none;
}

@media (max-width: 767px) {
	/* In flow (a grid item filling the media's one cell), not absolute:
	   the media keeps its shape when the text fits and grows when it
	   doesn't, so a title on a wide banner can never be cut off. */
	.ceca-vp .ceca-vp__media:has(> .ceca-vp__mob) {
		display: grid;
		/* clip, not hidden: overflow:hidden disables the aspect-ratio box's
		   min-height:auto, so it could never grow to fit the text. And
		   inline-size, not size, containment: size containment ignores the
		   content's height entirely. (An embed preview then sizes off the
		   viewport for its height — it still covers, just a little more
		   zoomed; uploaded MP4 previews are unaffected.) */
		overflow: clip;
		container-type: inline-size;
	}

	.ceca-vp__mob {
		position: relative;
		z-index: 3;
		display: flex;
		flex-direction: column;
		gap: 14px;
		/* Sides default to the site gutter so the copy lines up with the
		   content around the panel; both axes adjustable under Style
		   (design bands: 30px top/bottom). */
		padding: var(--ceca-vp-mpad, 30px) var(--ceca-vp-mpad-x, var(--ceca-gutter, 20px));
		pointer-events: none;
	}

	/* Text → button: 20px, as in the design's bands (title → text 14px). */
	.ceca-vp__mob .ceca-vp-full--mob {
		margin-block: 6px 0;
	}

	.ceca-vp__mob::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: -1;
		background: var(--ceca-vp-mscrim, #000);
		opacity: var(--ceca-vp-mscrim-op, 0);
	}

	.ceca-vp__mob--center {
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.ceca-vp__mob--bottom-left,
	.ceca-vp__mob--bottom-center,
	.ceca-vp__mob--bottom-right {
		justify-content: flex-end;
	}

	.ceca-vp__mob--bottom-left {
		align-items: flex-start;
		text-align: left;
	}

	.ceca-vp__mob--bottom-center {
		align-items: center;
		text-align: center;
	}

	.ceca-vp__mob--bottom-right {
		align-items: flex-end;
		text-align: right;
	}

	/* Bottom positions: title, text, then the button last. */
	.ceca-vp__mob:not(.ceca-vp__mob--center) .ceca-vp__mob-text {
		order: 1;
	}

	.ceca-vp__mob:not(.ceca-vp__mob--center) .ceca-vp-full--mob {
		order: 2;
	}

	.ceca-vp .ceca-vp__mob .ceca-vp__mob-title {
		margin: 0;
		font-size: 26px;
		line-height: 31px;
		font-weight: 700;
		color: #fff;
	}

	.ceca-vp .ceca-vp__mob .ceca-vp__mob-text {
		margin: 0;
		font-size: 16px;
		line-height: 23px;
		color: #fff;
	}

	.ceca-vp-full.ceca-vp-full--mob {
		display: flex;
	}

	/* The real heading/text, shown below the video unless they're on it. */
	.ceca-vp--mt-title .ceca-vp__ov-heading,
	.ceca-vp--mt-both .ceca-vp__overlay {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		border: 0;
	}

	.ceca-vp--mt-title .ceca-vp__ov-text {
		margin-top: 0;
	}

	.ceca-vp.is-playing .ceca-vp__mob {
		display: none;
	}
}

/* --- Play icon in a circle (Button → Style): the banner's original button,
   now placeable like the text button. Size from Style → Button, colour
   from Style → Panel (user, 2026-10-05). ------------------------------------ */
.ceca-vp-full .ceca-vp__circle,
.ceca-vp-full .ceca-vp__circle:hover,
.ceca-vp-full .ceca-vp__circle:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--ceca-vp-csize, 66px);
	height: var(--ceca-vp-csize, 66px);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ceca-vp-play, #1a1a1a);
	color: #fff;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease;
}

.ceca-vp-full .ceca-vp__circle:hover,
.ceca-vp-full .ceca-vp__circle:focus-visible {
	transform: scale(1.06);
}

/* Triangle at the banner's 31/66 proportion, nudged right to look centred. */
.ceca-vp-full .ceca-vp__circle svg {
	width: calc(var(--ceca-vp-csize, 66px) * 0.47);
	height: calc(var(--ceca-vp-csize, 66px) * 0.47);
	margin-left: calc(var(--ceca-vp-csize, 66px) * 0.06);
}

/* --- Desktop / tablet layer on the video (user, 2026-10-05) ----------------
   Mirrors the mobile layer: button centred → title above, text below;
   bottom positions → title, text, then the button, aligned to it. "Side"
   (button in a bottom corner): text and button share the bottom row,
   opposite each other — the original banner. */
.ceca-vp__desk {
	display: none;
}

@media (min-width: 768px) {
	.ceca-vp__desk {
		position: absolute;
		inset: 0;
		z-index: 3;
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding: var(--ceca-vp-dpad, 60px);
		pointer-events: none;
	}

	.ceca-vp__desk::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: -1;
		background: var(--ceca-vp-dscrim, #000);
		opacity: var(--ceca-vp-dscrim-op, 0);
	}

	.ceca-vp__desk-copy {
		display: contents;
	}

	.ceca-vp__desk .ceca-vp-full {
		display: flex;
	}

	.ceca-vp__desk--center {
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.ceca-vp__desk--bottom-left,
	.ceca-vp__desk--bottom-center,
	.ceca-vp__desk--bottom-right {
		justify-content: flex-end;
	}

	.ceca-vp__desk--bottom-left {
		align-items: flex-start;
		text-align: left;
	}

	.ceca-vp__desk--bottom-center {
		align-items: center;
		text-align: center;
	}

	.ceca-vp__desk--bottom-right {
		align-items: flex-end;
		text-align: right;
	}

	/* Centred: title, button, text. Bottom: title, text, button. */
	.ceca-vp__desk--center .ceca-vp-full--desk {
		order: 1;
	}

	.ceca-vp__desk--center .ceca-vp__desk-text {
		order: 2;
	}

	.ceca-vp__desk:not(.ceca-vp__desk--center) .ceca-vp__desk-text {
		order: 1;
	}

	.ceca-vp__desk:not(.ceca-vp__desk--center) .ceca-vp-full--desk {
		order: 2;
	}

	/* Side by side: copy and button on one bottom row. */
	.ceca-vp__desk--side {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 40px;
	}

	.ceca-vp__desk--side .ceca-vp__desk-copy {
		display: flex;
		flex-direction: column;
		gap: 20px;
		min-width: 0;
	}

	.ceca-vp__desk--side.ceca-vp__desk--bottom-right {
		text-align: left;
	}

	.ceca-vp__desk--side.ceca-vp__desk--bottom-left {
		flex-direction: row-reverse;
		text-align: right;
	}

	.ceca-vp__desk--side.ceca-vp__desk--bottom-left .ceca-vp__desk-copy {
		align-items: flex-end;
	}

	.ceca-vp .ceca-vp__desk .ceca-vp__desk-title {
		margin: 0;
		max-width: 814px;
		font-size: 70px;
		line-height: 75px;
		font-weight: 700;
		color: #fff;
	}

	.ceca-vp .ceca-vp__desk .ceca-vp__desk-text {
		margin: 0;
		max-width: 590px;
		font-size: 20px;
		line-height: 30px;
		color: #fff;
	}

	.ceca-vp.is-playing .ceca-vp__desk {
		display: none;
	}

	/* The real heading/text: hidden while their copies show on the video. */
	.ceca-vp--overlay.ceca-vp--dt-both .ceca-vp__overlay,
	.ceca-vp--overlay.ceca-vp--dt-title .ceca-vp__ov-heading {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		border: 0;
	}

	/* Text below the video: the panel grows to video + text. */
	.ceca-vp--overlay.ceca-vp--dt-title,
	.ceca-vp--overlay.ceca-vp--dt-below {
		height: auto;
		background: transparent;
		overflow: visible;
	}

	.ceca-vp--overlay.ceca-vp--dt-title .ceca-vp__media,
	.ceca-vp--overlay.ceca-vp--dt-below .ceca-vp__media {
		position: relative;
		inset: auto;
		height: var(--ceca-vp-h);
		overflow: hidden;
		background: #1a1a1a;
	}

	.ceca-vp--overlay.ceca-vp--dt-title .ceca-vp__overlay,
	.ceca-vp--overlay.ceca-vp--dt-below .ceca-vp__overlay {
		position: static;
		padding: 30px 0 0;
		pointer-events: auto;
		opacity: 1;
		visibility: visible;
	}

	/* Full-width panel: the text below keeps the site grid's gutter. */
	.ceca-vp--full.ceca-vp--dt-title .ceca-vp__overlay,
	.ceca-vp--full.ceca-vp--dt-below .ceca-vp__overlay {
		padding-inline: max(var(--ceca-gutter, 72px), (100vw - var(--ceca-site-width, 1440px)) / 2 + var(--ceca-gutter, 72px));
	}

	.ceca-vp--overlay.ceca-vp--dt-below .ceca-vp__ov-heading {
		max-width: none;
		font-size: 40px;
		line-height: 48px;
		color: #000;
	}

	.ceca-vp--overlay.ceca-vp--dt-title .ceca-vp__ov-text,
	.ceca-vp--overlay.ceca-vp--dt-below .ceca-vp__ov-text {
		max-width: none;
		font-size: 20px;
		line-height: 30px;
		color: #000;
	}

	.ceca-vp--overlay.ceca-vp--dt-title .ceca-vp__ov-text {
		margin-top: 0;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.ceca-vp .ceca-vp__desk .ceca-vp__desk-title {
		font-size: 36px;
		line-height: 48px;
	}
}

/* --- Mobile order & alignment (user, 2026-10-06) ---------------------------
   Order: title/text/button wherever they sit together — the layer on the
   video, or the block below it (the mobile "below" button joins that block,
   .ceca-vp-full--flow). Title & text alignment is independent of the
   button's; unset, it's centred with a centred button and left otherwise. */
@media (max-width: 767px) {
	/* Below the video: gap-based spacing so any order spaces evenly; the
	   button keeps its extra 10px (30px total, as outside the panel). */
	.ceca-vp.ceca-vp--overlay .ceca-vp__overlay {
		gap: 20px;
	}

	.ceca-vp.ceca-vp--overlay .ceca-vp__ov-text {
		margin-top: 0;
	}

	.ceca-vp-full.ceca-vp-full--flow {
		margin-top: 10px;
	}

	.ceca-vp.ceca-vp--mo-tbt .ceca-vp__overlay .ceca-vp-full--flow {
		order: 1;
	}

	.ceca-vp.ceca-vp--mo-tbt .ceca-vp__overlay .ceca-vp__ov-text {
		order: 2;
	}

	.ceca-vp.ceca-vp--mo-btt .ceca-vp__overlay .ceca-vp-full--flow {
		order: -1;
		margin-top: 0;
	}

	.ceca-vp.ceca-vp--mta-center .ceca-vp__overlay {
		text-align: center;
	}

	.ceca-vp.ceca-vp--mta-right .ceca-vp__overlay {
		text-align: right;
	}

	/* Button alignment below the video (in the block, or outside the panel). */
	.ceca-vp-full.ceca-vp-full--al-left {
		justify-content: flex-start;
	}

	.ceca-vp-full.ceca-vp-full--al-center {
		justify-content: center;
	}

	.ceca-vp-full.ceca-vp-full--al-right {
		justify-content: flex-end;
	}

	/* On the video: explicit order. */
	.ceca-vp.ceca-vp--mo-ttb .ceca-vp__mob .ceca-vp__mob-text {
		order: 1;
	}

	.ceca-vp.ceca-vp--mo-ttb .ceca-vp__mob .ceca-vp-full--mob {
		order: 2;
	}

	.ceca-vp.ceca-vp--mo-tbt .ceca-vp__mob .ceca-vp-full--mob {
		order: 1;
	}

	.ceca-vp.ceca-vp--mo-tbt .ceca-vp__mob .ceca-vp__mob-text {
		order: 2;
	}

	.ceca-vp.ceca-vp--mo-btt .ceca-vp__mob .ceca-vp-full--mob {
		order: -1;
	}

	/* On the video: title & text alignment, separate from the button's. */
	.ceca-vp.ceca-vp--mta-auto .ceca-vp__mob:not(.ceca-vp__mob--center) .ceca-vp__mob-title,
	.ceca-vp.ceca-vp--mta-auto .ceca-vp__mob:not(.ceca-vp__mob--center) .ceca-vp__mob-text,
	.ceca-vp.ceca-vp--mta-left .ceca-vp__mob .ceca-vp__mob-title,
	.ceca-vp.ceca-vp--mta-left .ceca-vp__mob .ceca-vp__mob-text {
		align-self: stretch;
		text-align: left;
	}

	.ceca-vp.ceca-vp--mta-center .ceca-vp__mob .ceca-vp__mob-title,
	.ceca-vp.ceca-vp--mta-center .ceca-vp__mob .ceca-vp__mob-text {
		align-self: stretch;
		text-align: center;
	}

	.ceca-vp.ceca-vp--mta-right .ceca-vp__mob .ceca-vp__mob-title,
	.ceca-vp.ceca-vp--mta-right .ceca-vp__mob .ceca-vp__mob-text {
		align-self: stretch;
		text-align: right;
	}
}

/* --- Desktop order & alignment: the mobile model (user, 2026-10-06) -------
   Title & text alignment sets each line's own box (align-self), so a right-
   or centre-aligned title keeps its max-width and still sits where asked. */
@media (min-width: 768px) {
	/* On the video: explicit order (stacked layouts). */
	.ceca-vp.ceca-vp--do-ttb .ceca-vp__desk .ceca-vp__desk-text {
		order: 1;
	}

	.ceca-vp.ceca-vp--do-ttb .ceca-vp__desk .ceca-vp-full--desk {
		order: 2;
	}

	.ceca-vp.ceca-vp--do-tbt .ceca-vp__desk .ceca-vp-full--desk {
		order: 1;
	}

	.ceca-vp.ceca-vp--do-tbt .ceca-vp__desk .ceca-vp__desk-text {
		order: 2;
	}

	.ceca-vp.ceca-vp--do-btt .ceca-vp__desk .ceca-vp-full--desk {
		order: -1;
	}

	/* On the video: title & text alignment, separate from the button's.
	   Unset: left unless the button is centred (the side-by-side layout
	   already keeps its text on its own side). */
	.ceca-vp.ceca-vp--dta-auto .ceca-vp__desk:not(.ceca-vp__desk--center):not(.ceca-vp__desk--side) .ceca-vp__desk-title,
	.ceca-vp.ceca-vp--dta-auto .ceca-vp__desk:not(.ceca-vp__desk--center):not(.ceca-vp__desk--side) .ceca-vp__desk-text,
	.ceca-vp.ceca-vp--dta-left .ceca-vp__desk .ceca-vp__desk-title,
	.ceca-vp.ceca-vp--dta-left .ceca-vp__desk .ceca-vp__desk-text {
		align-self: flex-start;
		text-align: left;
	}

	.ceca-vp.ceca-vp--dta-center .ceca-vp__desk .ceca-vp__desk-title,
	.ceca-vp.ceca-vp--dta-center .ceca-vp__desk .ceca-vp__desk-text {
		align-self: center;
		text-align: center;
	}

	.ceca-vp.ceca-vp--dta-right .ceca-vp__desk .ceca-vp__desk-title,
	.ceca-vp.ceca-vp--dta-right .ceca-vp__desk .ceca-vp__desk-text {
		align-self: flex-end;
		text-align: right;
	}

	/* Below the video: gap spacing so any order spaces evenly; the button
	   keeps its extra 10px (30px total). */
	.ceca-vp--overlay.ceca-vp--dt-title .ceca-vp__overlay,
	.ceca-vp--overlay.ceca-vp--dt-below .ceca-vp__overlay {
		gap: 20px;
	}

	.ceca-vp--overlay.ceca-vp--dt-below .ceca-vp__ov-text {
		margin-top: 0;
	}

	.ceca-vp-full.ceca-vp-full--flow {
		margin-top: 10px;
	}

	.ceca-vp.ceca-vp--do-tbt .ceca-vp__overlay .ceca-vp-full--flow {
		order: 1;
	}

	.ceca-vp.ceca-vp--do-tbt .ceca-vp__overlay .ceca-vp__ov-text {
		order: 2;
	}

	.ceca-vp.ceca-vp--do-btt .ceca-vp__overlay .ceca-vp-full--flow {
		order: -1;
		margin-top: 0;
	}

	.ceca-vp.ceca-vp--dta-center .ceca-vp__overlay {
		text-align: center;
	}

	.ceca-vp.ceca-vp--dta-right .ceca-vp__overlay {
		text-align: right;
	}

	/* Button alignment below the video (in the block, or outside the panel). */
	.ceca-vp-full.ceca-vp-full--dal-left {
		justify-content: flex-start;
	}

	.ceca-vp-full.ceca-vp-full--dal-center {
		justify-content: center;
	}

	.ceca-vp-full.ceca-vp-full--dal-right {
		justify-content: flex-end;
	}
}
