/**
 * Nexza Service Details widget.
 */

/* Each row: label column, content column. */
.nx-sdet-row {
	display: grid;
	grid-template-columns: 27% 1fr;
	gap: 4vw;
	align-items: start;
	margin-bottom: clamp(48px, 5vw, 80px);
}

.nx-sdet-row:last-child {
	margin-bottom: 0;
}

.nx-sdet-row > * {
	min-width: 0;
}

.nx-sdet-body h2 {
	margin: 0;
	overflow-wrap: break-word;
}

.nx-sdet-body .nx-lead {
	margin: 28px 0 0;
}

/* Deliverables: Copper tick lists in two columns */
.nx-sdet-ticks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(14px, 3vw, 48px);
}

.nx-ticks {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nx-ticks li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--nx-sand);
}

.nx-ticks li::before {
	content: "";
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--nx-copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2315110E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Benefits: cards with the burst icon */
.nx-sdet-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

.nx-benefit {
	min-width: 0;
	padding: 30px;
	border: 1px solid var(--nx-line-2);
	border-radius: var(--nx-radius-card);
	background: var(--nx-ink);
}

.nx-benefit-ico {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--nx-line-2);
	border-radius: 14px;
	color: var(--nx-copper);
}

.nx-benefit h3,
.nx-step h3 {
	letter-spacing: -.02em;
	line-height: 1.2;
	color: var(--nx-sand);
}

.nx-benefit h3 {
	margin: 18px 0 10px;
	font-size: 21px;
}

.nx-benefit p,
.nx-step p {
	margin: 0;
	color: var(--nx-muted-dark);
}

/* Steps: Copper top line, "Step 01" */
.nx-sdet-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nx-step {
	min-width: 0;
	padding-top: 22px;
	border-top: 2px solid var(--nx-copper);
}

.nx-step b {
	display: block;
	margin-bottom: 12px;
	font-size: 14px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--nx-copper);
}

.nx-step h3 {
	margin: 0 0 10px;
	font-size: 22px;
}

@media (max-width: 1080px) {
	.nx-sdet-benefits,
	.nx-sdet-steps {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.nx-sdet-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.nx-sdet-ticks,
	.nx-sdet-benefits {
		grid-template-columns: 1fr;
	}

	.nx-ticks li {
		font-size: 17px;
	}

	.nx-benefit {
		padding: 24px;
	}
}

@media (max-width: 480px) {
	.nx-sdet-steps {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
