.wseo-newsletter-section {
  padding: 28px 0 4px;
  background: #fff;
}

.wseo-newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 26px;
  align-items: center;
  margin: 34px 0;
  padding: 30px;
  border: 1px solid rgba(215, 25, 32, .16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(215, 25, 32, .12), transparent 30%),
    radial-gradient(circle at 6% 18%, rgba(20, 115, 201, .10), transparent 32%),
    linear-gradient(180deg, #ffffff, #fff7f7);
  box-shadow: 0 18px 46px rgba(16, 19, 26, .08);
}

.wseo-newsletter--single {
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 42px 0 26px;
}

.wseo-newsletter-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #d71920;
  background: #fff1f2;
  border: 1px solid rgba(215, 25, 32, .14);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wseo-newsletter-copy h2 {
  margin: 0;
  color: #10131a;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.wseo-newsletter-copy p {
  margin: 14px 0 0;
  color: #3c4454;
  font-size: 1.04rem;
  line-height: 1.6;
}

.wseo-newsletter-copy small {
  display: block;
  margin-top: 12px;
  color: #667085;
  font-weight: 650;
}

.wseo-newsletter-form {
  display: grid;
  gap: 12px;
}

.wseo-newsletter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px;
  border: 1px solid #dfe4ec;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(16, 19, 26, .03);
}

.wseo-newsletter-fields:focus-within {
  border-color: rgba(215, 25, 32, .48);
  box-shadow: 0 0 0 5px rgba(215, 25, 32, .08);
}

.wseo-newsletter-fields input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #10131a;
  font: inherit;
  outline: none;
}

.wseo-newsletter-fields button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #d71920;
  box-shadow: 0 12px 26px rgba(215, 25, 32, .22);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.wseo-newsletter-fields button:hover,
.wseo-newsletter-fields button:focus-visible {
  background: #ad1117;
  transform: translateY(-1px);
  outline: none;
}

.wseo-newsletter-fields button:disabled {
  opacity: .68;
  cursor: wait;
  transform: none;
}

.wseo-newsletter-privacy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #667085;
  font-size: .88rem;
  line-height: 1.45;
}

.wseo-newsletter-privacy input {
  margin-top: 3px;
  accent-color: #d71920;
}

.wseo-newsletter-privacy a {
  color: #d71920;
  font-weight: 800;
  text-decoration: none;
}

.wseo-newsletter-privacy a:hover,
.wseo-newsletter-privacy a:focus-visible {
  text-decoration: underline;
}

.wseo-newsletter-message {
  min-height: 22px;
  font-size: .92rem;
  font-weight: 750;
}

.wseo-newsletter-message.is-success {
  color: #166534;
}

.wseo-newsletter-message.is-error {
  color: #b42318;
}

.wseo-newsletter-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 780px) {
  .wseo-newsletter-section {
    padding-top: 18px;
  }

  .wseo-newsletter-box {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 24px;
  }

  .wseo-newsletter-fields {
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 9px;
  }

  .wseo-newsletter-fields input[type="email"] {
    min-height: 48px;
  }

  .wseo-newsletter-fields button {
    width: 100%;
  }
}

/* Pagina/modulo disiscrizione newsletter */
.wseo-newsletter-unsubscribe-box {
  grid-template-columns: 1fr;
  max-width: 880px;
  margin-inline: auto;
}

.wseo-newsletter-unsubscribe-form .wseo-newsletter-fields {
  max-width: 680px;
}
