#lv-newsletter-popup[hidden],
#lv-newsletter-popup [hidden] {
    display: none !important;
}

.lv-newsletter,
.lv-newsletter *,
.lv-newsletter *::before,
.lv-newsletter *::after {
    box-sizing: border-box;
}

.lv-newsletter {
    --lv-ivory: #f8f3e9;
    --lv-ivory-deep: #eee5d6;
    --lv-ink: #132d2a;
    --lv-copy: #354744;
    --lv-gold: #b89253;
    position: fixed;
    z-index: 99990;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--lv-ink);
    font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
}

.lv-newsletter__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 19, .68);
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: opacity .28s ease;
}

.lv-newsletter__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 40% 60%;
    width: min(1000px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    overflow: hidden;
    border: 1px solid rgba(184, 146, 83, .3);
    border-radius: 20px;
    background: var(--lv-ivory);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition: opacity .28s ease, transform .28s ease;
}

.lv-newsletter.is-visible .lv-newsletter__backdrop,
.lv-newsletter.is-visible .lv-newsletter__dialog {
    opacity: 1;
}

.lv-newsletter.is-visible .lv-newsletter__dialog {
    transform: translateY(0) scale(1);
}

.lv-newsletter__media {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #28423d;
}

.lv-newsletter__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 31, 29, .03), rgba(8, 31, 29, .16));
    pointer-events: none;
}

.lv-newsletter__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: cover;
    object-position: 56% center;
}

.lv-newsletter__content {
    position: relative;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 42px 48px 36px;
    scrollbar-width: thin;
    scrollbar-color: rgba(19, 45, 42, .28) transparent;
}

.lv-newsletter__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--lv-ink);
    font: 300 34px/1 Manrope, sans-serif;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.lv-newsletter__close:hover {
    background: rgba(19, 45, 42, .08);
    transform: rotate(4deg);
}

.lv-newsletter__leaf {
    width: 42px;
    height: 42px;
    margin-bottom: 2px;
    color: var(--lv-gold);
}

