/**
 * Nexza Contact Hero widget.
 */

.nx-chero {
	display: grid;
	grid-template-columns: 1.25fr .9fr .7fr;
	gap: clamp(24px, 3vw, 48px);
	align-items: end;
}

.nx-chero > * {
	min-width: 0;
}

.nx-chero h1 {
	margin: 0;
	font-size: clamp(46px, 5.6vw, 110px);
	line-height: .95;
	overflow-wrap: break-word;
}

.nx-chero-phone {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
	color: inherit;
}

.nx-chero-phone .nx-arc {
	flex: none;
	color: var(--nx-copper);
}

.nx-chero-phone b {
	display: block;
	font-size: clamp(18px, 1.6vw, 22px);
	color: var(--nx-sand);
	transition: color .3s;
}

.nx-chero-phone:hover b,
.nx-chero-phone:focus-visible b {
	color: var(--nx-ember);
}

.nx-chero-side {
	display: grid;
	gap: 16px;
}

@media (max-width: 1080px) {
	.nx-chero {
		grid-template-columns: 1fr 1fr;
	}

	.nx-chero h1 {
		grid-column: 1 / -1;
	}
}

@media (max-width: 860px) {
	.nx-chero {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	/* The two side images sit next to each other. */
	.nx-chero-side {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
}
