/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Tutor LMS single course: clear the fixed Elementor header */
body.tutor-page .tutor-course-details-title,
body.single-courses .tutor-course-details-title {
	margin-top: 0;
}
body.single-courses .tutor-course-details-header,
body.single-courses .tutor-course-details-wrapper {
	padding-top: 140px;
}

/* Tutor LMS single course: branded hero (CSS only, no template override) */
body.single-courses .tutor-course-details-page.tutor-container {
	padding-top: 0;
}

body.single-courses .tutor-course-details-header {
	position: relative;
	background: linear-gradient(135deg, #333366 0%, #1F2937 100%);
	border-radius: 20px;
	padding: 48px 44px 40px;
	margin-top: 140px;
	margin-bottom: 44px;
	overflow: hidden;
}

/* subtle brand accent */
body.single-courses .tutor-course-details-header::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: rgba(102, 153, 255, 0.16);
	pointer-events: none;
}

body.single-courses .tutor-course-details-ratings .tutor-icon-star-line {
	color: #ffffff;
	opacity: 0.4;
}

body.single-courses .tutor-course-details-title,
body.single-courses .tutor-course-details-title span {
	color: #ffffff !important;
	font-size: 44px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-top: 8px;
}

body.single-courses .tutor-course-details-header .tutor-meta,
body.single-courses .tutor-course-details-header .tutor-meta a,
body.single-courses .tutor-course-details-header .tutor-course-details-info,
body.single-courses .tutor-course-details-header .tutor-course-details-info a {
	color: rgba(255, 255, 255, 0.85) !important;
}

body.single-courses .tutor-course-details-header .tutor-meta a:hover,
body.single-courses .tutor-course-details-header .tutor-course-details-info a:hover {
	color: #ffffff !important;
	text-decoration: underline;
}

body.single-courses .tutor-course-details-actions .tutor-btn-ghost {
	color: rgba(255, 255, 255, 0.9) !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
}

body.single-courses .tutor-course-details-actions .tutor-btn-ghost:hover {
	color: #ffffff !important;
	border-color: #ffffff !important;
	background: rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 1024px) {
	/* Below its desktop breakpoint the Elementor header is absolutely
	   positioned (out of flow) and is ~230px tall on phones, so reserve room. */
	body.single-courses .tutor-course-details-page.tutor-container {
		padding-top: 240px;
	}
	body.single-courses .tutor-course-details-header {
		padding: 32px 24px 28px;
		margin-top: 0;
		border-radius: 16px;
	}
	body.single-courses .tutor-course-details-title,
	body.single-courses .tutor-course-details-title span {
		font-size: 32px;
	}
}
