/* PXL MEBB Learning Path — base layout styles.
 * Visual theming (colors, typography, sizes) is applied via Elementor
 * Style tab controls as inline CSS. This file only handles structural
 * layout, flex/grid behavior and responsive stacking. */

.pxl-mebb-wrap {
	width: 100%;
	box-sizing: border-box;
}

.pxl-mebb-wrap *,
.pxl-mebb-wrap *::before,
.pxl-mebb-wrap *::after {
	box-sizing: border-box;
}

/* Header */
.pxl-mebb-header {
	margin-bottom: 32px;
}

.pxl-mebb-eyebrow {
	letter-spacing: 1px;
	margin-bottom: 8px;
}

.pxl-mebb-title {
	margin: 0 0 12px;
	line-height: 1.15;
}

.pxl-mebb-subtitle {
	margin: 0 auto;
	max-width: 640px;
	line-height: 1.6;
}

/* Stepper */
.pxl-mebb-stepper {
	display: flex;
	align-items: flex-start;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	width: 100%;
}

.pxl-mebb-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 0 0 auto;
	cursor: pointer;
	outline: none;
	min-width: 70px;
}

.pxl-mebb-step-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid;
	border-radius: 50%;
	font-weight: 700;
	background: none;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pxl-mebb-step-label {
	margin-top: 10px;
	line-height: 1.4;
	white-space: nowrap;
	transition: color 0.25s ease;
}

.pxl-mebb-connector {
	flex: 1 1 auto;
	align-self: flex-start;
	margin-top: 21px;
	position: relative;
	border-radius: 4px;
	overflow: hidden;
}

.pxl-mebb-connector-fill {
	display: block;
	height: 100%;
	transition: width 0.35s ease;
}

/* Progress text (typically shown on mobile) */
.pxl-mebb-progress-text {
	display: none;
	padding: 10px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-weight: 600;
}

/* Panels */
.pxl-mebb-panel {
	display: none;
	padding: 32px;
}

.pxl-mebb-panel.is-active {
	display: block;
}

.pxl-mebb-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 30px;
}

.pxl-mebb-col {
	flex: 1 1 260px;
	min-width: 0;
}

.pxl-mebb-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid;
	margin-bottom: 16px;
}

.pxl-mebb-panel-label {
	font-weight: 600;
	margin-bottom: 4px;
}

.pxl-mebb-panel-title {
	margin: 0 0 12px;
	line-height: 1.2;
}

.pxl-mebb-panel-divider {
	width: 40px;
	height: 3px;
	margin-bottom: 16px;
}

.pxl-mebb-panel-desc {
	margin: 0;
	line-height: 1.7;
}

.pxl-mebb-list-heading {
	font-weight: 700;
	margin-bottom: 14px;
}

.pxl-mebb-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pxl-mebb-list-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid;
}

.pxl-mebb-list-item:last-child {
	border-bottom: none;
}

.pxl-mebb-list-check {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
}

.pxl-mebb-panel-image {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.pxl-mebb-panel-image img {
	display: block;
	width: 100%;
	height: 100%;
}

/* Outcome / Next boxes */
.pxl-mebb-box {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px;
	margin-top: 20px;
}

.pxl-mebb-box-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.pxl-mebb-box-content {
	flex: 1 1 auto;
	min-width: 0;
}

.pxl-mebb-box-title {
	font-weight: 700;
	margin-bottom: 4px;
}

.pxl-mebb-box-text {
	margin: 0;
	line-height: 1.6;
}

/* Responsive: tablet */
@media (max-width: 1024px) {
	.pxl-mebb-row {
		flex-wrap: wrap;
	}

	.pxl-mebb-col-text,
	.pxl-mebb-col-list,
	.pxl-mebb-col-image {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}
}

/* Responsive: mobile */
@media (max-width: 767px) {
	.pxl-mebb-stepper {
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	.pxl-mebb-step {
		min-width: 0;
	}

	.pxl-mebb-connector {
		flex-basis: 10px;
		min-width: 6px;
	}

	.pxl-mebb-step-label {
		white-space: normal;
		font-size: 10px;
		line-height: 1.3;
	}

	.pxl-mebb-progress-text {
		display: block;
	}

	.pxl-mebb-panel {
		padding: 20px;
	}

	.pxl-mebb-row {
		gap: 24px;
	}
}
