
.wr-fs{
	--wr-fs-phone:320px; --wr-fs-colgap:36px; --wr-fs-cardgap:22px; --wr-fs-fade:350ms;
	display:grid; grid-template-columns:1fr var(--wr-fs-phone) 1fr;
	gap:var(--wr-fs-colgap); align-items:center;
}
.wr-fs-head{text-align:center;max-width:760px;margin:0 auto 44px}
.wr-fs-heading{margin:0 0 10px;color:#3d4556}
.wr-fs-sub{margin:0;color:#5f6778;line-height:1.6}

.wr-fs-col{display:flex;flex-direction:column;gap:var(--wr-fs-cardgap)}
.wr-fs-stretch-yes .wr-fs{align-items:stretch}
.wr-fs-stretch-yes .wr-fs-card{flex:1}

.wr-fs-card{
	display:flex;flex-direction:column;justify-content:center;cursor:default;
	background:#fff;border:1px solid #e3e6eb;border-radius:12px;padding:22px 22px 24px;
	text-decoration:none !important;color:inherit;
	transition:border-color .25s,background-color .25s,box-shadow .25s;
}
.wr-fs-card.is-link{cursor:pointer}
.wr-fs-card.is-active{border-color:#e8833a;box-shadow:0 6px 20px rgba(30,40,60,.07)}
.wr-fs-card:focus-visible{outline:2px solid #e8833a;outline-offset:3px}
.wr-fs-card-title{margin:0 0 12px;font-size:19px;font-weight:500;line-height:1.3;color:#3d4556;transition:color .25s}
.wr-fs-card-desc{margin:0;font-size:14.5px;line-height:1.5;color:#5f6778}
.wr-fs-card-media{display:none}

/* Center image: all images stacked, the active one fades in */
/* The phone column is as tall as the cards; the image box inside it is centered
   and becomes sticky, so it stays on screen while the longer card columns scroll */
.wr-fs-phone{align-self:stretch;display:flex;flex-direction:column;width:100%;max-width:var(--wr-fs-phone);margin:0 auto}
.wr-fs-sticky{width:100%;margin: 0}
@media (min-width:1025px){
	.wr-fs-sticky-yes .wr-fs-sticky{position:sticky;top:var(--wr-fs-sticky-top,120px)}
	/* sticky stops working if a parent hides overflow */
	.wr-fs-sticky-yes,.wr-fs-sticky-yes > .elementor-widget-container,.wr-fs-wrap{overflow:visible !important}
}
.wr-fs-screen{position:relative}
.wr-fs-screen img{display:block;width:100%;height:auto;transition:opacity var(--wr-fs-fade) ease}
.wr-fs-screen .wr-fs-default{position:relative;opacity:0}
.wr-fs-screen .wr-fs-layer{position:absolute;inset:0;height:100%;object-fit:contain;opacity:0;pointer-events:none}
.wr-fs-screen img.is-on{opacity:1}
/* if there is no default image, the first layer gives the box its height */
.wr-fs-screen:not(:has(.wr-fs-default)) .wr-fs-layer:first-child{position:relative;height:auto}

/* Optional CSS phone frame (when images are only screenshots) */
.wr-fs-phone.has-frame .wr-fs-screen{
	border:10px solid #23262b;border-radius:40px;overflow:hidden;
	background:#000;box-shadow:0 20px 40px rgba(20,25,35,.18);aspect-ratio:9/19.5;
}
.wr-fs-phone.has-frame .wr-fs-screen::before{
	content:"";position:absolute;top:8px;left:50%;width:12px;height:12px;margin-left:-6px;
	border-radius:50%;background:#111;z-index:2;
}
.wr-fs-phone.has-frame .wr-fs-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top}

/* Tablet: image on top, two card columns below */
	@media (min-width: 1025px) and (max-width: 1400px){
		.wr-fs-screen img{
			height: 420px;
		}
	}
@media (max-width:1024px){
	.wr-fs{grid-template-columns:1fr 1fr}
	.wr-fs-phone{grid-column:1 / -1;order:-1;margin-bottom:10px}
	.wr-fs-mobile-bottom .wr-fs-phone{order:3;margin:10px auto 0}
	.wr-fs-mobile-hide .wr-fs-phone{display:none}
}
/* Mobile: single column */
@media (max-width:767px){
	.wr-fs{grid-template-columns:1fr;--wr-fs-colgap:var(--wr-fs-cardgap)}
	.wr-fs-phone{max-width:min(var(--wr-fs-phone),80vw)}
	.wr-fs-mobile-middle .wr-fs-phone{order:0;margin:10px auto}
	.wr-fs-card-title{font-size:17px}

	/* each card shows its own image; center image hidden */
	.wr-fs-inline-yes .wr-fs-phone{display:none}
	.wr-fs-inline-yes .wr-fs-card-media{display:block;margin-top:18px;text-align:center}
	.wr-fs-inline-yes .wr-fs-card-img{display:inline-block;width:auto;max-width:min(240px,70%);height:auto}
}
@media (prefers-reduced-motion:reduce){
	.wr-fs-screen img,.wr-fs-card,.wr-fs-card-title{transition:none}
}
