.workscout-feature-stack,
.workscout-feature-stack * {
	box-sizing: border-box;
}

/* WorkScout and Elementor use overflow clipping on page wrappers. Those wrappers
 * otherwise become the sticky containing block and prevent viewport stacking. */
.workscout-feature-stack-sticky-parent {
	overflow: visible !important;
	overflow-x: clip !important;
}

.workscout-feature-stack {
	--lfs-sticky-top: 150px;
	--lfs-text: #111;
	--lfs-muted: #555;

	width: 100%;
	color: var(--lfs-text);
	-webkit-font-smoothing: antialiased;
}

.workscout-feature-stack__main {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.workscout-feature-stack__cards {
	position: relative;
}

.workscout-feature-stack .carousel-navigation {
	display: none;
}

.workscout-feature-stack__card {
	position: sticky;
	top: calc(var(--lfs-sticky-top) + var(--lfs-top-offset));
	margin-bottom: 28px;
	border-radius: 12px !important;
	background: var(--lfs-card-bg);
	backface-visibility: hidden;
	transform-origin: 50% 0;
	will-change: transform;
}

.workscout-feature-stack__card:last-child {
	margin-bottom: 0 !important;
}

.workscout-feature-stack__card-inner {
	display: grid;
	min-height: min(86vh, 700px);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	gap: clamp(32px, 4.5vw, 64px);
	align-items: stretch;
	padding: clamp(26px, 3.5vw, 48px);
}

.workscout-feature-stack__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	padding: clamp(4px, 1vw, 16px);
}

.workscout-feature-stack__content-top {
	display: grid;
	gap: 22px;
}

.workscout-feature-stack__content-bottom {
	display: grid;
	gap: 26px;
}

.workscout-feature-stack__badge {
	display: flex;
	align-items: center;
}

.workscout-feature-stack__badge-label {
	position: relative;
	z-index: 3;
	display: inline-block;
	padding: 8px 16px;
	border-radius: 20px;
	background: var(--lfs-card-deep);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 2px;
	line-height: 1.2;
	text-transform: uppercase;
}

.workscout-feature-stack__badge-echo {
	width: 27px;
	height: 27px;
	margin-left: -16px;
	border-radius: 20px;
	background: var(--lfs-card-accent);
	opacity: 0;
	transform: translateX(-26px);
	transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s, opacity 0.7s ease 0.25s;
}

.workscout-feature-stack__badge-echo:nth-child(2) {
	z-index: 2;
}

.workscout-feature-stack__badge-echo:nth-child(3) {
	z-index: 1;
	transition-delay: 0.38s;
}

.workscout-feature-stack__card.is-in .workscout-feature-stack__badge-echo {
	transform: none;
}

.workscout-feature-stack__card.is-in .workscout-feature-stack__badge-echo:nth-child(2) {
	opacity: 0.38;
}

.workscout-feature-stack__card.is-in .workscout-feature-stack__badge-echo:nth-child(3) {
	opacity: 0.18;
}

