.hob-newsletter-banner {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    padding: clamp(96px, 8vw, 124px) clamp(20px, 4vw, 64px);
    background: var(--hob-primary-color);
    color: #ffffff;
}

.hob-newsletter-banner::before,
.hob-newsletter-banner::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    pointer-events: none;
}

.hob-newsletter-banner::before {
    background-image: var(--hob-newsletter-banner-pattern);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .4;
}

.hob-newsletter-banner::after {
    background: radial-gradient(
        circle at center,
        rgba(12, 32, 48, .08) 0%,
        rgba(12, 32, 48, .16) 52%,
        rgba(12, 32, 48, .34) 100%
    );
}

.hob-newsletter-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hob-newsletter-banner__kicker {
    margin: 0 0 clamp(14px, 1.25vw, 18px);
    color: rgba(255, 255, 255, .88);
    font-family: var(--hob-body-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hob-newsletter-banner__title {
    max-width: 17ch;
    margin: 0;
    color: #ffffff;
    font-family: "HOB Editorial", serif;
    font-size: clamp(1.875rem, 2.6vw, 2.25rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.08;
    text-wrap: balance;
}

.hob-newsletter-banner__text {
    max-width: 580px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .82);
    font-family: var(--hob-body-font);
    font-size: clamp(.9375rem, 1vw, 1rem);
    line-height: 1.75;
    text-wrap: balance;
}

.hob-newsletter-banner__form {
    width: min(100%, 600px);
    margin-top: clamp(32px, 3vw, 40px);
}

.hob-newsletter-banner__form-fields {
    display: grid;
    width: 100%;
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr) minmax(144px, auto);
    align-items: stretch;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .72);
    background: #ffffff;
}

.hob-newsletter-banner__input,
.hob-newsletter-banner__button {
    min-width: 0;
    min-height: 58px;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--hob-body-font);
    font-size: .875rem;
    line-height: 1.2;
}

.hob-newsletter-banner__input {
    width: 100%;
    padding: 0 22px;
    border: 0;
    background: #ffffff;
    color: var(--hob-primary-color);
}

.hob-newsletter-banner__input::placeholder {
    color: rgba(12, 32, 48, .62);
    opacity: 1;
}

.hob-newsletter-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid var(--hob-primary-color);
    background: var(--hob-primary-color);
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: .025em;
    transition: opacity var(--hob-transition-fast);
}

.hob-newsletter-banner__button:not(:disabled):hover {
    opacity: .82;
}

.hob-newsletter-banner__button:disabled {
    cursor: default;
    opacity: 1;
}

.hob-newsletter-banner__input:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--hob-primary-color);
    outline-offset: -4px;
}

.hob-newsletter-banner__button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -5px;
}

.hob-newsletter-banner__status {
    grid-column: 1 / -1;
    margin: 12px 0 0;
    color: #ffffff;
    font-size: .8125rem;
    line-height: 1.5;
    text-align: center;
}

.hob-newsletter-banner__status:empty {
    display: none;
}

@media (max-width: 560px) {
    .hob-newsletter-banner {
        padding: clamp(72px, 19vw, 84px) 20px;
    }

    .hob-newsletter-banner::before {
        background-position: 32% center;
        background-size: auto 100%;
    }

    .hob-newsletter-banner__title {
        font-size: clamp(1.875rem, 8.5vw, 2.125rem);
    }

    .hob-newsletter-banner__text {
        max-width: 34ch;
        margin-top: 18px;
    }

    .hob-newsletter-banner__form-fields {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        border: 0;
        background: transparent;
    }

    .hob-newsletter-banner__input,
    .hob-newsletter-banner__button {
        width: 100%;
        min-height: 56px;
    }

    .hob-newsletter-banner__input {
        border: 1px solid rgba(255, 255, 255, .72);
    }

    .hob-newsletter-banner__button {
        padding-inline: 20px;
        border-color: rgba(255, 255, 255, .72);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hob-newsletter-banner__button {
        transition: none;
    }
}
