/**
 * Icon List — Lance Desk Elementor widget.
 */

.nm-icon-list {
	--nm-il-cols: 3;
	--nm-il-col-gap: 40px;

	display: grid;
	grid-template-columns: repeat(var(--nm-il-cols), minmax(0, 1fr));
	column-gap: var(--nm-il-col-gap);
	row-gap: var(--nm-il-col-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	box-sizing: border-box;
}

.nm-icon-list__cell {
	margin: 0;
	padding: 0;
	min-width: 0;
	list-style: none;
}

.nm-icon-list__item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	min-width: 0;
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
}

.nm-icon-list__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	line-height: 0;
}

.nm-icon-list__icon svg,
.nm-icon-list__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nm-icon-list__title {
	display: block;
	min-width: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.3;
	word-break: break-word;
}

/* Sub-items — default indent lines up with the parent title text */
.nm-icon-list__subs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0 0 0 calc(var(--nm-il-icon-size, 28px) + var(--nm-il-icon-gap, 12px));
	list-style: none;
	box-sizing: border-box;
}

.nm-icon-list__sub {
	margin: 0;
	padding: 0;
	min-width: 0;
	list-style: none;
}

.nm-icon-list__sub-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-width: 0;
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
}

.nm-icon-list__sub-dot {
	display: inline-block;
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #d4af37;
}

.nm-icon-list__sub-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 0;
}

.nm-icon-list__sub-icon svg,
.nm-icon-list__sub-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nm-icon-list__sub-title {
	display: block;
	min-width: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.35;
	word-break: break-word;
}
