.jm-mfg-path {
	--jm-mfg-panel-offset: 28.25rem;
	--jm-mfg-stage-height: clamp(39rem, 42vw, 42rem);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--accent-dark);
	margin-block: 0 !important;
	overflow: hidden;
	padding: var(--wp--preset--spacing--60) 0 0;
}

.jm-mfg-path.wp-block-jolly-metals-manufacturing-path {
	margin-block: 0 !important;
}

.jm-mfg-path__intro,
.jm-mfg-path__stage-grid {
	margin-inline: auto;
	width: min(calc(100% - clamp(2.5rem, 9.4vw, 8.5rem)), var(--wp--style--global--wide-size));
}

.jm-mfg-path__intro {
	align-items: start;
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: var(--wp--preset--spacing--40);
}

.jm-mfg-path__intro-copy {
	align-items: start;
	column-gap: clamp(3rem, 8vw, 7rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
	max-width: none;
}

.jm-mfg-path__eyebrow,
.jm-mfg-path__heading,
.jm-mfg-path__description,
.jm-mfg-path__stage-label,
.jm-mfg-path__stage-heading,
.jm-mfg-path__stage-description {
	margin: 0;
}

.jm-mfg-path__eyebrow {
	color: var(--wp--preset--color--subtle) !important;
}

.jm-mfg-path__heading {
	color: var(--wp--preset--color--accent-dark) !important;
}

.jm-mfg-path__description {
	color: var(--wp--preset--color--muted) !important;
	margin-top: 0.65rem;
	max-width: 35rem;
}

.jm-mfg-path__stage-shell {
	background: var(--wp--preset--color--base);
	margin-block-start: 0 !important;
	padding: 0 0 var(--wp--preset--spacing--60);
}

.jm-mfg-path__stage-grid {
	display: grid;
	grid-template-columns: minmax(23rem, 24.5rem) minmax(0, 1fr);
	height: var(--jm-mfg-stage-height);
	min-height: var(--jm-mfg-stage-height);
	min-width: 0;
}

.jm-mfg-path__tab-column {
	align-self: stretch;
	background: var(--wp--preset--color--accent);
	border-radius: 0 !important;
	height: 100%;
	min-width: 0;
	position: relative;
	z-index: 2;
}

.jm-mfg-path__tab-heading {
	background: var(--wp--preset--color--accent);
	border: 1px solid var(--wp--preset--color--contrast);
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	border-radius: 0 !important;
	color: var(--wp--preset--color--contrast) !important;
	font-family:var(--jm-f,var(--j-h));
	font-weight: 700;
	line-height: 1;
	margin: 0;
	padding: 2.15rem 1.5rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.jm-mfg-path__tabs {
	border-radius: 0 !important;
	display: flex;
	flex-direction: column;
	min-width: 0;
	position: relative;
}

.jm-mfg-path__tab {
	align-items: center;
	background: var(--wp--preset--color--accent);
	border: 1px solid #5e5d5d;
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
	border-radius: 0 !important;
	color: #5e5d5d;
	cursor: pointer;
	display: grid;
	column-gap: 1rem;
	grid-template-columns: auto minmax(0, 1fr);
	min-height: 3.75rem;
	padding: 0.45rem 3.5rem 0.45rem 1.5rem;
	position: relative;
	text-align: left;
	transition: background-color 0.18s, color 0.18s;
}

.jm-mfg-path__tab::after {
	background: #5e5d5d;
	border-radius: 999px;
	content: "";
	height: 0.7rem;
	position: absolute;
	right: 2rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0.7rem;
}

.jm-mfg-path__tab:last-child {
	border-bottom: 1px solid #5e5d5d;
}

.jm-mfg-path__button-wrap {
	padding: var(--wp--preset--spacing--30) 1.875rem 0;
}

.jm-mfg-path__button {
	min-width: 0;
	width: 100%;
}

.jm-mfg-path__tab.is-active {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.jm-mfg-path__tab.is-active::after {
	background: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 0.16rem color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent), 0 0 0.85rem color-mix(in srgb, var(--wp--preset--color--accent) 72%, transparent);
}

.jm-mfg-path__tab:not(.is-active) .jm-mfg-path__tab-number,
.jm-mfg-path__tab:not(.is-active) .jm-mfg-path__tab-title {
	color: #5e5d5d;
}

.jm-mfg-path__tab:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent-dark);
	outline-offset: -3px;
}

