.lmsc-carousel,
.lmsc-carousel * {
	box-sizing: border-box;
}

.lmsc-carousel {
	--lmsc-per-view: 1;
	--lmsc-gap: 24px;
	--lmsc-photo-width: 42%;
	--lmsc-card-min-height: 720px;
	--lmsc-photo-height: 720px;
	--lmsc-photo-gap: 10px;
	--lmsc-transition: 420ms;
	position: relative;
	width: 100%;
	max-width: none;
	min-width: 0;
}

/* Optional full-bleed mode. This reaches the browser edges even inside a boxed Elementor container. */
.lmsc-carousel.is-full-browser-width {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.lmsc-viewport {
	width: 100%;
	overflow: hidden;
	touch-action: pan-y;
	outline: none;
	transition: height 280ms ease;
}

.lmsc-viewport:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.lmsc-track {
	display: flex;
	align-items: flex-start;
	gap: var(--lmsc-gap);
	width: 100%;
	transform: translate3d(0, 0, 0);
	transition: transform var(--lmsc-transition) ease;
	will-change: transform;
}

.lmsc-slide {
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
}

.lmsc-card {
	width: 100%;
	min-height: var(--lmsc-card-min-height);
	overflow: hidden;
	background: #fff;
	border: 1px solid #ddddda;
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.09);
}

/* Desktop and tablet: photograph and text remain two columns in one row. */
.lmsc-carousel.is-photo-left .lmsc-card,
.lmsc-carousel.is-photo-right .lmsc-card {
	display: grid;
	grid-template-columns: minmax(0, var(--lmsc-photo-width)) minmax(0, 1fr);
	grid-template-rows: auto;
	align-items: stretch;
}

.lmsc-carousel.is-photo-right .lmsc-photo-stack {
	order: 2;
}

.lmsc-carousel.is-photo-right .lmsc-content {
	order: 1;
}

.lmsc-carousel.is-photo-top .lmsc-card {
	display: flex;
	flex-direction: column;
}

/* Media column: one legacy photo fills the column; once a second photo is added, the two images stack vertically. */
.lmsc-photo-stack {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	align-self: stretch;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: var(--lmsc-card-min-height);
	gap: 0;
	overflow: hidden;
	background: #f0f0ed;
}

.lmsc-photo-stack.has-two-photos {
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--lmsc-photo-gap);
}

.lmsc-photo {
	position: relative;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0 !important;
	overflow: hidden;
	background: #f0f0ed;
}

.lmsc-photo img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	object-position: center center;
}

/* When photographs are placed above the text, two photos sit side by side within the existing photo-height setting. */
.lmsc-carousel.is-photo-top .lmsc-photo-stack {
	height: var(--lmsc-photo-height);
	min-height: var(--lmsc-photo-height);
}

.lmsc-carousel.is-photo-top .lmsc-photo-stack.has-two-photos {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
}

.lmsc-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-start;
	align-self: start;
	min-width: 0;
	padding: 58px 60px 62px;
}

