/* Entry promo modal — from official <head> inline styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  border-radius: 20px;
  max-width: 800px;
  overflow: visible;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}
.popup-overlay.active .popup-content {
  transform: scale(1);
}
.popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  background: #e74c3c;
  border-radius: 50%;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: white;
  font-size: 18px;
  cursor: pointer;
  z-index: 10002;
  pointer-events: auto;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  padding: 0 !important;
  margin: 0;
  line-height: 1 !important;
  box-sizing: border-box;
  text-align: center;
}
.popup-close i,
.popup-close span,
.popup-close svg {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
  width: 1em;
  height: 1em;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  position: relative;
  top: 0;
  left: 0;
}
.popup-close:hover {
  background: #c0392b;
  transform: rotate(90deg);
}
.popup-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.popup-image img {
  display: block;
  width: 100%;
  height: auto;
}
