/* Fundelivery Homepage V2
-------------------------------------------------- */

/* Astra opens its own content container around the custom template.
   On Homepage V2 we remove those width restrictions completely. */

.site-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.site-content > .ast-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#fundelivery-home-v2 {
	display: block;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	box-sizing: border-box;

	background:
		radial-gradient(
			circle at 12% 12%,
			rgba(143, 94, 255, 0.10),
			transparent 28%
		),
		radial-gradient(
			circle at 88% 10%,
			rgba(199, 170, 255, 0.16),
			transparent 30%
		),
		linear-gradient(
			180deg,
			#fbf9ff 0%,
			#f7f3ff 100%
		);
}

.fd-v2-test {
	width: 100%;
	padding: 90px 24px;
	box-sizing: border-box;
}

.fd-v2-inner {
	width: calc(100% - 48px);
	max-width: 1180px;
	margin: 0 auto;
}

.fd-v2-inner h1 {
	margin: 0 0 16px;
}
/* =========================
   HOME V2 FIXED HEADER
   ET + RU
   ========================= */

body.page-template-page-home-v2 #masthead,
body.page-template-page-home-v2-ru #masthead {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
}

/* Оставляем место под фиксированный header */
body.page-template-page-home-v2 #fundelivery-home-v2,
body.page-template-page-home-v2-ru #fundelivery-home-v2 {
    padding-top: 92px;
}

/* WordPress admin bar */
body.admin-bar.page-template-page-home-v2 #masthead,
body.admin-bar.page-template-page-home-v2-ru #masthead {
    top: 32px;
}

/* MOBILE */
@media (max-width: 782px) {

    body.page-template-page-home-v2 #fundelivery-home-v2,
    body.page-template-page-home-v2-ru #fundelivery-home-v2 {
        padding-top: 72px;
    }

    body.admin-bar.page-template-page-home-v2 #masthead,
    body.admin-bar.page-template-page-home-v2-ru #masthead {
        top: 46px;
    }
}