.oz-program-dashboard,
.oz-program-dashboard *,
.oz-program-dashboard *::before,
.oz-program-dashboard *::after {
	box-sizing: border-box;
}

.oz-program-dashboard {
	width: 100%;
	color: #161d2d;
}

.oz-program-page-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 24px;
}

.oz-program-page-heading span,
.oz-program-section-heading span,
.oz-program-eyebrow,
.oz-program-hero-copy > span,
.oz-program-course-body > span {
	display: block;
	margin-bottom: 6px;
	color: #3f5ff3;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.oz-program-page-heading h1,
.oz-program-hero h1,
.oz-program-section-heading h2 {
	margin: 0;
	letter-spacing: 0;
}

.oz-program-page-heading h1 {
	font-size: 30px;
	line-height: 1.35;
}

.oz-program-page-heading p,
.oz-program-section-heading p {
	margin: 7px 0 0;
	color: #667085;
}

.oz-program-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.tutor-student-dashboard-stats .tutor-grid.oz-has-program-stat {
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
}

.oz-program-home-stat .tutor-stat-card-icon,
.oz-program-home-stat .tutor-stat-card-value {
	color: #d63384;
}

.oz-program-home-section {
	margin-top: 28px;
}

.oz-program-home-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.oz-program-home-heading h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.oz-program-home-heading a {
	color: #3f5ff3;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.oz-program-home-heading a:hover,
.oz-program-home-heading a:focus-visible {
	text-decoration: underline;
}

.oz-program-card,
.oz-program-course-card {
	display: block;
	overflow: hidden;
	border: 1px solid #e2e6ee;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(25, 36, 60, .07);
	color: inherit;
	text-decoration: none !important;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.oz-program-card:hover,
.oz-program-course-card:hover {
	border-color: #9eacf9;
	box-shadow: 0 12px 28px rgba(25, 36, 60, .12);
	transform: translateY(-2px);
}

.oz-program-card:focus-visible,
.oz-program-course-main:focus-visible,
.oz-program-course-toggle:focus-visible,
.oz-program-back:focus-visible,
.oz-program-primary-link:focus-visible {
	outline: 3px solid rgba(63, 95, 243, .35);
	outline-offset: 3px;
}

.oz-program-course-card.is-selected {
	border-color: #3f5ff3;
	box-shadow: 0 0 0 2px rgba(63, 95, 243, .14);
}

.oz-program-course-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.oz-program-card-image,
.oz-program-course-image,
.oz-program-hero-image {
	display: grid;
	place-items: center;
	overflow: hidden;
	background: #edf1f7;
	color: #8590a5;
	font-size: 14px;
	font-weight: 700;
}

.oz-program-card-image {
	aspect-ratio: 16 / 9;
}

.oz-program-course-image img,
.oz-program-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.oz-program-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.oz-program-card-body {
	padding: 20px;
}

.oz-program-card h2,
.oz-program-course-card h3 {
	margin: 0;
	color: #161d2d;
	letter-spacing: 0;
}

.oz-program-card h2 {
	font-size: 22px;
	line-height: 1.4;
}

.oz-program-card p,
.oz-program-course-card p {
	display: -webkit-box;
	overflow: hidden;
	margin: 10px 0 0;
	color: #667085;
	line-height: 1.75;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.oz-program-card-footer,
.oz-program-course-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	color: #667085;
	font-size: 13px;
}

.oz-program-card-footer strong,
.oz-program-course-meta strong {
	color: #3f5ff3;
}

.oz-program-progress {
	height: 7px;
	overflow: hidden;
	margin-top: 9px;
	border-radius: 4px;
	background: #e4e7ec;
}

.oz-program-progress > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #3f5ff3;
}

.oz-program-card-action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #eaecf0;
	color: #3f5ff3;
	font-weight: 700;
}

.oz-program-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 20px;
	color: #3f5ff3;
	font-weight: 700;
	text-decoration: none !important;
}