.jm-mfg-path__tab-number {
	font-family:var(--jm-f,var(--j-h));
	font-size:var(--jm-s,var(--wp--preset--font-size--t-5));
	font-weight: 700;
	line-height: 1;
}

.jm-mfg-path__tab.is-active .jm-mfg-path__tab-number {
	color: var(--wp--preset--color--base);
}

.jm-mfg-path__tab-title {
	font-family:var(--jm-f,var(--j-h));
	font-size:var(--jm-s,var(--wp--preset--font-size--t-14));
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.jm-mfg-path__visual {
	height: var(--jm-mfg-stage-height);
	min-width: 0;
	min-height: var(--jm-mfg-stage-height);
	position: relative;
	z-index: 1;
}

.jm-mfg-path__media-stack,
.jm-mfg-path__media {
	height: var(--jm-mfg-stage-height);
	min-width: 0;
}

.jm-mfg-path__media {
	background: var(--wp--preset--color--muted);
	border: 0;
	border-radius: 0 !important;
	margin-left: 0;
	overflow: hidden;
}

.jm-mfg-path__media[hidden],
.jm-mfg-path__panel[hidden] {
	display: none !important;
}

.jm-mfg-path__image {
	border-radius: 0 !important;
	display: block;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	width: 100% !important;
}

.jm-mfg-path__placeholder {
	align-content: center;
	background: var(--wp--preset--color--muted);
	border-radius: 0 !important;
	color: var(--wp--preset--color--base);
	display: grid;
	gap: var(--wp--preset--spacing--20);
	height: 100%;
	justify-items: center;
	min-height: 32rem;
	text-align: center;
	text-transform: uppercase;
}

.jm-mfg-path__placeholder span {
	color: var(--wp--preset--color--subtle);
	font-family:var(--jm-f,var(--j-mono));
	font-size:var(--jm-s,var(--wp--preset--font-size--small));
	font-weight: 400;
	letter-spacing: 0.14em;
}

.jm-mfg-path__placeholder strong {
	font-family:var(--jm-f,var(--j-h));
	font-size:var(--jm-s,var(--wp--preset--font-size--section));
	line-height: 1;
}

.jm-mfg-path__panel {
	background: var(--wp--preset--color--base);
	border-radius: 0 !important;
	bottom: 0;
	color: var(--wp--preset--color--accent-dark);
	left: 0;
	min-height: calc(var(--jm-mfg-stage-height) - var(--jm-mfg-panel-offset));
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) 1.28rem;
	position: absolute;
	width: min(38rem, calc(100% - 4rem));
	z-index: 3;
}

.jm-mfg-path .jm-mfg-path__stage-label.jm-section-eyebrow {
	color: #5b5555 !important;
	font-weight: 600 !important;
	margin-bottom: var(--wp--preset--spacing--20);
}

.jm-mfg-path__panel > :is(.jm-mfg-path__stage-label, .jm-mfg-path__stage-heading, .jm-mfg-path__stage-description, .jm-mfg-path__spec-heading, .jm-mfg-path__spec-list) {
	max-width: 31rem;
}

.jm-mfg-path__stage-heading {
	color: #000000 !important;
	margin-bottom: var(--wp--preset--spacing--20);
}

.jm-mfg-path .jm-mfg-path__stage-description {
	color: var(--wp--preset--color--muted) !important;
}

.jm-mfg-path__spec-heading {
	color: #5b5555 !important;
	display: block;
	font-family:var(--jm-f,var(--j-b));
	font-size:var(--jm-s,var(--wp--preset--font-size--small));
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1;
	margin: 1.25rem 0 0;
	padding: 0;
	text-transform: uppercase;
}

