/**
 * Pillars — Lance Desk Elementor widget.
 */

.nm-pillars {
	--nm-pillars-cols: 5;

	display: grid;
	grid-template-columns: repeat(var(--nm-pillars-cols), minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 20px;
	align-items: stretch;
	box-sizing: border-box;
}

.nm-pillar {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.nm-pillar__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 auto;
	height: 100%;
	box-sizing: border-box;
	padding: 28px 18px;
	background-color: var(--nm-pillar-bg, #4a1528);
	border-style: solid;
	border-color: var(--nm-pillar-border, #c9a227);
	border-width: 1px;
	border-radius: 28px;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.nm-pillar__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0 0 14px;
	line-height: 0;
	color: #fdd551;
}

.nm-pillar__star svg,
.nm-pillar__star img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nm-pillar__number-wrap {
	display: flex;
	justify-content: center;
	margin: 0 0 16px;
}

.nm-pillar__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	background-color: #3d1a4a;
	border-style: solid;
	border-width: 2px;
	border-color: #c9a227;
	border-radius: 50%;
	line-height: 1;
}

.nm-pillar__number-text {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.nm-pillar__number-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	line-height: 0;
}

.nm-pillar__number-icon svg,
.nm-pillar__number-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nm-pillar__title {
	margin: 0 0 12px;
	padding: 0;
	color: #d4a84b;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-transform: uppercase;
}

.nm-pillar__desc {
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.55;
}
