.popup-modal {
  left: 0;
  width: 100%;
  min-height: 100%;
  height: 100dvh; 
  height: 100vh;  
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9;
}

.show-popup {
  margin: 0px;
  cursor: pointer;
}

.show-popup:hover {
  text-decoration: underline;
}

#custom-popup {
  display: flex;
  align-items: center;
  max-width: 720px;
  background: rgb(255, 255, 255);
  height: 450px;
  max-height: 65vh;
  position: relative;
  overflow: hidden;
}

#custom-popup img {
  width: 50%;
  height: 101%;
  object-fit: cover;
  object-position: top;
}

.popup-content {
  padding: 30px;
  box-sizing: border-box;
}

.popup-content h5 {
  font-weight: normal;
  text-align: left;
  font-size: 18px;
  line-height: 150%;
  margin-bottom: 0px;
  width: 80%;
}

.popup-content p {
  font-size: 10px;
  text-align: left;
  margin-top: 10px !important;
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 3;
}

.popup-content p a {
  font-size: inherit !important;
  text-decoration: underline;
}

.close-popup {
  font-size: 0px;
}

.close-popup::before {
  content: "\e916";
  font-family: "mrz-iconset" !important;
  font-size: 18px;
  display: flex;
}

.close-popup:hover {
  transform: scale(0.9);
}

.popup-signup .btn--normal::after {
  color: var(--color-black);
}

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  #custom-popup {
    flex-direction: column;
    height: inherit;
    width: 80%;
    max-height: 55vh;
  }

  #custom-popup img {
    width: 101%;
    height: 30vh;
    object-fit: cover;
    position: relative;
    top: -2px;
  }

  .popup-content h5 {
    font-size: 18px;
    width: 100%;
    text-align: center;
  }

  .close-popup {
    font-size: 0px;
    padding: 5px;
    background: var(--color-black);
    top: 10px;
    right: 10px;
  }

  .close-popup::before {
    color: var(--color-white);
    font-size: 18px;
  }

  .popup-content {
    padding: 10px 20px;
  }

  #custom-popup p {
    text-align: center;
    line-height: 120%;
  }
}
