

.masthead--homepage {
	position: relative;
	z-index: 3;
}

.masthead__background {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.masthead__background::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	background: linear-gradient(270deg, rgba(13, 13, 13, 0.65) 36.48%, #404040 100%);
	opacity: 0.88;
}

.masthead__bg-image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 1;
}

.masthead__bg-video {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 2;
	pointer-events: none;
}

.masthead__wrapper {
	position: relative;
	z-index: 2;
	padding-top: 64px;
	padding-bottom: 30px;
}

.masthead__flex {
	display: flex;
	flex-direction: column;
}


.masthead__content {
	margin-bottom: 50px;
	text-align: center;
}

.masthead__wysiwyg {
	color: var(--color-white);
}

.masthead__wysiwyg h1,
.masthead__wysiwyg h2,
.masthead__wysiwyg h3,
.masthead__wysiwyg h4,
.masthead__wysiwyg h5,
.masthead__wysiwyg h6 {
	color: var(--color-white);
}

.masthead__wysiwyg h1 {
	font-size: 30px;
	padding: 0 40px;
	margin-bottom: 15px;
}

.masthead__wysiwyg p {
	color: var(--color-white);
	justify-content: center;
}

.masthead__wysiwyg em,
.masthead__wysiwyg .subheading {
	font-family: var(--font-heading);
	font-size: 20px;
	line-height: 1.2em;
	display: block;
	margin-bottom: 12px;
}

.masthead__wysiwyg a:not(.btn) {
	color: var(--color-white);
}

.masthead__wysiwyg .btn {
	margin-top: 3px;
}

.masthead__content .sub-heading {
    font-size: 20px;
    line-height: 1.2em;
    color: var(--white);
    display: block;
    font-family: var(--secondary-font);
    margin-bottom: 12px;
}

.masthead__content .btn-secondary {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}


.masthead__form {
	background-color: var(--color-white);
	border-radius: 30px;
	box-shadow: 0 6px 15.5px 0 rgba(0, 0, 0, 0.1);
	padding: 30px;
	position: relative;
	z-index: 2;
}

.masthead__form h2,
.masthead__form h3 {
	text-align: center;
	color: var(--color-black);
	margin-bottom: var(--spacing-sm);
}


.masthead__form-upper-content {
	text-align: center;
	margin-bottom: var(--spacing-sm);
}

.masthead__form-upper-content h2,
.masthead__form-upper-content h3,
.masthead__form-upper-content h4 {
	color: var(--color-black);
	margin-bottom: 10px;
}

.masthead__form-upper-content p {
	color: var(--color-text-secondary);
}

.masthead__form-upper-content p:last-child {
	margin-bottom: 0;
}


.masthead__accent-wrap {
	display: none;
	pointer-events: none;
}

.masthead__accent-image {
	display: block;
	max-width: 100%;
	height: auto;
}



@media (min-width: 768px) {
	.masthead__wrapper {
		padding-top: 67px;
	}

	.masthead__content {
		margin-bottom: 64px;
	}

	.masthead__wysiwyg h1 {
		font-size: 45px;
		padding: 0;
	}

	.masthead__wysiwyg em,
	.masthead__wysiwyg .subheading {
		font-size: 22px;
	}

	.masthead__form {
		padding: 43px 35px;
	}
}


@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
	.masthead__bg-video {
		display: block;
	}
}

@media (min-width: 1200px) {

	.masthead__background {
		height: 100%;
		max-height: 766px;
	}

	.masthead__wrapper {
		padding-top: 68px;
		padding-bottom: 60px;
	}

	.masthead__flex {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.masthead__content {
		margin-bottom: 0;
		text-align: left;
		width: calc(100% - 684px);
		padding-left: 0;
		padding-right: 69px;
		padding-bottom: 180px;
	}

	.masthead__btn-group {
		justify-content: flex-start;
	}

	.masthead__wysiwyg em,
	.masthead__wysiwyg .subheading {
		font-size: 25px;
		margin-bottom: 8px;
	}

	.masthead__wysiwyg h1 {
		font-size: 60px;
		margin-bottom: 20px;
	}

	.masthead__wysiwyg p {
		justify-content: unset;
	}
	
	.masthead__content .sub-heading {
        font-size: 25px;
        margin-bottom: 8px;
    }

	.masthead__content .btn-secondary:hover {
		background: var(--color-red-darkest);
		border-color: var(--color-red-darkest);
	}

	.masthead__form {
		width: 684px;
		flex-shrink: 0;
	}
}


@media (min-width: 1600px) {
	.masthead__accent-wrap {
		display: block;
		position: absolute;
		left: -45px;
		top: 210px;
		z-index: 1;
		max-width: 296px;
	}

	.masthead__content {
		padding-left: 40px;
	}
}

@media (min-width: 1920px) {
	.masthead__content {
		padding-left: unset;
	}
}
