/*------------------------------------*\
    
    Full-Width Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Full-Width Image + Text' block. 
    If there is any reasons why you would need to style this separately,
    please create a block-specific stylesheet for it (don't forget to register that block-specific stylesheet in acf-starter-blocks.php)

\*------------------------------------*/

.full-width-image-text {
	position: relative;
	padding: 80px 0;
}

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

.full-width-image-text--direct-overlay:before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.55;
	background: #002d70;
}

.full-width-image-text__content {
	padding: 0;
	position: relative;
	z-index: 2;
	color: var(--white);
}

.full-width-image-text__content .sub-heading {
	color: var(--white);
}

.full-width-image-text__content h2 {
	color: var(--white);
	margin-bottom: 20px;
}

.full-width-image-text__content .read-more {
	font-weight: 700;
	color: var(--white);
	border-bottom: none;
	position: relative;
	text-decoration: none;
}

.full-width-image-text__content .read-more::after {
	content: "\e900";
	font-family: "trap-and-treat-icon";
	position: relative;
	font-weight: normal;
	font-size: 10px;
	margin-left: 4px;
}

.full-width-image-text__content .read-more.active::after {
	content: "\e903";
}

.full-width-image-text__description .btn-group {
	margin-top: 32px;
}

.number-stats {
	margin-top: 40px;
}

.number-stats .row {
	gap: 19px 0;
}

.number-stats__item {
	border-radius: 50px 8px;
	border-bottom: 4px solid var(--dark-blue);
	background: rgba(255, 255, 255, 0.95);
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 121px;
	padding: 10px 15px;
}

.number-stats__number {
	color: var(--green);
	font-size: 40px;
	font-weight: 800;
	line-height: 1em;
	font-family: "Sofia Sans Condensed", sans-serif;
	margin-bottom: 5px;
}

.number-stats__info p {
	color: var(--blue);
	font-size: 20px;
	font-weight: 400;
	line-height: 1em;
}

.image-bg-top-wave {
	position: absolute;
	left: 0;
	top: -1px;
	width: 100%;
	height: auto;
	z-index: 3;
}

.image-bg-bottom-wave {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: auto;
	z-index: 3;
}

.full-width-image-text__buttons {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 30px;

	.btn + .btn {
		margin-left: 0;
	}
}

@media (min-width: 768px) {
	.full-width-image-text {
		padding: 60px 0 60px;
	}

	.full-width-image-text__content h2 {
		margin-bottom: 30px;
	}

	.number-stats .row {
		--bs-gutter-x: 18px;
	}

	.number-stats__item {
		border-radius: 50px 8px;
		height: 193px;
		padding: 25px 15px;
	}

	.number-stats__number {
		font-size: 48px;
		margin-bottom: 24px;
	}
}

@media (min-width: 1200px) {
	.full-width-image-text {
		padding: 137px 0;
	}

	.full-width-image-text__content h2 {
		margin-bottom: 20px;
	}

	.full-width-image-text__description .btn-group {
		margin-top: 32px;
	}

	.number-stats {
		margin-top: 35px;
	}

	.number-stats .row {
		--bs-gutter-x: 36px;
	}

	.number-stats__item {
		height: 189px;
	}

	.number-stats__number {
		font-size: 64px;
		margin-bottom: 10px;
	}

	.number-stats__info p {
		font-size: 24px;
	}

	.full-width-image-text__description .btn-group {
		margin-top: 0;
		position: absolute;
		right: 0;
		top: 68px;
		gap: 0 24px;
	}

	.full-width-image-text__content h2 {
		max-width: 820px;
		font-size: 59px;
	}
}

@media (min-width: 1367px) {
	.full-width-image-text__content h2 {
		max-width: 850px;
		font-size: 64px;
	}

	.full-width-image-text--no-stats {
		padding: 127px 0 110px 0;
	}

	.full-width-image-text--no-stats h2 {
		margin-bottom: 40px;
	}
}
