/* dark-override.css — force dark theme on sahifa pages to match disto style */

/* Replace green accent #81bd00 everywhere */
#main-nav, .cat-box-content, #sidebar .widget-container, .post-listing {
    border-bottom-color: #000 !important;
}

.search-block .search-button, #topcontrol,
#main-nav ul li.current-menu-item a,
#main-nav ul li.current-menu-item a:hover,
#main-nav ul li.current-menu-parent a,
#main-nav ul li.current-menu-parent a:hover,
#main-nav ul li.current-page-ancestor a,
#main-nav ul li.current-page-ancestor a:hover,
.pagination span.current,
.share-post span.share-text,
.flex-control-paging li a.flex-active,
.ei-slider-thumbs li.ei-slider-element,
.review-percentage .review-item span span,
.review-final-score,
::-webkit-scrollbar-thumb {
    background-color: #000 !important;
}

footer#theme-footer, .top-nav, .top-nav ul li.current-menu-item:after,
#main-nav ul li.mega-menu .mega-menu-block, #main-nav ul ul {
    border-top-color: #000 !important;
}

.search-block:after { border-right-color: #000 !important; }
#main-nav ul > li.parent-list:hover > a:after { border-color: transparent transparent #000 !important; }

/* Dark header & nav */
header.theme-header, #theme-header,
.top-nav, #main-nav, #main-nav ul ul {
    background-color: #000 !important;
    border-color: #222 !important;
}
.top-nav, .top-nav ul li a,
#main-nav ul li a {
    color: #ccc !important;
    font-family: Arial, Helvetica, sans-serif !important;
}
#main-nav ul li a:hover,
.top-nav ul li a:hover {
    color: #fff !important;
}
#main-nav ul ul { background: #111 !important; }
#main-nav ul ul li a { border-bottom-color: #333 !important; }

/* Dark background cover */
.background-cover { background: #1a1a1a !important; }

/* Body & content area */
body { background-color: #f5f5f5 !important; }

/* Titles — switch from Georgia serif to sans */
.logo h1 a, .logo h2 a,
.page-title, .post-title,
h2.post-box-title, h2.post-box-title a,
h3.post-box-title, h3.post-box-title a,
p.post-meta, p.post-meta a,
body.single .entry, body.page .entry,
.widget-top h4, .widget-top h4 a,
.footer-widget-top h4, .footer-widget-top h4 a,
.cat-box-title h2, .cat-box-title h2 a,
.block-head h3, #respond h3, #comments-title,
h2.review-box-header {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Dark footer */
footer#theme-footer, #theme-footer {
    background-color: #000 !important;
    color: #aaa !important;
    border-top: 3px solid #000 !important;
}
footer#theme-footer a, #theme-footer a { color: #ccc !important; }
footer#theme-footer a:hover, #theme-footer a:hover { color: #fff !important; }
.footer-widget-top h4 { color: #fff !important; }
.footer-sidebar { border-color: #333 !important; }
.footer-copyright { background: #111 !important; color: #888 !important; }

/* Category & widget box borders */
.cat-box-content, .cat-box-inner { border-color: #ddd !important; }
.block-head, .widget-top { border-bottom-color: #000 !important; background-color: #000 !important; color: #fff !important; }
.block-head h3 { color: #fff !important; }

/* Buttons & interactive */
.btn, .button, input[type="submit"] {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}
.btn:hover, .button:hover, input[type="submit"]:hover {
    background-color: #333 !important;
}

/* Post meta links — scoped, NOT global (global a{} breaks white links in dark bg) */
p.post-meta a { color: #666 !important; }
.entry a, .post-content a, #main-content .entry a,
.single-post-content a, article.post a { color: #000; }
.entry a:hover, .post-content a:hover { color: #555; }

/* Sidebar widget */
.widget-container { background: #fff !important; }

/* Search bar */
.search-block input { background: #222 !important; color: #fff !important; }

/* Social icons top bar – hide (matched by hide-ui rule in all pages) */
.top-nav .social-icons { display: none !important; }
