/* ==========================================================================
   PIXELHUE Newsletter Page Styles (insights4.css)
   ========================================================================== */

.newsletter-page-section {
    background-color: #f6f6f6;
    padding: 60px 0 100px;
    /* min-height: calc(100vh - 120px); */
    width: 100%;
    /* font-family: var(--font-family, 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); */
}

.newsletter-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Headings */
.newsletter-header-wrap {
    margin-bottom: 25px;
}

.newsletter-title-1 {
    font-size: 32px;
    font-weight: 800;
    color: #222222;
    margin: 0 0 10px 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.newsletter-title-2 {
    font-size: 28px;
    font-weight: 800;
    color: #222222;
    margin: 0 0 22px 0;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.newsletter-desc {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 0 45px 0;
    max-width: 100%;
}

/* Main Layout (Form + Illustration) */
.newsletter-content-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 55px;
}

.newsletter-form-column {
    flex: 1;
    max-width: 600px;
}

.newsletter-illustration-column {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-mail-icon {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Form Styles */
.newsletter-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 30px;
    margin-bottom: 22px;
}

.newsletter-form-group {
    display: flex;
    flex-direction: column;
}

.newsletter-form-label {
    font-size: 18px;
    font-weight: 500;
    color: #222222;
    margin-bottom: 8px;
    display: block;
}

.newsletter-required-star {
    color: #0070e0;
    margin-left: 2px;
    font-weight: 700;
}

.newsletter-form-input {
    width: 100%;
    height: 42px;
    background-color: #fff;
    border: 1px solid #e2e6eb;
    border-radius: 2px;
    padding: 10px 14px;
    font-size: 14px;
    color: #333333;
    box-sizing: border-box;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.newsletter-form-input:focus {
    background-color: #ffffff;
    border-color: #0070e0;
    box-shadow: 0 0 0 3px rgba(0, 112, 224, 0.12);
}

/* Verification Code Row */
.newsletter-captcha-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-captcha-input {
    width: 120px !important;
}

.newsletter-captcha-img {
    height: 38px;
    width: auto;
    display: block;
    cursor: pointer;
    border-radius: 2px;
}

/* Submit Action */
.newsletter-form-action {
    margin-top: 30px;
    text-align: center;
}

.newsletter-submit-btn {
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    padding: 13px 42px;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-submit-btn:hover {
    background-color: #0052a3;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

/* Bottom Divider */
.newsletter-bottom-divider {
    border: none;
    border-top: 1px solid #e1e5ea;
    margin: 40px 0 0 0;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991px) {
    .newsletter-content-grid {
        flex-direction: column-reverse;
        gap: 35px;
        align-items: flex-start;
    }

    .newsletter-illustration-column {
        align-self: center;
        max-width: 260px;
    }

    .newsletter-form-column {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .newsletter-title-1 {
        font-size: 26px;
    }

    .newsletter-title-2 {
        font-size: 22px;
    }

    .newsletter-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .newsletter-page-section {
        padding: 30px 0;
    }
}
