/*--------------------------------------------------------------
# Regional Administrators - grid 3x3 + pagination + bio modal
--------------------------------------------------------------*/

.admins .team-member {
  transition: transform .3s ease, box-shadow .3s ease;
  background-color: #fff;
}

.admins .team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 .75rem 1.5rem rgba(11, 60, 102, .15) !important;
}

/* toutes les photos au meme format, quel que soit le fichier source */
.admins .team-member .member-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.admins .team-member .member-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.admins .team-member .member-name {
  color: #0b3c66;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.admins .team-member .member-role {
  display: block;
  margin-bottom: 15px;
}

.admins .team-member .member-excerpt {
  color: #6c757d;
  font-size: 14px;
}

/* bouton Read more */
.admins .btn-read-more {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid #0b3c66;
  border-radius: 50px;
  background: transparent;
  color: #0b3c66;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s ease;
}

.admins .btn-read-more:hover,
.admins .btn-read-more:focus {
  background: #0b3c66;
  color: #fff;
}

.admins .btn-read-more i {
  transition: transform .3s ease;
}

.admins .btn-read-more:hover i {
  transform: translateX(3px);
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.admins-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admins-pagination .page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(11, 60, 102, .25);
  border-radius: 50px;
  background: #fff;
  color: #0b3c66;
  font-weight: 600;
  font-size: 14px;
  transition: all .3s ease;
}

.admins-pagination .page-btn:hover:not(:disabled):not(.active) {
  background: rgba(11, 60, 102, .08);
  border-color: #0b3c66;
}

.admins-pagination .page-btn.active {
  background: #0b3c66;
  border-color: #0b3c66;
  color: #fff;
  cursor: default;
}

.admins-pagination .page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.admins-pagination .page-info {
  width: 100%;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #6c757d;
}

/*--------------------------------------------------------------
# Modale biographie
--------------------------------------------------------------*/
.admin-bio-modal .modal-content {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}

.admin-bio-modal .modal-header {
  border: 0;
  padding: 16px 16px 0 16px;
}

.admin-bio-modal .modal-body {
  padding: 0 28px 32px 28px;
}

.admin-bio-modal .bio-photo {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

.admin-bio-modal .bio-name {
  color: #0b3c66;
  font-weight: 700;
  margin-bottom: 4px;
}

.admin-bio-modal .bio-role {
  display: block;
  color: #6c757d;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

/* zone biographie : scroll interne si le texte est long */
.admin-bio-modal .bio-text {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 10px;
  color: #495057;
  font-size: 15px;
  line-height: 1.75;
}

.admin-bio-modal .bio-text p {
  margin-bottom: 14px;
}

.admin-bio-modal .bio-text::-webkit-scrollbar {
  width: 6px;
}

.admin-bio-modal .bio-text::-webkit-scrollbar-thumb {
  background: rgba(11, 60, 102, .3);
  border-radius: 3px;
}

@media (max-width: 767px) {
  .admin-bio-modal .bio-photo {
    max-height: 260px;
    margin-bottom: 20px;
  }

  .admin-bio-modal .bio-text {
    max-height: none;
  }
}
