.fs-slideshow-1343-container {
	position: relative;
	width: 100vw;
	height: 100vh;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	overflow: hidden;
	background-color: #000;
	cursor: pointer;
}

.fs-slideshow-1343-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: contain; /* Enforce contain to fit image proportionally without cropping */
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent; /* Allow container bg to show through */
	opacity: 0;
	transition: opacity 1s ease-in-out;
	z-index: 1;
	display: flex;
}

.fs-slideshow-1343-slide.active {
	opacity: 1;
	z-index: 2;
}

.fs-slideshow-1343-bg-video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	z-index: 2;
	object-fit: contain; /* Make video fit the container just like the images do */
	max-width: 100%;
	max-height: 100%;
}

.fs-slideshow-1343-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5); /* Default, overridden by settings */
	z-index: 3;
}

.fs-slideshow-1343-content {
	position: absolute;
	z-index: 4;
	padding: 40px;
	max-width: 800px;
	pointer-events: none; /* Ensure clicks pass through to container */
}

/* Positioning Classes */
.fs-slideshow-1343-content.pos-top-left {
	top: 0;
	left: 0;
	text-align: left;
}
.fs-slideshow-1343-content.pos-top-center {
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}
.fs-slideshow-1343-content.pos-top-right {
	top: 0;
	right: 0;
	text-align: right;
}
.fs-slideshow-1343-content.pos-center-left {
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	text-align: left;
}
.fs-slideshow-1343-content.pos-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}
.fs-slideshow-1343-content.pos-center-right {
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	text-align: right;
}
.fs-slideshow-1343-content.pos-bottom-left {
	bottom: 0;
	left: 0;
	text-align: left;
}
.fs-slideshow-1343-content.pos-bottom-center {
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}
.fs-slideshow-1343-content.pos-bottom-right {
	bottom: 0;
	right: 0;
	text-align: right;
}


.fs-slideshow-1343-title {
	margin: 0 0 15px 0;
	color: #fff;
	font-size: 3rem;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.fs-slideshow-1343-desc {
	margin: 0;
	color: #fff;
	font-size: 1.2rem;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.fs-slideshow-1343-pause-msg {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 10px 20px;
	border-radius: 20px;
	font-size: 14px;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	pointer-events: none;
}

.fs-slideshow-1343-pause-msg.visible {
	opacity: 1;
	visibility: visible;
}

.fs-slideshow-1343-home-btn {
	position: absolute;
	z-index: 99; /* Ensure it's above everything else */
	padding: 10px 20px;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s ease;
	pointer-events: auto; /* Ensure it receives clicks */
}

.fs-slideshow-1343-home-btn:hover {
	background-color: rgba(0,0,0,0.8);
	color: #fff;
}

.fs-slideshow-1343-home-btn.btn-pos-top-left {
	top: 20px;
	left: 20px;
}

.fs-slideshow-1343-home-btn.btn-pos-top-right {
	top: 20px;
	right: 20px;
}

.fs-slideshow-1343-home-btn.btn-pos-bottom-left {
	bottom: 20px;
	left: 20px;
}

.fs-slideshow-1343-home-btn.btn-pos-bottom-right {
	bottom: 20px;
	right: 20px;
}