.vybog-slider {
	position: relative;
	margin: 0 auto;
	width: 100%;
	overflow: hidden;
}

.vybog-slider>p {
	margin: 0;
	padding: 0;
	display: contents;
}

.vybog-slider>br,
.vybog-slider>p>br {
	display: none !important;
}

.vybog-slider--fullwidth,
.vybog-slider--auto,
.vybog-slider--sizing-auto {
	width: 100% !important;
	max-width: none !important;
}

.vybog-slider--auto .vybog-slider__stage,
.vybog-slider--sizing-auto .vybog-slider__stage {
	width: 100% !important;
}

.vybog-slider--fullscreen,
.vybog-slider--sizing-fullscreen {
	width: 100vw !important;
	height: 100vh !important;
	min-height: 100vh !important;
	max-width: none !important;
}

.vybog-slider--fullscreen .vybog-slider__stage,
.vybog-slider--sizing-fullscreen .vybog-slider__stage {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
}

.vybog-slider__stage {
	position: relative;
	width: 100%;
	overflow: hidden;
	perspective: 1400px;
	perspective-origin: 50% 50%;
}

/* ===== Slides ===== */
.vybog-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	pointer-events: none;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform-style: preserve-3d;
}

.vybog-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
	pointer-events: auto;
	transform: none;
}

.vybog-slide.is-leaving {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	pointer-events: none;
}

.vybog-slide__bg {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 0;
}

.vybog-slide__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.vybog-slide__layers {
	position: absolute;
	inset: 0;
	z-index: 2;
}

/* ========================================================
   SLIDE TRANSFORM & TRANSITION ANIMATIONS
   ======================================================== */

/* 1. Fade transition (default) */
.vybog-slide.fade-preparing {
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.transition-fade {
	transition: opacity var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease);
}

.vybog-slide.transition-fade.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

/* 2. Slide Horizontal transition */
.vybog-slide.transition-slide {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, cubic-bezier(0.25, 1, 0.5, 1));
	visibility: visible;
	opacity: 1;
}

.vybog-slide.slide-from-next {
	transform: translate3d(100%, 0, 0) !important;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 2;
}

.vybog-slide.slide-from-prev {
	transform: translate3d(-100%, 0, 0) !important;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 2;
}

.vybog-slide.slide-to-next {
	transform: translate3d(-100%, 0, 0) !important;
	z-index: 1;
}

.vybog-slide.slide-to-prev {
	transform: translate3d(100%, 0, 0) !important;
	z-index: 1;
}

.vybog-slide.transition-slide.is-active {
	transform: translate3d(0, 0, 0) !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
}

/* 3. Slide Vertical transition */
.vybog-slide.transition-slide-vertical {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, cubic-bezier(0.25, 1, 0.5, 1));
	visibility: visible;
	opacity: 1;
}

.vybog-slide.slide-v-from-next {
	transform: translate3d(0, 100%, 0) !important;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 2;
}

.vybog-slide.slide-v-from-prev {
	transform: translate3d(0, -100%, 0) !important;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 2;
}

.vybog-slide.slide-v-to-next {
	transform: translate3d(0, -100%, 0) !important;
	z-index: 1;
}

.vybog-slide.slide-v-to-prev {
	transform: translate3d(0, 100%, 0) !important;
	z-index: 1;
}

.vybog-slide.transition-slide-vertical.is-active {
	transform: translate3d(0, 0, 0) !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
}

/* 4. Zoom In (Scale Up) transition */
.vybog-slide.zoom-preparing {
	transform: scale(0.8) !important;
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.transition-zoom {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease), opacity var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease);
}

.vybog-slide.transition-zoom.is-active {
	transform: scale(1) !important;
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.vybog-slide.transition-zoom.is-leaving {
	transform: scale(1.15) !important;
	opacity: 0 !important;
	visibility: visible;
	z-index: 1;
}

/* 5. Zoom Out (Scale Down) transition */
.vybog-slide.zoomout-preparing {
	transform: scale(1.25) !important;
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.transition-zoom-out {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease), opacity var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease);
}

