.astra-newsletter {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 28px));
  margin: 42px auto 30px;
  padding: 1px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 232, 255, 0.34), rgba(255, 255, 255, 0.06), rgba(143, 232, 255, 0.12));
}

.astra-newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(143, 232, 255, 0.13), transparent 24rem),
    rgba(5, 9, 15, 0.94);
}

.astra-newsletter-kicker {
  margin: 0 0 10px;
  color: #8fe8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.astra-newsletter h2 {
  margin: 0;
  font-family:
    "Cormorant Garamond",
    "Playfair Display",
    Georgia,
    serif;
  font-size: clamp(32px, 7vw, 54px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
}

.astra-newsletter-copy {
  margin: 12px 0 0;
  max-width: 440px;
  color: rgba(219, 231, 241, 0.76);
  font-size: 14px;
  line-height: 1.65;
}

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

.astra-newsletter-fields {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
}

.astra-newsletter label {
  display: grid;
  gap: 6px;
  color: #8fe8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.astra-newsletter input[type="text"],
.astra-newsletter input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(168, 226, 255, 0.16);
  border-radius: 8px;
  padding: 0 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  outline: none;
}

.astra-newsletter input:focus {
  border-color: rgba(143, 232, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(143, 232, 255, 0.08);
}

.astra-newsletter-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  min-width: 0;
  color: rgba(219, 231, 241, 0.78);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.astra-newsletter-consent span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(219, 231, 241, 0.78);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.astra-newsletter-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #8fe8ff;
}

.astra-newsletter-consent a {
  color: #8fe8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.astra-newsletter-submit {
  min-height: 50px;
  border: 1px solid rgba(143, 232, 255, 0.38);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(143, 232, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(8, 12, 18, 0.9);
  cursor: pointer;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.astra-newsletter-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.astra-newsletter-status {
  min-height: 18px;
  margin: 0;
  color: rgba(219, 231, 241, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.astra-newsletter-status[data-mode="success"] {
  color: #83ffd5;
}

.astra-newsletter-status[data-mode="error"] {
  color: #ff8b8b;
}

.astra-newsletter-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.astra-newsletter.is-connect {
  width: auto;
  max-width: 100%;
  margin: 24px 0 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(143, 232, 255, 0.24), rgba(255, 255, 255, 0.035), rgba(143, 232, 255, 0.12));
}

.astra-newsletter.is-connect .astra-newsletter-inner {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(143, 232, 255, 0.075), transparent 42%),
    rgba(5, 9, 15, 0.82);
}

.astra-newsletter.is-connect .astra-newsletter-kicker {
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: 0.13em;
}

.astra-newsletter.is-connect h2 {
  max-width: 310px;
  font-size: 28px;
  line-height: 1;
}

.astra-newsletter.is-connect .astra-newsletter-copy {
  margin-top: 9px;
  max-width: 330px;
  font-size: 12px;
  line-height: 1.55;
}

.astra-newsletter.is-connect .astra-newsletter-fields {
  grid-template-columns: 1fr;
  gap: 9px;
}

.astra-newsletter.is-connect .astra-newsletter-form {
  max-width: 100%;
  overflow: hidden;
}

.astra-newsletter.is-connect label {
  font-size: 9px;
  letter-spacing: 0.1em;
}

.astra-newsletter.is-connect input[type="text"],
.astra-newsletter.is-connect input[type="email"] {
  min-height: 44px;
}

.astra-newsletter.is-connect .astra-newsletter-consent {
  grid-template-columns: auto 1fr;
  font-size: 11px;
  line-height: 1.45;
}

.astra-newsletter.is-connect .astra-newsletter-consent span {
  font-size: 11px;
  line-height: 1.45;
}

.astra-newsletter.is-connect .astra-newsletter-submit {
  min-height: 46px;
  font-size: 10px;
}

@media (max-width: 760px) {
  .astra-newsletter {
    margin-top: 34px;
  }

  .astra-newsletter-inner,
  .astra-newsletter-fields {
    grid-template-columns: 1fr;
  }

  .astra-newsletter-inner {
    padding: 20px;
  }
}
