/*
Homepage hero sentences. The live heading is an Elementor title at 36px
with a 2em line-height. These two sentences stay black on the pale hero,
with the yellow underline under the opening of the main sentence.
The width stops before the sphere on the right.
*/

.tp-hero-title-wrapper .tp-hero-title:has(.nv-hero-lead),
.elementor-1293 .elementor-element.elementor-element-762f091 .tp-hero-title.ele-heading:has(.nv-hero-lead) {
	font-size: 30px;
	line-height: 1.45;
	font-weight: 700;
	text-transform: none;
	color: #0c0808;
	max-width: 100%;
	margin-bottom: 22px;
}

.tp-hero-title-wrapper .tp-hero-title .nv-hero-lead,
.tp-hero-title-wrapper .tp-hero-title .nv-hero-sub {
	display: block;
	max-width: min(32rem, calc(40vw - 0.25rem));
	text-transform: none;
	-webkit-text-stroke: 0;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.tp-hero-title-wrapper .tp-hero-title .nv-hero-lead {
	position: relative;
	font-family: var(--tp-ff-heading, Raleway, sans-serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.45;
	color: #0c0808;
	-webkit-text-fill-color: #0c0808;
}

.tp-hero-title-wrapper .tp-hero-title .nv-hero-lead .title-color {
	color: #e5c10c;
	-webkit-text-fill-color: #e5c10c;
}

.tp-hero-title-wrapper .tp-hero-title .nv-hero-lead > svg {
	position: absolute;
	left: 0;
	top: 1.12em;
	width: 210px;
	max-width: 68%;
	height: 6px;
	color: #e5c10c;
}

.tp-hero-title-wrapper .tp-hero-title .nv-hero-sub {
	margin-top: 0.7rem;
	font-family: var(--tp-ff-heading, Raleway, sans-serif);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5;
	color: #3e4651;
	-webkit-text-fill-color: #3e4651;
}

@media (max-width: 767px) {
	.tp-hero-title-wrapper .tp-hero-title:has(.nv-hero-lead),
	.elementor-1293 .elementor-element.elementor-element-762f091 .tp-hero-title.ele-heading:has(.nv-hero-lead) {
		font-size: 22px;
		line-height: 1.4;
		margin-bottom: 16px;
	}

	.tp-hero-title-wrapper .tp-hero-title .nv-hero-lead,
	.tp-hero-title-wrapper .tp-hero-title .nv-hero-sub {
		max-width: min(100%, calc(46vw - 0.25rem));
	}

	.tp-hero-title-wrapper .tp-hero-title .nv-hero-lead {
		font-size: 22px;
		line-height: 1.4;
	}

	.tp-hero-title-wrapper .tp-hero-title .nv-hero-sub {
		font-size: 15px;
		line-height: 1.45;
	}
}

@media (max-width: 575px) {
	.tp-hero-title-wrapper .tp-hero-title .nv-hero-lead > svg {
		top: 1.05em;
		width: 148px;
	}
}
