/**
 * CTA - "Construyamos equipos" section and card (Elementor classes: home-cta,
 * home-cta-card, home-cta-image)
 * Desktop: photo left, text right. Mobile: photo on top, text below.
 * The photo is a PNG with baked rounded corners; the image wrapper crops its right edge so
 * the rounded corners never show a notch against the text panel.
 * Mockups: Home.png (desktop), inicio.png (mobile). Related: cta-body.css
 */

body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta,
body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta-card {
	box-sizing: border-box;
	max-width: 100%;
	padding: 0;
	gap: 0;
}

body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta .elementor-widget {
	margin: 0;
	padding: 0;
	font-family: var(--font-family-base);
}

body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta {
	display: flex;
	flex-direction: column;
	padding: 48px 58px;
	background-color: var(--color-bg-white);
}

body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background-color: var(--color-bg-cream);
}

body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta-card .home-cta-image.elementor-widget {
	flex: 0 0 49.4%;
	width: 49.4%;
	height: 306px;
	overflow: hidden;
}

body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta-image img {
	display: block;
	width: calc(100% + 20px);
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: left center;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
	body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta {
		padding: 48px 40px;
	}
}

@media screen and (max-width: 767px) {
	body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta {
		padding: 24px 16px;
	}

	body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta-card {
		flex-direction: column;
	}

	body:is(.home, .embi-empresas-page, .embi-talento-page).elementor-page .home-cta-card .home-cta-image.elementor-widget {
		flex: none;
		width: 100%;
		height: 170px;
	}
}