.jm-mfg-path__spec-list {
	display: grid;
	gap: 0.75rem 1.5rem;
	grid-template-columns: 1fr;
	list-style: none;
	margin: 0.75rem 0 0;
	max-width: 100% !important;
	padding: 0;
}

.jm-mfg-path__spec-list li {
	align-items: start;
	border: 0;
	color: #000000;
	display: grid;
	font-family:var(--jm-f,var(--j-b));
	font-size:var(--jm-s,var(--wp--preset--font-size--small));
	font-weight: 400 !important;
	gap: 0.65rem;
	grid-template-columns: 0.38rem minmax(0, 1fr);
	line-height: 1.32;
	min-height: 0;
	padding: 0;
	text-transform: uppercase;
}

.jm-mfg-path__spec-list li::before {
	background: var(--wp--preset--color--accent);
	content: "";
	height: 0.38rem;
	margin-top: 0.42rem;
	width: 0.38rem;
}

@media (max-width: 1000px) {
	.jm-mfg-path__intro {
		align-items: start;
		grid-template-columns: 1fr;
	}

	.jm-mfg-path__intro-copy {
		grid-template-columns: 1fr;
	}

	.jm-mfg-path__stage-grid {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
	}

	.jm-mfg-path__tab-heading {
		white-space: normal;
	}

	.jm-mfg-path__tabs {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 100%;
		overflow-x: visible;
		padding: 0;
		scroll-snap-type: none;
	}

	.jm-mfg-path__tab {
		border: 1px solid #5e5d5d;
		min-height: 4.75rem;
		min-width: 0;
		padding: 0.65rem 3rem 0.65rem 1rem;
		scroll-snap-align: none;
	}

	.jm-mfg-path__tab::after {
		right: 1.5rem;
	}

	.jm-mfg-path__button-wrap {
		padding: var(--wp--preset--spacing--30) 1rem;
	}

	.jm-mfg-path__visual {
		display: grid;
		height: auto;
		min-height: 0;
		width: 100%;
	}

	.jm-mfg-path__media-stack {
		height: auto;
		width: 100%;
	}

	.jm-mfg-path__media {
		height: clamp(20rem, 56vw, 32rem);
		margin-left: 0;
		width: 100%;
	}

	.jm-mfg-path__placeholder {
		min-height: 20rem;
	}

	.jm-mfg-path .jm-mfg-path__panel {
		inset: auto !important;
		margin-top: 0;
		min-height: 0;
		position: relative !important;
		width: 100% !important;
	}

	.jm-mfg-path__panel > :is(.jm-mfg-path__stage-label, .jm-mfg-path__stage-heading, .jm-mfg-path__stage-description, .jm-mfg-path__spec-heading, .jm-mfg-path__spec-list) {
		max-width: none;
	}

	.jm-mfg-path__spec-list {
		max-width: none !important;
	}
}

@media (max-width: 781px) {
	.jm-mfg-path {
		padding-top: var(--wp--preset--spacing--50);
	}

	.jm-mfg-path__intro,
	.jm-mfg-path__stage-grid {
		width: min(calc(100% - clamp(2.5rem, 9.4vw, 8.5rem)), var(--wp--style--global--wide-size));
	}

	.jm-mfg-path__stage-shell {
		padding: 0 0 var(--wp--preset--spacing--50);
	}

	.jm-mfg-path__tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jm-mfg-path__tab {
		column-gap: 0.5rem;
		padding: 0.75rem 1.5rem 0.75rem 0.75rem;
	}

	.jm-mfg-path__tab::after {
		right: 0.5rem;
	}

	.jm-mfg-path__description {
		max-width: none;
	}

	.jm-mfg-path__heading br {
		display: none;
	}

	.jm-mfg-path__panel {
		padding: var(--wp--preset--spacing--20);
	}

	.jm-mfg-path__spec-list {
		grid-template-columns: 1fr;
	}

	.jm-mfg-path__spec-list li + li {
		border-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jm-mfg-path__tab {
		transition: none;
	}
}