.lv-newsletter__leaf svg,
.lv-newsletter__check svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lv-newsletter__eyebrow {
    margin: 0 0 8px;
    color: var(--lv-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.35;
    text-transform: uppercase;
}

.lv-newsletter h2 {
    margin: 0;
    color: var(--lv-ink);
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(35px, 3.1vw, 48px);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.02;
}

.lv-newsletter__intro > p:last-child {
    max-width: 48ch;
    margin: 15px 0 0;
    color: var(--lv-copy);
    font-size: 14px;
    line-height: 1.6;
}

.lv-newsletter__form {
    position: relative;
    margin-top: 25px;
}

.lv-newsletter__label {
    display: block;
    margin: 0 0 7px;
    color: var(--lv-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
}

.lv-newsletter input[type="email"] {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid #a9a398;
    border-radius: 7px;
    background: #fffdfa;
    color: var(--lv-ink);
    font: 15px/1.35 Manrope, "Helvetica Neue", Arial, sans-serif;
    box-shadow: inset 0 1px 2px rgba(19, 45, 42, .03);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.lv-newsletter input[type="email"]::placeholder {
    color: #7b817d;
    opacity: 1;
}

.lv-newsletter input[type="email"]:focus {
    border-color: var(--lv-gold);
    box-shadow: 0 0 0 3px rgba(184, 146, 83, .18);
}

.lv-newsletter__consent {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    margin: 15px 0 0;
    color: var(--lv-copy);
    font-size: 12.5px;
    line-height: 1.45;
}

.lv-newsletter__consent input {
    width: 20px;
    height: 20px;
    margin: 0;
    border-radius: 3px;
    accent-color: var(--lv-ink);
    cursor: pointer;
}

.lv-newsletter__consent label {
    cursor: pointer;
}

.lv-newsletter__status {
    min-height: 19px;
    margin: 8px 0 7px;
    color: var(--lv-copy);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.45;
}

.lv-newsletter__status.is-error {
    color: #8a2f27;
}

.lv-newsletter button[type="submit"],
.lv-newsletter__success-close {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid var(--lv-ink);
    border-radius: 7px;
    background: var(--lv-ink);
    color: #fffdf8;
    font: 700 12px/1.2 Manrope, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: .12em;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.lv-newsletter button[type="submit"]:hover,
.lv-newsletter__success-close:hover {
    border-color: #244b46;
    background: #244b46;
    transform: translateY(-1px);
}

.lv-newsletter button[type="submit"]:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.lv-newsletter__privacy {
    margin: 10px 0 0;
    text-align: center;
    font-size: 11.5px;
    line-height: 1.4;
}

.lv-newsletter__privacy a {
    color: #52635f;
    text-decoration-color: rgba(82, 99, 95, .45);
    text-underline-offset: 3px;
}

.lv-newsletter__privacy a:hover {
    color: var(--lv-ink);
}

.lv-newsletter__success {
    display: flex;
    min-height: 475px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 10px;
    text-align: center;
}

.lv-newsletter__check {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    color: var(--lv-gold);
}

.lv-newsletter__check svg {
    stroke-width: 2.2;
}

.lv-newsletter__success h2 {
    font-size: 46px;
}

.lv-newsletter__success p {
    max-width: 36ch;
    margin: 14px auto 24px;
    color: var(--lv-copy);
    font-size: 15px;
    line-height: 1.6;
}

.lv-newsletter__success-close {
    max-width: 310px;
}

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

.lv-newsletter button:focus-visible,
.lv-newsletter input:focus-visible,
.lv-newsletter a:focus-visible {
    outline: 3px solid #d2ad6f;
    outline-offset: 3px;
}

html.lv-newsletter-lock,
body.lv-newsletter-lock {
    overflow: hidden !important;
}

@media (max-height: 760px) and (min-width: 701px) {
    .lv-newsletter__media,
    .lv-newsletter__photo {
        min-height: 0;
        height: 100%;
    }

    .lv-newsletter__content {
        padding-top: 34px;
        padding-bottom: 28px;
    }

    .lv-newsletter__leaf {
        width: 36px;
        height: 36px;
    }

    .lv-newsletter__form {
        margin-top: 19px;
    }
}

@media (max-width: 700px) {
    .lv-newsletter {
        align-items: end;
        padding: 0;
    }

    .lv-newsletter__backdrop {
        background: rgba(5, 20, 19, .58);
        backdrop-filter: none;
    }

    .lv-newsletter__dialog {
        display: block;
        width: 100%;
        max-height: calc(100dvh - 12px);
        overflow: hidden;
        border-width: 1px 0 0;
        border-radius: 24px 24px 0 0;
        transform: translateY(40px);
    }

    .lv-newsletter.is-visible .lv-newsletter__dialog {
        transform: translateY(0);
    }

    .lv-newsletter__media {
        display: none;
    }

    .lv-newsletter__content {
        max-height: calc(100dvh - 12px);
        padding: 24px 22px calc(20px + env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
    }

    .lv-newsletter__close {
        top: 9px;
        right: 10px;
    }

    .lv-newsletter__leaf {
        width: 34px;
        height: 34px;
        margin-bottom: 0;
    }

    .lv-newsletter__eyebrow {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .lv-newsletter h2 {
        max-width: calc(100% - 28px);
        font-size: clamp(28px, 8.4vw, 36px);
        line-height: 1.02;
    }

    .lv-newsletter__intro > p:last-child {
        margin-top: 9px;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .lv-newsletter__form {
        margin-top: 16px;
    }

    .lv-newsletter__label {
        margin-bottom: 5px;
        font-size: 11.5px;
    }

    .lv-newsletter input[type="email"] {
        min-height: 48px;
        font-size: 16px;
    }

    .lv-newsletter__consent {
        margin-top: 12px;
        font-size: 12px;
    }

    .lv-newsletter__status {
        min-height: 17px;
        margin: 6px 0;
        font-size: 12px;
    }

    .lv-newsletter button[type="submit"],
    .lv-newsletter__success-close {
        min-height: 48px;
    }

    .lv-newsletter__privacy {
        margin-top: 8px;
    }

    .lv-newsletter__success {
        min-height: min(440px, calc(100dvh - 56px));
        padding: 42px 0 32px;
    }

    .lv-newsletter__success h2 {
        max-width: none;
        font-size: 42px;
    }
}

@media (max-width: 370px) {
    .lv-newsletter__content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .lv-newsletter h2 {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lv-newsletter__backdrop,
    .lv-newsletter__dialog,
    .lv-newsletter__close,
    .lv-newsletter button[type="submit"],
    .lv-newsletter__success-close {
        transition: none;
    }
}
