/* WebJIVE — staff/leader BIO popups (see wj-bio-popups.js).
   The plugin stylesheet already styles the popup body; this supplies the
   overlay behaviour it built in JS, plus a close control the markup lacked. */
.wj-bio-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 159899;
  background: rgba(32, 25, 45, .72);
  padding: 4vh 16px;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}
.wj-bio-overlay.is-open { display: flex; }
.wj-bio-overlay .ddb-popup,
.wj-bio-overlay .ddb-custom-popup {
  background: #fff;
  max-width: 760px;
  width: 100%;
  margin: auto;
  padding: 32px;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.wj-bio-overlay .ddb-popup-image-icon {
  max-width: 160px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 18px;
}
.wj-bio-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.wj-bio-close:hover,
.wj-bio-close:focus-visible { background: rgba(0, 0, 0, .6); outline: 2px solid #fff; }
@media (max-width: 640px) {
  .wj-bio-overlay .ddb-popup,
  .wj-bio-overlay .ddb-custom-popup { padding: 22px; }
}
