/* Find Your Church hero photo well. Scoped to page 1033 + .edwtn-fyc-*.
   Does not touch .edwtn-cvy (church single). */

.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero {
	--fyc-navy: #0b2337;
	--fyc-cream: #f6f4ee;
	position: relative;
	overflow: hidden;
	min-height: 0 !important;
	/* Keep Elementor’s cathedral-navy-hero.webp + navy field. Do not flatten. */
}

.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	column-gap: 48px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner > .edwtn-fyc-hero {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
}

.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner > .edwtn-fyc-hero-copy,
.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner > *:not(.edwtn-fyc-hero):not(.edwtn-fyc-hero-copy) {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
}

.edwtn-fyc-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}

/* Body directory stays Elementor's authored grid. Never 1-col beside a rotator. */
.elementor-1033 .elementor-element-edd0034.edwtn-fyc-split > .e-con-inner {
	display: flex;
	flex-direction: column;
}

.edwtn-fyc-hero {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 20px;
	background: #081621;
	pointer-events: none;
}

.edwtn-fyc-hero__slide {
	margin: 0;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.9s ease;
}

.edwtn-fyc-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.edwtn-fyc-hero__slide img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	max-height: none;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center top;
}

/* fill="1": height comes from the stretched parent column, not a ratio. */
.elementor-shortcode:has(> .edwtn-fyc-hero--fill) {
	height: 100%;
}

.edwtn-fyc-hero.edwtn-fyc-hero--fill {
	height: 100%;
	min-height: 320px;
	aspect-ratio: auto;
	border-radius: 12px;
}

@media (max-width: 767px) {
	.elementor-shortcode:has(> .edwtn-fyc-hero--fill) {
		height: auto;
	}

	.edwtn-fyc-hero.edwtn-fyc-hero--fill {
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 10;
	}
}

@media (prefers-reduced-motion: reduce) {
	.edwtn-fyc-hero__slide {
		transition: none;
	}
}

@media (max-width: 1024px) {
	.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner {
		column-gap: 28px;
	}
}

@media (max-width: 767px) {
	.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		row-gap: 24px;
	}

	.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner > .edwtn-fyc-hero {
		order: 2;
	}

	.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner > .edwtn-fyc-hero-copy,
	.elementor-1033 .elementor-element.elementor-element-edd0029.edwtn-fyc-has-hero > .e-con-inner > *:not(.edwtn-fyc-hero) {
		order: 1;
	}
}
