/* Goljyu branding for mdBook */

/* Logo in sidebar above the table of contents */
.sidebar .sidebar-scrollbox::before {
    content: "";
    display: block;
    background-image: url("../goljyu-logo.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 60px;
    margin: 15px 20px 20px 20px;
}

/* Style part titles (Foundation, Products, Initiatives) */
.sidebar .sidebar-scrollbox .chapter li.part-title {
    font-weight: 700;
    color: #fdd;
    margin-top: 1.2em;
}

/* Style top-level collapsible items (Common, Strategy, product names) */
.sidebar .sidebar-scrollbox .chapter > li.chapter-item > div {
    font-weight: 600;
    color: #e8c8a0;
}

.sidebar .sidebar-scrollbox .chapter > li.chapter-item > div:hover {
    color: #ffffff;
}

/* Toggle arrow color */
.sidebar .sidebar-scrollbox .chapter > li.chapter-item > a.toggle {
    color: #e8c8a0;
}

/* Ensure child chapter links are visible */
.sidebar .chapter ol.section li > a {
    color: #dcc8b0;
}

.sidebar .chapter ol.section li > a:hover {
    color: #ffffff;
}
