.acb-post-newsletter {
  position: relative;
  z-index: 6;
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--acb-surface);
  padding: 200px 36px 100px;
  overflow: hidden;
}

.acb-post-newsletter__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  max-width: 1520px;
}

.acb-post-newsletter__side,
.acb-post-newsletter__form-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 0;
}

.acb-post-newsletter__side { padding-right: 80px; }

.acb-post-newsletter__statement {
  margin: 0;
  max-width: 600px;
  color: var(--acb-ink);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-indent: 80px;
  text-wrap: balance;
}

.acb-post-newsletter__statement-muted { color: var(--acb-muted); }

.acb-post-newsletter__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.acb-post-newsletter__avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 999px;
  overflow: hidden;
  background: #ddd;
}

.acb-post-newsletter__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.acb-post-newsletter__contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.acb-post-newsletter__name,
.acb-post-newsletter__role,
.acb-post-newsletter__title,
.acb-post-newsletter__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.acb-post-newsletter__role {
  color: var(--acb-muted);
  font-size: 13px;
  line-height: 1.3;
}

.acb-post-newsletter__title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
}

.acb-post-newsletter__form-card { overflow: hidden; }

.acb-post-newsletter__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.acb-post-newsletter__inputs {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
}

.acb-post-newsletter__input-wrap {
  position: relative;
  width: 100%;
  height: 40px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
}

.acb-post-newsletter__input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--acb-ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.acb-post-newsletter__input::placeholder { color: rgba(10, 10, 10, 0.48); }

.acb-post-newsletter__input-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--acb-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.acb-post-newsletter__input-wrap:focus-within::after { transform: scaleX(1); }

.acb-post-newsletter__button {
  width: min-content;
  height: min-content;
  position: relative;
  display: flex;
  flex-flow: row;
  align-items: center;
  place-content: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 50px;
  padding: 9px 11px 9px 12px;
  background: var(--acb-ink);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  cursor: pointer;
  white-space: nowrap;
}

.acb-post-newsletter__button-text,
.acb-post-newsletter__button-text-alt {
  width: auto;
  height: auto;
  flex: none;
  white-space: pre;
  transition: none;
}

.acb-post-newsletter__button-text { display: none; }

.acb-post-newsletter__button-text-alt {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.acb-post-newsletter__button::before,
.acb-post-newsletter__button::after {
  content: "";
  border-radius: 50px;
  background: #fff;
}

.acb-post-newsletter__button::before {
  width: 8px;
  height: 8px;
  position: relative;
  z-index: 1;
  flex: none;
  flex-basis: 8px;
  order: 2;
}

.acb-post-newsletter__button::after {
  position: absolute;
  z-index: 0;
  width: 14px;
  height: 14px;
  top: 50%;
  right: 15px;
  transform: translate(50%, -50%) scale(1);
  opacity: 0.5;
  animation: acb-newsletter-dot-pulse-ring 1.5s ease-out infinite;
}

@keyframes acb-newsletter-dot-pulse-ring {
  0% {
    transform: translate(50%, -50%) scale(1);
    opacity: 0.5;
  }

  70%,
  100% {
    transform: translate(50%, -50%) scale(1.8);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acb-post-newsletter__button::after {
    animation: none;
    opacity: 0.25;
  }
}

.acb-post-newsletter__note {
  max-width: 290px;
  color: var(--acb-muted);
  text-wrap: balance;
}

@media (max-width: 809px) {
  .acb-post-newsletter {
    padding: 48px 24px 72px;
  }

  .acb-post-newsletter__container {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .acb-post-newsletter__side {
    padding-right: 0;
  }

  .acb-post-newsletter__statement {
    font-size: 24px;
    text-indent: 40px;
  }
}
