input,
input:focus {
  outline: none;
}

#wbNewsletterPopup {
  background-color: rgba(15, 23, 42, 0.32);
  text-align: center;
}

#wbNewsletterPopup:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.wb-newsletterpopup-dialog {
  display: inline-block;
  margin: 0;
  padding: 20px;
  max-width: 650px;
  width: calc(100% - 40px);
  vertical-align: middle;
  z-index: 1051;
}

.wb-newsletterpopup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0 18px 0 18px;
  background: #0f172a;
  opacity: 1;
  text-align: center;
}

.wb-newsletterpopup-close i {
  line-height: 42px;
  font-size: 18px;
}

.wb-newsletterpopup-close span {
  display: block;
  line-height: 38px;
  font-size: 28px;
  font-weight: 400;
}

.wb-newsletterpopup-close:hover,
.wb-newsletterpopup-close:focus {
  color: #ef3f71;
  opacity: 1;
}

.wb-newsletterpopup-card {
  position: relative;
  display: flex;
  text-align: center;
  min-height: 430px;
  background: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
}

.wb-newsletterpopup-media,
.wb-newsletterpopup-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wb-newsletterpopup-media {
  width: 50%;
  background: rgba(248, 250, 252, 0.92);
}

.wb-newsletterpopup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wb-newsletterpopup-content {
  width: 50%;
  padding: 28px 24px;
  text-align: center;
}

.wb-newsletterpopup-text {
  margin-bottom: 18px;
  color: #475569;
  font: 500 15px/1.55 'Poppins', sans-serif;
}

.wb-newsletterpopup-text p {
  margin: 0;
}

.wb-newsletterpopup-richtext h1,
.wb-newsletterpopup-richtext h2,
.wb-newsletterpopup-richtext h3,
.wb-newsletterpopup-richtext h4,
.wb-newsletterpopup-richtext h5,
.wb-newsletterpopup-richtext h6 {
  margin: 0 0 16px;
  color: #0f172a;
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
}

.wb-newsletterpopup-richtext h3 {
  font-size: 28px;
  font-weight: 600;
}

.wb-newsletterpopup-richtext p,
.wb-newsletterpopup-richtext ul,
.wb-newsletterpopup-richtext ol {
  margin: 0 0 14px;
}

.wb-newsletterpopup-richtext ul,
.wb-newsletterpopup-richtext ol {
  padding-left: 20px;
  text-align: left;
}

.wb-newsletterpopup-alert {
  margin-bottom: 14px;
  font-size: 14px;
}

.wb-newsletterpopup-input .inputNew {
  width: 100%;
  height: 44px;
  margin-bottom: 16px;
  padding: 0 15px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background-color: #fff;
}

.wb-newsletterpopup-input .inputNew::placeholder {
  color: #94a3b8;
  font-size: 14px;
}

.wb-newsletterpopup-hide {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}

.wb-newsletterpopup-hide:hover,
.wb-newsletterpopup-hide:focus {
  color: #0f172a;
  text-decoration: none;
  opacity: 1;
}

.wb-newsletterpopup-footer {
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .wb-newsletterpopup-dialog {
    max-width: 320px;
    width: calc(100% - 24px);
    padding: 12px;
  }

  .wb-newsletterpopup-card {
    flex-direction: column;
    min-height: 0;
  }

  .wb-newsletterpopup-media,
  .wb-newsletterpopup-content {
    width: 100%;
  }

  .wb-newsletterpopup-media {
    min-height: 90px;
    overflow: hidden;
  }

  .wb-newsletterpopup-content {
    padding: 14px 16px;
  }

  .wb-newsletterpopup-richtext h1,
  .wb-newsletterpopup-richtext h2,
  .wb-newsletterpopup-richtext h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .wb-newsletterpopup-text,
  .wb-newsletterpopup-richtext p,
  .wb-newsletterpopup-richtext ul,
  .wb-newsletterpopup-richtext ol {
    margin-bottom: 8px;
  }

  .wb-newsletterpopup-input .inputNew {
    height: 40px;
    margin-bottom: 10px;
  }
}
