.popup {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  padding: 0;
  overflow: hidden;
  right: 0;
  margin: 0 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms linear;
  display: flex;
  gap: 0.5rem;
}

.popupdata {
  height: 76vh;
  width: 29rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(1.875rem);
  -webkit-backdrop-filter: blur(1.875rem);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-btn);
}

.popup.active {
  opacity: 1;
  pointer-events: all;
  transition: opacity 200ms linear;
}

.popup-content {
  padding: 0 1.25rem;
  margin: 1.25rem 0;
  overflow-y: scroll;
  overflow-x: hidden;
  /*TODO  overflow-y: hidden;  PROD*/
}

.popup-content .popup-content--img {
  object-fit: cover;
  width: 100%;
  border-radius: 0.3125rem;
  height: 40vh;
  cursor: pointer;
}

.popup-content .single-image {
  object-fit: cover;
  width: 100%;
  border-radius: 0.3125rem;
  height: 40vh;
}

.popup-content .title-section {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.popup-content audio {
  margin-bottom: 1rem;
  width: 100%;
}

.popup-content-data {
  /* flex: 1;  */
  display: flex;
  flex-direction: column;
  padding: 0.625rem 0;
  /* overflow-y: auto; */
}

.popup-content-data--boxtitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.popup-content-data--icon {
  object-fit: cover;
  width: 15%;
  height: auto;
  border-radius: 0.3125rem;
}

.popup-content-data--title {
  margin: 0;
}

.popup-content-data--text {
  flex: 1;
  margin-bottom: 0.5rem;
  color: #424242;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
}

.popup-content-data--btn {
  color: #424242;
  display: none;
  text-decoration: underline;
}

.popup-content-data p.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.controls-popup {
  display: flex;
  justify-content: end;
  width: 100%;
}

.btn-popup {
  background-color: transparent;
  height: 4.625rem;
  backdrop-filter: blur(1.875rem);
  -webkit-backdrop-filter: blur(1.875rem);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-btn);
}

.btn-popup img {
  width: 1.5rem;
  height: 1.5rem;
}

.btn-popup-close {
}

audio {
  background-color: #f3f5f5;
  border-radius: var(--border-radius-btn);
}

iframe {
  border-radius: var(--border-radius-btn);
}

.image-zoom-popup {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: none;
}

.image-zoom-popup #popupImage {
  max-width: 80%;
  max-height: 80%;
  margin-bottom: 20px;
  border-radius: var(--border-radius-btn);
}

.image-zoom-popup .close {
  position: absolute;
  background: transparent;
  height: 2.5rem;
  width: 2.5rem;
  top: 30px;
  right: 30px;
  border: none;
  cursor: pointer;
}

.image-zoom-popup .close img {
  height: 2.5rem;
  width: 2.5rem;
}

.image-zoom-popup p {
  color: #fff;
  text-align: center;
  max-width: 90%;
  font-size: 1.2rem;
}
