/* ==========================================
   Key Impacts Section
========================================== */

.impacts-section {
	background-color: var(--primary-bgcolor);
}

.impacts-header {
	margin-bottom: 40px;
}

.impacts-header h2 {
	color: var(--white);
	margin-bottom: 0;
}

.impacts-list > li {
	padding: 0 10px;
}

/* Card */

.impacts-card {
	background-color: var(--coastal-teal);
    margin-bottom: 24px;
    height: calc(100% - 24px);
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impacts-card:hover,
.impacts-card:focus-within {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.impacts-card p {
	font-size: 16px;
	line-height: 24px;
	color: var(--primary-color);
}
.impacts-card .text-md{
	color: var(--primary-color);
}
.impacts-card .text-md {
    margin-bottom: 0;
}
.impacts-title {
	color: var(--primary-color);
	margin-bottom: 12px;
	line-height: 1.15;
}

.impacts-description {
	color: var(--primary-color);
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 0;
}

/* Keyboard focus */

.impacts-card:focus-within {
	outline: 3px solid var(--white);
	outline-offset: 3px;
}

/* ======================
   Max-width: 1399.98px
====================== */
/* ======================
   Max-width: 991.98px
====================== */

@media (max-width: 991.98px) {
	.impacts-header {
		margin-bottom: 28px;
	}

	.impacts-list > li:nth-child(-n + 2) {
		margin-bottom: 18px;
	}

	.impacts-card {
		margin-bottom: 20px;
/* 		height: calc(100% - 30px); */
	}
	.impacts-card {
        min-height: 82px;
    }
}

/* ======================
   Max-width: 767.98px
====================== */

@media (max-width: 767.98px) {
	.impacts-header {
		margin-bottom: 24px;
	}

	.impacts-list > li {
		margin-bottom: 18px;
	}

	.impacts-list > li:last-child {
		margin-bottom: 0;
	}

	.impacts-card {
		min-height: auto;
		padding: 16px;
	}

	.impacts-list .col-lg-4:last-child .impacts-card {
		margin-bottom: 0px;
	}

	.impacts-card {
		height: auto;
	}
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
	.impacts-card {
		transition: none;
	}

	.impacts-card:hover,
	.impacts-card:focus-within {
		transform: none;
	}
}