.oz-program-hero {
	display: grid;
	grid-template-columns: minmax(260px, .72fr) minmax(0, 1.68fr);
	min-height: 260px;
	overflow: hidden;
	border: 1px solid #e2e6ee;
	border-radius: 8px;
	background: #fff;
}

.oz-program-hero-image {
	min-height: 260px;
	border-right: 1px solid #e2e6ee;
}

.oz-program-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px 38px;
}

.oz-program-hero h1 {
	font-size: 32px;
	line-height: 1.35;
}

.oz-program-hero-copy p {
	margin: 12px 0 0;
	color: #667085;
	line-height: 1.8;
}

.oz-program-hero-copy small {
	display: block;
	margin-top: 7px;
	color: #667085;
}

.oz-program-courses {
	margin-top: 38px;
}

.oz-program-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.oz-program-section-heading h2 {
	font-size: 28px;
	line-height: 1.35;
}

.oz-program-course-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.oz-program-course-main {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	color: inherit;
	text-decoration: none !important;
}

.oz-program-course-image {
	aspect-ratio: 16 / 9;
	border-bottom: 1px solid #e2e6ee;
}

.oz-program-course-body {
	display: flex;
	flex-direction: column;
	min-height: 240px;
	padding: 18px;
}

.oz-program-course-card h3 {
	font-size: 18px;
	line-height: 1.5;
}

.oz-program-course-card p {
	-webkit-line-clamp: 3;
}

.oz-program-course-body .oz-program-progress {
	margin-top: auto;
}

.oz-program-course-toggle {
	display: flex;
	width: auto;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 18px;
	padding: 12px 0;
	border: 0;
	border-top: 1px solid #eaecf0;
	background: transparent;
	color: #3f5ff3;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.oz-program-course-toggle:hover {
	color: #2346df;
}

.oz-program-course-toggle .oz-toggle-symbol {
	display: inline-grid;
	min-width: 24px;
	place-items: center;
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
}

.oz-program-course-curriculum {
	grid-column: 1 / -1;
	min-width: 0;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-10px);
	transition: max-height .34s ease, opacity .22s ease, transform .34s ease;
	scroll-margin-top: 24px;
}

.oz-program-course-curriculum[hidden] {
	display: none !important;
}

.oz-program-course-curriculum.is-open {
	opacity: 1;
	transform: translateY(0);
}

.oz-program-course-curriculum-inner {
	margin: 8px 0 16px;
	padding: 26px;
	border: 1px solid #dbe1ec;
	border-radius: 8px;
	background: #f8faff;
}

.oz-program-course-loading,
.oz-program-course-error {
	display: grid;
	min-height: 150px;
	place-items: center;
	color: #667085;
	font-size: 14px;
}

.oz-program-course-error {
	color: #b42318;
}

.oz-program-empty {
	padding: 34px;
	border: 1px dashed #c9d1e2;
	border-radius: 8px;
	background: #f8fafc;
	text-align: center;
}

.oz-program-empty h2 {
	margin: 10px 0 0;
	font-size: 20px;
}

.oz-program-empty p {
	margin: 8px 0 18px;
	color: #667085;
}

.oz-program-primary-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 6px;
	background: #3f5ff3;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
}

@media (max-width: 1024px) {
	.oz-program-course-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.oz-program-page-heading h1,
	.oz-program-hero h1 {
		font-size: 26px;
	}

	.oz-program-grid,
	.oz-program-course-grid,
	.oz-program-hero {
		grid-template-columns: 1fr;
	}

	.oz-program-hero-image {
		min-height: auto;
		aspect-ratio: 16 / 9;
		border-right: 0;
		border-bottom: 1px solid #e2e6ee;
	}

	.oz-program-hero-copy {
		padding: 24px 20px;
	}

	.oz-program-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.oz-program-course-body {
		min-height: 220px;
	}

	.oz-program-course-curriculum-inner {
		padding: 20px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oz-program-course-curriculum {
		transition: none;
	}
}