.workscout-feature-stack__heading {
	margin: 0;
	color: var(--lfs-text);
	font-size: clamp(30px, 3.6vw, 46px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.08;
	text-wrap: balance;
}

.workscout-feature-stack__heading-accent {
	color: var(--lfs-card-accent);
}

.elementor-widget-workscout-feature-stack .workscout-feature-stack p.workscout-feature-stack__copy {
	max-width: 46ch;
	margin: 0;
	color: var(--lfs-muted);
	font-size: 17px;
	line-height: 1.65;
}

.workscout-feature-stack__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.workscout-feature-stack a.workscout-feature-stack__button {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	justify-content: center;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 6px;
	box-shadow: none;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.workscout-feature-stack__button svg {
	flex: none;
	transition: transform 0.25s ease;
}

.workscout-feature-stack__button:hover svg {
	transform: translateX(4px);
}

.workscout-feature-stack a.workscout-feature-stack__button:focus-visible,
.workscout-feature-stack__listing:focus-visible {
	outline: 2px solid var(--lfs-card-deep);
	outline-offset: 2px;
}

.workscout-feature-stack a.workscout-feature-stack__button--solid {
	background: var(--lfs-card-accent);
	color: #fff;
}

.workscout-feature-stack a.workscout-feature-stack__button--solid:hover,
.workscout-feature-stack a.workscout-feature-stack__button--solid:focus {
	background: var(--lfs-card-deep);
	color: #fff;
}

.workscout-feature-stack a.workscout-feature-stack__button--ghost {
	border-color: rgba(17, 17, 17, 0.12);
	background: #fff;
	color: var(--lfs-text);
}

.workscout-feature-stack a.workscout-feature-stack__button--ghost:hover,
.workscout-feature-stack a.workscout-feature-stack__button--ghost:focus {
	border-color: var(--lfs-card-accent);
	background: var(--lfs-card-soft);
	color: var(--lfs-card-deep);
}

.workscout-feature-stack__extra {
	max-width: 46ch;
}

.workscout-feature-stack__listing {
	display: flex;
	width: 100%;
	max-width: 46ch;
	align-items: center;
	gap: 14px;
	padding: 12px 16px 12px 12px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08) !important;
	color: var(--lfs-text);
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workscout-feature-stack__listing:hover,
.workscout-feature-stack__listing:focus {
	box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08) !important;
	color: var(--lfs-text);
}

.workscout-feature-stack__extra:not(.workscout-feature-stack__extra--listing) > .workscout-feature-stack__listing:hover,
.workscout-feature-stack__extra:not(.workscout-feature-stack__extra--listing) > .workscout-feature-stack__listing:focus {
	transform: translateY(-3px);
}

.workscout-feature-stack__listing-stack {
	position: relative;
	height: 82px;
}

.workscout-feature-stack__listing-stack .workscout-feature-stack__listing {
	position: absolute;
	inset: auto 0 0;
	transition:
		transform 0.55s cubic-bezier(0.3, 0.7, 0.3, 1.12),
		background-color 0.55s ease,
		box-shadow 0.55s ease,
		opacity 0.45s ease;
}

.workscout-feature-stack__listing-stack .pos-0 {
	z-index: 3;
}

.workscout-feature-stack__listing-stack .pos-1 {
	z-index: 2;
	background: #f2f2f2;
	box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08) !important;
	transform: translateY(-12px) scale(0.94);
}

.workscout-feature-stack__listing-stack .pos-2 {
	z-index: 1;
	background: #e3e3e3;
	box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08) !important;
	transform: translateY(-24px) scale(0.88);
}

.workscout-feature-stack__listing-stack .pos-1 .workscout-feature-stack__listing-status,
.workscout-feature-stack__listing-stack .pos-2 .workscout-feature-stack__listing-status {
	opacity: 0;
}

.workscout-feature-stack__listing-stack .workscout-feature-stack__listing.is-leaving {
	z-index: 4;
	opacity: 0;
	transform: translateX(55%) rotate(6deg);
	transition:
		transform 0.5s cubic-bezier(0.5, 0, 0.75, 0.4),
		opacity 0.4s ease 0.05s;
}

.workscout-feature-stack__listing-thumb {
	display: block;
	overflow: hidden;
	width: 58px;
	height: 58px;
	flex: none;
	border-radius: 12px;
	background: var(--lfs-card-soft);
}

.workscout-feature-stack__listing-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.workscout-feature-stack__listing-info {
	display: grid;
	min-width: 0;
	flex: 1;
	grid-template-columns: auto 1fr;
	gap: 3px 5px;
}

.workscout-feature-stack__listing-name,
.workscout-feature-stack__listing-meta {
	grid-column: 1 / -1;
}

