/* ==============================
   Deferred Fixes (lazy-loaded)
   Merged: pagination-nuclear-fix + footer-center-nuclear-fix
   ============================== */

/* ========================================
   PAGINATION NUCLEAR FIX - Based on Actual HTML
   Target: div.video-pagination ul.page-numbers
   ======================================== */

/* Force remove ALL list styling - NUCLEAR approach */
.video-pagination ul.page-numbers,
.bottom-pagination ul.page-numbers,
.pagination-wrapper ul.page-numbers {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Force remove list styling from list items */
.video-pagination ul.page-numbers li,
.bottom-pagination ul.page-numbers li,
.pagination-wrapper ul.page-numbers li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
}

/* Style the pagination buttons - target actual classes */
.page-numbers,
a.page-numbers,
span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
    background: rgba(51, 51, 51, 0.3) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Hover effects */
a.page-numbers:hover {
    background: #EC1B61 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(236, 27, 97, 0.3) !important;
}

/* Current page styling */
span.page-numbers.current {
    background: #EC1B61 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    cursor: default !important;
}

/* Dots styling */
span.page-numbers.dots {
    background: transparent !important;
    color: #666 !important;
    cursor: default !important;
    box-shadow: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .page-numbers,
    a.page-numbers,
    span.page-numbers {
        min-width: 40px !important;
        min-height: 40px !important;
        padding: 6px 10px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }
    
    .video-pagination ul.page-numbers,
    .bottom-pagination ul.page-numbers {
        gap: 6px !important;
    }
}

/* Container styling */
.video-pagination,
.bottom-pagination {
    text-align: center !important;
    margin: 2rem 0 !important;
    padding: 1rem 0 !important;
}
/* ==============================
   Merged from footer-center-nuclear-fix.css
   ============================== */

/* ========================================
   FOOTER CENTERING NUCLEAR FIX - Based on Actual HTML
   Target: footer.site-footer structure
   ======================================== */

/* Footer bottom section - NUCLEAR FORCE center everything */
html body .site-footer .footer-bottom,
html body footer .footer-bottom,
html body footer.site-footer .footer-bottom {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #333 !important;
}

html body .site-footer .footer-bottom p,
html body footer .footer-bottom p,
html body footer.site-footer .footer-bottom p {
    text-align: center !important;
    margin: 0.5rem 0 !important;
    color: #ccc !important;
}

html body .site-footer .footer-social,
html body footer .footer-social,
html body footer.site-footer .footer-social {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
}

/* Force center footer menu columns on mobile */
@media (max-width: 768px) {
    .site-footer .footer-columns,
    .site-footer .footer-row {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .site-footer .footer-col {
        text-align: center !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }
    
    .site-footer .footer-title {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .site-footer ul.footer-links {
        text-align: center !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .site-footer ul.footer-links li {
        text-align: center !important;
        margin: 0.25rem 0 !important;
        list-style: none !important;
    }
    
    .site-footer ul.footer-links li a {
        text-align: center !important;
        display: block !important;
    }
}

/* Desktop footer - keep columns but center bottom */
@media (min-width: 769px) {
    .site-footer .footer-bottom {
        text-align: center !important;
    }
}
/* Center footer links on all screen sizes */
.site-footer .footer-links {
    text-align: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer .footer-links li {
    text-align: center !important;
    margin: 0.5rem 0 !important;
}

.site-footer .footer-links a {
    text-align: center !important;
    display: inline-block !important;
}

/* Center footer column titles */
.site-footer .footer-title {
    text-align: center !important;
    margin-bottom: 1rem !important;
}

/* Center each footer column */
.site-footer .footer-col {
    text-align: center !important;
}

/* Desktop specific - center columns in grid */
@media (min-width: 769px) {
    .site-footer .footer-columns {
        display: flex !important;
        justify-content: center !important;
    }
    
    .site-footer .footer-row {
        display: flex !important;
        justify-content: center !important;
        gap: 3rem !important;
    }
    
    .site-footer .footer-col {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 150px !important;
    }
}

/* AGGRESSIVE: Remove ALL list styling from footer */
.site-footer ul,
.site-footer ol,
.site-footer .footer-links,
.site-footer .footer-links li,
footer ul,
footer ol,
footer .footer-links,
footer .footer-links li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
}

.site-footer .footer-links li::before,
footer .footer-links li::before {
    content: none !important;
    display: none !important;
}
