/* Optional course presentation. Shared commerce and content components retain
 * their existing styles outside the explicitly scoped hero section. */
/* Kadence wraps Tutor inside its normal padded content shell. Let this course
 * shell fill the available page width; the two Tutor containers still bound
 * the hero foreground and course content. Header/footer containers are untouched. */
body.dba-course-layout-hero #primary.content-area {
	margin-top: 0;
}

body.dba-course-layout-hero #primary.content-area > .content-container.site-container {
	max-width: none;
	padding-inline: 0;
}

body.dba-course-layout-hero .tutor-full-width-course-top {
	margin-top: 0;
}

body.dba-course-layout-hero .dba-course-hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(32px, 4vw, 64px);
	background: #192027;
	color: #ffffff;
}

body.dba-course-layout-hero .dba-course-hero::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(100deg, rgba(15, 19, 24, 0.32), rgba(15, 19, 24, 0.46) 35%, rgba(15, 19, 24, 0.7) 58%, rgba(15, 19, 24, 0.76));
	content: "";
	pointer-events: none;
}

body.dba-course-layout-hero .dba-course-hero__backdrop {
	position: absolute;
	z-index: -2;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

body.dba-course-layout-hero .dba-course-hero__backdrop img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	filter: blur(10px);
	transform: scale(1.04);
}

body.dba-course-layout-hero .tutor-container.dba-course-hero__inner,
body.dba-course-layout-hero .tutor-container.dba-course-hero__content {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--global-content-width, 1290px);
	margin-inline: auto;
	padding-inline: var(--global-content-edge-padding, 24px);
}

body.dba-course-layout-hero .dba-course-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
}

body.dba-course-layout-hero .dba-course-hero__media,
body.dba-course-layout-hero .dba-course-hero__information {
	min-width: 0;
}

body.dba-course-layout-hero .dba-course-hero__media {
	background: #11161c;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

body.dba-course-layout-hero .dba-course-hero__media .tutor-course-thumbnail img {
	width: 100%;
	height: auto;
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-header {
	margin-bottom: 0 !important;
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-title {
	max-width: none;
	color: #ffffff !important;
	font-size: clamp(26px, 2.6vw, 40px);
	line-height: 1.35;
	overflow-wrap: anywhere;
}

body.dba-course-layout-hero .dba-course-hero .dba-course-short-description {
	max-width: none;
	margin-top: 20px;
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-top > .tutor-row {
	row-gap: 18px;
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-top .tutor-col-auto {
	width: 100%;
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-info,
body.dba-course-layout-hero .dba-course-hero .tutor-course-details-info > div,
body.dba-course-layout-hero .dba-course-hero .tutor-course-details-info a,
body.dba-course-layout-hero .dba-course-hero .tutor-ratings-count,
body.dba-course-layout-hero .dba-course-hero .tutor-ratings-average {
	color: #e2e7eb;
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-info {
	flex-wrap: wrap;
	font-size: 14px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 0 !important;
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-actions .tutor-btn-ghost {
	margin-right: 0;
	/* Tutor applies padding: 0 !important to every ghost button. */
	padding: 8px 12px !important;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 6px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
}

body.dba-course-layout-hero .dba-course-hero .tutor-course-details-actions .tutor-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.15);
}

body.dba-course-layout-hero .dba-course-hero a:focus-visible,
body.dba-course-layout-hero .dba-course-hero button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
}

body.dba-course-layout-hero .dba-course-hero .dba-course-hero-presale {
	margin: 24px 0 0;
	color: var(--dba-course-page-ink, #1a1c1e);
}

body.dba-course-layout-hero .dba-course-hero__content {
	padding-top: clamp(24px, 3vw, 40px);
}

body.dba-course-layout-hero .dba-course-hero__content main > .dba-course-summary-strip {
	margin-top: 0;
}

body.dba-course-layout-hero .dba-course-hero__content main > .tutor-course-details-tab:first-child {
	margin-top: 0 !important;
}

@media (max-width: 1199px) {
	body.dba-course-layout-hero .dba-course-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
		gap: 28px;
	}

	body.dba-course-layout-hero .dba-course-hero .tutor-course-details-title {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	body.dba-course-layout-hero .dba-course-hero::after {
		/* Stacked information can extend across the image's brighter left side. */
		background: linear-gradient(180deg, rgba(15, 19, 24, 0.7), rgba(15, 19, 24, 0.82));
	}

	body.dba-course-layout-hero .dba-course-hero {
		padding-block: 24px 28px;
	}

	body.dba-course-layout-hero .dba-course-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.dba-course-layout-hero .tutor-container.dba-course-hero__inner,
	body.dba-course-layout-hero .tutor-container.dba-course-hero__content {
		padding-inline: 16px;
	}

	body.dba-course-layout-hero .dba-course-hero .tutor-course-details-title {
		font-size: 26px;
	}

	body.dba-course-layout-hero .dba-course-hero .dba-course-short-description {
		font-size: 15px;
	}

	body.dba-course-layout-hero .dba-course-hero .dba-course-hero-presale {
		margin-top: 20px;
	}
}
