/* Elementor wrappers around Fidac design shortcodes. */

.elementor-page .site-main,
body.elementor-template-full-width {
	background: var(--void);
}

/* Seeded Elementor containers carry a fixed dark background; let the theme show through. */
html[data-theme="light"] .elementor-page .e-con:has(.fidacepl-design-shortcode) {
	background-color: transparent !important;
}

.elementor-page .fidacepl-design-shortcode,
.elementor-page .fidacepl-home-shortcode,
.elementor-page .fidacepl-about-shortcode,
.elementor-page .fidacepl-services-shortcode,
.elementor-page .fidacepl-careers-shortcode,
.elementor-page .fidacepl-contact-shortcode {
	width: 100%;
}

/* Let designed sections use the full content width inside Elementor. */
.elementor-page .elementor-widget-shortcode .fidacepl-design-shortcode .hero-stage,
.elementor-page .elementor-widget-shortcode .fidacepl-design-shortcode .about-hero,
.elementor-page .elementor-widget-shortcode .fidacepl-design-shortcode .services-hero,
.elementor-page .elementor-widget-shortcode .fidacepl-design-shortcode .careers-hero,
.elementor-page .elementor-widget-shortcode .fidacepl-design-shortcode .contact-hero,
.elementor-page .elementor-widget-shortcode .fidacepl-design-shortcode .band {
	max-width: none;
}

.elementor-page .elementor-widget-shortcode:has(.fidacepl-design-shortcode),
.elementor-page .e-con:has(.fidacepl-design-shortcode) {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
}

/* Shortcode blocks keep theme component styles. */
.elementor-page .careers-jobs,
.elementor-page .contact-form,
.elementor-page .contact-map {
	width: 100%;
}

/* Beat Elementor’s `.elementor img { height: auto }` so framed photos fill correctly. */
.elementor .founder-card__media img,
.elementor .hero-stage__slide img,
.elementor .service-media__figure img,
.elementor .industry-media__figure img,
.elementor .services-overview__card img,
.elementor .services-detail__media img {
	width: 100%;
	height: 100% !important;
	max-width: none;
	max-height: none;
	aspect-ratio: auto;
	object-fit: cover;
}

.elementor .founder-card__media img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	object-position: center 18%;
}

.elementor .hero-stage__media,
.elementor .hero-stage__slide {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden;
}

.elementor .hero-stage__slide img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center;
}

@media (max-width: 860px) {
	.elementor .hero-stage__slide img {
		object-position: center 28%;
		transform: scale(1.22);
		transform-origin: center 30%;
	}
}
