.atlasnet-newsletter {
  width: 100%;
  max-width: 520px;
}

.atlasnet-newsletter,
.atlasnet-newsletter * {
  box-sizing: border-box;
}

.atlasnet-newsletter__form {
  margin: 0;
}

.atlasnet-newsletter__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.atlasnet-newsletter__email {
  min-width: 0;
  flex: 1 1 auto;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(85, 85, 85, .33);
  border-radius: 5px;
  background: #fff;
  color: #777;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  outline: none;
}

.atlasnet-newsletter__email:focus {
  border-color: #8f8f8f;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .12);
}

.atlasnet-newsletter__button {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 10px 18px;
  border: 2px solid #f03220;
  border-radius: 50px;
  cursor: pointer;
  background: #f03220;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.atlasnet-newsletter__button:hover {
  background: #fff;
  color: #f03220;
  border-color: #f03220;
}

.atlasnet-newsletter__button:disabled {
  cursor: wait;
  opacity: .65;
}

.atlasnet-newsletter__message {
  min-height: 0;
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.35;
}

.atlasnet-newsletter__message.is-success {
  color: #67d98a;
}

.atlasnet-newsletter__message.is-error {
  color: #ff8d86;
}

.atlasnet-newsletter__consent {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.45;
  opacity: .78;
}

.atlasnet-newsletter__hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

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

/* Footer version: keep the familiar ATLASNET layout even on wide screens. */
footer .atlasnet-newsletter__row,
.site-footer .atlasnet-newsletter__row,
.footer .atlasnet-newsletter__row,
#footer .atlasnet-newsletter__row {
  flex-direction: column;
  gap: 16px;
}

footer .atlasnet-newsletter__button,
.site-footer .atlasnet-newsletter__button,
.footer .atlasnet-newsletter__button,
#footer .atlasnet-newsletter__button {
  width: 100%;
}

footer .atlasnet-newsletter,
.site-footer .atlasnet-newsletter,
.footer .atlasnet-newsletter,
#footer .atlasnet-newsletter {
  color: inherit;
}

footer .atlasnet-newsletter__consent,
.site-footer .atlasnet-newsletter__consent,
.footer .atlasnet-newsletter__consent,
#footer .atlasnet-newsletter__consent {
  color: inherit;
}

@media (max-width: 520px) {
  .atlasnet-newsletter__row {
    flex-direction: column;
    gap: 16px;
  }

  .atlasnet-newsletter__button {
    width: 100%;
  }
}
