/* Smart spacing */
.samuraj-inner-section.smart-spacing > .wp-block-heading:first-child {
	margin-bottom: var(--space-m);
}

.samuraj-inner-section.smart-spacing p + p {
	margin-top: var(--space-s);
}

/* Default images */
.samuraj-inner-section > figure,
.samuraj-inner-section > figure > img {
	width: 100%;
	display: block;
}
/* Image margin section */

@media screen and (min-width: 1026px) {
	.inner-section--img {
		margin-top: 8rem;
	}
}

@media screen and (max-width: 767px) {
	.inner-section--img {
		margin-top: 0;
	}
}
/* FH img */
.inner-section--fh-img figure,
.inner-section--fh-img figure img {
	height: 100%;
	object-fit: cover;
	transform: translateZ(1px);
}
@media screen and (min-width: 1026px) {
	.inner-section--fh-img {
		min-height: 850px;
	}
}

.samuraj-inner-section.padding-bottom--m {
	padding-bottom: var(--space-m);
}

/* Img smaller */
@media screen and (max-width: 1025px) {
	.samuraj-inner-section.smaller-mobile-img {
		max-width: 75%;
		margin-left: auto;
	}
}

@media screen and (max-width: 1025px) {
	div.samuraj-inner-section.mobile-margin-bottom {
		margin-bottom: var(--space-m);
	}
	div.samuraj-inner-section.mobile-margin-top {
		margin-top: var(--space-m);
	}
	div.samuraj-inner-section.mobile-margin-top > a {
		top: calc((var(--space-m) * -1) + 10px) !important;
	}
}

@media screen and (min-width: 1026px) {
	.samuraj-inner-section.span-all-rows {
		grid-row: span 99;
	}
	.samuraj-inner-section.absolute-bottom {
		position: absolute;
		bottom: 0;
	}
}
