.spb_top_center {
  top: 20% !important;
}

/* Wrapper */
.popup-content-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

#spb-block-ictj-newslettersignupblock .spb-popup-main-wrapper {
  background-color: #e6ddd2; /* Beige background */
  border-radius: 0px;
  padding: 40px 30px;
  text-align: center;
  -webkit-box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.25);
          box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  border-color: transparent;
}

/* Icon */
.popup-icon {
  border-radius: 50%;
  width: 90px;
  height: 90px;
  margin: 0 auto 0 auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
}

/* Text */
.popup-body p {
  font-family: var(--font-family-sans);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 150%;
  color: #1a1a1a;
  margin-bottom: 24px;
}

/* Subscribe Button */
.popup-link a {
  background-color: #a64646; /* Burgundy red */
  color: white;
  padding: 12px 40px;
  border-radius: 2px;
  text-transform: uppercase;
  font-family: var(--font-family-sans);
  font-weight: bold;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  display: inline-block;
  -webkit-text-decoration: none;
  text-decoration: none;
  -webkit-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

.popup-link a:hover {
  background-color: #8e3b3b;
}

.popup-link a .arrow-icon {
  -webkit-margin-start: 8px;
          margin-inline-start: 8px;
  font-size: 1rem;
  vertical-align: middle;
}

/* Dismiss Button */
.spb-controls .block-ictj-newslettersignupblock-modal-close.spb_close {
  font-size: 1.875rem !important;
  position: relative;
  top: -45px;
}

/* No Thanks Button */
.block-ictj-newslettersignupblock-modal-close.spb_close:last-of-type {
  background: none;
  border: none;
  display: block;
  margin: 14px auto 0 auto;
  color: #1a1a1a;
  font-family: var(--font-family-sans);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
  float: none;
}

@media (max-width: 1192px) {
  /* Reduce padding on small screens */
  #spb-block-ictj-newslettersignupblock .spb-popup-main-wrapper {
    max-width: 600px;
  }
}
@media screen and (max-width: 668px) {
  .spb_top_center {
    top: 10% !important;
  }
  /* Reduce padding on small screens */
  #spb-block-ictj-newslettersignupblock .spb-popup-main-wrapper {
    padding: 24px 16px;
    max-width: 400px;
  }
  /* Adjust icon size */
  .popup-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
  }
  .popup-icon img {
    max-width: 100%;
    height: auto;
  }
  /* Adjust text size */
  .popup-body p {
    font-size: 1.5rem;
    line-height: 140%;
    margin-bottom: 24px;
  }
  /* Button sizing */
  .popup-link a {
    font-size: 0.8125rem;
    padding: 10px 20px;
    width: auto;
    max-width: 280px;
    margin-bottom: 20px;
  }
  /* Arrow icon adjustment */
  .popup-link a .arrow-icon {
    font-size: 0.875rem;
  }
  /* No thanks button */
  .block-ictj-newslettersignupblock-modal-close.spb_close:last-of-type {
    font-size: 0.75rem;
    margin-top: 12px;
  }
  /* Wrapper width */
  .popup-content-wrapper {
    padding: 0 10px;
    max-width: 100%;
  }
  /* Dismiss Button */
  .spb-controls .block-ictj-newslettersignupblock-modal-close.spb_close {
    font-size: 1.5625rem !important;
    position: relative;
    top: -30px;
  }
}