.workscout-feature-stack__listing-name {
	overflow: hidden;
	color: var(--lfs-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.workscout-feature-stack__listing-stars {
	color: var(--lfs-card-accent);
	font-size: 12px;
	letter-spacing: 0;
	line-height: 1.3;
}

.workscout-feature-stack__listing-reviews {
	overflow: hidden;
	color: var(--lfs-muted);
	font-size: 12.5px;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.workscout-feature-stack__listing-meta {
	overflow: hidden;
	color: var(--lfs-muted);
	font-size: 13px;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.workscout-feature-stack__listing-status {
	flex: none;
	padding: 8px 14px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: opacity 0.4s ease;
}

.workscout-feature-stack__listing-status.is-open {
	border-color: #58b943;
	background: #58b943;
}

.workscout-feature-stack__listing-status.is-closed {
	border-color: #e31b14;
	background: #e31b14;
}

.elementor-widget-workscout-feature-stack .workscout-feature-stack p.workscout-feature-stack__extra-note {
	margin: 12px 0 0 4px;
	color: var(--lfs-muted);
	font-size: 13px;
	line-height: 1.5;
	opacity: 0.85;
}

.workscout-feature-stack__week {
	display: grid;
	gap: 14px;
}

.workscout-feature-stack__week-days {
	display: flex;
	gap: 8px;
}

.workscout-feature-stack__day {
	display: grid;
	max-width: 58px;
	min-width: 0;
	flex: 1;
	justify-items: center;
	gap: 7px;
	padding: 10px 2px 11px;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 12px;
	background: #fff;
	color: var(--lfs-muted);
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.workscout-feature-stack__day i {
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border-radius: 10px;
	background: #f8f8f8;
	color: #d9d9d9;
	font-style: normal;
	transition: background-color 0.5s ease, color 0.5s ease;
}

.workscout-feature-stack__day:nth-child(1),
.workscout-feature-stack__day:nth-child(1) i {
	transition-delay: 0.55s;
}

.workscout-feature-stack__day:nth-child(2),
.workscout-feature-stack__day:nth-child(2) i {
	transition-delay: 0.67s;
}

.workscout-feature-stack__day:nth-child(3),
.workscout-feature-stack__day:nth-child(3) i {
	transition-delay: 0.79s;
}

.workscout-feature-stack__day:nth-child(4),
.workscout-feature-stack__day:nth-child(4) i {
	transition-delay: 0.91s;
}

.workscout-feature-stack__day:nth-child(5),
.workscout-feature-stack__day:nth-child(5) i {
	transition-delay: 1.03s;
}

.workscout-feature-stack__day:nth-child(6),
.workscout-feature-stack__day:nth-child(6) i {
	transition-delay: 1.15s;
}

.workscout-feature-stack__day:nth-child(7),
.workscout-feature-stack__day:nth-child(7) i {
	transition-delay: 1.27s;
}

.workscout-feature-stack__card.is-in .workscout-feature-stack__day.is-booked {
	border-color: var(--lfs-card-accent);
	background: var(--lfs-card-accent);
	color: #fff;
}

.workscout-feature-stack__card.is-in .workscout-feature-stack__day.is-booked i {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.elementor-widget-workscout-feature-stack .workscout-feature-stack p.workscout-feature-stack__week-caption {
	margin: 0;
	color: var(--lfs-muted);
	font-size: 14px;
	line-height: 1.5;
}

.workscout-feature-stack__week-caption strong {
	color: var(--lfs-text);
	font-weight: 500;
}

.workscout-feature-stack__quote {
	display: flex;
	max-width: 46ch;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 20px 22px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.workscout-feature-stack__quote-avatar {
	display: grid;
	width: 42px;
	height: 42px;
	flex: none;
	place-items: center;
	border-radius: 12px;
	background: var(--lfs-card-soft);
	color: var(--lfs-card-deep);
	font-size: 15px;
	font-weight: 500;
}

.workscout-feature-stack__quote-stars {
	display: block;
	margin-bottom: 6px;
	color: var(--lfs-card-accent);
	font-size: 13px;
	line-height: 1.2;
}

.elementor-widget-workscout-feature-stack .workscout-feature-stack p.workscout-feature-stack__quote-text {
	margin: 0 0 8px;
	color: var(--lfs-muted);
	font-size: 15px;
	font-style: normal;
	line-height: 1.6;
}

.workscout-feature-stack__quote figcaption {
	color: var(--lfs-text);
	font-size: 13px;
	line-height: 1.4;
}

.workscout-feature-stack__ticker {
	overflow: hidden;
	max-width: 520px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.workscout-feature-stack__ticker-track {
	display: flex;
	width: max-content;
	animation: workscoutFeatureStackTicker 26s linear infinite;
}

.workscout-feature-stack__ticker:hover .workscout-feature-stack__ticker-track {
	animation-play-state: paused;
}

.workscout-feature-stack__ticker-group {
	display: flex;
	gap: 10px;
	padding-right: 10px;
}

.workscout-feature-stack__pill {
	flex: none;
	padding: 9px 18px;
	border: 1px solid var(--lfs-card-soft);
	border-radius: 50px;
	background: #fff;
	color: var(--lfs-card-deep);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
}

@keyframes workscoutFeatureStackTicker {
	to {
		transform: translateX(-50%);
	}
}

.workscout-feature-stack__checklist {
	display: grid;
	max-width: 46ch;
	grid-template-columns: 1fr 1fr;
	gap: 14px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.workscout-feature-stack__checklist li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--lfs-muted);
	font-size: 15px;
	line-height: 1.4;
}

.workscout-feature-stack__check {
	display: grid;
	width: 24px;
	height: 24px;
	flex: none;
	place-items: center;
	border-radius: 12px;
	background: #fff;
	color: var(--lfs-card-accent);
}

.workscout-feature-stack__media {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	margin: 0;
	border-radius: 12px !important;
	background: var(--lfs-card-soft);
}

.workscout-feature-stack__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.workscout-feature-stack.is-ready .workscout-feature-stack__reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.workscout-feature-stack.is-ready .workscout-feature-stack__card.is-in .workscout-feature-stack__reveal {
	opacity: 1;
	transform: none;
}

.workscout-feature-stack.is-ready .workscout-feature-stack__content-top > .workscout-feature-stack__reveal:nth-child(2) {
	transition-delay: 0.09s;
}

.workscout-feature-stack.is-ready .workscout-feature-stack__content-top > .workscout-feature-stack__reveal:nth-child(3) {
	transition-delay: 0.18s;
}

.workscout-feature-stack.is-ready .workscout-feature-stack__extra {
	transition-delay: 0.22s;
}

.workscout-feature-stack.is-ready .workscout-feature-stack__content-bottom .workscout-feature-stack__reveal {
	transition-delay: 0.26s;
}

.workscout-feature-stack.is-ready .workscout-feature-stack__media.workscout-feature-stack__reveal {
	transform: scale(0.965);
	transition-delay: 0.15s;
}

@media (max-width: 991px) {
	.workscout-feature-stack {
		--lfs-sticky-top: 100px;
	}

	.workscout-feature-stack__cards {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 4px;
		overscroll-behavior-x: contain;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.workscout-feature-stack__cards::-webkit-scrollbar {
		display: none;
	}

	.workscout-feature-stack .carousel-navigation {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin-top: 16px;
	}

	.workscout-feature-stack .carousel-navigation .nav-arrow {
		width: 48px;
		height: 48px;
		border: none;
		background: #00000017;
		border-radius: 6px;
		color: #222;
		font-size: 16px;
		cursor: pointer;
		transition: all 0.3s ease;
		display: flex;
		align-items: center;
		justify-content: center;
		user-select: none;
		outline: none;
	}

	.workscout-feature-stack .carousel-navigation .nav-arrow:disabled {
		opacity: 0.4;
		cursor: not-allowed;
		transform: none;
	}

	.workscout-feature-stack__card {
		position: relative;
		top: auto !important;
		width: 100%;
		min-width: 0;
		flex: 0 0 100%;
		margin-bottom: 0 !important;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		transform: none !important;
		will-change: auto;
	}

	.workscout-feature-stack__card-inner {
		min-height: 0;
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.workscout-feature-stack__content {
		gap: 24px;
	}

	.workscout-feature-stack__media {
		min-height: 300px;
		order: 2;
	}
}

@media (max-width: 580px) {
	.workscout-feature-stack__week-days {
		gap: 4px;
	}

	.workscout-feature-stack__day {
		font-size: 9px;
	}
}

@media (max-width: 480px) {
	.workscout-feature-stack {
		--lfs-sticky-top: 80px;
	}

	.workscout-feature-stack__actions .workscout-feature-stack__button {
		width: 100%;
	}

	.workscout-feature-stack__checklist {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.workscout-feature-stack.is-ready .workscout-feature-stack__reveal,
	.workscout-feature-stack.is-ready .workscout-feature-stack__media.workscout-feature-stack__reveal,
	.workscout-feature-stack__badge-echo {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.workscout-feature-stack__card.is-in .workscout-feature-stack__badge-echo:nth-child(2) {
		opacity: 0.38;
	}

	.workscout-feature-stack__card.is-in .workscout-feature-stack__badge-echo:nth-child(3) {
		opacity: 0.18;
	}

	.workscout-feature-stack__ticker {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.workscout-feature-stack__ticker-track {
		width: auto;
		animation: none;
	}

	.workscout-feature-stack__ticker-group {
		flex-wrap: wrap;
		padding-right: 0;
	}

	.workscout-feature-stack__ticker-group[aria-hidden="true"] {
		display: none;
	}
}
