/**
 * Optional: legacy “Additional CSS” parity for Astra / full-page landing.
 * Enqueued only when Settings → “Full viewport layout (theme)” is enabled.
 * Scoped with :has(.rs-landing) so other pages are unaffected (requires a modern browser).
 */

@supports selector(:has(*)) {
	html:has(.rs-landing) {
		height: 100%;
	}

	body:has(.rs-landing) {
		margin: 0;
		padding: 0;
		min-height: 100%;
		height: 100%;
		overflow: hidden;
	}

	body:has(.rs-landing) .entry-content,
	body:has(.rs-landing) .entry-content[data-ast-blocks-layout] > * {
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body:has(.rs-landing) #primary,
	body:has(.rs-landing) #main,
	body:has(.rs-landing) .ast-container {
		padding: 0 !important;
		margin: 0 !important;
		max-width: 100% !important;
	}

	body:has(.rs-landing) .site-content,
	body:has(.rs-landing) .ast-container,
	body:has(.rs-landing) .content-area,
	body:has(.rs-landing) .site-main {
		min-height: 100vh;
		min-height: 100dvh;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		padding: 0;
		margin: 0;
	}

	body:has(.rs-landing) .ast-container::after,
	body:has(.rs-landing) .site-content::after,
	body:has(.rs-landing) .entry-content::after {
		content: none !important;
		display: none !important;
	}

	body:has(.rs-landing) #colophon,
	body:has(.rs-landing) .site-footer,
	body:has(.rs-landing) footer.site-footer {
		display: none !important;
	}
}

/* Bottom bar: closer to legacy .slider-email strip height */
.rs-landing .rs-landing__bar {
	min-height: 5vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
