/**
 * Audience - one card (Elementor classes: home-audience-card, home-audience-card-head,
 * home-audience-card-icon, home-audience-card-title, home-audience-card-text,
 * home-audience-card-image; variants home-audience-card--companies / --candidates).
 * The photo is a decorative Elementor image anchored to the right edge; hidden on mobile.
 */

body.home.elementor-page .home-audience-card,
body.home.elementor-page .home-audience-card-head {
	box-sizing: border-box;
	max-width: 100%;
	padding: 0;
	gap: 0;
}

body.home.elementor-page .home-audience-card .elementor-widget {
	margin: 0;
	padding: 0;
	font-family: var(--font-family-base);
}

body.home.elementor-page .home-audience-card {
	position: relative;
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-width: 0;
	min-height: 281px;
	padding: 20px 16px 16px;
	overflow: hidden;
	border-radius: var(--radius-md);
}

body.home.elementor-page .home-audience-card--companies {
	background-color: var(--color-primary);
}

body.home.elementor-page .home-audience-card--candidates {
	background-color: var(--color-accent-lavender);
}

/* Content sits above the photo */
body.home.elementor-page .home-audience-card-head,
body.home.elementor-page .home-audience-card-text,
body.home.elementor-page .home-audience-card-button {
	position: relative;
	z-index: 1;
}

body.home.elementor-page .home-audience-card-head {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 18px;
	margin-bottom: 13px;
}

body.home.elementor-page .home-audience-card .home-audience-card-icon {
	width: auto;
	flex: none;
}

body.home.elementor-page .home-audience-card .home-audience-card-icon.elementor-widget-icon.elementor-view-default .elementor-icon {
	font-size: 32px;
	line-height: 1;
}

body.home.elementor-page .home-audience-card .home-audience-card-icon.elementor-widget-icon.elementor-view-default .elementor-icon svg {
	width: 32px;
	height: 32px;
}

body.home.elementor-page .home-audience-card--companies .home-audience-card-icon.elementor-widget-icon.elementor-view-default .elementor-icon {
	color: var(--color-bg-white);
}

body.home.elementor-page .home-audience-card--companies .home-audience-card-icon.elementor-widget-icon.elementor-view-default .elementor-icon svg {
	fill: var(--color-bg-white);
}

body.home.elementor-page .home-audience-card--candidates .home-audience-card-icon.elementor-widget-icon.elementor-view-default .elementor-icon {
	color: var(--color-dark);
}

body.home.elementor-page .home-audience-card--candidates .home-audience-card-icon.elementor-widget-icon.elementor-view-default .elementor-icon svg {
	fill: var(--color-dark);
}

body.home.elementor-page .home-audience-card-title .elementor-heading-title {
	margin: 0;
	font-family: var(--font-family-base);
	font-size: 18px;
	font-weight: var(--font-weight-semibold);
	line-height: 30px;
}


body.home.elementor-page .home-audience-card .home-audience-card-text.elementor-widget {
	max-width: min(415px, calc(100% - 234px));
	margin-bottom: 32px;
	font-size: 18px;
	line-height: 30px;
}

body.home.elementor-page .home-audience-card-text p {
	margin: 0;
}

body.home.elementor-page .home-audience-card--companies .home-audience-card-title .elementor-heading-title,
body.home.elementor-page .home-audience-card--companies .home-audience-card-text {
	color: var(--color-bg-white);
}

body.home.elementor-page .home-audience-card--candidates .home-audience-card-title .elementor-heading-title,
body.home.elementor-page .home-audience-card--candidates .home-audience-card-text {
	color: var(--color-dark);
}

body.home.elementor-page .home-audience-card .home-audience-card-button {
	align-self: flex-start;
	width: auto;
	margin-top: auto;
}

body.home.elementor-page .home-audience-card-image {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
	width: auto;
	height: 281px;
}

body.home.elementor-page .home-audience-card-image img {
	display: block;
	width: auto;
	height: 100%;
	max-width: none;
}

/* Stacked cards: height comes from content, not from flex-basis 0 */
@media screen and (max-width: 1023px) {
	body.home.elementor-page .home-audience-card {
		flex: none;
	}
}

@media screen and (max-width: 767px) {
	body.home.elementor-page .home-audience-card {
		min-height: 0;
	}

	body.home.elementor-page .home-audience-card .home-audience-card-text.elementor-widget {
		max-width: none;
		margin-bottom: 10px;
		font-size: 14px;
	}

	body.home.elementor-page .home-audience-card .home-audience-card-button {
		align-self: stretch;
		margin-top: 0;
	}

	body.home.elementor-page .home-audience-card .home-audience-card-button .elementor-button {
		display: flex;
		justify-content: center;
		width: 100%;
		box-sizing: border-box;
	}

	body.home.elementor-page .home-audience-card-image {
		display: none;
	}
}
