/* ===== Newsletter Form — Shared ===== */
.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 100px;
    overflow: hidden;
    background: var(--white);
}
.newsletter-form input[type="email"] {
    flex: 1;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    outline: none;
    background: var(--white);
    color: var(--paragraph);
    min-width: 0;
}
.newsletter-form input[type="email"]::placeholder {
    color: var(--span);
}

/* ===== Text Subscribe Button (Events page style) ===== */
.newsletter-subscribe-btn {
    padding: 14px 28px;
    background-color: var(--accent-rich-soil);
    color: var(--white);
    border: none;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.newsletter-subscribe-btn:hover {
    background-color: var(--secondary-color);
}

/* ===== Icon Button (Circular paper plane) ===== */
.newsletter-icon-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 4px;
}
.newsletter-icon-btn:hover {
    background: var(--accent-riverside);
}
.newsletter-icon-btn i {
    color: var(--white);
    font-size: 16px;
}

/* ===== Band Layout ===== */
.newsletter-signup--band {
    padding: 80px 0;
}

/* ===== Inline Layout ===== */
.newsletter-form--inline {
    max-width: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    /* Text-button variant: stack vertically */
    .newsletter-form:has(.newsletter-subscribe-btn) {
        flex-direction: column;
        border-radius: 10px;
        overflow: visible;
    }
    .newsletter-form:has(.newsletter-subscribe-btn) input[type="email"] {
        border-radius: 10px 10px 0 0;
        text-align: center;
        width: 100%;
    }
    .newsletter-subscribe-btn {
        border-radius: 0 0 10px 10px;
        padding: 14px;
        width: 100%;
    }

    /* Icon-button variant: keep inline like footer subscribe panel */
    .newsletter-form:has(.newsletter-icon-btn) {
        flex-direction: row;
        border-radius: 100px;
        padding: 5px 5px 5px 20px;
        overflow: hidden;
    }
    .newsletter-form:has(.newsletter-icon-btn) input[type="email"] {
        border-radius: 0;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
    .newsletter-icon-btn {
        border-radius: 50%;
        width: 46px;
        height: 46px;
        min-width: 46px;
        margin: 4px;
    }
}
