/* Hero Course Section Widget — base styles (all visual values are meant to be
   overridden from Elementor's Style tab; these are just sane fallbacks) */

.hcs-hero {
	background: #0b1912;
	padding: 60px 40px;
	box-sizing: border-box;
	overflow: hidden;
}

.hcs-hero *,
.hcs-hero *::before,
.hcs-hero *::after {
	box-sizing: border-box;
}

/* ---------- Grid ---------- */
.hcs-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	max-width: 1300px;
	margin: 0 auto;
}

.hcs-hero__col--content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

/* ---------- Heading ---------- */
.hcs-heading {
	margin: 0;
	font-size: 40px;
	line-height: 1.25;
	font-weight: 600;
	font-family: inherit;
}

.hcs-heading__prefix {
	color: #ffffff;
}

.hcs-heading__highlight {
	color: #d4ef8a;
}

/* ---------- Meta row ---------- */
.hcs-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin: 0;
}

.hcs-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
}

.hcs-meta__icon {
	display: inline-flex;
	color: #7fb93f;
	font-size: 15px;
}

.hcs-meta__text {
	color: #ededed;
}

/* ---------- Badges ---------- */
.hcs-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.hcs-badge {
	display: inline-block;
	color: #ffffff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 30px;
	padding: 8px 18px;
	font-size: 13px;
	line-height: 1.4;
}

/* ---------- CTA Button ---------- */
.hcs-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #d4ef8a;
	color: #12241c;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.03em;
	text-decoration: none;
	padding: 18px 32px;
	border-radius: 8px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.hcs-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.hcs-btn__icon {
	display: inline-flex;
	line-height: 1;
}

/* ---------- Logo rows ---------- */
.hcs-logos {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 10px;
	width: 100%;
}

.hcs-logos__label {
	color: #9aa79a;
	font-size: 13px;
}

.hcs-logos__box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 14px 18px;
}

.hcs-logos__box img {
	height: 28px;
	width: auto;
	object-fit: contain;
	filter: grayscale(0%);
}

/* ---------- Video block ---------- */
.hcs-video {
	position: relative;
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #000;
}

.hcs-video__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hcs-video__overlay-text {
	position: absolute;
	top: 30px;
	left: 30px;
	right: 30px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	max-width: 65%;
	z-index: 2;
}

.hcs-video__overlay-text span {
	color: #ffffff;
	background-color: rgba(10, 20, 15, 0.75);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	padding: 2px 8px;
}

.hcs-video__overlay-line {
	display: block;
}

.hcs-video__overlay-line:not(:last-child) {
	margin-bottom: 4px;
}

.hcs-video__duration {
	position: absolute;
	left: 30px;
	bottom: 24px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(30, 74, 46, 0.9);
	color: #fff;
	font-size: 13px;
	padding: 8px 14px;
	border-radius: 30px;
	z-index: 2;
}

.hcs-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hcs-video__play-icon {
	color: #12241c;
	font-size: 20px;
	margin-left: 3px;
}

.hcs-video__presenter {
	position: absolute;
	right: 20px;
	bottom: 20px;
	background: rgba(10, 20, 15, 0.55);
	padding: 10px 16px;
	border-radius: 10px;
	text-align: right;
	z-index: 2;
}

.hcs-video__presenter-name {
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
}

.hcs-video__presenter-title {
	color: #c9c9c9;
	font-size: 12px;
}

/* ---------- Mobile banner (hidden on desktop) ---------- */
.hcs-mobile-banner {
	display: none;
}

/* ---------- Responsive ---------- */
@media ( max-width: 1024px ) {
	.hcs-heading {
		font-size: 32px;
	}

	.hcs-video__overlay-text {
		font-size: 24px;
		max-width: 80%;
	}
}

@media ( max-width: 767px ) {
	.hcs-hero {
		padding: 0 0 40px 0;
	}

	.hcs-hero__grid {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 0 20px;
	}

	.hcs-heading {
		font-size: 26px;
	}

	.hcs-mobile-banner {
		display: block;
		position: relative;
		width: 100%;
		margin-bottom: 30px;
	}

	.hcs-mobile-banner__image {
		position: relative;
		width: 100%;
		height: 300px;
		background-size: cover;
		background-position: center;
	}

	.hcs-mobile-banner__overlay {
		position: absolute;
		inset: 0;
		background: linear-gradient( to bottom, rgba(11, 25, 18, 0.15) 0%, rgba(11, 25, 18, 0.95) 100% );
	}

	.hcs-mobile-banner__content {
		position: relative;
		padding: 24px 20px 10px;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.hcs-mobile-banner__text {
		margin: 0;
		color: #ffffff;
		font-size: 24px;
		font-weight: 600;
		line-height: 1.3;
	}

	.hcs-mobile-banner__highlight {
		color: #9fe870;
	}

	.hcs-mobile-banner__btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		text-decoration: none;
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.03em;
		padding: 16px 20px;
		border-radius: 8px;
		width: 100%;
	}

	.hcs-mobile-banner__btn-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
		flex-shrink: 0;
	}

	.hcs-mobile-banner__btn-icon i {
		font-size: 16px;
		line-height: 1;
	}

	.hcs-mobile-banner__btn-icon svg {
		width: 16px;
		height: 16px;
		display: block;
		fill: currentColor;
	}

	.hcs-mobile-banner__btn--outline {
		border: 1px solid rgba(255, 255, 255, 0.4);
		color: #ffffff;
		background: transparent;
	}

	.hcs-mobile-banner__btn--solid {
		background: #d4ef8a;
		color: #12241c;
	}

	.hcs-video__overlay-text {
		font-size: 20px;
		top: 20px;
		left: 20px;
		right: 20px;
		max-width: 90%;
	}

	.hcs-video__play {
		width: 52px;
		height: 52px;
	}

	.hcs-meta {
		gap: 14px;
	}

	.hcs-logos__box {
		gap: 14px;
		padding: 12px 14px;
	}
}

@media ( min-width: 768px ) {
	.hcs-mobile-banner {
		display: none !important;
	}
}
