/* =====================================================
   NEWSLETTER
   ===================================================== */

.yokuchi-newsletter {
    min-height: 537px;

    background:
        var(--yokuchi-newsletter-image, url('../images/newsletter-figma.png')) center center / cover no-repeat,
        #f2efed;

    overflow: hidden;
}

.yokuchi-newsletter__inner {
    min-height: 537px;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;
}

.yokuchi-newsletter__image {
    height: 100%;

    position: relative;
}

.yokuchi-newsletter__content {
    max-width: 520px;
}

.yokuchi-newsletter__content h2 {
    margin: 0;

    color: #191919;

    font-size: 23px;
    font-weight: 500;

    letter-spacing: 8px;

    text-transform: uppercase;
}

.yokuchi-newsletter__content p {
    margin: 25px 0 28px;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}


/* FORM */

.yokuchi-newsletter-form {
    display: block;
}

.yokuchi-newsletter-form__fields {
    display: grid;

    grid-template-columns:
        1fr
        180px;

    gap: 12px;
}

.yokuchi-newsletter-form input[type='email'] {
    width: 100%;
    height: 39px;

    padding: 0 13px;

    background: #fff;

    border: 1px solid #d5d5d5;
    border-radius: 0;

    box-shadow: none;

    font-family: inherit;

    font-size: 14px;
}

.yokuchi-newsletter-form button {
    height: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    background: #fff;

    border: 1px solid #777;
    border-radius: 0;

    color: #333;

    cursor: pointer;

    font-family: inherit;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.yokuchi-newsletter-form button span {
    color: #ec1d23;

    font-size: 15px;
}


/* CONSENT */

.yokuchi-newsletter-consent {
    margin-top: 12px;

    display: flex;

    align-items: flex-start;

    gap: 8px;

    color: #777;

    font-size: 12px;

    line-height: 1.4;
}

.yokuchi-newsletter-consent input {
    width: 12px;
    height: 12px;

    flex: 0 0 12px;

    margin: 0;
}

.yokuchi-newsletter__status {
    margin: 0 0 16px !important;
    color: #285a2b !important;
    font-size: 13px !important;
}

.yokuchi-newsletter__status--error {
    color: #b3262b !important;
}

.yokuchi-newsletter-consent a {
    color: inherit;
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 800px) {

    .yokuchi-newsletter {
        background: #f2efed;
    }

    .yokuchi-newsletter__inner {
        grid-template-columns: 1fr;
    }

    .yokuchi-newsletter__image {
        height: 220px;
        background: var(--yokuchi-newsletter-image, url('../images/newsletter-figma.png')) left bottom / auto 290px no-repeat;
    }

    .yokuchi-newsletter__content {
        padding: 40px 0;
    }

}

@media (max-width: 500px) {

    .yokuchi-newsletter-form__fields {
        grid-template-columns: 1fr;
    }

}
