/* NSV 3.1.0 Dynamic Section Dividers */

.nsv-section-dividers-enabled{
	--nsv-divider-height:42px;
	--nsv-divider-overlap:14px;
	--nsv-divider-color:#fff;
	--nsv-divider-opacity:.92;
}

.nsv-section-dividers-enabled .nsv-home-section{
	position:relative;
	overflow:visible;
}

.nsv-section-dividers-enabled .nsv-home-section::after{
	content:"";
	position:absolute;
	left:0;
	right:0;
	bottom:calc(-1 * var(--nsv-divider-overlap));
	height:var(--nsv-divider-height);
	background:var(--nsv-divider-color);
	opacity:var(--nsv-divider-opacity);
	z-index:2;
	pointer-events:none;
}

.nsv-section-dividers-enabled .nsv-home-section + .nsv-home-section{
	margin-top:calc(var(--nsv-divider-height) * .42);
}

/* تطبيق الفواصل */
.nsv-divider-apply-after-hero .nsv-home-section:not(.nsv-home-section-hero)::after,
.nsv-divider-apply-after-hero .nsv-home-section:not(.nsv-home-section-hero) + .nsv-home-section{
	margin-top:initial;
}

.nsv-divider-apply-content-only .nsv-home-section-hero::after{
	display:none;
}

/* قوس ناعم */
.nsv-divider-style-soft-curve .nsv-home-section::after{
	border-radius:0 0 50% 50% / 0 0 100% 100%;
	transform:translateY(1px);
}

/* موجة */
.nsv-divider-style-wave .nsv-home-section::after{
	clip-path:polygon(
		0 38%,
		8% 42%,
		16% 51%,
		25% 57%,
		34% 54%,
		43% 45%,
		52% 35%,
		61% 31%,
		70% 36%,
		79% 47%,
		88% 56%,
		100% 60%,
		100% 100%,
		0 100%
	);
}

/* زاوية حادة */
.nsv-divider-style-angle .nsv-home-section::after{
	clip-path:polygon(0 42%, 100% 0, 100% 100%, 0 100%);
}

/* زوايا دائرية */
.nsv-divider-style-rounded-corners .nsv-home-section::after{
	left:18px;
	right:18px;
	border-radius:34px;
	box-shadow:0 -12px 34px rgba(15,23,42,.06);
}

/* قوس عريض */
.nsv-divider-style-arch .nsv-home-section::after{
	border-radius:50% 50% 0 0 / 100% 100% 0 0;
	transform:translateY(1px);
}

/* مائل ناعم */
.nsv-divider-style-diagonal-soft .nsv-home-section::after{
	clip-path:polygon(0 20%, 100% 45%, 100% 100%, 0 100%);
	border-radius:0 0 28px 28px;
}

/* لا تضغط الفوتر والقوائم الثابتة */
.nsv-section-dividers-enabled footer,
.nsv-section-dividers-enabled .site-footer,
.nsv-section-dividers-enabled .nsv-bottom-nav{
	position:relative;
	z-index:10;
}

@media(max-width:768px){
	.nsv-section-dividers-enabled{
		--nsv-divider-height:min(42px, var(--nsv-divider-height));
	}
	.nsv-divider-style-rounded-corners .nsv-home-section::after{
		left:10px;
		right:10px;
		border-radius:24px;
	}
}
