
.hh-newsletter {
    position: relative;
    width: calc(100% - 32px);
    margin: 34px auto 0;
    overflow: hidden;
    border: 1px solid #e8e0d3;
    background-color: #f5efe5;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    box-sizing: border-box;
}

.hh-newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 252, 247, .30);
    pointer-events: none;
}

.hh-newsletter__inner {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hh-newsletter__copy {
    flex: 0 1 42%;
    min-width: 0;
}

.hh-newsletter__heading {
    margin: 0 0 10px;
    color: #2b2b2b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 3.4vw, 56px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.hh-newsletter__description {
    max-width: 540px;
    color: #575757;
    font-size: 17px;
    line-height: 1.55;
}

.hh-newsletter__form-wrap {
    flex: 1 1 500px;
    min-width: 0;
}

.hh-newsletter__form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
}

.hh-newsletter__input {
    min-width: 0;
    flex: 1 1 auto;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #ded7cb;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: #fff;
    color: #333;
    font-size: 16px;
    outline: none;
}

.hh-newsletter__input:focus {
    border-color: #6f7f55;
    box-shadow: inset 0 0 0 1px #6f7f55;
}

.hh-newsletter__button {
    flex: 0 0 auto;
    min-width: 130px;
    height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: #6f7f55;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.hh-newsletter__button:hover {
    opacity: .94;
}

.hh-newsletter__privacy {
    max-width: 650px;
    margin: 9px 0 0 auto;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

.hh-newsletter__shortcode {
    max-width: 650px;
    margin-left: auto;
}

/* Helps common form plugins fit the design */
.hh-newsletter__shortcode form {
    margin: 0;
}

.hh-newsletter__shortcode input[type="email"] {
    min-height: 52px;
}

.hh-newsletter__shortcode input[type="submit"],
.hh-newsletter__shortcode button[type="submit"] {
    min-height: 52px;
    background: #6f7f55;
    color: #fff;
}

@media (max-width: 900px) {
    .hh-newsletter__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
    }

    .hh-newsletter__copy {
        flex-basis: auto !important;
    }

    .hh-newsletter__form-wrap {
        flex-basis: auto;
    }

    .hh-newsletter__form,
    .hh-newsletter__shortcode,
    .hh-newsletter__privacy {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .hh-newsletter {
        width: calc(100% - 20px);
        margin-top: 24px;
    }

    .hh-newsletter__inner {
        padding: 38px 24px !important;
    }

    .hh-newsletter__heading {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hh-newsletter__description {
        font-size: 16px;
    }

    .hh-newsletter__form {
        display: block;
    }

    .hh-newsletter__input {
        width: 100%;
        border-right: 1px solid #ded7cb;
        border-radius: 6px;
    }

    .hh-newsletter__button {
        width: 100%;
        margin-top: 10px;
        border-radius: 6px;
    }
}
