.fs-block-background-slideshow.trendy-bg-slideshow,
.wp-block-flatsome-background-slideshow.trendy-bg-slideshow {
	position: relative;
	display: flex;
	align-items: stretch;
	overflow: hidden;
	min-height: 640px;
	color: #fff6ea;
	isolation: isolate;
	background:
		radial-gradient(circle at top right, rgba(236, 132, 45, 0.28), transparent 34%),
		linear-gradient(135deg, #05070d 0%, #0d1320 55%, #140f18 100%);
}

.fs-block-background-slideshow .trendy-bg-slideshow__media,
.fs-block-background-slideshow .trendy-bg-slideshow__overlay,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__media,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__overlay {
	position: absolute;
	inset: 0;
}

.fs-block-background-slideshow .trendy-bg-slideshow__media,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__media {
	background: #0a101a;
}

.fs-block-background-slideshow .trendy-bg-slideshow__slide,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.08);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transition:
		opacity var(--trendy-bs-transition-duration, 1200ms) ease,
		transform calc(var(--trendy-bs-transition-duration, 1200ms) * 1.8) ease;
	will-change: opacity, transform;
}

.fs-block-background-slideshow .trendy-bg-slideshow__slide.is-active,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.fs-block-background-slideshow .trendy-bg-slideshow__slide.is-leaving,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__slide.is-leaving {
	opacity: 0;
	transform: scale(1);
}

.fs-block-background-slideshow.is-autoplay .trendy-bg-slideshow__slide.is-active,
.wp-block-flatsome-background-slideshow.is-autoplay .trendy-bg-slideshow__slide.is-active {
	animation: trendy-bg-slideshow-zoom-out var(--trendy-bs-slide-duration, 5000ms) linear both;
}

.fs-block-background-slideshow.is-autoplay.is-zoom-in .trendy-bg-slideshow__slide,
.wp-block-flatsome-background-slideshow.is-autoplay.is-zoom-in .trendy-bg-slideshow__slide {
	transform: scale(1);
}

.fs-block-background-slideshow.is-autoplay.is-zoom-in .trendy-bg-slideshow__slide.is-active,
.wp-block-flatsome-background-slideshow.is-autoplay.is-zoom-in .trendy-bg-slideshow__slide.is-active {
	animation-name: trendy-bg-slideshow-zoom-in;
}

.fs-block-background-slideshow[data-pause-on-hover="true"]:hover .trendy-bg-slideshow__slide.is-active,
.wp-block-flatsome-background-slideshow[data-pause-on-hover="true"]:hover .trendy-bg-slideshow__slide.is-active {
	animation-play-state: paused;
}

.fs-block-background-slideshow .trendy-bg-slideshow__slide.is-empty,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__slide.is-empty {
	background:
		radial-gradient(circle at 80% 30%, rgba(236, 132, 45, 0.35), transparent 25%),
		linear-gradient(120deg, #06101b 0%, #121b2d 52%, #241423 100%);
	opacity: 1;
	transform: none;
	animation: none;
}

@keyframes trendy-bg-slideshow-zoom-out {
	from {
		transform: scale(1.08);
	}

	to {
		transform: scale(1);
	}
}

@keyframes trendy-bg-slideshow-zoom-in {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.08);
	}
}

.fs-block-background-slideshow .trendy-bg-slideshow__overlay,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__overlay {
	z-index: 1;
	opacity: var(--trendy-bs-overlay-opacity, 0.55);
	background:
		linear-gradient(90deg, rgba(4, 6, 12, 1) 0%, rgba(5, 7, 12, 0.9) 20%, rgba(10, 14, 22, 0.52) 58%, rgba(10, 14, 22, 0.18) 100%),
		linear-gradient(180deg, rgba(8, 12, 19, 0.05) 0%, rgba(8, 12, 19, 0.45) 100%);
}

.fs-block-background-slideshow .trendy-bg-slideshow__inner,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__inner {
	position: relative;
	z-index: 2;
	display: flex;
	width: min(100%, 1400px);
	min-height: inherit;
	margin: 0 auto;
	padding: var(--trendy-bs-inner-padding, clamp(36px, 6vw, 76px));
}

.fs-block-background-slideshow.is-valign-top .trendy-bg-slideshow__inner,
.wp-block-flatsome-background-slideshow.is-valign-top .trendy-bg-slideshow__inner {
	align-items: flex-start;
}

.fs-block-background-slideshow.is-valign-middle .trendy-bg-slideshow__inner,
.wp-block-flatsome-background-slideshow.is-valign-middle .trendy-bg-slideshow__inner {
	align-items: center;
}

