@import url("/wp-content/themes/bigboom/css/rfj-red-swatches.css?v=1787855429");

.rfzj_customer_card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	width: 100%;
	min-width: 0;
}

.rfzj_customer_card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	color: var(--rfj-red-legacy-brand);
	font-size: 25px;
	text-decoration: none;
	background: #f5f5f7;
}

.rfzj_customer_card__body {
	min-width: 0;
}

.rfzj_customer_card__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--rfzj_color_text, #1d1d1f);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.rfzj_customer_card__title:hover,
.rfzj_customer_card__title:focus {
	color: var(--rfj-red-legacy-brand);
}

.rfzj_customer_card__industries {
	margin-top: 5px;
	color: var(--rfj-text-tertiary);
	font-size: 13px;
}

.rfzj_customer_card__summary {
	display: -webkit-box;
	overflow: hidden;
	margin: 7px 0 0;
	color: var(--rfj-text-tertiary);
	font-size: 14px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.rfzj_customer_card__software {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 8px;
	margin-top: 9px;
	font-size: 13px;
	line-height: 1.4;
}

.rfzj_customer_card__software span {
	color: #98a2b3;
}

.rfzj_customer_card__software strong {
	overflow: hidden;
	color: var(--rfj-text-secondary);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rfzj_customer_card--related {
	grid-template-columns: 76px minmax(0, 1fr) auto;
	gap: 16px;
	min-height: 0;
	padding: 18px 20px;
	border: 1px solid #e7eaf0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(20, 32, 51, .05);
}

.rfzj_customer_card--related:hover {
	border-color: var(--rfj-red-f0babb);
	box-shadow: 0 8px 24px rgba(20, 32, 51, .08);
}

.rfzj_customer_card--related .rfzj_customer_card__icon {
	width: 68px;
	height: 68px;
	border: 1px solid #eef0f4;
	border-radius: 14px;
	box-shadow: none;
}

.rfzj_customer_card--related .rfzj_customer_card__title {
	font-size: 17px;
}

.rfzj_customer_card--related .rfzj_customer_card__summary {
	-webkit-line-clamp: 2;
}

.rfzj_customer_card--compact {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 18px 12px;
	border: 1px solid #eef0f4;
	border-radius: 10px;
	background: linear-gradient(180deg, #f5f8ff, #fff);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: border-color var(--rfzj_transition, .2s), box-shadow var(--rfzj_transition, .2s), transform var(--rfzj_transition, .2s);
}

.rfzj_customer_card--compact:hover {
	border-color: var(--rfj-red-f0babb);
	box-shadow: 0 6px 18px rgba(20, 32, 51, .08);
	transform: translateY(-1px);
}

.rfzj_customer_card--compact .rfzj_customer_card__link {
	display: block;
	width: 100%;
	min-width: 0;
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.rfzj_customer_card--compact .rfzj_customer_card__icon--compact {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: #fff;
	color: var(--rfj-red-legacy-brand);
	font-size: 24px;
	box-shadow: 0 1px 4px rgba(20, 32, 51, .06);
}

.rfzj_customer_card--compact .rfzj_customer_card__title--compact {
	display: -webkit-box;
	overflow: hidden;
	width: 100%;
	color: var(--rfj-text-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	word-break: break-word;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.rfzj_customer_card--compact:hover .rfzj_customer_card__title--compact {
	color: var(--rfj-red-legacy-brand);
}

@media (max-width: 640px) {
	.rfzj_customer_card {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 12px;
	}

	.rfzj_customer_card__icon {
		width: 52px;
		height: 52px;
		border-radius: 13px;
		font-size: 21px;
	}

	.rfzj_customer_card__title {
		font-size: 16px;
	}

	.rfzj_customer_card__summary {
		display: none;
	}

	.rfzj_customer_card__cta {
		grid-column: 2;
		justify-self: start;
	}

	.rfzj_customer_card--related {
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 12px;
		padding: 14px;
	}

	.rfzj_customer_card--related .rfzj_customer_card__icon {
		width: 58px;
		height: 58px;
		border-radius: 12px;
	}

	.rfzj_customer_card--related .rfzj_customer_card__title {
		font-size: 16px;
	}

	.rfzj_customer_card--related .rfzj_customer_card__summary {
		display: none;
	}
}
