.wp-block-group:has([data-shape-divider-top]),
.wp-block-group:has([data-shape-divider-bottom]),
.wp-block-group[data-shape-divider-top],
.wp-block-group[data-shape-divider-bottom],
.wp-block-cover:has([data-shape-divider-top]),
.wp-block-cover:has([data-shape-divider-bottom]),
.wp-block-cover[data-shape-divider-top],
.wp-block-cover[data-shape-divider-bottom] {
	position: relative;
	overflow: visible;
}

.nxt-shape-divider {
	position: absolute;
	left: 50%;
	width: 100%;
	max-width: 100%;
	line-height: 0;
	pointer-events: none;
	z-index: 1;
}

.nxt-shape-divider--top {
	top: 0;
	transform: translateY(0) translateX(-50%);
}

.nxt-shape-divider--bottom {
	bottom: 0;
	transform: translateY(0) translateX(-50%);
}

.nxt-shape-divider svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media only screen and (width <= 781px) {
	.nxt-shape-divider {
		max-height: 150px;
	}
}

@media only screen and (width <= 480px) {
	.nxt-shape-divider {
		max-height: 100px;
	}
}
