.atx-newsletter {
    width: var(--atx-newsletter-width, 100%);
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
}

.atx-newsletter * {
    box-sizing: border-box;
}

.atx-newsletter__form {
    margin-top: 0;
    margin-bottom: 0;
}

.atx-newsletter__field-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: var(--atx-newsletter-height, 94px);
    min-height: 44px;
    padding: 0 var(--atx-newsletter-padding-right, 104px) 0 var(--atx-newsletter-padding-left, 34px);
    overflow: hidden;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.atx-newsletter__field-wrap.is-error {
    border-color: #c92a2a;
}

.atx-newsletter__field-wrap.is-success {
    border-color: #2b8a3e;
}

.atx-newsletter__input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #1f2937;
    font: inherit;
    font-size: clamp(16px, 2vw, 26px);
    line-height: 1.3;
}

.atx-newsletter__input::placeholder {
    color: #a5a5a5;
    opacity: 1;
}

.atx-newsletter__button {
    position: absolute;
    top: 50%;
    right: var(--atx-newsletter-button-offset, 15px);
    display: grid;
    width: var(--atx-newsletter-button-size, 64px);
    height: var(--atx-newsletter-button-size, 64px);
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: var(--atx-newsletter-accent, #3f8f96);
    color: #fff;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease;
}

.atx-newsletter__button:hover {
    transform: translateY(-50%) scale(1.04);
}

.atx-newsletter__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .9);
    outline-offset: 3px;
}

.atx-newsletter__button[disabled] {
    cursor: wait;
    opacity: .65;
}

.atx-newsletter__button svg {
    width: 48%;
    height: 48%;
    fill: currentColor;
}

.atx-newsletter__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

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

@media (max-width: 767px) {
    .atx-newsletter__field-wrap {
        border-radius: 14px;
    }

    .atx-newsletter__input {
        font-size: 16px;
    }
}
