.prep-stem {
	--prep-stem-primary: var(--e-global-color-94228e8, #053264);
	--prep-stem-primary-hover: var(--e-global-color-17eaa45, #05234b);
	--prep-stem-primary-muted: var(--e-global-color-7755f01, #dce7f4);
	--prep-stem-primary-subtle: var(--e-global-color-3cfbee0, #f3f7fd);
	--prep-stem-primary-raised: var(--e-global-color-88a639e, #c3d6eb);
	--prep-stem-border: var(--e-global-color-bf98a02, #ececec);
	--prep-stem-border-strong: var(--e-global-color-35be8fa, #888888);
	--prep-stem-white: var(--e-global-color-0dc1046, #ffffff);
	--prep-stem-media-empty: var(--e-global-color-2af16f8, #f5f5f5);
	--prep-stem-font: "Gilam", var(--e-global-typography-text-font-family, sans-serif);
	--prep-stem-section-gap: 48px;
	display: flex;
	flex-direction: column;
	gap: var(--prep-stem-section-gap);
	width: 100%;
	font-family: var(--prep-stem-font);
	color: var(--prep-stem-primary);
	box-sizing: border-box;
}

.prep-stem *,
.prep-stem *::before,
.prep-stem *::after {
	box-sizing: border-box;
}

.prep-stem,
.prep-stem a,
.prep-stem button,
.prep-stem .prep-stem-card,
.prep-stem .prep-stem-card__title {
	font-family: var(--prep-stem-font) !important;
}

.prep-stem__section {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.prep-stem__section--trainings {
	padding: 32px 24px;
	border-radius: 12px;
	background: var(--prep-stem-primary-subtle);
	border: 1px solid var(--prep-stem-primary-muted);
}

.prep-stem__section--webinars {
	padding: 32px 24px;
	border-radius: 12px;
	background: var(--e-global-color-01346d6, #fff8e3);
	border: 1px solid var(--e-global-color-accent, #fad25a);
}

/* Full-bleed background; content stays same width as other sections */
.prep-stem__section--listings.prep-stem__band {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	/* Collapse flex gap below so no gray strip shows after the band */
	margin-bottom: calc(-1 * var(--prep-stem-section-gap));
	padding: 48px 0 calc(48px + var(--prep-stem-section-gap));
	border: 0;
	border-radius: 0;
	background: transparent;
	box-sizing: border-box;
	overflow: visible;
}

.prep-stem__section--listings.prep-stem__band::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	transform: translateX(-50%);
	background: var(--prep-stem-primary-subtle);
	z-index: 0;
	pointer-events: none;
}

.prep-stem__section--listings .prep-stem__section-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.prep-stem__section-inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	width: 100%;
}

.prep-stem__panel--trainings,
.prep-stem__panel--webinars {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.prep-stem__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.prep-stem .prep-stem__title {
	margin: 0 !important;
	font-family: var(--prep-stem-font) !important;
	font-size: 28px !important;
	line-height: 36px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
	text-transform: none !important;
	color: var(--prep-stem-primary) !important;
	max-width: 52rem;
}

.prep-stem__section--listings .prep-stem__title {
	font-size: 28px !important;
	line-height: 36px !important;
}

.prep-stem__intro {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	max-width: 52rem;
	border: 0 !important;
	background: transparent !important;
	font-family: var(--prep-stem-font) !important;
	font-size: 20px !important;
	line-height: 30px !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--prep-stem-primary) !important;
}

.prep-stem__section--resources {
	/* Keep breathing room under materials when Center pulls up over the flex gap */
	padding-bottom: var(--prep-stem-section-gap);
}

.prep-stem__section--centar {
	position: relative;
	/* Eat flex gaps above/below so white band meets neighbors (no gray strip) */
	margin-top: calc(-1 * var(--prep-stem-section-gap));
	margin-bottom: calc(-1 * var(--prep-stem-section-gap));
	/* Top padding only — spacing above comes from resources padding-bottom */
	padding: 40px 0 calc(40px + var(--prep-stem-section-gap));
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.prep-stem__section--centar::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	transform: translateX(-50%);
	background: var(--prep-stem-white, #ffffff);
	z-index: 0;
	pointer-events: none;
}

.prep-stem__section--centar .prep-stem__section-inner {
	position: relative;
	z-index: 1;
}

.prep-stem__section--centar .prep-stem__toolbar--cta-only {
	justify-content: flex-end;
}

.prep-stem__section--digital {
	position: relative;
	margin-bottom: calc(-1 * var(--prep-stem-section-gap));
	padding: 48px 0 calc(48px + var(--prep-stem-section-gap));
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
	isolation: isolate;
}

.prep-stem__section--digital::before,
.prep-stem__section--digital::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	transform: translateX(-50%);
	pointer-events: none;
}

.prep-stem__section--digital::before {
	z-index: 0;
	background-color: var(--prep-stem-primary-hover, #05234b);
	background-image: url("../img/digital-tools-bg.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.prep-stem__section--digital::after {
	z-index: 0;
	background:
		linear-gradient(
			180deg,
			rgba(5, 35, 75, 0.78) 0%,
			rgba(5, 50, 100, 0.72) 45%,
			rgba(5, 35, 75, 0.82) 100%
		);
}

.prep-stem__section--digital .prep-stem__section-inner {
	position: relative;
	z-index: 1;
}

.prep-stem__section--digital .prep-stem__title,
.prep-stem__section--digital .prep-stem__intro {
	color: #ffffff !important;
}

.prep-stem__section--digital .prep-stem__intro {
	max-width: 44rem;
	opacity: 0.92;
}

.prep-stem-tools {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	min-width: 0;
}

.prep-stem-tool {
	min-width: 0;
	height: 100%;
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
	border-radius: 12px !important;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(5, 35, 75, 0.18) !important;
	backdrop-filter: blur(6px);
}

.prep-stem-tool__link {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	padding: 20px;
	color: inherit;
	text-decoration: none !important;
	box-shadow: none !important;
}

.prep-stem-tool__link:hover,
.prep-stem-tool__link:focus {
	color: inherit;
	text-decoration: none !important;
}

.prep-stem-tool:hover,
.prep-stem-tool:focus-within {
	border-color: var(--prep-stem-primary-raised) !important;
}

.prep-stem-tool__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: var(--prep-stem-primary-muted);
	color: var(--prep-stem-primary);
	font-size: 16px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0;
	flex: 0 0 auto;
}

.prep-stem-tool__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
}

.prep-stem .prep-stem-tool__title {
	margin: 0 !important;
	font-family: var(--prep-stem-font) !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 600 !important;
	color: var(--prep-stem-primary) !important;
}

.prep-stem-tool__blurb {
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 22px !important;
	font-weight: 400 !important;
	color: var(--prep-stem-border-strong) !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
}

.prep-stem-tool__foot {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--prep-stem-border);
}

.prep-stem-tool__access {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	background: var(--e-global-color-d2f3d6, #d2f3d6);
	color: var(--e-global-color-134d20, #134d20);
}

.prep-stem-tool__access--freemium,
.prep-stem-tool__access--paid {
	background: var(--e-global-color-fef0c5, #fef0c5);
	color: var(--e-global-color-614300, #614300);
}

.prep-stem-tool__cta {
	flex: 0 0 auto;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	color: var(--prep-stem-primary);
	white-space: nowrap;
}

.prep-stem__section--faq {
	/* Breathing room after qualification band (which collapses the flex gap) */
	padding-top: var(--prep-stem-section-gap);
}

.prep-stem__tabs {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 24px;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	overflow-x: auto;
	border: 0;
	border-bottom: 1px solid var(--prep-stem-border);
	background: transparent;
	scrollbar-width: none;
}

.prep-stem__tabs::-webkit-scrollbar {
	display: none;
}

.prep-stem .prep-stem__tabs button.prep-stem__tab {
	all: unset;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	margin: 0 0 -1px !important;
	padding: 0 0 16px !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--prep-stem-primary) !important;
	font-family: var(--prep-stem-font) !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap !important;
	min-height: 0 !important;
	min-width: 0 !important;
	height: auto !important;
	width: auto !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.prep-stem .prep-stem__tabs button.prep-stem__tab:hover {
	background: transparent !important;
	box-shadow: none !important;
	color: var(--prep-stem-primary) !important;
	border: 0 !important;
	border-bottom: 2px solid var(--e-global-color-8d73c45, #c7283a) !important;
}

.prep-stem .prep-stem__tabs button.prep-stem__tab[aria-selected="true"],
.prep-stem .prep-stem__tabs button.prep-stem__tab[aria-selected="true"]:hover {
	background: transparent !important;
	box-shadow: none !important;
	color: var(--prep-stem-primary) !important;
	border: 0 !important;
	border-bottom: 2px solid var(--e-global-color-14c6585, #fa4155) !important;
}

.prep-stem .prep-stem__tabs button.prep-stem__tab:focus {
	outline: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.prep-stem .prep-stem__tabs button.prep-stem__tab:focus-visible {
	outline: 2px solid var(--prep-stem-primary) !important;
	outline-offset: 4px !important;
}

.prep-stem__panel {
	display: none;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.prep-stem__panel.is-active {
	display: flex;
}

.prep-stem__panel[hidden] {
	display: none !important;
}

.prep-stem__group-label {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-family: var(--prep-stem-font) !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--prep-stem-primary) !important;
}

.prep-stem__panel--webinars .prep-stem__group-label {
	color: var(--e-global-color-2e496a0, #614300) !important;
}

.prep-stem__group-label:first-child {
	margin-top: 0 !important;
}

.prep-stem__subtitle {
	margin: 8px 0 0 !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 600 !important;
	color: var(--prep-stem-primary) !important;
}

.prep-stem__subtitle:first-child {
	margin-top: 0 !important;
}

.prep-stem-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	min-width: 0;
}

.prep-stem-card {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	min-width: 0;
	overflow: hidden !important;
	background: var(--prep-stem-white) !important;
	border: 1px solid var(--prep-stem-border) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
}

.prep-stem-card__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
	box-shadow: none !important;
}

.prep-stem-card__link:hover,
.prep-stem-card__link:focus {
	color: inherit;
	text-decoration: none !important;
	box-shadow: none !important;
}

.prep-stem-card__media {
	position: relative;
	flex: 0 0 auto;
	height: 200px;
	overflow: hidden;
	background: var(--prep-stem-media-empty);
}

.prep-stem-card__img,
.prep-stem-card__media img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: top center;
	transform: none !important;
}

.prep-stem-card__media-empty {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--prep-stem-media-empty);
}

.prep-stem-card__tags {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	max-width: calc(100% - 56px);
}

.prep-stem-card__type {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--e-global-color-01346d6, #fff8e3);
	color: var(--e-global-color-2e496a0, #614300);
	font-size: 14px;
	line-height: 18px;
	font-weight: 300;
	white-space: nowrap;
}

.prep-stem-card__type--uroci {
	background: var(--e-global-color-01346d6, #fff8e3);
	color: var(--e-global-color-2e496a0, #614300);
}

.prep-stem-card__type--worksheets {
	background: var(--e-global-color-15f6c10, #eaf9fc);
	color: var(--e-global-color-f00532c, #093544);
}

.prep-stem-card__type--pbo {
	background: var(--e-global-color-e38df69, #edf9ee);
	color: var(--e-global-color-90a4e98, #134d20);
}

.prep-stem-card__type--post {
	background: var(--e-global-color-15f6c10, #eaf9fc);
	color: var(--e-global-color-f00532c, #093544);
}

.prep-stem-card__type--mass-training {
	background: var(--prep-stem-primary-muted);
	color: var(--prep-stem-primary);
}

.prep-stem-card__type--webinars {
	background: var(--e-global-color-01346d6, #fff8e3);
	color: var(--e-global-color-2e496a0, #614300);
}

.prep-stem-card__month {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--prep-stem-white);
	color: var(--prep-stem-primary);
	font-size: 14px;
	line-height: 18px;
	font-weight: 300;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.prep-stem-card__bookmark {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 99px;
	background: var(--prep-stem-white);
	box-shadow: 0 1px 4px rgba(5, 50, 100, 0.16);
}

/* Decorative bookmark for guests (no Jet button). */
.prep-stem-card__bookmark:not(:has(.jet-data-store-link))::before {
	display: block;
	width: 16px;
	height: 16px;
	content: "";
	background-color: var(--prep-stem-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 3h10a2 2 0 0 1 2 2v16l-7-4-7 4V5a2 2 0 0 1 2-2zm0 2v12.76l5-2.86 5 2.86V5H7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 3h10a2 2 0 0 1 2 2v16l-7-4-7 4V5a2 2 0 0 1 2-2zm0 2v12.76l5-2.86 5 2.86V5H7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.prep-stem-card__bookmark .jet-data-store-link-wrapper,
.prep-stem-pbo__fav .jet-data-store-link-wrapper,
.prep-stem-fav {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.prep-stem-card__bookmark .jet-data-store-link,
.prep-stem-pbo__fav .jet-data-store-link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 32px !important;
	height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 99px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--prep-stem-primary) !important;
	text-decoration: none !important;
	line-height: 0 !important;
	cursor: pointer;
}

.prep-stem-card__bookmark .jet-data-store-link:hover,
.prep-stem-card__bookmark .jet-data-store-link:focus,
.prep-stem-pbo__fav .jet-data-store-link:hover,
.prep-stem-pbo__fav .jet-data-store-link:focus {
	color: var(--prep-stem-primary-hover) !important;
}

.prep-stem-card__bookmark .jet-data-store-link.in-store,
.prep-stem-pbo__fav .jet-data-store-link.in-store {
	color: var(--e-global-color-14c6585, #fa4155) !important;
}

.prep-stem-fav-icon,
.prep-stem-card__bookmark .jet-data-store-link__icon,
.prep-stem-pbo__fav .jet-data-store-link__icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0;
	font-size: 0;
	color: inherit;
}

.prep-stem-fav-icon svg,
.prep-stem-card__bookmark .jet-data-store-link__icon svg,
.prep-stem-pbo__fav .jet-data-store-link__icon svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.prep-stem-card__bookmark .jet-data-store-link.jet-store-processing,
.prep-stem-pbo__fav .jet-data-store-link.jet-store-processing {
	opacity: 0.45;
	pointer-events: none;
}

.prep-stem-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 16px;
	min-height: 0;
	padding: 24px 20px;
}

.prep-stem .prep-stem-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--prep-stem-primary) !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
	text-transform: none !important;
}

.prep-stem-card__foot {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: auto;
}

.prep-stem-card__meta {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 0 0 20px;
	border-bottom: 1px solid var(--prep-stem-border);
}

/* Articles have no access row — drop the leftover divider under meta. */
.prep-stem-card--post .prep-stem-card__meta {
	padding-bottom: 0;
	border-bottom: 0;
}

.prep-stem-card__subject,
.prep-stem-card__class {
	font-size: 14px;
	line-height: 18px;
	font-weight: 300;
	color: var(--prep-stem-border-strong);
}

.prep-stem-card__class {
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

.prep-stem-card__access-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.prep-stem-card__access {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 0 0 32px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 300;
	color: var(--prep-stem-border-strong);
}

.prep-stem-card__access::before {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 24px;
	height: 24px;
	border-radius: 99px;
	content: "";
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
}

.prep-stem-card__access[accessibility="subscription"]::before {
	background-color: var(--e-global-color-3c6a08d, #fef0c5);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23614300' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-7-2a2 2 0 114 0v2h-4V6zm7 12H7v-8h10v8z'/%3E%3C/svg%3E");
}

.prep-stem-card__access[accessibility="free"]::before {
	background-color: var(--e-global-color-8920e41, #d2f3d6);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23134D20' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-7-2a2 2 0 114 0v2h-4V6zm7 12H7v-8h10v8z'/%3E%3C/svg%3E");
}

.prep-stem-card__access[accessibility="status"]::before {
	background-color: var(--prep-stem-primary-muted);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23053264' d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

body.prep-has-active-subscription .prep-stem-card__access[accessibility="subscription"]::before {
	background-color: var(--e-global-color-8920e41, #d2f3d6);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23134D20' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.prep-stem-card__access-row--chevron-only {
	justify-content: flex-end;
}

.prep-stem-card__chevron {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	background-color: var(--prep-stem-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.29 6.71a1 1 0 0 0 0 1.41L13.17 12l-3.88 3.88a1 1 0 1 0 1.41 1.41l4.59-4.58a1 1 0 0 0 0-1.42L10.7 6.7a1 1 0 0 0-1.41.01z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.29 6.71a1 1 0 0 0 0 1.41L13.17 12l-3.88 3.88a1 1 0 1 0 1.41 1.41l4.59-4.58a1 1 0 0 0 0-1.42L10.7 6.7a1 1 0 0 0-1.41.01z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* —— PBO Compact (no image) —— */
.prep-stem-grid--pbo {
	align-items: stretch;
}

.prep-stem-pbo {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	min-height: 280px;
	padding: 24px 20px;
	background: var(--prep-stem-white);
	border: 1px solid var(--prep-stem-border);
	border-radius: 12px;
	box-shadow: none;
}

.prep-stem-pbo__link {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding-right: 28px;
	color: inherit;
	text-decoration: none !important;
}

.prep-stem-pbo__link:hover,
.prep-stem-pbo__link:focus {
	color: inherit;
	text-decoration: none !important;
}

.prep-stem-pbo__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.prep-stem-pbo__tema {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	max-width: 100%;
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--e-global-color-14c6585, #fa4155);
	color: var(--prep-stem-white);
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	white-space: normal;
	word-break: break-word;
}

.prep-stem .prep-stem-pbo__title {
	margin: 0 !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 600 !important;
	color: var(--prep-stem-primary) !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.prep-stem-pbo__desc {
	margin: 0;
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: var(--prep-stem-border-strong);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.prep-stem-pbo__meta {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--prep-stem-border);
	font-size: 14px;
	line-height: 18px;
	font-weight: 300;
	color: var(--prep-stem-border-strong);
}

.prep-stem-pbo__class {
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

.prep-stem-pbo__fav {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 99px;
	background: var(--prep-stem-white);
	box-shadow: 0 1px 4px rgba(5, 50, 100, 0.16);
}

/* —— Event cards (homepage Trainings Loop Item) —— */
.prep-stem-tr {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	background: var(--prep-stem-white);
	border: 1px solid var(--prep-stem-border);
	border-radius: 12px;
	box-shadow: none;
}

.prep-stem-tr__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}

.prep-stem-tr__link:hover,
.prep-stem-tr__link:focus {
	color: inherit;
	text-decoration: none !important;
}

.prep-stem-tr__heading {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	padding: 16px 16px 20px;
	background: var(--e-global-color-34d13b8, #ddf4f9);
	border-radius: 8px;
	margin: 8px 8px 0;
}

.prep-stem-tr__meta-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.prep-stem-tr__chip {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border-radius: 4px;
	background: var(--e-global-color-b03ff49, #3b8faf);
	color: var(--prep-stem-white);
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
	white-space: nowrap;
}

.prep-stem-tr__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
	color: var(--e-global-color-f00532c, #093544);
	white-space: nowrap;
}

.prep-stem-tr__date::before {
	display: inline-block;
	width: 14px;
	height: 14px;
	content: "";
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 4h-1V2h-2v2H8V2H6v2H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V6a2 2 0 00-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 4h-1V2h-2v2H8V2H6v2H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 00-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.prep-stem .prep-stem-tr__title {
	margin: 0 !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 600 !important;
	color: var(--e-global-color-f00532c, #093544) !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.prep-stem-tr__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1 1 auto;
	padding: 16px 20px 20px;
}

.prep-stem-tr__facts {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.prep-stem-tr__fact {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	line-height: 20px;
}

.prep-stem-tr__fact-label {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	font-weight: 300 !important;
	font-size: 14px !important;
	line-height: 20px !important;
	color: var(--prep-stem-border-strong) !important;
}

.prep-stem-tr__fact-value {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	font-weight: 500 !important;
	font-size: 14px !important;
	line-height: 20px !important;
	color: var(--prep-stem-primary) !important;
	text-align: right !important;
}

.prep-stem-tr--webinar .prep-stem-tr__fact-value {
	color: var(--e-global-color-2e496a0, #614300) !important;
}

.prep-stem-tr__access[accessibility="explore"],
.prep-stem-tr__access--explore {
	padding-left: 0 !important;
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 500 !important;
	color: var(--prep-stem-primary) !important;
	text-align: left !important;
}

.prep-stem-tr--webinar .prep-stem-tr__access[accessibility="explore"],
.prep-stem-tr--webinar .prep-stem-tr__access--explore {
	color: var(--prep-stem-primary) !important;
}

.prep-stem-tr--webinar.is-past .prep-stem-tr__access[accessibility="explore"],
.prep-stem-tr--webinar.is-past .prep-stem-tr__access--explore {
	color: #2e2e2e !important;
}

.prep-stem-tr__access[accessibility="explore"]::before,
.prep-stem-tr__access--explore::before {
	display: none !important;
	content: none !important;
	width: 0 !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
}

.prep-stem-tr__foot {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--prep-stem-border);
}

.prep-stem-tr__foot--chevron-only {
	justify-content: flex-end;
}

.prep-stem-tr__access {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 0 0 32px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 300;
	color: var(--prep-stem-border-strong);
}

.prep-stem-tr__access::before {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 24px;
	height: 24px;
	border-radius: 99px;
	content: "";
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
}

.prep-stem-tr__access[accessibility="subscription"]::before {
	background-color: var(--e-global-color-3c6a08d, #fef0c5);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23614300' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-7-2a2 2 0 114 0v2h-4V6zm7 12H7v-8h10v8z'/%3E%3C/svg%3E");
}

.prep-stem-tr__access[accessibility="free"]::before {
	background-color: var(--e-global-color-8920e41, #d2f3d6);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23134D20' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-7-2a2 2 0 114 0v2h-4V6zm7 12H7v-8h10v8z'/%3E%3C/svg%3E");
}

.prep-stem-tr__access[accessibility="soon"] {
	padding-left: 0;
}

.prep-stem-tr__access[accessibility="soon"]::before {
	display: none;
}

.prep-stem-tr__chevron {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	background-color: var(--prep-stem-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.29 6.71a1 1 0 0 0 0 1.41L13.17 12l-3.88 3.88a1 1 0 1 0 1.41 1.41l4.59-4.58a1 1 0 0 0 0-1.42L10.7 6.7a1 1 0 0 0-1.41.01z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.29 6.71a1 1 0 0 0 0 1.41L13.17 12l-3.88 3.88a1 1 0 1 0 1.41 1.41l4.59-4.58a1 1 0 0 0 0-1.42L10.7 6.7a1 1 0 0 0-1.41.01z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.prep-stem__carousel--events .prep-stem-tr {
	flex: 0 0 calc((100% - 3 * 24px) / 4);
	width: calc((100% - 3 * 24px) / 4);
	max-width: calc((100% - 3 * 24px) / 4);
	scroll-snap-align: start;
}

.prep-stem__toolbar--cta-only {
	justify-content: flex-end;
}

/* Webinar amber variant */
.prep-stem-tr--webinar .prep-stem-tr__heading {
	background: var(--e-global-color-61d01f1, #fef5d4);
}

.prep-stem-tr--webinar .prep-stem-tr__chip {
	background: var(--e-global-color-8ac8528, #b68512);
}

.prep-stem-tr--webinar .prep-stem-tr__date,
.prep-stem .prep-stem-tr--webinar .prep-stem-tr__title {
	color: var(--e-global-color-2e496a0, #614300) !important;
}

.prep-stem-tr--webinar .prep-stem-tr__chevron {
	background-color: var(--e-global-color-2e496a0, #614300);
}

.prep-stem-tr--webinar.is-past .prep-stem-tr__heading {
	background: #ececec;
}

.prep-stem-tr--webinar.is-past .prep-stem-tr__chip {
	background: #2e2e2e;
}

.prep-stem-tr--webinar.is-past .prep-stem-tr__date,
.prep-stem .prep-stem-tr--webinar.is-past .prep-stem-tr__title {
	color: #2e2e2e !important;
}

.prep-stem-tr--webinar.is-past .prep-stem-tr__chevron {
	background-color: #2e2e2e;
}

.prep-stem__section--webinars .prep-stem__subtitle,
.prep-stem__panel--webinars .prep-stem__subtitle {
	color: var(--e-global-color-2e496a0, #614300) !important;
}

/* Reviews */
.prep-stem-reviews {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.prep-stem-review {
	margin: 0;
	padding: 24px 20px;
	border-radius: 12px;
	background: var(--prep-stem-white);
	border: 1px solid var(--prep-stem-border);
}

.prep-stem-review__text {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: var(--prep-stem-primary);
}

.prep-stem-review__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--prep-stem-border);
	font-size: 14px;
}

.prep-stem-review__meta a {
	color: var(--prep-stem-primary);
	font-weight: 600;
	text-decoration: none;
}

.prep-stem-review__meta a:hover {
	color: var(--prep-stem-primary-hover);
}

/* FAQ */
.prep-stem-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.prep-stem-faq__item {
	border: 1px solid var(--prep-stem-border);
	border-radius: 12px;
	background: var(--prep-stem-white);
	padding: 0 20px;
}

.prep-stem-faq__q {
	cursor: pointer;
	list-style: none;
	padding: 20px 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	color: var(--prep-stem-primary);
}

.prep-stem-faq__q::-webkit-details-marker {
	display: none;
}

.prep-stem-faq__a {
	padding: 0 0 20px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 300;
	color: var(--prep-stem-border-strong);
}

.prep-stem-faq__a p:last-child {
	margin-bottom: 0;
}

.prep-stem__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	width: 100%;
}

/* —— Lessons carousel (homepage-style) —— */
.prep-stem__carousel {
	min-width: 0;
	width: 100%;
}

.prep-stem-carousel__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 24px;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.prep-stem-carousel__track::-webkit-scrollbar {
	display: none;
}

.prep-stem-carousel__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.prep-stem-carousel__track.is-dragging a {
	pointer-events: none;
}

.prep-stem__carousel .prep-stem-card,
.prep-stem__carousel .prep-stem-pbo {
	flex: 0 0 calc((100% - 3 * 24px) / 4);
	width: calc((100% - 3 * 24px) / 4);
	max-width: calc((100% - 3 * 24px) / 4);
	scroll-snap-align: start;
}

.prep-stem__carousel .prep-stem-pbo {
	height: auto;
	min-height: 100%;
	align-self: stretch;
}

.prep-stem__toolbar--carousel {
	justify-content: flex-start;
}

.prep-stem-carousel__buttons {
	display: flex;
	flex: 0 0 auto;
	flex-direction: row;
	align-items: stretch;
	gap: 8px;
}

.prep-stem-carousel__btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	min-width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--prep-stem-border) !important;
	border-radius: 8px;
	background: var(--prep-stem-white) !important;
	color: var(--prep-stem-primary) !important;
	box-shadow: none;
	cursor: pointer;
	line-height: 1;
}

.prep-stem-carousel__btn:hover,
.prep-stem-carousel__btn:focus-visible {
	background: var(--prep-stem-primary-subtle) !important;
	border-color: var(--prep-stem-primary-raised) !important;
}

.prep-stem-carousel__btn.is-disabled,
.prep-stem-carousel__btn:disabled {
	opacity: 0.4;
	pointer-events: none;
	cursor: default;
}

.prep-stem-carousel__icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	pointer-events: none;
	overflow: visible;
}

.prep-stem-carousel__btn svg.prep-stem-carousel__icon {
	fill: currentColor;
}

.prep-stem-carousel__progress {
	flex: 1 1 auto;
	max-width: 100%;
	min-width: 80px;
}

.prep-stem-carousel__progress-track {
	height: 8px;
	overflow: hidden;
	border-radius: 99px;
	background: var(--prep-stem-primary-muted);
}

.prep-stem-carousel__progress-fill {
	height: 100%;
	width: 25%;
	border-radius: 99px;
	background: var(--prep-stem-primary);
	transition: width 0.15s ease;
}

.prep-stem__toolbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
}

.prep-stem__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 180px;
	min-height: 44px;
	padding: 12px 32px;
	border-radius: 8px;
	background: var(--prep-stem-primary) !important;
	color: var(--prep-stem-white) !important;
	font-size: 16px;
	line-height: 20px;
	font-weight: 500;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	filter: none !important;
}

.prep-stem__cta:hover,
.prep-stem__cta:focus {
	background: var(--prep-stem-primary-hover) !important;
	color: var(--prep-stem-white) !important;
	filter: none !important;
}

.prep-stem__cta:focus-visible {
	outline: 2px solid var(--prep-stem-primary);
	outline-offset: 2px;
}

@media (max-width: 1023px) {
	.prep-stem-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.prep-stem-reviews {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.prep-stem__carousel .prep-stem-card,
	.prep-stem__carousel .prep-stem-pbo {
		flex: 0 0 calc((100% - 24px) * 0.45);
		width: calc((100% - 24px) * 0.45);
		max-width: calc((100% - 24px) * 0.45);
	}

	.prep-stem__carousel--events .prep-stem-tr {
		flex: 0 0 calc((100% - 24px) * 0.45);
		width: calc((100% - 24px) * 0.45);
		max-width: calc((100% - 24px) * 0.45);
	}

	.prep-stem-tools {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 767px) {
	.prep-stem {
		--prep-stem-section-gap: 36px;
		gap: var(--prep-stem-section-gap);
	}

	.prep-stem .prep-stem__title {
		font-size: 24px !important;
		line-height: 32px !important;
	}

	.prep-stem-grid,
	.prep-stem-reviews,
	.prep-stem-tools {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.prep-stem-carousel__track {
		gap: 12px;
	}

	.prep-stem__carousel .prep-stem-card,
	.prep-stem__carousel .prep-stem-pbo {
		flex: 0 0 80%;
		width: 80%;
		max-width: 80%;
	}

	.prep-stem__carousel--events .prep-stem-tr {
		flex: 0 0 80%;
		width: 80%;
		max-width: 80%;
	}

	.prep-stem__toolbar--carousel {
		flex-wrap: wrap;
		gap: 24px;
	}

	.prep-stem-carousel__buttons {
		width: 100%;
	}

	.prep-stem-carousel__btn {
		flex: 1 1 45%;
		width: auto;
		min-width: 0;
	}

	.prep-stem-carousel__progress {
		order: 3;
		flex: 1 1 100%;
		min-width: 0;
	}

	.prep-stem__toolbar {
		justify-content: stretch;
	}

	.prep-stem__cta {
		width: 100%;
		min-width: 0;
	}
}
