.fos-showcase,
.fos-showcase * {
	box-sizing: border-box;
}

.fos-showcase {
	--fos-image-duration: 350ms;
	--fos-content-duration: 400ms;
	display: grid;
	grid-template-columns: 38% minmax(0, 62%);
	width: 100%;
	min-height: 690px;
	overflow: hidden;
	background: #fff;
}

.fos-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	min-width: 0;
	padding: 70px 60px;
}

.fos-image-left .fos-panel {
	grid-column: 2;
	grid-row: 1;
}

.fos-image-left .fos-media {
	grid-column: 1;
	grid-row: 1;
}

.fos-media-hidden {
	display: block;
}

.fos-media-hidden .fos-panel {
	width: 100%;
	min-height: inherit;
}

.fos-media-hidden .fos-media {
	display: none;
}

.fos-item {
	width: 100%;
}

.fos-trigger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 50px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 16px;
	outline: 0;
	background: #e5e5e1;
	box-shadow: 13px 14px 20px rgba(0, 0, 0, 0.16);
	color: #4d4d4d;
	font: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
	-webkit-appearance: none;
	appearance: none;
}

.fos-trigger:hover {
	transform: translateY(-2px);
}

.fos-trigger:focus-visible {
	outline: 3px solid rgba(214, 83, 83, 0.35);
	outline-offset: 3px;
}

.fos-item.is-active .fos-trigger {
	background: #d65353;
	color: #fff;
}

.fos-title {
	display: block;
}

.fos-icon {
	position: absolute;
	top: 50%;
	right: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
	transform: translateY(-50%);
}

.fos-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.fos-icon-open,
.fos-item.is-active .fos-icon-closed {
	display: none;
}

.fos-item.is-active .fos-icon-open {
	display: inline-flex;
}

.fos-content {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	visibility: hidden;
	transition: grid-template-rows var(--fos-content-duration) ease, opacity calc(var(--fos-content-duration) * 0.75) ease, visibility 0s linear var(--fos-content-duration);
}

.fos-item.is-active .fos-content {
	grid-template-rows: 1fr;
	opacity: 1;
	visibility: visible;
	transition: grid-template-rows var(--fos-content-duration) ease, opacity calc(var(--fos-content-duration) * 0.75) ease, visibility 0s linear 0s;
}

.fos-content-clip {
	min-height: 0;
	overflow: hidden;
}

.fos-content-inner {
	margin-top: 12px;
	padding: 22px 20px;
	border: 1px solid #222;
	border-radius: 30px;
	background: #fff;
	color: #202020;
	font-size: 18px;
	line-height: 1.5;
}

.fos-content-inner > :first-child {
	margin-top: 0;
}

.fos-content-inner > :last-child {
	margin-bottom: 0;
}

.fos-content-animation-off .fos-content,
.fos-content-animation-off .fos-item.is-active .fos-content {
	transition: none;
}

.fos-media {
	position: relative;
	min-width: 0;
	min-height: 100%;
	overflow: hidden;
	background: #d8d8d8;
	isolation: isolate;
}

.fos-media::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: none;
	pointer-events: none;
	content: "";
}

.fos-has-overlay .fos-media::after {
	display: block;
}

.fos-image-layer {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--fos-image-duration) ease, transform var(--fos-image-duration) ease;
}

.fos-image-layer.is-active {
	z-index: 1;
	opacity: 1;
}

.fos-effect-fade-zoom .fos-image-layer {
	transform: scale(1.025);
}

.fos-effect-fade-zoom .fos-image-layer.is-active {
	transform: scale(1);
}

.fos-image-animation-off .fos-image-layer {
	transition: none;
}

.fos-image-layer img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.fos-image-slides {
	position: absolute;
	inset: 0;
}

.fos-image-slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	transition: opacity var(--fos-image-duration) ease;
}

.fos-image-slide.is-active {
	z-index: 1;
	opacity: 1;
}

.fos-image-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.fos-image-animation-off .fos-image-slide {
	transition: none;
}

.fos-image-nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%);
	transition: background-color 200ms ease, opacity 200ms ease;
}

.fos-image-layer:not(.is-active) .fos-image-nav,
.fos-image-layer:not(.is-active) .fos-image-dot {
	pointer-events: none !important;
}

.fos-media:hover .fos-image-nav,
.fos-image-nav:focus-visible {
	opacity: 1;
	pointer-events: auto;
}

.fos-image-nav:hover {
	background: rgba(0, 0, 0, 0.55);
}

.fos-image-nav svg {
	width: 18px;
	height: 18px;
}

.fos-image-prev {
	left: 16px;
}

.fos-image-next {
	right: 16px;
}

.fos-image-dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 3;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}

.fos-image-dot {
	width: 9px;
	height: 9px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: background-color 200ms ease, transform 200ms ease;
}

.fos-image-dot:hover {
	background: rgba(255, 255, 255, 0.85);
}

.fos-image-dot.is-active {
	background: #d65353;
	transform: scale(1.15);
}

@media (max-width: 767px) {
	.fos-showcase {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.fos-panel {
		order: 1;
		gap: 12px;
		padding: 30px 20px;
	}

	.fos-media {
		order: 2;
		width: 100%;
		height: 380px;
		min-height: 380px;
	}

	.fos-mobile-image-top .fos-media {
		order: 0;
	}

	.fos-trigger {
		font-size: 16px;
	}

	.fos-content-inner {
		font-size: 16px;
	}

	.fos-image-nav {
		opacity: 1;
		pointer-events: auto;
		width: 34px;
		height: 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fos-showcase .fos-trigger,
	.fos-showcase .fos-content,
	.fos-showcase .fos-image-layer,
	.fos-showcase .fos-image-slide {
		transition: none !important;
	}
}
