/* Shared fixed-page components: summary band and easy-to-follow numbered steps.
 * Original asset/body-class names retained; selection is now component-based.
 * Local presentation only. No copy, photo, heading or step-order changes.
 */
.vd-design-refresh.vd-procedure-page .vd-quick-facts {
	gap: 0;
	margin-top: 40px;
	padding: 8px 0;
	border: 1px solid var(--vd-green);
	border-radius: 8px;
	background: var(--vd-green);
	box-shadow: 0 10px 28px rgba(49, 70, 58, 0.08);
}

.vd-design-refresh.vd-procedure-page .vd-quick-fact {
	padding: 24px 28px;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.vd-design-refresh.vd-procedure-page .vd-quick-fact:first-child {
	border-left: 0;
}

.vd-design-refresh.vd-procedure-page .vd-quick-fact p {
	margin: 0;
}

.vd-design-refresh.vd-procedure-page .vd-quick-fact strong {
	margin-bottom: 8px;
	color: var(--vd-white);
	font-size: 1.1875rem;
	line-height: 1.4;
}

.vd-design-refresh.vd-procedure-page .vd-quick-fact span {
	color: var(--vd-cream-light);
	font-size: 1.0625rem;
	line-height: 1.6;
}

/* Gutenberg's inner wrapper is the layout surface, not a narrow grid item. */
.vd-design-refresh.vd-procedure-page .vd-treatment-process {
	background: var(--vd-cream-light);
}

.vd-design-refresh.vd-procedure-page .vd-treatment-process .vd-shell > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
	align-items: start;
	gap: clamp(32px, 5vw, 72px);
}

.vd-design-refresh.vd-procedure-page .vd-treatment-process .vd-inner-heading {
	min-width: 0;
	max-width: none;
	margin: 0;
	padding-top: 10px;
}

.vd-design-refresh.vd-procedure-page .vd-treatment-process h2 {
	font-size: clamp(1.875rem, 2.6vw, 2.5rem);
	text-wrap: pretty;
}

.vd-design-refresh.vd-procedure-page .vd-process-grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	min-width: 0;
	margin: 0;
}

.vd-design-refresh.vd-procedure-page .vd-process-card {
	position: relative;
	height: auto;
	padding: 28px;
	border: 1px solid var(--vd-line);
	border-radius: 8px;
	background: var(--vd-white);
	box-shadow: 0 8px 24px rgba(49, 70, 58, 0.045);
}

.vd-design-refresh.vd-procedure-page .vd-process-card > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	column-gap: 24px;
	row-gap: 8px;
	align-items: start;
}

.vd-design-refresh.vd-procedure-page .vd-process-card .vd-process-card__number {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 56px;
	min-height: 56px;
	margin: 0 !important;
	border-radius: 8px;
	background: var(--vd-cream-light);
	color: var(--vd-green-deep) !important;
	font-size: 1.5rem;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.vd-design-refresh.vd-procedure-page .vd-process-card :is(h3, p:not(.vd-process-card__number)) {
	grid-column: 2;
	min-width: 0;
	margin: 0;
}

.vd-design-refresh.vd-procedure-page .vd-process-card h3 {
	color: var(--vd-green-deep);
	font-size: clamp(1.375rem, 1.75vw, 1.625rem);
	line-height: 1.3;
	text-wrap: pretty;
}

.vd-design-refresh.vd-procedure-page .vd-process-card p:not(.vd-process-card__number) {
	color: var(--vd-muted);
	font-size: 1.125rem;
	line-height: 1.65;
}

/* The short rail only connects consecutive steps, never floats off-section. */
.vd-design-refresh.vd-procedure-page .vd-process-card:not(:last-child)::after {
	position: absolute;
	top: 100%;
	left: 55px;
	width: 2px;
	height: 22px;
	background: var(--vd-line);
	content: "";
}

@media (max-width: 1020px) {
	.vd-design-refresh.vd-procedure-page .vd-treatment-process .vd-shell > .wp-block-group__inner-container {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.vd-design-refresh.vd-procedure-page .vd-treatment-process .vd-inner-heading {
		max-width: 740px;
		padding-top: 0;
	}
}

@media (max-width: 780px) {
	.vd-design-refresh.vd-procedure-page .vd-quick-facts {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 28px;
		padding: 4px 24px;
	}

	.vd-design-refresh.vd-procedure-page .vd-quick-fact {
		padding: 20px 0;
		border: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.28);
	}

	.vd-design-refresh.vd-procedure-page .vd-quick-fact:first-child {
		border-top: 0;
	}
}

@media (max-width: 520px) {
	.vd-design-refresh.vd-procedure-page .vd-process-card {
		padding: 22px 20px;
	}

	.vd-design-refresh.vd-procedure-page .vd-process-card > .wp-block-group__inner-container {
		grid-template-columns: 44px minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 12px;
	}

	.vd-design-refresh.vd-procedure-page .vd-process-card .vd-process-card__number {
		grid-row: 1;
		width: 44px;
		min-height: 44px;
		font-size: 1.25rem;
	}

	.vd-design-refresh.vd-procedure-page .vd-process-card h3 {
		align-self: center;
	}

	.vd-design-refresh.vd-procedure-page .vd-process-card p:not(.vd-process-card__number) {
		grid-column: 1 / -1;
	}

	.vd-design-refresh.vd-procedure-page .vd-process-card:not(:last-child)::after {
		left: 41px;
	}
}
