/* =========================================================
   YCM Hero widget — structural layout only.
   Colors, typography, spacing and radii are driven by the
   widget's Elementor Style controls (generated selectors),
   with the values below as sensible fallbacks.
   ========================================================= */

.ycm-hero {
	background-color: #eff3ff;
	padding: 80px 0;
}

.ycm-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	display: flex;
	align-items: center;
	gap: 56px;
	box-sizing: border-box;
}

.ycm-hero__content {
	flex: 1 1 50%;
	min-width: 0;
}

.ycm-hero__media {
	flex: 1 1 50%;
	min-width: 0;
}

/* --- Badge --- */
.ycm-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #ffe5a4;
	border-radius: 999px;
	padding: 5px;
	margin-bottom: 24px;
	max-width: 100%;
}

.ycm-hero__badge-label {
	padding: 4px 10px 4px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #5a4a1a;
	white-space: nowrap;
}

.ycm-hero__badge-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #fff;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #111;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
	transition: transform 0.15s ease;
}

.ycm-hero__badge-btn:hover {
	transform: translateY(-1px);
}

.ycm-hero__badge-arrow {
	line-height: 1;
}

/* --- Heading --- */
.ycm-hero__heading {
	font-size: 56px;
	line-height: 1.08;
	font-weight: 800;
	color: #212121;
	margin: 0 0 20px;
}

/* --- Description --- */
.ycm-hero__desc {
	font-size: 17px;
	line-height: 1.6;
	color: #374151;
	margin: 0 0 28px;
	max-width: 600px;
}

/* --- Primary CTA --- */
.ycm-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #0f67fe;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	padding: 14px 28px;
	border-radius: 10px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.ycm-hero__cta:hover {
	background-color: #0b53d1;
	color: #fff;
}

/* --- Subscribe form --- */
.ycm-hero__subscribe {
	display: flex;
	align-items: center;
	background-color: #fff;
	border-radius: 999px;
	padding: 8px 8px 8px 22px;
	margin-top: 36px;
	max-width: 560px;
	box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.ycm-hero__subscribe-input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 16px;
	color: #374151;
}

.ycm-hero__subscribe-input::placeholder {
	color: #6b7280;
}

.ycm-hero__subscribe-btn {
	flex: 0 0 auto;
	border: 0;
	background-color: #0f67fe;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding: 14px 30px;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ycm-hero__subscribe-btn:hover {
	background-color: #0b53d1;
}

/* --- Image --- */
.ycm-hero__image-card {
	background-color: #fff;
	border-radius: 24px;
	padding: 16px;
	box-shadow: 0 20px 50px rgba(16, 24, 40, 0.12);
}

.ycm-hero__image-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 16px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.ycm-hero__inner {
		gap: 40px;
	}
	.ycm-hero__heading {
		font-size: 44px;
	}
}

@media (max-width: 767px) {
	.ycm-hero {
		padding: 48px 0;
	}
	.ycm-hero__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}
	.ycm-hero__content {
		order: 1;
	}
	.ycm-hero__media {
		order: 2;
	}
	.ycm-hero__heading {
		font-size: 34px;
	}
	.ycm-hero__badge {
		flex-direction: column;
		align-items: flex-start;
		border-radius: 18px;
		row-gap: 6px;
		max-width: 100%;
	}
	.ycm-hero__badge-label {
		white-space: normal;
	}
	.ycm-hero__badge-btn {
		white-space: normal;
		text-align: left;
		max-width: 100%;
	}
	.ycm-hero__subscribe {
		flex-wrap: wrap;
		border-radius: 16px;
		padding: 10px;
	}
	.ycm-hero__subscribe-input {
		flex: 1 1 100%;
		padding: 8px 12px;
	}
	.ycm-hero__subscribe-btn {
		flex: 1 1 100%;
	}
}

/* ---- Typography: Hero title uses Inter; all other hero text uses Roboto ---- */
.ycm-hero__heading {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
.ycm-hero__badge-label,
.ycm-hero__badge-btn,
.ycm-hero__desc,
.ycm-hero__cta,
.ycm-hero__subscribe-input,
.ycm-hero__subscribe-btn {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
