/**
 * Full-bleed homepage hero: RevSlider is inside Astra .ast-container + Elementor e-con-boxed.
 * Keeps the rest of the page in the normal content width.
 */

body.home #content.site-content {
	overflow-x: clip;
}

/* Let the Elementor canvas use full width of ast-container while hero breaks out */
body.home #content.site-content > .ast-container > .elementor {
	max-width: none;
	width: 100%;
}

/* Primary: any boxed column that contains the Slider Revolution widget */
body.home .e-con-boxed:has(.elementor-widget-slider_revolution),
body.home .elementor-element.elementor-element-d61d916.e-con-boxed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	position: relative;
	left: auto;
	right: auto;
	padding-left: 0;
	padding-right: 0;
}

body.home .e-con-boxed:has(.elementor-widget-slider_revolution) .e-con-inner,
body.home .elementor-element.elementor-element-d61d916.e-con-boxed .e-con-inner {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

body.home .elementor-widget-slider_revolution,
body.home .elementor-widget-slider_revolution .elementor-widget-container {
	max-width: none !important;
	width: 100% !important;
}

body.home .elementor-widget-slider_revolution .wp-block-themepunch-revslider {
	position: relative;
	width: 100%;
	max-width: none;
}

body.home .elementor-widget-slider_revolution sr7-module {
	width: 100% !important;
	max-width: none !important;
	display: block;
}

/*
 * Homepage hero imagery (Slider Revolution, alias slider-1): background photos are
 * the "Image-0" layer on slides (DB rows wp_revslider_slides7 ids 1, 7, 8). Updated to
 * behave as a full-slide cover: rTo slide, size.covermode cover-proportional, w/h 100%
 * at all breakpoints, position 0/0 — matches admin "Cover" preset + full width/height.
 * Module JS already uses size.fullWidth:true (prepareModuleHeight in page markup).
 */
body.home .elementor-widget-slider_revolution sr7-adjuster {
	width: 100%;
	box-sizing: border-box;
}

/* Hero tab appearance: assets/hfh-hero-donate-tab.css */

/* Keep the hero "next" control clear of the fixed Donate tab */
body.home .hfh-rev-hero-arrow--next {
	right: calc(0.75rem + 3.5rem);
}

@media (max-width: 767px) {
	body.home .hfh-rev-hero-arrow--next {
		right: calc(0.35rem + 2.85rem);
	}
}
