/* Newsletter lightbox, matching act.actionaid.org/our-emergency-response. */
#lightboxOverlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(19,23,25,.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity .3s ease;
}
#lightboxOverlay[hidden] { display: none; }
#lightboxOverlay.active { opacity: 1; }
#lightboxOverlay .lightbox-content-container {
  box-sizing: border-box;
  position: relative;
  background: #fff;
  border-radius: 1rem;
  width: 90%;
  max-width: 800px;
  height: 75vh;
  max-height: 90vh;
  padding: 2rem;
  box-shadow: 0 2rem 6rem rgba(19,23,25,.3);
  transform: scale(.8);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
#lightboxOverlay.active .lightbox-content-container { transform: scale(1); }
#lightboxOverlay #lightboxContent,
#lightboxOverlay #subscribe { height: 100%; }
#lightboxOverlay #subscribe iframe { display: block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; }
#lightboxOverlay .lightbox-close {
  position: absolute;
  top: .4rem;
  right: .5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #948576;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
}
#lightboxOverlay .lightbox-close:hover { color: #f00; background: rgba(19,23,25,.05); }
#lightboxOverlay .aa-focus-start,
#lightboxOverlay .aa-focus-end { position: absolute; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 768px) {
  #lightboxOverlay .lightbox-content-container { width: 95%; height: 90vh; height: 90dvh; max-height: 95dvh; padding: 2.5rem .5rem .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  #lightboxOverlay, #lightboxOverlay .lightbox-content-container { transition: none; transform: none; }
}
