
/* APKMales 3D Footer Engine v1000 */
.apkmales-main-h1, .apkmales-main-h1-top-bar, header .apkmales-main-h1 { display: none !important; }
html body .cm-header-main-row .cm-container .cm-main-row, html body .cm-header-left-col {
    display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; width: 100% !important; float: none !important; text-align: center !important;
}
html body .cm-site-branding { margin: 15px auto !important; text-align: center !important; display: flex !important; justify-content: center !important; width: 100% !important; float: none !important; }
html body .cm-site-branding img.custom-logo { max-height: 75px !important; height: auto !important; width: auto !important; margin: 0 auto !important; display: block !important; object-fit: contain !important; }

/* FOOTER BACKGROUND */
#cm-footer, footer.cm-footer, .cm-footer-builder, .cm-footer-desktop-row {
    background: #0b0f19 !important;
    color: #cbd5e1 !important;
    border-top: 5px solid #0284c7 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    padding: 45px 0 0 !important;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.7) !important;
}

#cm-footer .cm-footer-top-row {
    background: transparent !important;
    padding-bottom: 35px !important;
    display: block !important;
}

#cm-footer .cm-footer-top-row .cm-container .cm-top-row {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    max-width: 1150px !important;
    margin: 0 auto !important;
}

/* Hide Empty Native Columns 2 & 4 */
#cm-footer .cm-footer-top-2-col,
#cm-footer .cm-footer-top-4-col {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* BOLD 3D CARDS FOR COLUMNS 1 & 3 */
#cm-footer .cm-footer-top-1-col,
#cm-footer .cm-footer-top-3-col {
    flex: 1 1 42% !important;
    min-width: 290px !important;
    max-width: 520px !important;
    background: #1e293b !important;
    border: 2px solid #38bdf8 !important;
    border-radius: 16px !important;
    padding: 28px 32px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 20px rgba(56, 189, 248, 0.2) !important;
    transition: all 0.3s ease !important;
    float: none !important;
    margin: 0 !important;
}
#cm-footer .cm-footer-top-3-col {
    border-color: #818cf8 !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 20px rgba(129, 140, 248, 0.2) !important;
}
#cm-footer .cm-footer-top-1-col:hover,
#cm-footer .cm-footer-top-3-col:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 30px rgba(56, 189, 248, 0.35) !important;
}

/* Card Title Headers */
#cm-footer .cm-footer-top-1-col::before {
    content: '📌 QUICK LINKS' !important;
    color: #38bdf8 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 18px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #0284c7 !important;
    letter-spacing: 1px !important;
}
#cm-footer .cm-footer-top-3-col::before {
    content: '🚀 CATEGORIES' !important;
    color: #818cf8 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 18px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #6366f1 !important;
    letter-spacing: 1px !important;
}

/* Override Inner Widget Gray Boxes */
#cm-footer .cm-footer-col .widget,
#cm-footer .cm-footer-col .widget_block,
#cm-footer .cm-footer-col aside,
#cm-footer .cm-footer-col .wp-block-page-list,
#cm-footer .cm-footer-col .wp-block-categories-list {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* 3D Link Buttons */
#cm-footer .cm-footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#cm-footer .cm-footer-col ul li,
#cm-footer .cm-footer-col .wp-block-pages-list__item,
#cm-footer .cm-footer-col .cat-item {
    margin-bottom: 10px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}
#cm-footer .cm-footer-col ul li a,
#cm-footer .cm-footer-col .wp-block-pages-list__item__link,
#cm-footer .cm-footer-col .cat-item a {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: block !important;
    padding: 11px 18px !important;
    border-radius: 8px !important;
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3) !important;
    transition: all 0.25s ease !important;
}
#cm-footer .cm-footer-col ul li a:hover,
#cm-footer .cm-footer-col .wp-block-pages-list__item__link:hover,
#cm-footer .cm-footer-col .cat-item a:hover {
    color: #ffffff !important;
    background: #0284c7 !important;
    border-color: #38bdf8 !important;
    transform: translateX(6px) !important;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.5) !important;
}

/* Hide Uncategorized category item */
#cm-footer .cm-footer-col .cat-item-1 {
    display: none !important;
}

/* Copyright Bar Bottom Row */
#cm-footer .cm-footer-bottom-row {
    background-color: #020617 !important;
    background: #020617 !important;
    border-top: 1px solid #1e293b !important;
    padding: 22px 0 !important;
    color: #94a3b8 !important;
    text-align: center !important;
}
#cm-footer .cm-copyright,
#cm-footer .cm-copyright p {
    color: #94a3b8 !important;
    font-size: 13px !important;
    margin: 0 !important;
}
#cm-footer .cm-copyright a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    #cm-footer .cm-footer-top-row .cm-container .cm-top-row {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 15px !important;
    }
    #cm-footer .cm-footer-top-1-col,
    #cm-footer .cm-footer-top-3-col {
        max-width: 100% !important;
        padding: 20px !important;
    }
}
