/*
Theme Name: Gridbox UArating
Template: gridbox
Description: UArating child theme for Gridbox
Version: 1.0
*/

#masthead { display: none !important; }
.gridbox-header-image { display: none !important; }

/* Footer full width */
#footer.footer-wrap {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
footer#colophon {
    background: #005BBB !important;
    border-top: 4px solid #FFD700 !important;
    padding: 1.5rem 1rem !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
footer#colophon.container {
    max-width: 100% !important;
    width: 100% !important;
}
footer#colophon .site-info {
    color: rgba(255,255,255,.8) !important;
    text-align: center !important;
}
footer#colophon a { color: #FFD700 !important; }

/* Typography */
body { font-family: Arial, sans-serif !important; font-size: 16px !important; }
h1.entry-title, h2.entry-title { font-size: 1.25rem !important; font-weight: 600 !important; }
h1.entry-title a, h2.entry-title a { color: #005BBB !important; text-decoration: none !important; }
.entry-meta { font-size: .8rem !important; color: #888 !important; }

/* Widgets */
.widget-title { font-size: 1rem !important; font-weight: 600 !important; color: #005BBB !important; border-bottom: 2px solid #FFD700 !important; padding-bottom: .3rem !important; }
.pagination .current { background: #005BBB !important; color: #fff !important; padding: 2px 8px !important; border-radius: 4px !important; }

/* Fix post navigation */
.post-navigation { background: transparent !important; padding: 1rem 0 !important; margin: 1.5rem 0 !important; border-top: 1px solid #e9ecef !important; border-bottom: none !important; }
.post-navigation .nav-links { display: flex !important; justify-content: space-between !important; background: transparent !important; }
.post-navigation .nav-previous, .post-navigation .nav-next { background: transparent !important; padding: 0 !important; width: 48% !important; }
.post-navigation .nav-previous a, .post-navigation .nav-next a { background: transparent !important; color: #005BBB !important; font-size: .9rem !important; font-weight: 500 !important; text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; display: block !important; padding: 0 !important; }
.post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover { text-decoration: underline !important; }
.post-navigation .screen-reader-text { display: none !important; }
.post-navigation .nav-next { text-align: right !important; }

/* Fix post navigation - override gridbox dark style */
.post-navigation { background: transparent !important; }
.post-navigation .nav-links { background: transparent !important; }
.post-navigation .nav-links a,
.post-navigation .nav-links a:link,
.post-navigation .nav-links a:visited {
    background: transparent !important;
    color: #005BBB !important;
    font-size: .9rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    padding: 0 !important;
    display: inline !important;
}
.post-navigation .nav-links a:hover { text-decoration: underline !important; }
.post-navigation .nav-links .nav-previous a:before,
.post-navigation .nav-links .nav-next a:after { display: none !important; }

/* Hide post navigation completely */
.post-navigation { display: none !important; }

/* Fix pagination on mobile */
.pagination .page-numbers { display: inline-block !important; }
.pagination { text-align: center !important; }
