/* Footer 5 Columns - Critical Override */
.jay-footer .footer-grid {
    display: grid !important;
}

.jay-footer .footer-widget {
    display: block !important;
}

@media (min-width: 1280px) {
    .jay-footer .footer-grid {
        grid-template-columns: 1.5fr 0.7fr 1fr 1fr 1fr !important;
        gap: 1.75rem !important;
    }
    
    .jay-footer .widget-title {
        font-size: 0.813rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        color: #93C5FD !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .jay-footer .footer-tagline {
        font-size: 0.75rem !important;
        line-height: 1.5 !important;
    }
    
    .jay-footer .footer-links a {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    .jay-footer .social-link {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.75rem !important;
    }
    
    .jay-footer .newsletter-label {
        font-size: 0.688rem !important;
    }
    
    .jay-footer .newsletter-input-group input {
        font-size: 0.688rem !important;
        padding: 0.438rem 0.5rem !important;
    }
    
    .jay-footer .newsletter-submit-btn {
        font-size: 0.75rem !important;
        padding: 0.438rem 0.75rem !important;
    }
    
    /* Applications Styling */
    .jay-footer .footer-app-item a {
        display: flex !important;
        align-items: center !important;
        padding: 0.5rem 0.625rem !important;
        border-radius: 6px !important;
        background: transparent !important;
        border: 1px solid rgba(96, 165, 250, 0.15) !important;
        gap: 0.625rem !important;
        font-size: 0.75rem !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
    }
    
    .jay-footer .footer-app-item a:hover {
        background: rgba(96, 165, 250, 0.05) !important;
        border-color: rgba(96, 165, 250, 0.3) !important;
    }
    
    .jay-footer .footer-app-item .app-icon,
    .jay-footer .footer-app-item .app-icon-placeholder {
        width: 32px !important;
        height: 32px !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
        display: block !important;
    }
    
    .jay-footer .footer-app-item .app-icon {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(96, 165, 250, 0.15) !important;
    }
    
    .jay-footer .footer-app-item .app-icon-placeholder {
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.08)) !important;
        border: 1px solid rgba(96, 165, 250, 0.2) !important;
        font-size: 1rem !important;
    }
    
    .jay-footer .footer-app-item .app-name {
        font-size: 0.75rem !important;
        font-weight: 500 !important;
        flex: 1 !important;
        line-height: 1.4 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    /* Posts Styling */
    .jay-footer .footer-post-item a {
        display: flex !important;
        align-items: center !important;
        padding: 0.5rem 0.625rem !important;
        border-radius: 6px !important;
        background: transparent !important;
        border: 1px solid rgba(96, 165, 250, 0.15) !important;
        gap: 0.625rem !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .jay-footer .footer-post-item a:hover {
        background: rgba(96, 165, 250, 0.05) !important;
        border-color: rgba(96, 165, 250, 0.3) !important;
    }
    
    .jay-footer .footer-post-item .post-date {
        font-size: 0.625rem !important;
        font-weight: 600 !important;
        color: #60A5FA !important;
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.08)) !important;
        padding: 0.25rem 0.438rem !important;
        border-radius: 4px !important;
        min-width: 42px !important;
        border: 1px solid rgba(96, 165, 250, 0.25) !important;
        flex-shrink: 0 !important;
        text-align: center !important;
    }
    
    .jay-footer .footer-post-item .post-title {
        font-size: 0.75rem !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        flex: 1 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    footer.jay-footer .footer-posts,
    footer.jay-footer .footer-widget .footer-posts,
    footer .footer-posts {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.625rem !important;
        row-gap: 0.625rem !important;
    }
    
    footer.jay-footer .footer-post-item,
    footer .footer-post-item {
        margin: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .jay-footer .footer-categories .category-item a {
        font-size: 0.75rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .jay-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .jay-footer .widget-title {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
    }
    
    .jay-footer .footer-tagline,
    .jay-footer .footer-links a {
        font-size: 0.688rem !important;
    }
    
    .jay-footer .footer-app-item a {
        display: flex !important;
        align-items: center !important;
        padding: 0.438rem 0.5rem !important;
        background: transparent !important;
        border: 1px solid rgba(96, 165, 250, 0.15) !important;
        border-radius: 6px !important;
        font-size: 0.688rem !important;
        gap: 0.5rem !important;
        text-decoration: none !important;
    }
    
    .jay-footer .footer-app-item a:hover {
        background: rgba(96, 165, 250, 0.05) !important;
        border-color: rgba(96, 165, 250, 0.3) !important;
    }
    
    .jay-footer .footer-app-item .app-icon,
    .jay-footer .footer-app-item .app-icon-placeholder {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }
    
    .jay-footer .footer-app-item .app-name {
        line-height: 1.4 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .jay-footer .footer-post-item a {
        display: flex !important;
        align-items: center !important;
        padding: 0.438rem 0.5rem !important;
        background: transparent !important;
        border: 1px solid rgba(96, 165, 250, 0.15) !important;
        border-radius: 6px !important;
        font-size: 0.688rem !important;
        gap: 0.5rem !important;
        text-decoration: none !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .jay-footer .footer-post-item a:hover {
        background: rgba(96, 165, 250, 0.05) !important;
        border-color: rgba(96, 165, 250, 0.3) !important;
    }
    
    .jay-footer .footer-post-item .post-date {
        padding: 0.188rem 0.313rem !important;
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.08)) !important;
        border: 1px solid rgba(96, 165, 250, 0.25) !important;
        flex-shrink: 0 !important;
        text-align: center !important;
    }
    
    .jay-footer .footer-post-item .post-title {
        font-size: 0.688rem !important;
        line-height: 1.4 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .jay-footer .footer-categories .category-item a {
        font-size: 0.688rem !important;
    }
}

@media (max-width: 767px) {
    .jay-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .jay-footer .widget-title {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
    }
    
    .jay-footer .footer-tagline,
    .jay-footer .footer-links a {
        font-size: 0.688rem !important;
    }
    
    .jay-footer .footer-app-item a {
        display: flex !important;
        align-items: center !important;
        padding: 0.438rem 0.5rem !important;
        background: transparent !important;
        border: 1px solid rgba(96, 165, 250, 0.15) !important;
        border-radius: 6px !important;
        font-size: 0.688rem !important;
        gap: 0.5rem !important;
        text-decoration: none !important;
    }
    
    .jay-footer .footer-app-item a:hover {
        background: rgba(96, 165, 250, 0.05) !important;
        border-color: rgba(96, 165, 250, 0.3) !important;
    }
    
    .jay-footer .footer-app-item .app-icon,
    .jay-footer .footer-app-item .app-icon-placeholder {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }
    
    .jay-footer .footer-app-item .app-name {
        line-height: 1.4 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .jay-footer .footer-post-item a {
        display: flex !important;
        align-items: center !important;
        padding: 0.438rem 0.5rem !important;
        background: transparent !important;
        border: 1px solid rgba(96, 165, 250, 0.15) !important;
        border-radius: 6px !important;
        font-size: 0.688rem !important;
        gap: 0.5rem !important;
        text-decoration: none !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .jay-footer .footer-post-item a:hover {
        background: rgba(96, 165, 250, 0.05) !important;
        border-color: rgba(96, 165, 250, 0.3) !important;
    }
    
    .jay-footer .footer-post-item .post-date {
        padding: 0.188rem 0.313rem !important;
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.08)) !important;
        border: 1px solid rgba(96, 165, 250, 0.25) !important;
        flex-shrink: 0 !important;
        text-align: center !important;
        font-size: 0.563rem !important;
        min-width: 35px !important;
    }
    
    .jay-footer .footer-post-item .post-title {
        font-size: 0.688rem !important;
        line-height: 1.4 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .jay-footer .footer-categories .category-item a {
        font-size: 0.688rem !important;
    }
    
    .jay-footer .social-link {
        width: 28px !important;
        height: 28px !important;
    }
    
    .jay-footer .newsletter-button {
        font-size: 0.688rem !important;
        padding: 0.5rem 0.813rem !important;
    }
}

/* Donate QR Section - Tab Style */
.jay-footer .footer-donate-qr {
    margin-top: 1.25rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(249, 250, 251, 0.1) !important;
}

.jay-footer .donate-qr-label {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #93C5FD !important;
    margin-bottom: 0.75rem !important;
    text-align: center !important;
}

/* Tab Navigation */
.jay-footer .donate-qr-tabs {
    display: flex !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    margin-bottom: 0.75rem !important;
}

.jay-footer .donate-qr-tab {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.688rem !important;
    background: rgba(96, 165, 250, 0.1) !important;
    border: 1px solid rgba(96, 165, 250, 0.2) !important;
    border-radius: 4px !important;
    color: #D1D5DB !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.jay-footer .donate-qr-tab:hover {
    background: rgba(96, 165, 250, 0.15) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

.jay-footer .donate-qr-tab.active {
    background: rgba(96, 165, 250, 0.2) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
    color: #60A5FA !important;
    font-weight: 600 !important;
}

/* Tab Content */
.jay-footer .donate-qr-content {
    position: relative !important;
    min-height: 180px !important;
}

.jay-footer .donate-qr-item {
    display: none !important;
    text-align: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.jay-footer .donate-qr-item.active {
    display: block !important;
    opacity: 1 !important;
}

.jay-footer .donate-qr-item img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 6px !important;
    border: 2px solid rgba(96, 165, 250, 0.3) !important;
    transition: all 0.2s ease !important;
    margin: 0 auto !important;
    display: block !important;
}

.jay-footer .donate-qr-item img:hover {
    border-color: rgba(96, 165, 250, 0.6) !important;
    transform: scale(1.05) !important;
}

.jay-footer .donate-qr-name {
    font-size: 0.688rem !important;
    color: #93C5FD !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}

.jay-footer .donate-qr-note {
    font-size: 0.938rem !important;
    color: #9CA3AF !important;
    margin-top: 0.375rem !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    font-style: italic !important;
    display: block !important;
    font-weight: 500 !important;
}