.custom-callout {
	position: relative;
	z-index: 1;
	padding: 60px 0;

	&.bg-dark .custom-callout__bg:before {
		content: "";
		display: block;
		height: 350px;
		background: linear-gradient(180deg,rgba(30, 30, 30, 1) 0%, rgba(30, 30, 30, 0.48) 50%, rgba(0, 0, 0, 0) 100%);
	}

	&.bg-dark + .custom-callout.bg-dark .custom-callout__bg:before {
		display: none;
	}
}


.custom-callout__bg {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -1;
	top: 0;
	left: 0;
	object-fit: cover;
	/* background-color: #fdd86b; */

	&.custom-callout__bg--none {
		& img {
			opacity: 1;
		}
	}
}

.custom-callout__bg--default {
	background-color: #fdd86b;
}

.custom-callout__bg-img {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -1;
	top: 0;
	left: 0;
	object-fit: cover;
	opacity: 0.4;
}

.bg-dark .custom-callout__bg-img {
	opacity: 1;
}

.custom-callout__flex {
	text-align: center;
}

.custom-callout__image img {
	display: block;
	margin: 0 auto;
}

.custom-callout__text {
	padding-top: 32px;
	color: var(--black);
}

.custom-callout__text .sub-heading::before {
	color: var(--secondary);
}

.bg-dark .custom-callout__text .sub-heading::before {
	color: var(--primary);
}

.custom-callout__content {
	margin-top: 16px;
}

.custom-callout__content p {
	margin-bottom: 16px;
}

.custom-callout__content p:last-child {
	margin-bottom: 0;
}

.bg-dark .custom-callout__content p {
	color: var(--white);
}

.custom-callout__flex .btn-group {
	justify-content: center;
}

@media( max-width: 1199px ) {
	.custom-callout__image {
		width: auto!important;
	}
}

@media (min-width: 768px) {
	.custom-callout {
		padding: 65px 0 58px;
	}
}

@media (min-width: 1200px) {
	.custom-callout__flex {
		display: flex;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}

	.custom-callout__flex--right {
		flex-direction: row-reverse;
	}

	.custom-callout__image img {
		margin: 0;
		width: 100%;
	}

	.custom-callout__text {
		padding-top: 0;
		width: 500px;
	}

	.custom-callout__flex .btn-group {
		justify-content: center;
		margin-top: 0;
	}
}

@media (min-width: 1366px) {
	.custom-callout__text {
		width: 550px;
	}
}