.vybog-slide.transition-zoom-out.is-active {
	transform: scale(1) !important;
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.vybog-slide.transition-zoom-out.is-leaving {
	transform: scale(0.78) !important;
	opacity: 0 !important;
	visibility: visible;
	z-index: 1;
}

/* 6. 3D Flip Horizontal transition */
.vybog-slide.transition-flip-horizontal {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease), opacity var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease);
}

.vybog-slide.flip-h-from-next {
	transform: rotateY(-90deg) !important;
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.flip-h-from-prev {
	transform: rotateY(90deg) !important;
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.flip-h-to-next {
	transform: rotateY(90deg) !important;
	opacity: 0 !important;
	z-index: 1;
}

.vybog-slide.flip-h-to-prev {
	transform: rotateY(-90deg) !important;
	opacity: 0 !important;
	z-index: 1;
}

.vybog-slide.transition-flip-horizontal.is-active {
	transform: rotateY(0deg) !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
}

/* 7. 3D Flip Vertical transition */
.vybog-slide.transition-flip-vertical {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease), opacity var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease);
}

.vybog-slide.flip-v-from-next {
	transform: rotateX(90deg) !important;
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.flip-v-from-prev {
	transform: rotateX(-90deg) !important;
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.flip-v-to-next {
	transform: rotateX(-90deg) !important;
	opacity: 0 !important;
	z-index: 1;
}

.vybog-slide.flip-v-to-prev {
	transform: rotateX(90deg) !important;
	opacity: 0 !important;
	z-index: 1;
}

.vybog-slide.transition-flip-vertical.is-active {
	transform: rotateX(0deg) !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
}

/* 8. 3D Cube transition */
.vybog-slide.transition-cube {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease-out), opacity var(--vybog-trans-dur, 0.6s) ease;
}

.vybog-slide.cube-from-next {
	transform: translate3d(100%, 0, 0) rotateY(90deg) !important;
	transform-origin: 0% 50% !important;
	opacity: 0.5 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.cube-from-prev {
	transform: translate3d(-100%, 0, 0) rotateY(-90deg) !important;
	transform-origin: 100% 50% !important;
	opacity: 0.5 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.cube-to-next {
	transform: translate3d(-100%, 0, 0) rotateY(-90deg) !important;
	transform-origin: 100% 50% !important;
	opacity: 0.5 !important;
	z-index: 1;
}

.vybog-slide.cube-to-prev {
	transform: translate3d(100%, 0, 0) rotateY(90deg) !important;
	transform-origin: 0% 50% !important;
	opacity: 0.5 !important;
	z-index: 1;
}

.vybog-slide.transition-cube.is-active {
	transform: translate3d(0, 0, 0) rotateY(0deg) !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
}

/* 9. Rotate & Scale transition */
.vybog-slide.transition-rotate {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, ease-out), opacity var(--vybog-trans-dur, 0.6s) ease;
}

.vybog-slide.rotate-from-next {
	transform: rotate(-15deg) scale(0.85) !important;
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.rotate-from-prev {
	transform: rotate(15deg) scale(0.85) !important;
	opacity: 0 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.rotate-to-next {
	transform: rotate(15deg) scale(1.1) !important;
	opacity: 0 !important;
	z-index: 1;
}

.vybog-slide.rotate-to-prev {
	transform: rotate(-15deg) scale(1.1) !important;
	opacity: 0 !important;
	z-index: 1;
}

.vybog-slide.transition-rotate.is-active {
	transform: rotate(0deg) scale(1) !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
}

/* 10. Skew & Slide transition */
.vybog-slide.transition-skew {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, cubic-bezier(0.25, 1, 0.5, 1)), opacity var(--vybog-trans-dur, 0.6s) ease;
}

.vybog-slide.skew-from-next {
	transform: translate3d(100%, 0, 0) skewX(-15deg) !important;
	opacity: 0.8 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.skew-from-prev {
	transform: translate3d(-100%, 0, 0) skewX(15deg) !important;
	opacity: 0.8 !important;
	visibility: visible !important;
	z-index: 2;
}

.vybog-slide.skew-to-next {
	transform: translate3d(-100%, 0, 0) skewX(15deg) !important;
	opacity: 0.8 !important;
	z-index: 1;
}

.vybog-slide.skew-to-prev {
	transform: translate3d(100%, 0, 0) skewX(-15deg) !important;
	opacity: 0.8 !important;
	z-index: 1;
}

.vybog-slide.transition-skew.is-active {
	transform: translate3d(0, 0, 0) skewX(0deg) !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
}

/* 11. Parallax Depth Slide transition */
.vybog-slide.transition-parallax {
	transition: transform var(--vybog-trans-dur, 0.6s) var(--vybog-trans-ease, cubic-bezier(0.25, 1, 0.5, 1)), opacity var(--vybog-trans-dur, 0.6s) ease;
}

.vybog-slide.parallax-from-next {
	transform: translate3d(100%, 0, 0) !important;
	box-shadow: -15px 0 35px rgba(0, 0, 0, 0.5);
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 3;
}

.vybog-slide.parallax-from-prev {
	transform: translate3d(-100%, 0, 0) !important;
	box-shadow: 15px 0 35px rgba(0, 0, 0, 0.5);
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 3;
}

.vybog-slide.parallax-to-next {
	transform: scale(0.92) !important;
	opacity: 0.35 !important;
	z-index: 1;
}

.vybog-slide.parallax-to-prev {
	transform: scale(0.92) !important;
	opacity: 0.35 !important;
	z-index: 1;
}

.vybog-slide.transition-parallax.is-active {
	transform: translate3d(0, 0, 0) scale(1) !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 3;
}
/* ===== Layers ===== */
.vybog-layer {
	position: absolute;
	transform: translate(-50%, -50%);
	transition-property: opacity, transform;
	white-space: nowrap;
	box-sizing: border-box;
}

.vybog-layer--richtext,
.vybog-layer--richtext *,
.vybog-layer[style*="width:"],
.vybog-layer[style*="width:"] * {
	white-space: normal !important;
	word-break: break-word;
	box-sizing: border-box;
}

.vybog-layer--richtext h1,
.vybog-layer--richtext h2,
.vybog-layer--richtext h3,
.vybog-layer--richtext h4,
.vybog-layer--richtext h5,
.vybog-layer--richtext h6 {
	margin-top: 0;
	margin-bottom: 0.25em;
	line-height: 1.2;
}

.vybog-layer--richtext p {
	margin-top: 0;
	margin-bottom: 0.5em;
	line-height: inherit;
}

.vybog-layer--richtext p:last-child,
.vybog-layer--richtext div:last-child {
	margin-bottom: 0;
}

.vybog-container-submodule h1,
.vybog-container-submodule h2,
.vybog-container-submodule h3,
.vybog-container-submodule h4,
.vybog-container-submodule h5,
.vybog-container-submodule h6 {
	margin-top: 0;
	margin-bottom: 0.25em;
	line-height: 1.2;
}

.vybog-container-submodule p {
	margin-top: 0;
	margin-bottom: 0.5em;
	line-height: inherit;
}

.vybog-container-submodule p:last-child,
.vybog-container-submodule div:last-child {
	margin-bottom: 0;
}

/* Theme heading/link rules must not replace a text layer's saved colour. */
.vybog-layer--text {
	word-break: break-word;
}

.vybog-layer--text h1,
.vybog-layer--text h2,
.vybog-layer--text h3,
.vybog-layer--text h4,
.vybog-layer--text h5,
.vybog-layer--text h6,
.vybog-layer--text div,
.vybog-layer--text p,
.vybog-layer--text strong,
.vybog-layer--text b,
.vybog-layer--text a {
	color: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	word-break: break-word;
}

.vybog-layer--richtext h1:not([style*="color"]),
.vybog-layer--richtext h2:not([style*="color"]),
.vybog-layer--richtext h3:not([style*="color"]),
.vybog-layer--richtext h4:not([style*="color"]),
.vybog-layer--richtext h5:not([style*="color"]),
.vybog-layer--richtext h6:not([style*="color"]),
.vybog-layer--richtext p:not([style*="color"]),
.vybog-layer--richtext div:not([style*="color"]),
.vybog-layer--richtext blockquote:not([style*="color"]),
.vybog-layer--richtext a:not([style*="color"]) {
	color: inherit !important;
}

.vybog-layer--hidden-responsive {
	display: none !important;
}

.vybog-layer.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.vybog-layer.is-visible {
	opacity: 1;
}

/* Entrance directions — combined with the transform origin of translate(-50%,-50%) */
.vybog-layer.vybog-anim-fade.is-hidden {
	opacity: 0;
}

.vybog-layer.vybog-anim-slide-left.is-hidden {
	transform: translate(calc(-50% - 60px), -50%);
	opacity: 0;
}

.vybog-layer.vybog-anim-slide-left.is-visible {
	transform: translate(-50%, -50%);
}

.vybog-layer.vybog-anim-slide-right.is-hidden {
	transform: translate(calc(-50% + 60px), -50%);
	opacity: 0;
}

.vybog-layer.vybog-anim-slide-right.is-visible {
	transform: translate(-50%, -50%);
}

.vybog-layer.vybog-anim-slide-up.is-hidden {
	transform: translate(-50%, calc(-50% + 60px));
	opacity: 0;
}

.vybog-layer.vybog-anim-slide-up.is-visible {
	transform: translate(-50%, -50%);
}

.vybog-layer.vybog-anim-slide-down.is-hidden {
	transform: translate(-50%, calc(-50% - 60px));
	opacity: 0;
}

.vybog-layer.vybog-anim-slide-down.is-visible {
	transform: translate(-50%, -50%);
}

.vybog-layer.vybog-anim-zoom.is-hidden {
	transform: translate(-50%, -50%) scale(0.6);
	opacity: 0;
}

.vybog-layer.vybog-anim-zoom.is-visible {
	transform: translate(-50%, -50%) scale(1);
}

.vybog-layer.vybog-anim-none.is-hidden {
	opacity: 1;
}

.vybog-layer__button {
	display: inline-block;
	padding: calc(12px * var(--vybog-layout-scale, 1)) calc(28px * var(--vybog-layout-scale, 1));
	border-radius: 4px;
	text-decoration: none;
	background: #2563eb;
	color: #fff;
}

/* ===== Nav arrows ===== */
.vybog-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	pointer-events: auto;
	user-select: none;
	-webkit-user-select: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.vybog-nav:hover {
	background: rgba(0, 0, 0, 0.7);
	transform: translateY(-50%) scale(1.08);
}

.vybog-nav:active {
	transform: translateY(-50%) scale(0.95);
}

.vybog-nav--prev {
	left: 16px;
}

.vybog-nav--next {
	right: 16px;
}

/* ===== Bullets ===== */
.vybog-bullets {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 20;
	pointer-events: auto;
}

.vybog-bullet {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.vybog-bullet.is-active {
	background: #fff;
	transform: scale(1.2);
}

.vybog-empty-notice {
	padding: 12px 16px;
	background: #fff3cd;
	border: 1px solid #ffe69c;
	color: #664d03;
	border-radius: 4px;
}

/* Responsive breakpoints */
@media (max-width: 782px) {
	.vybog-nav {
		width: 32px;
		height: 32px;
		font-size: 13px;
	}
}

/* ===== Container Layer ===== */
.vybog-layer--container {
	white-space: normal !important;
	box-sizing: border-box;
	max-width: 100%;
}

.vybog-container-box {
	width: 100%;
	height: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.vybog-container-submodule {
	box-sizing: border-box;
}

.vybog-container-submodule p,
.vybog-container-submodule h1,
.vybog-container-submodule h2,
.vybog-container-submodule h3,
.vybog-container-submodule h4,
.vybog-container-submodule h5,
.vybog-container-submodule h6,
.vybog-container-submodule div,
.vybog-container-submodule span,
.vybog-container-submodule strong,
.vybog-container-submodule b,
.vybog-container-submodule em,
.vybog-container-submodule i,
.vybog-container-submodule a,
.vybog-container-submodule blockquote {
	color: inherit;
	font-size: inherit !important;
	line-height: inherit !important;
}
