/* RTP - Our Story button */
/* RTP - Our Story Button */
.popup-trigger {
  background-color: #00263e !important;
  color: #fff !important;
  box-shadow: none;
  transition: all 300ms linear;
  border: 1px solid #00263e !important;
  border-radius: 5px;
  padding: 5px 16px;
  font-weight: 600;
}

.popup-trigger:hover {
  background-color: #fff !important;
  color: #00263e !important;
  border: 1px solid #00263e !important;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.popup-box {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  margin: 20px;
  box-sizing: border-box;
  max-height: 90vh;
  overflow: hidden; /* Prevent scrollbars */
}

/* Close Button */

.popup-close,
.popup-close-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 900;
  padding: 0 10px 3px;
  border: 2px solid white;
  color: #fff;
  background: black;
  cursor: pointer;
  z-index: 10000;
}

.popup-close:hover,
.popup-close-btn:hover {
  color: #ccc;
}

/* Hide class */
.popup-hidden {
  display: none !important;
}

/* Responsive Video */
.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 8px;
}

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

/* Responsive Tweak */
@media (max-width: 480px) {
  .popup-box {
    padding: 15px;
    width: 95%;
    max-width: 95%;
  }
}

.popup-trigger {
  max-width: 250px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.popup-overlay,
.popup-trigger,
.popup-box {
  box-sizing: border-box;
}

.popup-box {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  margin: 20px;
  box-sizing: border-box;
  max-height: 80vh; /* set max height */
  overflow-y: auto; /* allow vertical scroll if needed */
}

.popup-box p {
    font-size: 18px;
}
