.membres-wrapper {
	max-width: 980px;
	margin: 0 auto;
	padding: 40px 10px;
	box-sizing: border-box;
}
.membres-title {
	text-align: center;
	font-size: 2.5em;
	font-weight: 300;
	color: #1e3a5f;
	margin-bottom: 50px;
	font-weight: 800;
}
/* --- Grid and Item Layout --- */
.membres-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	justify-content: center;
	align-items: stretch;
}
.membre-item {
	box-sizing: border-box;
}
/* --- Member Card (White Box) --- */
.membre-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 15px 20px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 130px;
}
.membre-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* --- Logo Styling --- */
.membre-logo {
	max-height: 100px;
	max-width: 150px;
	object-fit: contain;
}
/* --- Button Styling --- */
.membre-btn {
	font-size: 0.9em;
}
.membre-btn a {
	display: inline-block;
	background-color: #797f89;
	color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 5px 14px;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	font-size: 12px;
	margin-top: 60px;
	border-radius: 20px;
}
.membre-btn a:hover, .membre-btn a:active {
	background-color: #c52027;
	color: #fff;
	border-color: #c52027;
}
/* --- Pager (Pagination) Styling --- */
.pager {
	margin-top: 60px;
    float: right;
}
.pager ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-block;
}
.pager li {
	display: inline-block;
	margin: 0 5px;
}
.pager a, .pager .is-active a {
	display: block;
	min-width: 30px;
	line-height: 30px;
	text-align: center;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	padding: 0 8px;
	background-color: #fff;
	transition: background-color 0.2s;
}
.pager a:hover {
	background-color: #f0f0f0;
}
.pager .is-active a,.pager  a:hover {
	background-color: #c52027 !important;
	color: #fff !important;
	border-color: #c52027 !important;
}
.pager ul.pager__items > li a { color:#000;}

/* --- Responsive Design (Mobile First) --- */
@media (max-width: 768px) {
.membres-title {
	font-size: 2em;
	margin-bottom: 30px;
}
.membres-grid {
	grid-template-columns: 1fr;
	gap: 15px;
}
}

.alphabet-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 0;
  margin-bottom: 20px;
  background: #f7f9fc;
  border-radius: 10px;
}

.alphabet-letter {
  font-weight: 600;
  color: #0A2D5E;
  text-decoration: none;
  font-size: 15px;
  padding: 6px 10px;
  transition: 0.2s;
}

.alphabet-letter:hover,.alphabet-letter:active,.alphabet-letter:focus {
  color: #c2191a;
}

.alphabet-letter.active {
  color: white;
  background: #0A2D5E;
  border-radius: 6px;
}
.reset-wrapper {
  text-align: center;
  margin: 15px 0;
}

.reset-filter,
.reset-wrapper a {
    padding: 6px 18px;
    background: #c2191a;
    color: #fff;
    border-radius: 10px !important;
    text-decoration: none;
    font-size: 16px;
}

.reset-wrapper a:hover,.reset-wrapper a:active,.reset-wrapper a:focus {
  background: #1e3a5f;
  color: #fff !important;
  text-decoration:underline;
}


