.lwsb-grid {
	--lwsb-columns: 4;
	display: grid;
	grid-template-columns: repeat(var(--lwsb-columns), minmax(0, 1fr));
	gap: 22px;
	width: 100%;
}

.lwsb-card {
	--lwsb-bg: #030303;
	--lwsb-accent: #79007f;
	--lwsb-dark-purple: #2a002c;
	--lwsb-text: #ffffff;
	--lwsb-muted: #beb3c1;
	position: relative;
	display: flex;
	min-height: 360px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	overflow: hidden;
	padding: 118px 34px 36px;
	border: 1px solid rgba(121, 0, 127, 0.45);
	border-radius: 8px;
	background:
		linear-gradient(145deg, rgba(121, 0, 127, 0.16), rgba(3, 3, 3, 0) 48%),
		var(--lwsb-bg);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 18px 50px rgba(0, 0, 0, 0.28);
	color: var(--lwsb-text);
	text-decoration: none;
	isolation: isolate;
	transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.lwsb-card::before {
	position: absolute;
	inset: auto -20% -42% -20%;
	z-index: -1;
	height: 72%;
	background: radial-gradient(circle at 50% 100%, rgba(121, 0, 127, 0.82), rgba(42, 0, 44, 0.62) 42%, transparent 72%);
	content: "";
	opacity: 0;
	transform: translateY(18px) scale(0.96);
	transition: opacity 280ms ease, transform 280ms ease;
}

.lwsb-card::after {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(180deg, rgba(42, 0, 44, 0.18), rgba(121, 0, 127, 0.33));
	content: "";
	opacity: 0;
	transition: opacity 280ms ease;
}

.lwsb-card:hover,
.lwsb-card:focus-visible {
	border-color: rgba(170, 0, 180, 0.86);
	box-shadow: 0 24px 70px rgba(121, 0, 127, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
	color: var(--lwsb-text);
	outline: none;
	transform: translateY(-8px);
}

.lwsb-card:hover::before,
.lwsb-card:focus-visible::before,
.lwsb-card:hover::after,
.lwsb-card:focus-visible::after {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.lwsb-number {
	position: absolute;
	top: 26px;
	left: 34px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 38px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	transition: color 260ms ease, transform 260ms ease;
}

.lwsb-line {
	position: absolute;
	top: 84px;
	left: 36px;
	width: 42px;
	height: 2px;
	background: var(--lwsb-accent);
	opacity: 0.85;
	transition: width 260ms ease, background-color 260ms ease;
}

.lwsb-icon {
	display: inline-flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	margin-bottom: 34px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--lwsb-accent);
	font-size: 28px;
	transition: transform 260ms ease, color 260ms ease, background-color 260ms ease, border-color 260ms ease;
}

.lwsb-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.lwsb-title {
	margin: 0 0 14px;
	color: var(--lwsb-text);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.18;
}

.lwsb-description {
	color: var(--lwsb-muted);
	font-size: 15px;
	line-height: 1.68;
}

.lwsb-description p {
	margin: 0;
}

.lwsb-description p + p {
	margin-top: 10px;
}

.lwsb-card:hover .lwsb-number,
.lwsb-card:focus-visible .lwsb-number {
	color: var(--lwsb-accent);
	transform: translateX(3px);
}

.lwsb-card:hover .lwsb-line,
.lwsb-card:focus-visible .lwsb-line {
	width: 68px;
	background: #ffffff;
}

.lwsb-card:hover .lwsb-icon,
.lwsb-card:focus-visible .lwsb-icon {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	transform: translateY(-4px);
}

.lwsb-duo-card {
	--lwsb-duo-bg: #020202;
	--lwsb-duo-accent: #79007f;
	--lwsb-duo-glow: #f044df;
	--lwsb-duo-title: #ffffff;
	--lwsb-duo-description: #d7cddd;
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 430px;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgba(121, 0, 127, 0.62);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(121, 0, 127, 0.18), transparent 44%),
		var(--lwsb-duo-bg);
	box-shadow: 0 20px 62px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
	color: var(--lwsb-duo-title);
	text-decoration: none;
	isolation: isolate;
	transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.lwsb-duo-card::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(121, 0, 127, 0.28), transparent 36%, rgba(240, 68, 223, 0.14));
	content: "";
	opacity: 0.8;
	pointer-events: none;
}

