body {
  /*font-family: Arial, sans-serif;*/
  /*padding: 40px;*/
  /*background: #f5f5f5;*/
}
.test-links {
  display: flex;
  gap: 20px;
}
.test-links a {
  display: inline-block;
  padding: 12px 24px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
}
.test-links a:hover {
  background: #555;
}

/* Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10100; /* above live chat iframe (~10060) */
  justify-content: center;
  align-items: center;
}
.popup-overlay.active {
  display: flex;
}

/* Popup box */
.popup-box {
  position: relative;
  background: #fff;
  border-radius: 6px;
  max-width: 720px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px 44px 44px;
  box-sizing: border-box;
}

/* Close button */
.popup-close {
  position: static;
  top: 0;
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -8px -8px 12px 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  color: #555;
  transition: color 0.2s;
}
.popup-close:hover {
  color: #000;
}

/* Typography inside popup */
.popup-box h1 {
  font-size: 22px;
  margin: 0 0 18px;
  color: #111;
}
.popup-box h2 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: #111;
}
.popup-box h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 24px 0 8px;
  color: #222;
}
.popup-box h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 6px;
  color: #222;
}
.popup-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 12px;
}
.popup-box b {
  color: #111;
}
@media (max-width: 767px) {
  .popup-box{
    padding: 20px 10px 24px;
    max-height: 92vh;
  }
}

/* Injected when the page had no footer nav — uses same link styles as .footer__nav from the site stylesheet */
.footer__nav.footer__nav--popups-only {
  width: 100%;
  justify-content: center;
}