/*
Theme Name: KMU-Radar (GeneratePress Child)
Template: generatepress
Version: 1.1
Description: Child theme KMU-Radar — DARK MODE, footer legal, cookie consent.
*/

/* ===== DARK MODE global (GeneratePress) ===== */
body, .site, .site-content, .inside-article, .separate-containers .inside-article,
.one-container .container, .separate-containers .site-main > * {
    background-color: #0e1520 !important;
    color: #dce3ee;
}
.site-header, .main-navigation, .inside-header {
    background-color: #0a111b !important;
    border-bottom: 1px solid #263248;
}
.main-title a, .site-description, .site-header a { color: #f0f4fa !important; }
.main-navigation a { color: #dce3ee !important; }
.main-navigation .current-menu-item > a, .main-navigation a:hover { color: #8ec7ff !important; }
.site-footer, .site-info { background-color: #0a111b !important; color: #8fa1b8; }
h1, h2, h3, h4, .entry-title, .entry-title a, .page-header h1 { color: #f0f4fa !important; }
a { color: #6cb2ff; }
a:hover { color: #8ec7ff; }
.entry-meta, .posted-on, .byline { color: #8fa1b8; }

/* separatoare, tabele, carduri din continut */
table td, table th { border-bottom: 1px solid #263248; }
table th { color: #f0f4fa; }
hr { border-color: #263248; }
input, select, textarea {
    background: #182234 !important; color: #dce3ee !important;
    border: 1px solid #3a4a63 !important;
}
button, .button, input[type=submit] {
    background: #4da3ff; color: #0e1520; border: 0;
}

/* arhive / liste de articole */
.entry-summary, .entry-content { color: #dce3ee; }
.post-navigation a, .paging-navigation a { color: #8ec7ff; }
.kr-legal a { color: #8fa1b8; margin: 0 3px; }
.kr-legal a:hover { color: #8ec7ff; }

/* ===== corectii dupa verificarea VIZUALA (2026-07-24) ===== */
/* sidebar/widget-uri: fundal alb cu text deschis = ilizibil -> dark peste tot */
.sidebar .widget, .widget, .inside-right-sidebar .widget, .inside-left-sidebar .widget {
    background-color: #182234 !important; color: #dce3ee;
    border: 1px solid #263248;
}
.widget-title, .widget .widget-title { color: #f0f4fa !important; }
.widget a { color: #6cb2ff; }
/* banner cookies: contrast garantat */
.kr-consent { background: #182234 !important; color: #e8eef7 !important; }
.kr-consent a { color: #8ec7ff; }
.kr-consent b { color: #ffffff; }
.kr-consent button { background: #0e1520; color: #8ec7ff; border: 1px solid #4da3ff; }
.kr-consent button.kr-primary { background: #4da3ff; color: #0e1520; }
/* titlul redundant al paginii pe front */
.home .entry-header { display: none; }