.lwsb-duo-card::after {
	position: absolute;
	inset: auto -18% -28% -18%;
	height: 46%;
	background: radial-gradient(circle at 50% 100%, rgba(240, 68, 223, 0.84), rgba(121, 0, 127, 0.38) 48%, transparent 74%);
	content: "";
	opacity: 0.58;
	pointer-events: none;
	transform: translateY(22px);
	transition: opacity 280ms ease, transform 280ms ease;
}

.lwsb-duo-card:hover,
.lwsb-duo-card:focus-visible {
	border-color: rgba(240, 68, 223, 0.92);
	box-shadow: 0 26px 82px rgba(121, 0, 127, 0.28), 0 0 34px rgba(240, 68, 223, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	color: var(--lwsb-duo-title);
	outline: none;
	transform: translateY(-8px);
}

.lwsb-duo-card:hover::after,
.lwsb-duo-card:focus-visible::after {
	opacity: 0.9;
	transform: translateY(0);
}

.lwsb-duo-template-image-right {
	flex-direction: row-reverse;
}

.lwsb-duo-media {
	position: relative;
	flex: 0 0 48%;
	min-width: 0;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(121, 0, 127, 0.32), rgba(0, 0, 0, 0.86)),
		#070707;
}

.lwsb-duo-media::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.38)),
		linear-gradient(90deg, rgba(121, 0, 127, 0.36), rgba(0, 0, 0, 0.04));
	content: "";
	pointer-events: none;
}

.lwsb-duo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.18) saturate(0.88) contrast(1.1);
	opacity: 0.72;
	transform: scale(1.02);
	transition: filter 360ms ease, opacity 360ms ease, transform 360ms ease;
}

.lwsb-duo-card:hover .lwsb-duo-image,
.lwsb-duo-card:focus-visible .lwsb-duo-image {
	filter: grayscale(0) saturate(1.06) contrast(1.14);
	opacity: 0.88;
	transform: scale(1.07);
}

.lwsb-duo-content {
	position: relative;
	z-index: 1;
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	padding: 48px 46px;
}

.lwsb-duo-line {
	display: block;
	width: 76px;
	height: 2px;
	margin-bottom: 22px;
	background: linear-gradient(90deg, var(--lwsb-duo-accent), var(--lwsb-duo-glow));
	box-shadow: 0 0 20px rgba(240, 68, 223, 0.5);
	content: "";
	transition: width 280ms ease;
}

.lwsb-duo-card:hover .lwsb-duo-line,
.lwsb-duo-card:focus-visible .lwsb-duo-line {
	width: 112px;
}

.lwsb-duo-title {
	margin: 0 0 14px;
	color: var(--lwsb-duo-title);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.1;
	text-shadow: 0 2px 22px rgba(0, 0, 0, 0.42);
}

.lwsb-duo-description {
	max-width: 560px;
	color: var(--lwsb-duo-description);
	font-size: 16px;
	line-height: 1.68;
}

.lwsb-duo-description p {
	margin: 0;
}

.lwsb-duo-description p + p {
	margin-top: 10px;
}

@media (max-width: 767px) {
	.lwsb-card {
		min-height: 320px;
		padding: 108px 24px 28px;
	}

	.lwsb-number {
		top: 24px;
		left: 24px;
		font-size: 34px;
	}

	.lwsb-line {
		top: 72px;
		left: 26px;
	}

	.lwsb-duo-card {
		min-height: 0;
		flex-direction: column;
	}

	.lwsb-duo-template-image-right {
		flex-direction: column;
	}

	.lwsb-duo-media {
		flex-basis: auto;
		height: 240px;
	}

	.lwsb-duo-content {
		padding: 28px 24px;
	}

	.lwsb-duo-title {
		font-size: 27px;
	}

	.lwsb-duo-description {
		font-size: 15px;
	}
}
