.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(244, 241, 241, 0.95);
  z-index: 99999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.popup-overlay.active {
  display: block;
}

.popup-inner {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 30px;
  background: rgba(244, 241, 241, 0);
}

.popup-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  color: #000;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-loading {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #333;
}

.popup-name {
  font-family: 'brave_custom-panchang bold', sans-serif;
  font-size: clamp(40px, 8vw, 85px);
  font-weight: bold;
  line-height: 1em;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.popup-role {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 30px 0;
}

.popup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.popup-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7em;
  text-align: justify;
}

.popup-text p {
  margin: 0 0 15px 0;
}

.popup-image img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.popup-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.popup-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 700px) {
  .popup-inner {
    margin: 50px 15px;
    padding: 20px 15px;
  }

  .popup-body {
    grid-template-columns: 1fr;
  }

  .popup-videos {
    grid-template-columns: 1fr;
  }

  .popup-name {
    font-size: clamp(30px, 10vw, 50px);
  }
}
