/* =========================================================
   YCM Community Matters widget — image left, dark background.
   ========================================================= */

.ycm-community-matters {
	background-color: #1b2a4a;
	padding: 90px 0;
}

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

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

.ycm-community-matters__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}

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

.ycm-community-matters__heading {
	font-size: 52px;
	line-height: 1.1;
	font-weight: 800;
	color: #fff;
	margin: 0 0 20px;
}

.ycm-community-matters__desc {
	font-size: 16px;
	line-height: 1.65;
	color: #d6deed;
	max-width: 560px;
}

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

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

.ycm-community-matters__cta {
	margin-top: 28px;
}

.ycm-community-matters__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 28px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

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

/* --- Responsive --- */
@media (max-width: 900px) {
	.ycm-community-matters__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}
	.ycm-community-matters__heading {
		font-size: 38px;
	}
}

@media (max-width: 560px) {
	.ycm-community-matters {
		padding: 56px 0;
	}
	.ycm-community-matters__heading {
		font-size: 30px;
	}
}

/* ---- Typography: title + content use Roboto ---- */
.ycm-community-matters__heading,
.ycm-community-matters__desc,
.ycm-community-matters__btn {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
