.lgw-legal-form-page {
	--lgw-legal-form-navy: #0c2340;
	--lgw-legal-form-navy-dark: #081829;
	--lgw-legal-form-blue: #2563eb;
	--lgw-legal-form-blue-soft: rgba(37, 99, 235, 0.08);
	--lgw-legal-form-text: #1a1a2e;
	--lgw-legal-form-muted: #5c6578;
	--lgw-legal-form-border: #e8ecf1;
	--lgw-legal-form-soft: #f7f9fc;
	--lgw-legal-form-shadow: 0 10px 30px rgba(12, 35, 64, 0.08);
	--lgw-legal-form-shadow-hover: 0 18px 42px rgba(12, 35, 64, 0.14);
	max-width: 1180px;
	margin: 0 auto 72px;
	padding: 0 20px;
	color: var(--lgw-legal-form-text);
}

.lgw-legal-form-page-template .entry-header {
	display: none;
}

.lgw-legal-form-page-template .inside-article {
	padding-top: 0;
}

.lgw-legal-form-page *,
.lgw-legal-form-page *::before,
.lgw-legal-form-page *::after {
	box-sizing: border-box;
}

.lgw-legal-form-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 32px;
	align-items: center;
	overflow: hidden;
	margin: 44px 0 64px;
	padding: 56px;
	border-radius: 28px;
	background: linear-gradient(135deg, var(--lgw-legal-form-navy), var(--lgw-legal-form-navy-dark));
	color: #fff;
	box-shadow: 0 20px 54px rgba(12, 35, 64, 0.24);
}

.lgw-legal-form-hero::after {
	position: absolute;
	right: -90px;
	bottom: -140px;
	width: 320px;
	height: 320px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	content: "";
}

.lgw-legal-form-hero__content {
	position: relative;
	z-index: 1;
}

.lgw-legal-form-hero__eyebrow {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.lgw-legal-form-hero__title {
	margin: 0;
	color: #fff;
	font-size: 48px;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.15;
}

.lgw-legal-form-hero__desc {
	max-width: 680px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 18px;
	line-height: 1.75;
}

.lgw-legal-form-search {
	display: flex;
	width: min(700px, 100%);
	margin-top: 30px;
	padding: 8px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

.lgw-legal-form-search__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	padding: 0 16px;
	background: transparent;
	border: 0;
	color: #111827;
	font-size: 16px;
	line-height: 1.4;
	outline: none;
}

.lgw-legal-form-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 104px;
	min-height: 52px;
	padding: 0 20px;
	background: var(--lgw-legal-form-blue);
	border: 0;
	border-radius: 12px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

.lgw-legal-form-hero__art {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
}

.lgw-legal-form-document-stack {
	position: relative;
	width: 190px;
	height: 190px;
}

.lgw-legal-form-document-stack span {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 126px;
	height: 152px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 18px;
	color: rgba(255, 255, 255, 0.8);
}

.lgw-legal-form-document-stack span:nth-child(1) {
	top: 26px;
	left: 12px;
	transform: rotate(-8deg);
}

.lgw-legal-form-document-stack span:nth-child(2) {
	top: 18px;
	left: 42px;
	transform: rotate(6deg);
}

.lgw-legal-form-document-stack span:nth-child(3) {
	top: 8px;
	left: 28px;
	background: rgba(255, 255, 255, 0.22);
}

.lgw-legal-form-document-stack svg {
	width: 68px;
	height: 68px;
}

.lgw-legal-form-section {
	margin-bottom: 64px;
}

.lgw-legal-form-section__head {
	margin-bottom: 26px;
}

.lgw-legal-form-section__head--row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.lgw-legal-form-section__head h2 {
	margin: 0;
	color: var(--lgw-legal-form-navy);
	font-size: 34px;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.25;
}

.lgw-legal-form-section__head p {
	max-width: 640px;
	margin: 12px 0 0;
	color: var(--lgw-legal-form-muted);
	font-size: 16px;
	line-height: 1.7;
}

.lgw-legal-form-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.lgw-legal-form-category-card,
.lgw-legal-form-latest-card,
.lgw-legal-form-cta {
	background: #fff;
	border: 1px solid var(--lgw-legal-form-border);
	border-radius: 18px;
	box-shadow: var(--lgw-legal-form-shadow);
}

.lgw-legal-form-category-card {
	display: flex;
	min-height: 260px;
	padding: 28px;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lgw-legal-form-category-card:hover,
.lgw-legal-form-category-card:focus {
	border-color: rgba(37, 99, 235, 0.35);
	color: inherit;
	text-decoration: none;
	transform: translateY(-5px);
	box-shadow: var(--lgw-legal-form-shadow-hover);
}

.lgw-legal-form-category-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 20px;
	background: var(--lgw-legal-form-blue-soft);
	border-radius: 16px;
	color: var(--lgw-legal-form-blue);
}

.lgw-legal-form-category-card__icon svg {
	width: 28px;
	height: 28px;
}

.lgw-legal-form-category-card__title {
	margin-bottom: 10px;
	color: var(--lgw-legal-form-navy);
	font-size: 22px;
	font-weight: 850;
	line-height: 1.3;
}

.lgw-legal-form-category-card__desc {
	color: var(--lgw-legal-form-muted);
	font-size: 15px;
	line-height: 1.7;
}

.lgw-legal-form-category-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 42px;
	margin-top: auto;
	padding: 10px 16px;
	background: var(--lgw-legal-form-navy);
	border-radius: 12px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.lgw-legal-form-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 15px;
	background: var(--lgw-legal-form-navy);
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.lgw-legal-form-more:hover,
.lgw-legal-form-more:focus {
	background: var(--lgw-legal-form-blue);
	color: #fff;
	text-decoration: none;
}

.lgw-legal-form-latest__list {
	display: grid;
	gap: 12px;
}

.lgw-legal-form-latest-card {
	overflow: hidden;
	box-shadow: none;
}

.lgw-legal-form-latest-card__link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 20px 22px;
	color: inherit;
	text-decoration: none;
}

