/* =========================================================
   YCM Wealth Banner widget — structural layout only.
   Colors/typography/spacing driven by Elementor Style controls.
   ========================================================= */

.ycm-wealth {
	background-color: #fff;
	padding: 80px 0;
}

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

.ycm-wealth__media {
	flex: 0 1 46%;
	min-width: 0;
}

.ycm-wealth__content {
	flex: 1 1 54%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Image on the right variant */
.ycm-wealth--image-right .ycm-wealth__inner {
	flex-direction: row-reverse;
}

/* --- Image card --- */
.ycm-wealth__card {
	background-color: #eff3ff;
	border-radius: 28px;
	padding: 28px;
	height: 100%;
	box-sizing: border-box;
}

.ycm-wealth__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 0.78;
	object-fit: cover;
	border-radius: 16px;
}

/* --- Content --- */
.ycm-wealth__top {
	padding-top: 8px;
}

.ycm-wealth__badge {
	display: inline-block;
	background-color: #ffe5a4;
	color: #3a2e0a;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 8px 18px;
	border-radius: 999px;
	margin-bottom: 26px;
}

.ycm-wealth__heading {
	font-size: 52px;
	line-height: 1.15;
	font-weight: 800;
	color: #070707;
	margin: 0 0 24px;
	max-width: 620px;
}

.ycm-wealth__desc {
	font-size: 16px;
	line-height: 1.6;
	color: #4b5563;
	max-width: 640px;
}

.ycm-wealth__desc p {
	margin: 0 0 16px;
}

.ycm-wealth__desc p:last-child {
	margin-bottom: 0;
}

/* --- Button (anchored to bottom) --- */
.ycm-wealth__bottom {
	margin-top: 40px;
}

.ycm-wealth__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #0f67fe;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	padding: 15px 30px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
	.ycm-wealth__inner {
		gap: 40px;
	}
	.ycm-wealth__heading {
		font-size: 42px;
	}
}

@media (max-width: 767px) {
	.ycm-wealth {
		padding: 48px 0;
	}
	.ycm-wealth__inner,
	.ycm-wealth--image-right .ycm-wealth__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
	}
	.ycm-wealth__heading {
		font-size: 32px;
	}
	.ycm-wealth__card {
		padding: 18px;
	}
	.ycm-wealth__bottom {
		margin-top: 24px;
	}
}

/* ---- Typography: title + content use Roboto ---- */
.ycm-wealth__badge,
.ycm-wealth__heading,
.ycm-wealth__desc,
.ycm-wealth__btn {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
