/*
Theme Name: Gridbox UAFile
Template: gridbox
Description: UAFile.COM child theme for Gridbox
Version: 1.0
*/

/* UAFile brand colors */
:root {
    --ua-blue: #1A7FE8;
    --ua-blue-dark: #1565C0;
    --ua-white: #ffffff;
    --ua-bg: #f5f5f5;
}

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

/* Body background */
body { background: var(--ua-bg) !important; font-family: Arial, sans-serif !important; font-size: 16px !important; }

/* Typography */
h1.entry-title, h2.entry-title { font-size: 1.25rem !important; font-weight: 600 !important; }
h1.entry-title a, h2.entry-title a { color: var(--ua-blue) !important; text-decoration: none !important; }
h1.entry-title a:hover, h2.entry-title a:hover { color: var(--ua-blue-dark) !important; text-decoration: underline !important; }
.entry-meta { font-size: .8rem !important; color: #888 !important; }

/* Widgets */
.widget-title { font-size: 1rem !important; font-weight: 600 !important; color: var(--ua-blue) !important; border-bottom: 2px solid var(--ua-blue) !important; padding-bottom: .3rem !important; }

/* Pagination */
.pagination .current { background: var(--ua-blue) !important; color: #fff !important; padding: 2px 8px !important; border-radius: 4px !important; font-size: 1rem !important; }
.pagination { text-align: center !important; }
.pagination .nav-links { display: flex !important; flex-wrap: wrap !important; gap: 4px !important; justify-content: center !important; }
.pagination a, .pagination .current, .pagination .dots { display: inline-block !important; visibility: visible !important; opacity: 1 !important; }
.page-numbers { display: inline-block !important; }

/* Footer */
#footer.footer-wrap { width: 100% !important; margin: 0 !important; padding: 0 !important; }
footer#colophon { display: none !important; } /* replaced by custom footer in footer.php */

/* Post navigation */
.post-navigation { background: transparent !important; padding: 1rem 0 !important; margin: 1.5rem 0 !important; border-top: 1px solid #e9ecef !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: var(--ua-blue) !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; }
.post-navigation .nav-links a:before, .post-navigation .nav-links a:after { display: none !important; }

/* Entry footer */
.entry-footer { background: transparent !important; padding: 0 !important; border-top: none !important; min-height: 3rem !important; overflow: visible !important; }
.entry-footer .post-navigation { background: transparent !important; border: none !important; padding: 0 !important; margin: 0 0 1rem !important; }
.entry-footer .post-navigation .nav-links { background: transparent !important; display: flex !important; justify-content: space-between !important; gap: 1rem !important; overflow: visible !important; }
.entry-footer .post-navigation .nav-links div { overflow: visible !important; }
.entry-footer .post-navigation .nav-links a { background: transparent !important; color: var(--ua-blue) !important; text-transform: none !important; font-size: .9rem !important; padding: 0 !important; display: block !important; }
.entry-footer .post-navigation .nav-links a:hover { text-decoration: underline !important; }
.entry-footer .tags-links a { background: #e9ecef !important; color: #333 !important; padding: .2rem .6rem !important; border-radius: 4px !important; text-decoration: none !important; font-size: .8rem !important; margin: 0 .2rem .2rem 0 !important; display: inline-block !important; }
.entry-footer * { color: #333 !important; }
.entry-footer a { color: var(--ua-blue) !important; text-decoration: none !important; }
.entry-footer .nav-previous a, .entry-footer .nav-next a { color: var(--ua-blue) !important; }
.entry-footer .nav-previous::before { content: "← "; }
.entry-footer .nav-next { text-align: right; }
.entry-footer .nav-links::after { content: ""; display: table; clear: both; }
.entry-footer .nav-previous { float: left !important; max-width: 50% !important; }
.entry-footer .nav-next { float: right !important; max-width: 50% !important; text-align: right !important; }
