/**
 * Benefits Module
 * Left panel (sub-header, heading, intro copy) + right two-column list of
 * icon/label rows on a light grey background.
 */

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

.benefits-module {
	padding: 80px 0;
	background: var(--nec-white, #fff);
}

/* ===========================
   # Layout: panel + columns
=========================== */

.bm__layout {
	display: flex;
	align-items: flex-start;
	gap: 64px;
}

/* ===========================
   # Left panel
=========================== */

.bm__panel {
	flex: 0 0 calc(30% - 32px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bm__sub-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bm__dot {
	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;
}

.bm__sub-header-text {
	font-family: var(--nec-font);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nec-grey);
}

.bm__heading {
	margin: 0;
	color: var(--nec-grey);
	font-family: var(--nec-font);
	font-weight: 400;
}

.bm__content {
	color: var(--nec-grey);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.bm__content p {
	margin: 0 0 12px;
}

.bm__content p:last-child {
	margin: 0;
}

/* ===========================
   # Right: two-column list
=========================== */

.bm__columns {
	flex: 1;
	min-width: 0;
	display: flex;
	gap: 16px;
}

.bm__column {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ===========================
   # Benefit item row
=========================== */

.bm__item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--nec-light-grey, #f5f5f6);
	padding: 20px 24px;
	min-height: 72px;
}

.bm__item-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
}

.bm__item-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* SVG icons are recoloured to nec-orange via a CSS mask (the source img is hidden) */
.bm__item-icon--svg {
	background-color: var(--nec-orange, #EB6E00);
	-webkit-mask-image: var(--bm-item-icon-url);
	        mask-image: var(--bm-item-icon-url);
	-webkit-mask-size: contain;
	        mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	-webkit-mask-position: center;
	        mask-position: center;
}

.bm__item-icon--svg img {
	visibility: hidden;
}

.bm__item-label {
	font-family: var(--nec-font);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--nec-grey);
}

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

@media (max-width: 1280px) {
	.bm__layout {
		gap: 40px;
	}

	.bm__panel {
		flex: 0 0 calc(34% - 24px);
	}
}

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

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

	.bm__layout {
		flex-direction: column;
		gap: 32px;
	}

	.bm__panel {
		flex: 0 0 auto;
		max-width: 640px;
	}

	.bm__columns {
		width: 100%;
	}
}

/* ===========================
   # Responsive — 767px
=========================== */

@media (max-width: 767px) {
	.benefits-module {
		padding: 40px 0;
	}

	.bm__columns {
		flex-direction: column;
	}

	.bm__item {
		padding: 16px 20px;
		min-height: unset;
	}
}
