.samuraj-section.decorative-bg > div {
	position: relative;
}
.section-bg-svg {
	position: absolute;
	width: auto;
	height: auto;
	z-index: -1;
	left: var(--svg-pos-x, 0%);
	top: var(--svg-pos-y, 0%);
}

/* Animate directions */
.samuraj-section.animate-left-right {
	--translate-start-x: 0px;
	--translate-start-y: 0px;
	--translate-end-x: -awes400px;
	--translate-end-y: 0px;
	--translate-z: 0px;
}
.samuraj-section.animate-right-left {
	--translate-start-x: 0px;
	--translate-start-y: 0px;
	--translate-end-x: 400px;
	--translate-end-y: 0px;
	--translate-z: 0px;
}
.samuraj-section.animate-top-bottom {
	--translate-start-x: 0px;
	--translate-start-y: 0px;
	--translate-end-x: 0px;
	--translate-end-y: -400px;
	--translate-z: 0px;
}
.samuraj-section.animate-bottom-top {
	--translate-start-x: 0px;
	--translate-start-y: 0px;
	--translate-end-x: 0px;
	--translate-end-y: 400px;
	--translate-z: 0px;
}

.samuraj-section.bg-img {
	position: relative;
	padding-top: var(--gap-l);
	padding-bottom: var(--gap-xs3);
	min-height: 70vh;
	margin-top: calc(var(--section-padding-block) * 0.5);
	margin-bottom: calc(var(--section-padding-block) * 0.5);
}

.section-bg-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
	transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

@media screen and (max-width: 767px) {
	.samuraj-section.bg-img {
		min-height: 30vh;
		padding-top: var(--gap-xs2);
		padding-bottom: var(--gap-xs2);
	}
	.section-bg-img {
		min-width: 100%;
		height: auto;
		width: auto;
		min-height: 100%;
	}
	.samuraj-section.bg-img {
		overflow: hidden;
	}
}

/* Overlay */
.samuraj-section.has-overlay {
	position: relative;
}

.samuraj-section.has-overlay > .section-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 48, 113, 1) 28%, rgba(0, 0, 0, 0) 100%);
	opacity: 0.5;
	pointer-events: none;
	z-index: -1;
	max-inline-size: unset;
}

.samuraj-section.has-overlay {
	position: relative;
	z-index: 2;
}

main > .samuraj-section.bg-img:last-child {
	margin-bottom: 0;
}

.samuraj-section.bg-img > div:has(div.sticky) {
	position: -webkit-sticky;
	position: sticky;
	top: var(--gap-xl5);
}
@media screen and (min-width: 1026px) {
	.samuraj-section.bg-img:has(div.sticky) {
		min-height: 90vh;
	}
}

@media screen and (max-width: 1025px) {
	.section-bg-svg {
		display: none;
	}
}

.samuraj-section.bg-img .smart-spacing p + a.btn-secondary {
	margin-top: var(--gap-xs2);
}

@media screen and (max-width: 1025px) {
	.samuraj-section.bg-img .smart-spacing p + a.btn-secondary {
		margin-top: var(--gap-xs4);
	}
}
