/* 2PX Elementor Suite — Numbered List Widget
 * BEM Methodology */

/* ── Container ── */
.twopx-numlist {
	width: 100%;
}

.twopx-numlist * {
	box-sizing: border-box;
}

/* ── Divider ── */
.twopx-numlist__divider {
	width: 100%;
	height: 1px;
	background-color: #d5d0c8;
	display: block;
}

.twopx-numlist__divider--last {
	/* inherits the same style; exposed as a separate class for targeting */
}

/* ── Row (grid) ── */
.twopx-numlist__row {
	--numlist-counter-width: 80px;
	display: grid;
	grid-template-columns: var(--numlist-counter-width) 1fr 1.4fr;
	column-gap: 48px;
	align-items: start;
	padding-top: 48px;
	padding-bottom: 48px;
}

/* ── Counter ── */
.twopx-numlist__counter {
	color: #c0392b;
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.4;
	padding-top: 6px;
}

/* ── Title ── */
.twopx-numlist__title {
	margin: 0;
	padding: 0;
	color: #1a1a1a;
	font-size: clamp(1.6rem, 2.5vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
}

/* ── Content column ── */
.twopx-numlist__content {
	display: flex;
	flex-direction: column;
}

/* ── Description ── */
.twopx-numlist__desc {
	margin: 0 0 14px 0;
	padding: 0;
	color: #6b6b6b;
	font-size: 1rem;
	line-height: 1.6;
}

/* ── CTA ── */
.twopx-numlist__cta {
	display: inline-block;
	color: #c0392b;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease;
	cursor: pointer;
}

.twopx-numlist__cta:hover {
	color: #922b21;
}

/* ── Responsive — Tablet ── */
@media (max-width: 1024px) {
	.twopx-numlist__row {
		grid-template-columns: var(--numlist-counter-width) 1fr 1.2fr;
		column-gap: 32px;
		padding-top: 36px;
		padding-bottom: 36px;
	}
}

/* ── Responsive — Mobile ── */
@media (max-width: 767px) {
	.twopx-numlist__row {
		grid-template-columns: 1fr;
		row-gap: 16px;
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.twopx-numlist__counter {
		padding-top: 0;
	}

	.twopx-numlist__title {
		font-size: 1.5rem;
	}
}
