.main-content.overlay {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	padding: 2rem 1rem;
	gap: 1.5rem;
	flex-direction: row;
	background: #F5F5F5;
}

/* Introduction */
.benefits-intro {
	text-align: center;
	flex: 1 1 100%;
}
.benefits-accroche {
	font-size: 1.1rem;
	line-height: 1.5;
	margin: 0;
}

/* Filtres par rubrique */
.benefits-filters {
	flex: 1 1 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}
.benefits-filter {
	font-family: inherit;
	font-size: 0.9rem;
	background: white;
	color: #2070BC;
	border: 1px solid #2070BC;
	border-radius: 20px;
	padding: 0.4rem 0.9rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.benefits-filter:hover,
.benefits-filter.active {
	background: #2070BC;
	color: white;
}

/* Fiches */
.card {
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	flex: 1 1 300px;
	max-width: 400px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-self: stretch;
}
.card.hidden {
	display: none;
}
.card h2 {
	font-size: 1.2rem;
	margin: 0;
	color: #2070BC;
}
.card h3 {
	font-size: 1rem;
	margin: 1rem 0 0.3rem 0;
	color: #2070BC;
}
.card-logo {
	height: 2rem;
	margin-bottom: 0.5rem;
}
.card-logo img {
	height: 100%;
}
.card-tags {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
}
.card-tags li {
	font-size: 0.75rem;
	background: #E8F0F9;
	color: #2070BC;
	border-radius: 10px;
	padding: 0.15rem 0.6rem;
}
.card-body {
	flex-grow: 1;
	margin-bottom: 1rem;
}
.card-body p,
.card-body li {
	font-size: 0.95rem;
	line-height: 1.4;
}
.card-body ul {
	margin: 0;
	padding-left: 1.2rem;
}
.card-body li {
	margin-bottom: 0.3rem;
}
.card-reference {
	font-style: italic;
	color: #555;
}
.card-note {
	background: #F5F5F5;
	border-radius: 5px;
	padding: 0.6rem 0.8rem;
}
.card a {
	display: inline-block;
	align-self: flex-start;
	text-decoration: none;
	background: #2070BC;
	color: white;
	padding: 0.6rem 1rem;
	border-radius: 5px;
	font-weight: bold;
	transition: background 0.2s ease;
}
.card a:hover {
	background: #2070BC;
}

@media (max-width: 600px) {
	header h1 {
		font-size: 1.5rem;
	}
	.card {
		max-width: 100%;
	}
}
