.ldw-works,
.ldw-works *,
.ldw-works *::before,
.ldw-works *::after {
	box-sizing: border-box;
}

.ldw-works {
	width: 100%;
	max-width: 100%;
	margin: 70px auto 0;
	color: #0e2b4c;
}

.ldw-works__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 30px;
	width: 100%;
	max-width: 100%;
}

.ldw-card {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dce6ef;
	box-shadow: 0 8px 28px rgba(14, 43, 76, 0.08);
}

.ldw-card__media {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #eef5f9;
	text-decoration: none;
}

.ldw-card__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.35s ease;
}

.ldw-card__placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(93, 191, 236, 0.12), rgba(14, 43, 76, 0.06)),
		#f6f9fb;
	color: #6f8395;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.ldw-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	justify-content: center;
	background: rgba(14, 43, 76, 0.86);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.ldw-card__overlay-title {
	padding: 0 24px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
}

.ldw-card__overlay-button {
	display: inline-flex;
	min-width: 180px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 8px 22px;
	border: 1px solid #fff;
	border-radius: 999px;
	font-size: 13px;
}

.ldw-card__media:hover .ldw-card__image,
.ldw-card__media:focus .ldw-card__image {
	transform: scale(1.025);
}

.ldw-card__media:hover .ldw-card__overlay,
.ldw-card__media:focus .ldw-card__overlay {
	opacity: 1;
}

.ldw-card__body {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px 22px 24px;
}

.ldw-card__type {
	display: inline-block;
	margin: 0 0 12px !important;
	padding: 5px 11px 6px;
	background: #5dbfec;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.05em;
}

.ldw-card__title {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	background: none;
	color: #0e2b4c;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.02em;
	word-break: break-word;
}

.ldw-card__title::before,
.ldw-card__title::after {
	display: none !important;
	content: none !important;
}

.ldw-works .ldw-card__title a {
	color: inherit;
	text-decoration: none;
}

.ldw-works .ldw-card__title a:hover,
.ldw-works .ldw-card__title a:focus {
	color: #287fab;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.ldw-card__client {
	margin: 8px 0 0 !important;
	color: #687b8d;
	font-size: 13px;
	line-height: 1.6;
	word-break: break-word;
}

.ldw-card__catchcopy {
	margin: 14px 0 0 !important;
	color: #3f5366;
	font-size: 14px;
	line-height: 1.8;
	word-break: break-word;
}

.ldw-card__button {
	display: inline-flex;
	width: 100%;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	margin: 20px 0 0 !important;
	padding: 10px 18px;
	border: 1px solid #0e2b4c;
	background: #0e2b4c;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ldw-card__button:hover,
.ldw-card__button:focus {
	background: #fff;
	color: #0e2b4c;
}

.ldw-works__more {
	display: flex;
	justify-content: center;
	margin-top: 42px;
}

.ldw-works__more a {
	display: inline-flex;
	min-width: 260px;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border: 1px solid #0e2b4c;
	background: #fff;
	color: #0e2b4c;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ldw-works__more a:hover,
.ldw-works__more a:focus {
	background: #0e2b4c;
	color: #fff;
}

.ldw-works__empty {
	margin: 0;
	padding: 30px;
	background: #f6f9fb;
	color: #687b8d;
	text-align: center;
}

@media screen and (max-width: 1024px) {
	.ldw-works__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}

}

@media screen and (max-width: 640px) {
	.ldw-works {
		margin-top: 45px;
	}

	.ldw-works__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.ldw-card__body {
		padding: 20px 18px 22px;
	}

	.ldw-card__title {
		font-size: 18px;
	}

	.ldw-card__overlay {
		display: none;
	}

	.ldw-works__more {
		margin-top: 34px;
	}

	.ldw-works__more a {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ldw-card__image,
	.ldw-card__overlay,
	.ldw-card__button,
	.ldw-works__more a {
		transition: none;
	}
}
