/* Footer newsletter subscription — standalone so deploy/cache can't miss it */
footer .footer-subscribe-col {
    max-width: 100%;
}

footer .footer-subscribe-intro {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

footer .footer-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

footer .footer-subscribe-field {
    position: relative;
    display: block;
    width: 100%;
}

footer .footer-subscribe-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 2;
}

footer .footer-subscribe-form input[type="text"],
footer .footer-subscribe-form input[type="email"],
footer .footer-subscribe-form input[type="tel"] {
    display: block;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 13px 14px 13px 42px !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 0.95rem !important;
    line-height: 1.4;
    outline: none;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

footer .footer-subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.62) !important;
    opacity: 1;
}

footer .footer-subscribe-form input:focus {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.28) !important;
}

footer .footer-subscribe-recaptcha {
    margin: 2px 0;
    overflow: hidden;
}

footer .footer-subscribe-recaptcha .field-error,
footer .footer-subscribe-recaptcha .footer-recaptcha-error {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: #fecaca !important;
    min-height: 1.1em;
}

footer .footer-subscribe-btn,
footer button.footer-subscribe-btn,
footer #footer-subscribe-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    margin: 4px 0 0;
    padding: 13px 18px !important;
    border: none !important;
    border-radius: 10px !important;
    background: #E31837 !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.3;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(227, 24, 55, 0.28);
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

footer .footer-subscribe-btn:hover,
footer button.footer-subscribe-btn:hover,
footer #footer-subscribe-btn:hover {
    background: #FF5A5F !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

footer .footer-subscribe-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

footer .footer-subscribe-note {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62) !important;
    line-height: 1.45;
}

footer .footer-subscribe-message {
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
}

footer .footer-subscribe-message.is-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #d1fae5 !important;
}

footer .footer-subscribe-message.is-error {
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fecaca !important;
}

footer a.footer-donate-link,
footer .footer-donate-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: opacity 0.2s ease, padding-left 0.2s ease;
}

footer a.footer-donate-link:hover,
footer .footer-donate-link:hover {
    color: #ffffff !important;
    opacity: 0.92;
    padding-left: 4px;
}

footer a.footer-donate-link i,
footer .footer-donate-link i {
    color: #FF5A5F !important;
}

@media (max-width: 380px) {
    footer .footer-subscribe-recaptcha .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left center;
    }
}
