/**
 * Three Column Cards Module
 * Manually-entered card grid (header + WYSIWYG content + optional arrow
 * link), 3 columns per row. Cards in the same row are stretched to equal
 * height by the grid so the grey bottom border always lines up.
 */

/* ===========================
   # Section
=========================== */

.three-column-cards-module {
	padding: 80px 0;
}

/* ===========================
   # Title
=========================== */

.three-column-cards-module__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 40px;
	color: var(--nec-grey);
	font-family: var(--nec-font);
	/*text-transform: uppercase;*/
	font-weight: 400;
  line-height: 1.0625;
}’

.three-column-cards-module__title::before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--nec-orange);
	box-shadow: 0 0 0 5px rgba(235, 110, 0, 0.18);
	flex-shrink: 0;
}

/* ===========================
   # Grid
=========================== */

.three-column-cards-module__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 32px;
}

.three-column-cards-module__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--nec-grey20, #ebeced);
}

.three-column-cards-module__card-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.three-column-cards-module__card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.three-column-cards-module__card-header {
	margin: 0;
	font-family: var(--nec-font);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--nec-grey);
}

.three-column-cards-module__card-content {
	margin: 0;
	color: var(--nec-grey);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.three-column-cards-module__card-content p:first-child {
	margin-top: 0;
}

.three-column-cards-module__card-content p:last-child {
	margin-bottom: 0;
}

.three-column-cards-module__card-link {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--nec-orange);
	transition: transform 0.25s ease;
}

.three-column-cards-module__card-link:hover,
.three-column-cards-module__card-link:focus-visible {
	transform: translateX(4px);
	outline: none;
}

.three-column-cards-module__card-link-icon {
	display: flex;
	align-items: center;
}

.three-column-cards-module__card-link-icon svg {
	width: 34px;
	height: 34px;
	color: var(--nec-orange);
}

/* ===========================
   # Responsive — 1280px
=========================== */

@media (max-width: 1280px) {
	.three-column-cards-module__grid {
		gap: 32px 24px;
	}
}

/* ===========================
   # Responsive — 991px
=========================== */

@media (max-width: 991px) {
	.three-column-cards-module {
		padding: 56px 0;
	}

	.three-column-cards-module__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===========================
   # Responsive — 599px
=========================== */

@media (max-width: 599px) {
	.three-column-cards-module {
		padding: 40px 0;
	}

	.three-column-cards-module__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
