/**
 * Hero With Background Block Styles
 * Loaded automatically when the hero-with-bg block is present on the page.
 */

/* ==========================================================================
   SECTION
   ========================================================================== */

.hero-with-bg {
	position: relative;
	background-color: var(--color-black);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.hero-with-bg__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.55);
	z-index: 1;
}

/* ==========================================================================
   INNER CONTAINER
   ========================================================================== */

.hero-with-bg__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: 100px;
	padding-bottom: 100px;
}

/* ==========================================================================
   TITLE
   ========================================================================== */

.hero-with-bg__title {
	font-family: var(--font-base);
	font-size: 56px;
	font-weight: 900;
	line-height: 1.045;
	color: var(--color-white);
	margin: 0 0 24px;
	max-width: 875px;
}

/* ==========================================================================
   CONTENT
   ========================================================================== */

.hero-with-bg__content {
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-white);
	max-width: 893px;
	margin: 0 0 40px;
}

.hero-with-bg__content p {
	margin: 0 0 16px;
}

.hero-with-bg__content p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   CTA BUTTONS
   ========================================================================== */

.hero-with-bg__ctas {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

.hero-with-bg__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 40px;
	height: 49px;
	border-radius: 4px;
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	transition: opacity 0.2s ease;
	cursor: pointer;
}

.hero-with-bg__cta:hover {
	opacity: 0.88;
}

.hero-with-bg__cta--primary {
	background-color: var(--color-red);
	color: var(--color-white) !important;
}

.hero-with-bg__cta--secondary {
	background-color: var(--color-white);
	color: var(--color-red) !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199px) {
	.hero-with-bg__title {
		font-size: 44px;
	}
}

@media (max-width: 991px) {
	.hero-with-bg__inner {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.hero-with-bg__title {
		font-size: 36px;
	}
}

@media (max-width: 767px) {
	.hero-with-bg__inner {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.hero-with-bg__title {
		font-size: 30px;
	}

	.hero-with-bg__ctas {
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.hero-with-bg__cta {
		width: 100%;
		max-width: 320px;
		text-align: center;
	}
}