.lmsc-name {
	margin: 0;
	color: #292929;
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.lmsc-heading {
	margin: 20px 0 74px;
	color: #287ac0;
	font-size: clamp(1.5rem, 2vw, 1.95rem);
	font-weight: 700;
	line-height: 1.25;
}

.lmsc-story {
	color: #292929;
	font-size: clamp(1.125rem, 1.4vw, 1.5rem);
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.lmsc-story > :first-child,
.lmsc-story-preview > :first-child,
.lmsc-story-full > :first-child {
	margin-top: 0;
}

.lmsc-story > :last-child,
.lmsc-story-preview > :last-child,
.lmsc-story-full > :last-child {
	margin-bottom: 0;
}

.lmsc-story p,
.lmsc-story-preview p,
.lmsc-story-full p {
	margin-bottom: 28px;
}

.lmsc-story-preview[hidden],
.lmsc-story-full[hidden] {
	display: none !important;
}

.lmsc-story-page[hidden] {
	display: none !important;
}

.lmsc-story-page {
	animation: lmsc-story-page-in 180ms ease;
}

@keyframes lmsc-story-page-in {
	from { opacity: 0; transform: translateX(10px); }
	to { opacity: 1; transform: translateX(0); }
}

.lmsc-story-page-detail > :first-child {
	margin-top: 0;
}

.lmsc-story-page-detail > :last-child:not(.lmsc-button) {
	margin-bottom: 0;
}

.lmsc-carousel .lmsc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin-top: 24px;
	padding: 12px 20px;
	color: var(--lmsc-button-colour, #fff) !important;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	background: var(--lmsc-button-background, #287ac0) !important;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	transition: none;
	-webkit-appearance: none;
	appearance: none;
}

.lmsc-carousel .lmsc-button:hover,
.lmsc-carousel .lmsc-button:focus-visible {
	color: var(--lmsc-button-colour, #fff) !important;
	text-decoration: none;
	background: var(--lmsc-button-background, #287ac0) !important;
	transform: none !important;
}

/* Automatic story expander: same size and font as the site button, with no colour change on hover. */
.elementor-widget-liga_mac_success_stories_carousel .lmsc-carousel button.lmsc-story-toggle,
.elementor-widget-liga_mac_success_stories_carousel .lmsc-carousel button.lmsc-story-toggle:hover,
.elementor-widget-liga_mac_success_stories_carousel .lmsc-carousel button.lmsc-story-toggle:focus-visible {
	white-space: nowrap;
	color: var(--lmsc-button-colour, #fff) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: uppercase;
	background: var(--lmsc-button-background, #287ac0) !important;
	transform: none !important;
}

.lmsc-slide-navigation {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	width: 100%;
	padding: 0;
	margin-top: 20px;
}

/* When more than one story is visible, show carousel navigation only with the current story. */
.lmsc-slide:not(.is-current) .lmsc-slide-navigation {
	visibility: hidden;
}

.lmsc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	padding: 0;
	color: #fff;
	font: inherit;
	font-size: 34px;
	line-height: 1;
	background: #287ac0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.lmsc-arrow:hover,
.lmsc-arrow:focus-visible {
	color: #fff;
	background: #ff5b4d;
	transform: scale(1.05);
}

.lmsc-arrow:disabled {
	cursor: not-allowed;
	opacity: 0.35;
	transform: none;
}

.lmsc-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.lmsc-dot {
	width: 18px;
	height: 18px;
	padding: 0;
	background: #c9c9c5;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 180ms ease, transform 180ms ease;
}

.lmsc-dot.is-active {
	background: #ff5b4d;
	transform: scale(1.15);
}

.lmsc-dot:focus-visible,
.lmsc-arrow:focus-visible,
.lmsc-story-toggle:focus-visible,
.lmsc-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.lmsc-navigation-spacer {
	min-height: 1px;
}

.lmsc-status.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 1024px) {
	.lmsc-carousel {
		--lmsc-card-min-height: 620px;
	}

	.lmsc-content {
		padding: 46px 42px 50px;
	}

	.lmsc-heading {
		margin-bottom: 48px;
	}
}

/* Stack only on small phones. */
@media (max-width: 600px) {
	.lmsc-carousel {
		--lmsc-card-min-height: 360px;
	}
	.lmsc-carousel.is-photo-left .lmsc-card,
	.lmsc-carousel.is-photo-right .lmsc-card {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.lmsc-carousel.is-photo-right .lmsc-photo-stack,
	.lmsc-carousel.is-photo-right .lmsc-content {
		order: initial;
	}

	.lmsc-photo-stack {
		height: var(--lmsc-card-min-height);
		min-height: var(--lmsc-card-min-height);
	}

	/* On small phones, show the two photos side by side above the text to avoid an overly tall card. */
	.lmsc-photo-stack.has-two-photos {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-rows: minmax(0, 1fr);
	}

	.lmsc-photo,
	.lmsc-photo img {
		height: 100%;
		min-height: 0 !important;
	}

	.lmsc-content {
		padding: 34px 24px 40px;
	}

	.lmsc-name {
		font-size: 42px;
	}

	.lmsc-heading {
		margin-bottom: 34px;
		font-size: 22px;
	}

	.lmsc-story {
		font-size: 17px;
	}

	.lmsc-slide-navigation {
		grid-template-columns: 52px minmax(0, 1fr) 52px;
		gap: 10px;
		padding: 0;
		margin-top: 18px;
	}

	.lmsc-arrow {
		width: 52px;
		height: 52px;
		font-size: 28px;
	}

	.lmsc-dot {
		width: 13px;
		height: 13px;
	}
}



.lmsc-story-top-anchor {
	display: block;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	scroll-margin-top: 110px;
}

@media (max-width: 600px) {
	.lmsc-story-top-anchor {
		scroll-margin-top: 80px;
	}
}

.lmsc-story-detail-anchor {
	display: block;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	scroll-margin-top: 110px;
}

@media (max-width: 600px) {
	.lmsc-story-detail-anchor {
		scroll-margin-top: 80px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lmsc-viewport,
	.lmsc-track,
	.lmsc-arrow,
	.lmsc-dot,
	.lmsc-story-toggle,
	.lmsc-button {
		transition: none !important;
	}

	.lmsc-story-page {
		animation: none !important;
	}
}
