/* GRID */
.bth-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 32px 24px;
}
@media (max-width: 1024px) { .bth-team__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .bth-team__grid { grid-template-columns: 1fr; } }

/* CARD */
.bth-team-card { display: flex; flex-direction: column; }
.bth-team-card__media {
  position: relative; 
  display: block; 
  width: 100%; 
  padding: 0; 
  border: 0; 
  background: none; 
  cursor: pointer;
  z-index: 1;
}
.bth-team-card__media:hover::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  display: block;
  z-index: 2;
  mix-blend-mode: color;
  background-blend-mode: color;
  background-image: linear-gradient(to bottom, #1c3e75, #1c3e75);
}

.bth-team-card__media img {
  position: relative;
  width: 100%; 
  height: 250px;
  display: block;
  object-fit: cover;
}


.bth-team-card__more {
  position: absolute;
  top: 50%;
  left: 50%; 
  background: rgba(255,255,255,.9); 
  color: #2a3f6c; 
  font-weight: 700;
  padding: 10px 16px; 
  border-radius: 24px;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.bth-team-card__media:hover > .bth-team-card__more{
  opacity: 1;
  transition: all 300ms ease;
}

.bth-team-card__content { margin-top: 10px; }
.bth-team-card__title { margin: 0 0 4px; font-size: 18px; line-height: 1.3; color: #2a3f6c; }
.bth-team-card__function { margin: 0; color: #6b7280; }

/* PAGINATION */
.bth-team__pagination { display: flex; align-items: center; gap: 10px; margin-top: 45px; }
.bth-team__page, .bth-team__page-num {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid #b692b6; background: #fff; color: #5a2e68; cursor: pointer;
}
.bth-team__page.is-disabled { opacity: .4; cursor: default; }
.bth-team__page-num.is-active { background: #5a2e68; color: #fff; border-color: #5a2e68; }

/* MODAL */
.bth-team__modal { position: fixed; inset: 0; background: rgba(8,23,48,.75); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.bth-team__modal[hidden] { display: none; }
.bth-team__modal__dialog {
  width: min(860px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.bth-team__modal__close {
  position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 22px; cursor: pointer;
}
.bth-team__modal__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 40vh;
  object-fit: cover;
}
.bth-team__modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 24px 24px;
}
.bth-team-modal__title { margin: 0 0 6px; font-size: 22px; color: #2a3f6c; }
.bth-team-modal__function { margin: 0 0 16px; color: #6b7280; }
.bth-team-modal__content p { margin: 0 0 12px; }

/* Iconen in modal */
.bth-team-modal__links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.bth-team-modal__link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #5a2e68;
  text-decoration: none;
}
.bth-team-modal__link:hover { background: #482654; }
body.bth-team-modal-open { overflow: hidden; }

/* Iconen op de kaart */
.bth-team-card__links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.bth-team-card__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #5a2e68;         /* icoonkleur */
  background: #f2ebf5;    /* zachte achtergrond */
  text-decoration: none;
}
.bth-team-card__icon:hover { background: #e6d9ec; }