/* LAMDA Cycle Slider — markup and controls follow Cycle2 (cycle-slideshow, cycle-prev, cycle-next, cycle-pager, cycle-overlay). */

.lamda-cycle-slider {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.lamda-cycle-slider__shell {
	position: relative;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.lamda-cycle-slider__shell.lamda-cycle-slider--layout-full {
	max-width: 100%;
}

.lamda-cycle-slider__shell.lamda-cycle-slider--layout-container {
	max-width: var(--luxf-container-width, 1080px);
}

.lamda-cycle-slider__shell.lamda-cycle-slider--layout-custom {
	max-width: var(--lamda-cycle-layout-max-width, 1080px);
}

.row-collapse > .col .lamda-cycle-slider__shell.lamda-cycle-slider--layout-container,
.row-collapse .lamda-cycle-slider__shell.lamda-cycle-slider--layout-container {
	max-width: var(--luxf-container-width, 1080px) !important;
	width: 100%;
}

.lamda-cycle-slider {
	--lamda-cycle-nav-size: 2.5rem;
}

.lamda-cycle-slider--nav-size-normal {
	--lamda-cycle-nav-size: 2rem;
}

.lamda-cycle-slider--nav-size-large {
	--lamda-cycle-nav-size: 2.5rem;
}

.lamda-cycle-slider--nav-size-x-large {
	--lamda-cycle-nav-size: 3rem;
}

.lamda-cycle-slider--nav-size-2x-large {
	--lamda-cycle-nav-size: 4rem;
}

.lamda-cycle-slider--nav-size-3x-large {
	--lamda-cycle-nav-size: 5rem;
}

.lamda-cycle-slider__track {
	position: relative;
	width: 100%;
	overflow: hidden;
}

/* Cycle2 caption2 overlay — title + mô tả (slideUp / slideDown) */
.lamda-cycle-slider__overlay.cycle-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	/* Cycle2 sets the active slide to z-index: maxZ (100). Controls and caption must sit above that. */
	z-index: 160;
	pointer-events: none;
	overflow: hidden;
}

.lamda-cycle-slider__overlay.lamda-slider-cycle-dark {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
	color: #fff;
}

.lamda-cycle-slider__overlay.lamda-slider-cycle-light {
	background: linear-gradient(0deg, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
	color: #000;
}

.lamda-cycle-slider__overlay-inner {
	padding: clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 3rem);
	box-sizing: border-box;
}

.lamda-cycle-slider__overlay-title {
	margin: 0 0 0.4rem;
	font-size: clamp(1.5rem, 4.5vw, 2.75rem);
	line-height: 1.12;
	font-weight: 700;
}

.lamda-cycle-slider__overlay-text {
	margin: 0;
	font-size: clamp(0.875rem, 1.8vw, 1.05rem);
	line-height: 1.5;
	opacity: 0.92;
}

.lamda-cycle-slider__overlay-text:empty {
	display: none;
}

.ux-builder-lamda-cycle-slider:not(.is-builder-ready) .lamda-cycle-slider__frame {
	min-height: 280px;
}

.ux-builder-lamda-cycle-slider:not(.is-builder-ready) .lamda-cycle-slider__track {
	position: relative !important;
	min-height: 280px;
}

.ux-builder-lamda-cycle-slider:not(.is-builder-ready) .lamda-cycle-slide {
	display: block !important;
	position: relative !important;
	min-height: 240px;
	visibility: visible !important;
}

.ux-builder-lamda-cycle-slider.is-builder-ready .lamda-cycle-slider__frame {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: var(--lamda-cycle-media-ratio, 56.25%);
	min-height: 0;
}

.ux-builder-lamda-cycle-slider.is-builder-ready .lamda-cycle-slider__track {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.ux-builder-lamda-cycle-slider.is-builder-ready .lamda-cycle-slide {
	display: block !important;
	visibility: visible !important;
}

.ux-builder-lamda-cycle-slider.is-builder-ready .lamda-cycle-slide.is-builder-active {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.ux-builder-lamda-cycle-slider.is-builder-ready .lamda-cycle-slide__inner {
	min-height: 0;
	height: 100%;
}

.ux-builder-lamda-cycle-slider.is-builder-ready .lamda-cycle-slider__track > .lamda-cycle-slide:not(.is-builder-active) {
	display: none !important;
}

.lamda-cycle-slide__ux-source {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lamda-cycle-slider--has-media-ratio .lamda-cycle-slider__frame {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: var(--lamda-cycle-media-ratio, 56.25%);
}

.lamda-cycle-slider--full-height .lamda-cycle-slider__frame,
.ux-builder-lamda-cycle-slider.is-builder-ready.lamda-cycle-slider--full-height .lamda-cycle-slider__frame {
	height: 100vh;
	min-height: 550px;
	padding-top: 0;
}

.lamda-cycle-slider--has-media-ratio .lamda-cycle-slider__track {
	position: absolute;
	inset: 0;
	height: 100%;
}

.lamda-cycle-slide {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* Cycle2 active slide trong track có tỉ lệ cố định */
.lamda-cycle-slider--has-media-ratio .lamda-cycle-slider__track > .lamda-cycle-slide.cycle-slide-active,
.lamda-cycle-slider--has-media-ratio .lamda-cycle-slider__track > .lamda-cycle-slide.cycle-sentinel {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.lamda-cycle-slide__inner {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 12rem;
	display: flex;
	align-items: stretch;
}

.lamda-cycle-slide__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #111;
}

.lamda-cycle-slide__media-inner {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.lamda-cycle-slide__media-inner--ratio {
	position: relative;
	height: 0;
	width: 100%;
	padding-top: var(--lamda-cycle-slide-ratio, 56.25%);
}

.lamda-cycle-slide__media-inner--ratio .lamda-cycle-slide__img,
.lamda-cycle-slide__media-inner--ratio img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.lamda-cycle-slide__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Cycle2 prev / next / pager — https://jquery.malsup.com/cycle2/api/ */
.cycle-slideshow > .cycle-prev,
.cycle-slideshow > .cycle-next {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	z-index: 220;
	top: 50%;
	width: auto;
	height: auto;
	min-width: var(--lamda-cycle-nav-size, 2.5rem);
	min-height: var(--lamda-cycle-nav-size, 2.5rem);
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transform: translateY(-50%);
}

.cycle-slideshow > .cycle-prev {
	left: 0.5rem;
}

.cycle-slideshow > .cycle-next {
	right: 0.5rem;
}

.cycle-slideshow > .cycle-prev .cycle-nav-icon,
.cycle-slideshow > .cycle-next .cycle-nav-icon {
	display: block;
	width: 0.63em;
	height: 1em;
	font-size: var(--lamda-cycle-nav-size, 2.5rem);
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.lamda-cycle-slider--no-arrows .cycle-prev,
.lamda-cycle-slider--no-arrows .cycle-next {
	display: none;
}

.lamda-cycle-slider--nav-style-circle .cycle-nav-icon {
	padding: 0.35em;
	border: 2px solid currentColor;
	border-radius: 100%;
	box-sizing: content-box;
}

.lamda-cycle-slider--nav-color-light .cycle-prev,
.lamda-cycle-slider--nav-color-light .cycle-next,
.lamda-cycle-slider--nav-color-light .cycle-pager {
	color: #fff;
}

.lamda-cycle-slider--nav-color-dark .cycle-prev,
.lamda-cycle-slider--nav-color-dark .cycle-next,
.lamda-cycle-slider--nav-color-dark .cycle-pager {
	color: #111;
}

.lamda-cycle-slider--nav-outside,
.lamda-cycle-slider--nav-outside .lamda-cycle-slider__shell,
.lamda-cycle-slider--nav-outside .lamda-cycle-slider__frame {
	overflow: visible;
}

.lamda-cycle-slider--nav-outside .cycle-slideshow > .cycle-prev {
	left: auto;
	right: 100%;
	margin-right: 0.5rem;
}

.lamda-cycle-slider--nav-outside .cycle-slideshow > .cycle-next {
	right: auto;
	left: 100%;
	margin-left: 0.5rem;
}

.cycle-slideshow > .cycle-pager {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.75rem;
	z-index: 210;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	text-align: center;
}

.lamda-cycle-slider--no-bullets .cycle-pager {
	display: none;
}

.cycle-slideshow > .cycle-pager > span {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0;
	padding: 0;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: transparent;
	box-sizing: border-box;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	opacity: 0.45;
}

.cycle-slideshow > .cycle-pager > span.cycle-pager-active {
	opacity: 1;
}

.lamda-cycle-slider--dots-square .cycle-pager > span,
.lamda-cycle-slider--dots-simple .cycle-pager > span {
	border-radius: 0;
}

.lamda-cycle-slider--dots-dashes .cycle-pager > span,
.lamda-cycle-slider--dots-dashes-spaced .cycle-pager > span {
	width: 22px;
	height: 4px;
	border-radius: 0;
	border-width: 0;
	background: currentColor;
}

.lamda-cycle-slider--dots-dashes-spaced .cycle-pager {
	gap: 0.65rem;
}