.fs-block-background-slideshow.is-valign-bottom .trendy-bg-slideshow__inner,
.wp-block-flatsome-background-slideshow.is-valign-bottom .trendy-bg-slideshow__inner {
	align-items: flex-end;
}

.fs-block-background-slideshow.is-text-left .trendy-bg-slideshow__inner,
.wp-block-flatsome-background-slideshow.is-text-left .trendy-bg-slideshow__inner {
	justify-content: flex-start;
	text-align: left;
}

.fs-block-background-slideshow.is-text-center .trendy-bg-slideshow__inner,
.wp-block-flatsome-background-slideshow.is-text-center .trendy-bg-slideshow__inner {
	justify-content: center;
	text-align: center;
}

.fs-block-background-slideshow.is-text-right .trendy-bg-slideshow__inner,
.wp-block-flatsome-background-slideshow.is-text-right .trendy-bg-slideshow__inner {
	justify-content: flex-end;
	text-align: right;
}

.fs-block-background-slideshow .trendy-bg-slideshow__content,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__content {
	width: 100%;
	max-width: 100%;
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumbs,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumbs {
	--trendy-bs-thumb-step: 145px;
	position: absolute;
	right: clamp(18px, 3vw, 42px);
	bottom: clamp(18px, 3vw, 34px);
	z-index: 3;
	width: min(46vw, 560px);
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.9) 10%, #000 100%);
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumb-track,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb-track {
	display: flex;
	gap: 5px;
	align-items: flex-end;
	transition: transform var(--trendy-bs-transition-duration, 1200ms) ease;
	transform: translate3d(calc(-1 * var(--trendy-bs-thumb-shift, 0px)), 0, 0);
	will-change: transform;
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumb-track.is-resetting,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb-track.is-resetting {
	transition: none;
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumb,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb {
	position: relative;
	flex: 0 0 140px;
	height: 168px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
	border-radius: 24px;
	opacity: 0.5;
	transform: translate3d(0, 0, 0) scale(0.92);
	transform-origin: center right;
	transition:
		opacity var(--trendy-bs-transition-duration, 1200ms) ease,
		transform var(--trendy-bs-transition-duration, 1200ms) ease;
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
	appearance: none;
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumb:focus-visible,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb:focus-visible {
	outline: 2px solid rgba(255, 246, 234, 0.92);
	outline-offset: 3px;
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumb::after,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 12, 20, 0.04) 0%, rgba(8, 12, 20, 0.68) 100%);
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumb.is-active,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb.is-active {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumb-image,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fs-block-background-slideshow .trendy-bg-slideshow__thumb-caption,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb-caption {
	position: absolute;
	right: 16px;
	bottom: 14px;
	left: 16px;
	z-index: 1;
	font-size: 1rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1.1;
	color: #fff7ec;
	text-shadow: 0 6px 20px rgba(0, 0, 0, 0.36);
}

@media (min-width: 1100px) {
	.fs-block-background-slideshow.is-thumbs-hide-lg .trendy-bg-slideshow__thumbs,
	.wp-block-flatsome-background-slideshow.is-thumbs-hide-lg .trendy-bg-slideshow__thumbs {
		display: none;
	}
}

@media (min-width: 783px) and (max-width: 1099px) {
	.fs-block-background-slideshow.is-thumbs-hide-md .trendy-bg-slideshow__thumbs,
	.wp-block-flatsome-background-slideshow.is-thumbs-hide-md .trendy-bg-slideshow__thumbs {
		display: none;
	}
}

.fs-block-background-slideshow .trendy-bg-slideshow__content > *,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__content > * {
	margin-top: 0;
	margin-bottom: 0;
}



.fs-block-background-slideshow .trendy-bg-slideshow__eyebrow,
.fs-block-background-slideshow .trendy-bg-slideshow__subtitle,
.fs-block-background-slideshow .trendy-bg-slideshow__title,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__eyebrow,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__subtitle,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__title {
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
}

.fs-block-background-slideshow .trendy-bg-slideshow__eyebrow,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__eyebrow {
	font-size: clamp(2rem, 3.4vw, 3.75rem);
	line-height: 0.95;
	color: #f8ede0;
}

.fs-block-background-slideshow .trendy-bg-slideshow__title,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__title {
	font-size: clamp(4.5rem, 10vw, 5.2rem);
	line-height: 0.84;
	font-weight: 700;
	color: #f4da74;
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.fs-block-background-slideshow .trendy-bg-slideshow__subtitle,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__subtitle {
	font-size: clamp(1.1rem, 4vw, 2.5rem);
	line-height: 1.3;
	color: #fff6ea;
}

.fs-block-background-slideshow .wp-block-buttons,
.wp-block-flatsome-background-slideshow .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	
}

.fs-block-background-slideshow.is-text-center .wp-block-buttons,
.wp-block-flatsome-background-slideshow.is-text-center .wp-block-buttons {
	justify-content: center;
}

.fs-block-background-slideshow.is-text-right .wp-block-buttons,
.wp-block-flatsome-background-slideshow.is-text-right .wp-block-buttons {
	justify-content: flex-end;
}

.fs-block-background-slideshow .wp-block-button__link,
.wp-block-flatsome-background-slideshow .wp-block-button__link {
	padding: 17px 34px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none;
}

.fs-block-background-slideshow .trendy-bg-slideshow__button--primary .wp-block-button__link,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__button--primary .wp-block-button__link {
	background: #b197db;
	color: #ffffff;
}

.fs-block-background-slideshow .trendy-bg-slideshow__button--secondary .wp-block-button__link,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__button--secondary .wp-block-button__link {
	background: #ffffff;
	color: #0e1a29;
}

.fs-block-background-slideshow .trendy-bg-slideshow__button--secondary .wp-block-button__link:hover,
.fs-block-background-slideshow .trendy-bg-slideshow__button--secondary .wp-block-button__link:focus,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__button--secondary .wp-block-button__link:hover,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__button--secondary .wp-block-button__link:focus {
	background: #fff2d1;
	color: #0e1a29;
}

.fs-block-background-slideshow .trendy-bg-slideshow__button--primary .wp-block-button__link:hover,
.fs-block-background-slideshow .trendy-bg-slideshow__button--primary .wp-block-button__link:focus,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__button--primary .wp-block-button__link:hover,
.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__button--primary .wp-block-button__link:focus {
	background: #9f82d0;
	color: #ffffff;
}

@media (max-width: 782px) {
	.fs-block-background-slideshow.is-thumbs-hide-sm .trendy-bg-slideshow__thumbs,
	.wp-block-flatsome-background-slideshow.is-thumbs-hide-sm .trendy-bg-slideshow__thumbs {
		display: none;
	}

	.fs-block-background-slideshow.trendy-bg-slideshow,
	.wp-block-flatsome-background-slideshow.trendy-bg-slideshow {
		min-height: min(84vh, 640px);
	}

	.fs-block-background-slideshow .trendy-bg-slideshow__overlay,
	.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__overlay {
		opacity: calc(var(--trendy-bs-overlay-opacity, 0.55) + 0.08);
		background:
			linear-gradient(180deg, rgba(4, 6, 12, 0.88) 0%, rgba(10, 14, 22, 0.4) 52%, rgba(10, 14, 22, 0.86) 100%),
			linear-gradient(90deg, rgba(4, 6, 12, 0.92) 0%, rgba(4, 6, 12, 0.42) 100%);
	}

	.fs-block-background-slideshow .trendy-bg-slideshow__inner,
	.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__inner {
		padding: 28px 22px 34px;
	}

	.fs-block-background-slideshow .trendy-bg-slideshow__content,
	.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__content {
		width: 100%;
	}

	.fs-block-background-slideshow .trendy-bg-slideshow__thumbs,
	.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumbs {
		--trendy-bs-thumb-step: 105px;
		right: 14px;
		bottom: 14px;
		width: min(84vw, 320px);
	}

	.fs-block-background-slideshow .trendy-bg-slideshow__thumb-track,
	.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb-track {
		gap: 5px;
	}

	.fs-block-background-slideshow .trendy-bg-slideshow__thumb,
	.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb {
		flex-basis: 100px;
		height: 120px;
		border-radius: 18px;
	}

	.fs-block-background-slideshow .trendy-bg-slideshow__thumb-caption,
	.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__thumb-caption {
		right: 12px;
		bottom: 10px;
		left: 12px;
		font-size: 0.82rem;
	}

	.fs-block-background-slideshow .wp-block-buttons,
	.wp-block-flatsome-background-slideshow .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.fs-block-background-slideshow .wp-block-button,
	.wp-block-flatsome-background-slideshow .wp-block-button {
		width: 100%;
	}

	.fs-block-background-slideshow .wp-block-button__link,
	.wp-block-flatsome-background-slideshow .wp-block-button__link {
		display: block;
		width: 100%;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fs-block-background-slideshow .trendy-bg-slideshow__slide,
	.wp-block-flatsome-background-slideshow .trendy-bg-slideshow__slide {
		transition: none;
		animation: none;
	}
}