.lgw-legal-form-latest-card__link:hover,
.lgw-legal-form-latest-card__link:focus {
	background: var(--lgw-legal-form-soft);
	color: inherit;
	text-decoration: none;
}

.lgw-legal-form-latest-card__badge {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 6px 10px;
	background: var(--lgw-legal-form-blue-soft);
	border-radius: 999px;
	color: var(--lgw-legal-form-blue);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.lgw-legal-form-latest-card__title {
	overflow: hidden;
	color: var(--lgw-legal-form-navy);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lgw-legal-form-latest-card__meta {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px 12px;
	color: #7a8496;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
	white-space: nowrap;
}

.lgw-legal-form-empty {
	margin: 0;
	padding: 26px;
	background: #fff;
	border: 1px dashed var(--lgw-legal-form-border);
	border-radius: 18px;
	color: var(--lgw-legal-form-muted);
	text-align: center;
}

.lgw-legal-form-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
	padding: 34px;
	background: var(--lgw-legal-form-soft);
}

.lgw-legal-form-cta h2 {
	margin: 0;
	color: var(--lgw-legal-form-navy);
	font-size: 28px;
	font-weight: 850;
	line-height: 1.3;
}

.lgw-legal-form-cta p {
	margin: 10px 0 0;
	color: var(--lgw-legal-form-muted);
	font-size: 16px;
	line-height: 1.7;
}

.lgw-legal-form-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 46px;
	padding: 12px 18px;
	background: var(--lgw-legal-form-navy);
	border-radius: 12px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.lgw-legal-form-cta__button:hover,
.lgw-legal-form-cta__button:focus {
	background: var(--lgw-legal-form-blue);
	color: #fff;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.lgw-legal-form-hero {
		grid-template-columns: 1fr;
		padding: 44px;
	}

	.lgw-legal-form-hero__art {
		display: none;
	}

	.lgw-legal-form-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lgw-legal-form-latest-card__link {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.lgw-legal-form-latest-card__meta {
		grid-column: 2;
		justify-content: flex-start;
	}
}

@media (max-width: 768px) {
	.lgw-legal-form-page {
		margin-bottom: 52px;
		padding: 0 18px;
	}

	.lgw-legal-form-hero {
		margin: 28px 0 48px;
		padding: 32px 24px;
		border-radius: 22px;
	}

	.lgw-legal-form-hero__title {
		font-size: 34px;
	}

	.lgw-legal-form-hero__desc {
		font-size: 16px;
	}

	.lgw-legal-form-search {
		display: grid;
		gap: 8px;
		padding: 8px;
	}

	.lgw-legal-form-search__button {
		width: 100%;
	}

	.lgw-legal-form-section {
		margin-bottom: 48px;
	}

	.lgw-legal-form-section__head--row {
		align-items: flex-start;
		flex-direction: column;
	}

	.lgw-legal-form-section__head h2 {
		font-size: 28px;
	}

	.lgw-legal-form-category-grid {
		grid-template-columns: 1fr;
	}

	.lgw-legal-form-category-card {
		min-height: auto;
	}

	.lgw-legal-form-latest-card__link {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.lgw-legal-form-latest-card__title {
		white-space: normal;
	}

	.lgw-legal-form-latest-card__meta {
		grid-column: auto;
	}

	.lgw-legal-form-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 28px;
	}

	.lgw-legal-form-cta__button {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.lgw-legal-form-page {
		padding: 0 16px;
	}

	.lgw-legal-form-category-card,
	.lgw-legal-form-latest-card__link,
	.lgw-legal-form-cta {
		padding: 22px;
	}
}
