/* SD Nugraha — targeted profile/SPMB refinements */

/* Profile hero: subtle photographic shadow/watermark behind the header. */
.sdn-profile-hero{
	isolation:isolate;
}
.sdn-profile-hero::before{
	content:'';
	position:absolute;
	z-index:0;
	top:0;
	right:0;
	bottom:0;
	width:min(58%,760px);
	background-image:var(--sdn-profile-watermark);
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
	opacity:.12;
	filter:grayscale(1) sepia(.16) saturate(.78) contrast(.92);
	-webkit-mask-image:linear-gradient(to left,#000 0%,#000 38%,rgba(0,0,0,.76) 62%,transparent 100%);
	mask-image:linear-gradient(to left,#000 0%,#000 38%,rgba(0,0,0,.76) 62%,transparent 100%);
	pointer-events:none;
}
.sdn-profile-hero::after{
	content:'';
	position:absolute;
	z-index:0;
	inset:0;
	background:linear-gradient(90deg,rgba(255,247,245,.98) 0%,rgba(255,247,245,.92) 42%,rgba(255,247,245,.58) 72%,rgba(255,247,245,.18) 100%);
	pointer-events:none;
}
.sdn-profile-hero .sdn-page-hero-orb,
.sdn-profile-hero .sdn-page-hero-grid{
	z-index:2;
}

/* SPMB: use the SD Nugraha shell while preserving the existing Elementor page. */
.sdn-spmb-public-page{
	background:#fff;
}
.sdn-spmb-elementor-content{
	width:100%;
	min-height:40vh;
	overflow:hidden;
}
.sdn-spmb-elementor-content > .elementor{
	width:100%;
	margin:0;
}
.sdn-spmb-public-page .elementor-location-header,
.sdn-spmb-public-page .elementor-location-footer{
	display:none!important;
}

/* Avoid inherited theme spacing around Elementor's full-width SPMB canvas. */
.sdn-spmb-public-page .sdn-spmb-elementor-content .elementor,
.sdn-spmb-public-page .sdn-spmb-elementor-content .e-con{
	box-sizing:border-box;
}

@media(max-width:980px){
	.sdn-profile-hero::before{width:66%;opacity:.10}
}
@media(max-width:640px){
	.sdn-profile-hero::before{
		width:100%;
		opacity:.075;
		background-position:68% center;
		-webkit-mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.8) 62%,transparent 100%);
		mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.8) 62%,transparent 100%);
	}
	.sdn-profile-hero::after{
		background:linear-gradient(180deg,rgba(255,247,245,.92) 0%,rgba(255,247,245,.8) 58%,rgba(255,247,245,.96) 100%);
	}
}
