/* ===================================
   Newsletter Page Styles
=================================== */

html, body {
    height: 100%;
}

body {
    color: #2c2c25;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

main {
    flex: 1;
}

/* Hero Section */
.newsletter-hero {
    text-align: center;
    padding: 80px 32px 40px;
    background: linear-gradient(135deg, rgba(212,175,55,0.05) 0%, rgba(255,255,255,1) 100%);
}

.newsletter-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #2c2c25;
}

.newsletter-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    max-width: 760px;
    margin: 0 auto;
}

/* Form Section */
.newsletter-form-section {
    text-align: center;
    padding: 60px 32px;
    background: #fafafa;
}

.newsletter-form-section h2 {
    font-size: 1.9rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: #2c2c25;
}

/* Footer Text */
.newsletter-footer-text {
    text-align: center;
    padding: 60px 32px 120px;
    max-width: 760px;
    margin: 0 auto;
}

.newsletter-footer-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: #2c2c25;
}

.newsletter-footer-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* ===================================
   MailerLite Form Styles
=================================== */

/* Container */
#mlb2-21969186.ml-form-embedContainer {
    max-width: 460px;
    margin: 0 auto;
}

.ml-form-embedWrapper {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 30px 28px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

/* Email Input */
.ml-form-fieldRow input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    font-size: 1rem;
    color: #2c2c25;
    background: #fff;
    transition: all 0.2s ease;
}

.ml-form-fieldRow input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.ml-form-fieldRow input::placeholder {
    color: #999;
}

/* Privacy Policy */
.ml-form-embedPermissions {
    margin: 20px 0;
    text-align: left;
}

.ml-form-embedPermissions p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 8px 0;
}

.ml-form-embedPermissions a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.ml-form-embedPermissions a:hover {
    color: #b8942d;
}

/* Interest Groups */
.ml-form-interestGroupsRow {
    margin: 20px 0;
    text-align: left;
}

.ml-form-interestGroupsRowCheckbox {
    margin: 10px 0;
}

.ml-form-interestGroupsRowCheckbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #2c2c25;
}

.ml-form-interestGroupsRowCheckbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #d4af37;
}

/* reCAPTCHA */
.ml-form-recaptcha {
    margin: 20px 0;
}

.g-recaptcha {
    display: inline-block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Submit Button */
.ml-form-embedSubmit {
    margin-top: 20px;
}

.ml-form-embedSubmit button {
    width: 100%;
    padding: 14px;
    background: #d4af37;
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.ml-form-embedSubmit button:hover {
    background: #b8942d;
    transform: translateY(-1px);
}

.ml-form-embedSubmit button.loading {
    display: none;
}

/* Loading Animation */
.ml-form-embedSubmitLoad {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.ml-form-embedSubmitLoad:after {
    content: " ";
    display: block;
    width: 11px;
    height: 11px;
    margin: 1px;
    border-radius: 50%;
    border: 4px solid #fff;
    border-color: #ffffff #ffffff #ffffff transparent;
    animation: ml-form-embedSubmitLoad 1.2s linear infinite;
}

@keyframes ml-form-embedSubmitLoad {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.ml-form-successBody {
    text-align: center;
}

.ml-form-successContent h4 {
    font-size: 1.9rem;
    color: #2c2c25;
    margin-bottom: 12px;
}

.ml-form-successContent p {
    font-size: 1rem;
    color: #555;
}

/* Error States */
.ml-error input,
.ml-error textarea {
    border-color: #dc3545 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-hero h1 {
        font-size: 2.2rem;
    }
    
    .newsletter-form-section h2,
    .newsletter-footer-text h2 {
        font-size: 1.5rem;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}