/*
 * DantinoX — RTD theme overrides.
 *
 * This file is loaded after sphinx_rtd_theme.css, so any rule here takes
 * precedence over the theme defaults.  Keep overrides minimal; the goal is
 * the classic Read the Docs look with a few project-specific touches.
 */

/* ── Sidebar logo ──────────────────────────────────────────────────────────── */
.wy-side-nav-search .wy-side-nav-search-logo img {
    max-height: 48px;
    width: auto;
}

/* ── Navigation header background (mirrors html_theme_options value) ───────── */
.wy-nav-top,
.wy-side-nav-search {
    background-color: #2980B9;
}

/* ── Inline code — slightly warmer background than theme default ───────────── */
code.literal,
code.docutils.literal.notranslate {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 1px 4px;
    font-size: 90%;
}

/* ── Wider content column on large screens ─────────────────────────────────── */
@media screen and (min-width: 1200px) {
    .wy-nav-content {
        max-width: 960px;
    }
}
