.theme-homepage-layout.theme-backstretch-image .site-inner:not(.rainmail-subscription-confirmed),
.theme-homepage-layout.theme-parallax-fixed .site-inner:not(.rainmail-subscription-confirmed) {
	margin-top: 100dvh;
}

/* Site width */
.theme-homepage-layout .site-inner > main {
	max-width: 1600px;
}

/* Hero size */
.theme-homepage-layout #theme-banner {
	min-height: 100dvh;
}

/* Admin bar calc */
.admin-bar.theme-homepage-layout #theme-banner {
	min-height: calc(100dvh - 32px);
}

.admin-bar.rmkr-admin-bar.theme-homepage-layout #theme-banner {
	min-height: calc(100dvh - 50px);
}

/* Backstretch image layout */
.theme-backstretch-image #theme-banner {
	border-radius: 0;
}

/* Backstretch image and parallax background size */
@media only screen and (min-width: 992px) {
	.theme-backstretch-image.theme-parallax #theme-banner {
		background-size: 115%;
	}
}

.theme-backstretch-image .site-inner {
	background: none;
}

/* Homepage content layout */
.theme-homepage-layout .site-inner .content-inner {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.theme-homepage-layout .home-content {
	display: flex;
	gap: 50px;
}

/* Sections layout */
.theme-homepage-layout .front-page-section {
	border-radius: 0 50px 0 50px;
	padding: 50px;
	height: fit-content;
	width: 100%;
}

/* Not backstretch image content layout */
.theme-homepage-layout:not(.theme-backstretch-image) .front-page-section:not(.sidebar-colors) {
	padding: 0;
}

/* Default sections background */
.theme-homepage-layout .front-page-section:not(.sidebar-colors) {
	background: #fff;
}

.theme-homepage-layout.theme-backstretch-image .front-page-section {
	box-shadow: 0 0 20px 0 #00000030;
}

/* Front page sections img */
.theme-homepage-layout .front-page-section img {
	width: 100%;
	border-radius: 10px;
	height: auto;
}

/* Search box */
.theme-homepage-layout .small-section .search-form {
	flex-direction: column;
}

.theme-homepage-layout .small-section .search-form .search-form-submit {
	width: 100%;
}

/* Responsive adjustments */
@media only screen and (min-width: 993px) {
	/* Small sections on desktop */
	.theme-homepage-layout .small-section {
		max-width: 500px;
		position: sticky;
		top: 175px;
	}
}

@media only screen and (max-width: 992px) {
	/* Column layout */
	.theme-homepage-layout .home-content {
		flex-direction: column;
	}
}

@media only screen and (max-width: 480px) {
	.theme-homepage-layout .site-inner .content-inner,
	.theme-homepage-layout .home-content {
		gap: 20px;
	}

	.theme-homepage-layout.theme-backstretch-image .site-inner {
		padding-right: 10px;
		padding-left: 10px;
	}

	.theme-homepage-layout .front-page-section {
		padding: 30px;
	}
}

.unity-pro-home-backstretch-background {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	width: 115%;
	height: 115%;
	z-index: -1;
	background-position: 50%;
	background-blend-mode: color;
	background-color: #00000060;
	background-position-y: inherit;
	background-size: cover;
	background-repeat: no-repeat;
}
