/* ============================================================
   Page template: עמוד תוכן עם סיידבר משפטי
   ============================================================ */
.nzm-legal-page {
	width: 100%;
	background-color: #fff;
	color: #000;
	padding: 0;
	box-sizing: border-box;
}

.nzm-legal-page__inner {
	max-width: 1330px;
	margin: 0 auto 30px;
}

.nzm-legal-page__container {
	max-width: 1330px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 60px;
}

/* ---- Breadcrumb (אותו עיצוב כמו עמודי קטגוריה) ---- */
.nzm-legal-page .nzm-cat-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	color: #000;
}

.nzm-legal-page .nzm-cat-hero__breadcrumb-home {
	display: inline-flex;
	align-items: center;
	color: inherit;
	line-height: 0;
}

.nzm-legal-page .nzm-cat-hero__breadcrumb-home svg {
	width: 12px;
	height: 12px;
	display: block;
}

.nzm-legal-page .nzm-cat-hero__breadcrumb-sep {
	font-weight: 400;
}

.nzm-legal-page .nzm-cat-hero__breadcrumb-current {
	font-weight: 500;
}

/* ---- Main content ---- */
.nzm-legal-content {
	flex: 1 1 auto;
	max-width: 900px;
	min-width: 0;
}

.nzm-legal-content__title {
	margin: 0 0 20px;
	font-size: 54px;
	font-weight: 400;
	line-height: 1.04;
	color: #000;
}

.nzm-legal-content__divider {
	height: 1px;
	background-color: #000;
	border: none;
	margin: 0 0 30px;
}

.nzm-legal-content__body {
	font-size: 21px;
	font-weight: 400;
	line-height: 30px;
	color: #000;
	text-align: justify;
}

.nzm-legal-content__body p {
	margin: 0 0 10px;
}

.nzm-legal-content__body p:has(+ h2) {
	margin-bottom: 60px;
}

.nzm-legal-content__body strong {
	font-weight: 700;
}

.nzm-legal-content__body h2 {
	margin: 50px 0 20px;
	font-size: 36px;
	font-weight: 500;
	line-height: 44px;
	color: #000;
}

.nzm-legal-content__body h3 {
	margin: 40px 0 16px;
	font-size: 28px;
	font-weight: 500;
	line-height: 36px;
	color: #000;
}

.nzm-legal-content__body a {
	color: #000;
}

.nzm-legal-content__body ul,
.nzm-legal-content__body ol {
	margin: 0 18px 16px 0;
	padding: 0;
}

.nzm-legal-content__body li {
	margin: 0 0 6px;
}

/* ---- Sidebar ---- */
.nzm-legal-sidebar {
	width: 376px;
	flex-shrink: 0;
	position: sticky;
	top: calc(var(--nzm-header-h-desktop, 168px) + 20px); /* 20px מתחת ל-header sticky */
	z-index: 10;
}

.nzm-legal-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	display: flex;
	flex-direction: column;
	background-color: #F6F6F6;
	border-radius: 10px;
}

.nzm-legal-sidebar__item {
	width: 100%;
}

.nzm-legal-sidebar__link {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 18px 24px;
	color: #000;
	font-size: 22px;
	font-weight: 400;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.nzm-legal-sidebar__link:hover {
	opacity: 0.85;
}

.nzm-legal-sidebar__item.is-active .nzm-legal-sidebar__link {
	font-weight: 500;
}

/* Icon wrapper (circle) */
.nzm-legal-sidebar__icon-wrap {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #fff;
	color: #000; /* בסיס ל-currentColor של SVG דיפולטיביים */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nzm-legal-sidebar__item.is-active .nzm-legal-sidebar__icon-wrap {
	background-color: #000;
	color: #fff; /* הופך SVG-currentColor ללבן */
}

/* Icon — inline SVG (default fallback) */
.nzm-legal-sidebar__icon-wrap > svg {
	display: block;
	max-width: 26px;
	max-height: 26px;
}

/* Icon — uploaded image */
.nzm-legal-sidebar__icon--img {
	width: 26px;
	height: 26px;
	display: block;
}

/* Active state for uploaded images: filter to invert dark icons to white */
.nzm-legal-sidebar__item.is-active .nzm-legal-sidebar__icon--img {
	filter: brightness(0) invert(1);
}

/* Divider between items */
.nzm-legal-sidebar__divider {
	display: block;
	width: 329px;
	max-width: calc(100% - 30px);
	height: 1px;
	background-color: #ECECEC;
	margin: 0 auto;
}

.nzm-legal-sidebar__title {
	flex: 1 1 auto;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.nzm-legal-page__container {
		flex-direction: column-reverse;
		gap: 40px;
	}

	.nzm-legal-sidebar {
		width: 100%;
		position: relative;
		top: 0;
	}

	.nzm-legal-sidebar__divider {
		width: 90%;
		max-width: 90%;
	}

	.nzm-legal-content__title {
		font-size: 40px;
		line-height: 48px;
	}

	.nzm-legal-content__body {
		font-size: 18px;
		line-height: 28px;
	}

	.nzm-legal-content__body h2 {
		font-size: 30px;
		line-height: 38px;
		margin: 36px 0 16px;
	}
}
