/* Tooba Home. Desktop is the 1920px PSD scaled by --u; below 1024px --u is 100vw/430. */
#tooba-home {
	--u: calc(min(100vw, 1920px) / 1920);
	--page: #f0f0f0;
	--sage: #a9b489;
	--moss: #5a694e;
	--ink: #2f3729;
	--cream: #fdfce3;
	--gold: #e6b571;
}
#tooba-home *,
#tooba-home *::before,
#tooba-home *::after { box-sizing: border-box; }
#tooba-home {
	background: var(--page); color: var(--moss); font-family: "Yekan Bakh", Yekan, Tahoma, sans-serif; direction: rtl; overflow-x: clip; padding-bottom: calc(150 * var(--u));
	/* Break out of the theme's boxed content column to the full window width. */
	width: 100vw; max-width: none; margin-inline: calc(50% - 50vw);
}
#tooba-home img { display: block; max-width: 100%; }
#tooba-home a { color: inherit; text-decoration: none; }
#tooba-home ul { list-style: none; margin: 0; padding: 0; }
#tooba-home button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
#tooba-home h2,
#tooba-home p { margin: 0; }

@media (max-width: 1023px) {
	#tooba-home { --u: calc(100vw / 430); }
}

@media (prefers-reduced-motion: reduce) {
	#tooba-home * { transition: none !important; }
}

/* Theme chrome tweaks, this page only: no top bar, no gaps around the page body. */
body.tooba-home #top-nav { display: none; }
body.tooba-home #content { margin-top: 0; }
body.tooba-home #footer { margin-top: 0; }

/* Theme header hidden on this page: the hero's own pill is the navigation. */
body.tooba-home #theme-header,
body.tooba-home .main-nav-wrapper { display: none !important; }
html { scroll-behavior: smooth; }

/* Theme back-to-top button, restyled on the home page. */
body:has(#tooba-home) #go-to-top {
	width: 52px !important; height: 52px !important; line-height: 52px !important; border-radius: 50% !important;
	background: #fdd692 !important; color: #2f3729 !important; border: 2px solid #2f3729;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35) !important; font-size: 22px; z-index: 99999 !important;
}
body:has(#tooba-home) #go-to-top span { color: #2f3729 !important; }
