/**
 * Footer Styles
 * Based on the provided design
 *
 * @package MadePrompt
 */

.site-footer {
    width: 100%;
    background: transparent;
    padding: 1.25rem 2rem; /* Reduced internal padding */
    margin-top: 0; /* Uniform footer spacing - controlled by page wrapper padding-bottom */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* Reduced gap between links and copyright */
}

/* Footer Links Container */
.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Reduced gap between links */
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

/* Copyright Box */
.copyright-box {
    margin-top: 0.5rem; /* Reduced from 1rem */
}

.copyright-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem; /* Slightly smaller */
    margin: 0;
    text-align: center;
}

/* Category Links - Hidden visually but accessible to crawlers */
.footer-category-links {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.footer-category-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 1rem 1rem; /* More compact on mobile */
        margin-top: 0; /* Uniform footer spacing - controlled by page wrapper padding-bottom */
    }
    
    .footer-container {
        gap: 0.75rem; /* Tighter spacing on mobile */
    }
    
    .footer-links-container {
        gap: 0.75rem; /* Tighter link spacing on mobile */
        flex-direction: column;
    }
    
    .footer-link {
        font-size: 0.875rem; /* Smaller text on mobile */
    }
    
    .copyright-text {
        font-size: 0.8125rem;
    }
}

/* ==========================================
   reCAPTCHA v3 Badge Customization
   ========================================== */

/* Hide default Google reCAPTCHA badge (bottom right corner) */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Custom reCAPTCHA footer notice (replaces default badge) */
.recaptcha-footer-notice {
    text-align: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    /* No border-top - integrated seamlessly with copyright */
}

.recaptcha-footer-notice small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    line-height: 1.4;
}

.recaptcha-footer-notice a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.recaptcha-footer-notice a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .recaptcha-footer-notice {
        margin-top: 0.25rem;
        padding-top: 0.5rem;
    }
    
    .recaptcha-footer-notice small {
        font-size: 0.6875rem;
    }
}

