/* Newsletter Section - MailerLite */
.h-newsletter-ml {
    background: #1a1a1a;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.h-newsletter-ml .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.h-newsletter-ml .newsletter-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.h-newsletter-ml .newsletter-title {
    font-family: "ivyjournal", serif;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 25px 0;
    letter-spacing: 0.02em;
}

.h-newsletter-ml .newsletter-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 300;
    color: #e0e0e0;
    margin: 0 0 15px 0;
}

.h-newsletter-ml .newsletter-subtitle-small {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    color: #c0c0c0;
    margin: 0 0 40px 0;
}

/* MailerLite Form Styling */
.h-newsletter-ml .newsletter-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.h-newsletter-ml .ml-form-embedWrapper {
    background: transparent !important;
}

.h-newsletter-ml .ml-form-embedBody {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.h-newsletter-ml .ml-form-embedBody .ml-form-fieldRow {
    margin: 0 !important;
    flex: 1;
    max-width: 400px;
}

.h-newsletter-ml .ml-form-embedBody input[type="email"] {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #333333;
    background: transparent;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.h-newsletter-ml .ml-form-embedBody input[type="email"]::placeholder {
    color: #888888;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}

.h-newsletter-ml .ml-form-embedBody input[type="email"]:focus {
    border-color: #ffffff;
    background: transparent;
}

.h-newsletter-ml .ml-form-embedBody button[type="submit"] {
    padding: 18px 45px;
    background: #ffffff;
    color: #1a1a1a;
    border: none;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 0;
}

.h-newsletter-ml .ml-form-embedBody button[type="submit"]:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.h-newsletter-ml .ml-form-embedBody .ml-form-successContent {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.h-newsletter-ml .ml-form-embedBody .ml-form-errorContent {
    color: #ff6b6b;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    padding: 10px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .h-newsletter-ml {
        padding: 60px 0;
    }

    .h-newsletter-ml .newsletter-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .h-newsletter-ml .newsletter-subtitle {
        font-size: 18px;
    }

    .h-newsletter-ml .newsletter-subtitle br {
        display: none;
    }

    .h-newsletter-ml .newsletter-subtitle-small {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .h-newsletter-ml .ml-form-embedBody {
        flex-direction: column;
        gap: 15px;
    }
    .h-newsletter-ml .ml-form-embedBody .ml-form-fieldRow {
        max-width: 100%;
        width: 100%;
    }

    .h-newsletter-ml .ml-form-embedBody button[type="submit"] {
        width: 100%;
    }
}
.mailerlite-subscribe-submit{
    display: block;
    font-size: 16px;
    margin: 15px auto;
    height: 55px;
    line-height: 1;
    width: 100%;
    max-width: 100% !important;
    color: #000000;
    background: #ffffff;
    text-transform: uppercase;
    text-align: center;
    transition: 0.5s;
    border: 0;
    letter-spacing: 1px;
    font-weight: 400 !important;
}
#mailerlite-1-field-email {
    background: #1a1a1a;
    border: 1px white solid;
    padding: 16px;
    font-size: 16px;
    max-width: 100%;
    width: 100%;
    height: 55px;
    line-height: 1;
    color: #ffffff; /* Tekst biały */
    font-weight: 400;
}

#mailerlite-1-field-email::placeholder {
    color: #888888; /* Placeholder szary */
}
@media screen and (max-width: 480px) {
    .h-newsletter-ml {
        padding: 50px 0;
    }

    .h-newsletter-ml .newsletter-title {
        font-size: 18px;
    }

    .h-newsletter-ml .newsletter-subtitle {
        font-size: 14px;
    }
    .h-newsletter-ml .newsletter-subtitle-small {
        font-size: 12px;
    }
    .h-newsletter-ml .ml-form-embedBody input[type="email"],
    .h-newsletter-ml .ml-form-embedBody button[type="submit"] {
        padding: 16px 20px;
        font-size: 13px;
    }
    .mailerlite-subscribe-submit{
        font-size: 15px;
        height: 46px;
    }
    #mailerlite-1-field-email {
        font-size: 15px !important;
        height: 46px;

    }
}

.mailerlite-form-response{
    font-size: 15px;
}