/* CNS Objectif Se muscler — /objectifs/se-muscler/ — csm-axes */

.cns-csm-axes {
	--cns-ink: #111;
	--cns-muted: #5a5a5a;
	--cns-bg: #f7f6f3;
	--cns-green: #12281c;
	--cns-font: "Poppins", system-ui, sans-serif;
	background: var(--cns-bg);
	font-family: var(--cns-font);
	color: var(--cns-ink);
}

.cns-csm-axes__inner {
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2.5rem);
	box-sizing: border-box;
}

.cns-csm-axes__header {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
}

.cns-csm-axes__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: #111 !important;
}

.cns-csm-axes__lead {
	margin: 0;
	font-size: clamp(0.95rem, 1.3vw, 1.05rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--cns-muted) !important;
}

.cns-csm-axes__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.85rem, 2vw, 1.2rem);
	align-items: stretch;
}

.cns-csm-axes__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border-radius: 1rem;
	overflow: visible;
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.07);
}

.cns-csm-axes__media {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: visible;
	border-radius: 1rem 1rem 0 0;
	background: #e8e6e1;
}

.cns-csm-axes__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 1rem 1rem 0 0;
}

.cns-csm-axes__badge {
	position: absolute;
	left: 1rem;
	bottom: -1.05rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	background: #fff;
	border: 1.5px solid var(--cns-green);
	color: var(--cns-green);
	box-shadow: 0 4px 12px rgba(18, 40, 28, 0.12);
	line-height: 0;
}

.cns-csm-axes__badge svg {
	display: block;
	width: 20px;
	height: 20px;
}

.cns-csm-axes__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.55rem 1.1rem 1.25rem;
	flex: 1 1 auto;
}

.cns-csm-axes__card-title {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #111 !important;
}

.cns-csm-axes__card-text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	font-weight: 400;
	color: var(--cns-muted) !important;
}

.wpcursor-component.wpcursor-csm-axes .cns-csm-axes__title,
.wpcursor-component.wpcursor-csm-axes .cns-csm-axes__card-title {
	color: #111 !important;
}

.wpcursor-component.wpcursor-csm-axes .cns-csm-axes__lead,
.wpcursor-component.wpcursor-csm-axes .cns-csm-axes__card-text {
	color: var(--cns-muted) !important;
}

@media (max-width: 1024px) {
	.cns-csm-axes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.1rem;
	}
}

@media (max-width: 600px) {
	.cns-csm-axes__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.cns-csm-axes__title {
		overflow-wrap: anywhere;
	}
}