h1, h2, h3, h4, h5 {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.exp-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    vertical-align: top;
    margin-bottom: 4px;
}

/* ----- Left sidebar (black) ----- */

:root {
    --sidebar-width: 18em;
    --sidebar-bg: #1a1a1a;
    --sidebar-fg: #ffffff;
    --sidebar-muted: #b8b8b8;
    --sidebar-accent: #3aa3ff;
}

body {
    margin: 0;
    padding: 0;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    color: var(--sidebar-fg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    z-index: 1030;
    padding: 2em 1.5em;
    text-align: center;
}

.sidebar-header {
    padding-top: 0.5em;
}

.sidebar-avatar {
    width: 9em;
    height: 9em;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1em;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.sidebar-name {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.5em;
    line-height: 1.2;
    margin: 0 0 0.4em 0;
}

.sidebar-name a {
    color: var(--sidebar-fg);
    text-decoration: none;
}

.sidebar-name a:hover {
    color: var(--sidebar-accent);
}

.sidebar-tagline {
    color: var(--sidebar-muted);
    font-size: 0.85em;
    font-style: italic;
    margin: 0 0 1.5em 0;
}

.sidebar-nav {
    flex: 1 1 auto;
    margin-top: 1em;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav a {
    display: block;
    padding: 0.75em 0.5em;
    color: var(--sidebar-fg);
    text-decoration: none;
    font-size: 0.95em;
    letter-spacing: 0.02em;
    transition: background 0.15s, color 0.15s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--sidebar-accent);
}

.sidebar-footer {
    padding-top: 1em;
}

.sidebar-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1em;
}

.sidebar-icons a {
    color: var(--sidebar-fg);
    font-size: 1.3em;
    text-decoration: none;
    transition: color 0.15s;
}

.sidebar-icons a:hover {
    color: var(--sidebar-accent);
}

/* ----- Main content shift ----- */

#main.container {
    margin-left: var(--sidebar-width);
    width: auto;
    max-width: none;
    padding-top: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

/* ----- Mobile toggle button ----- */

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 0.75em;
    left: 0.75em;
    z-index: 1040;
    width: 2.5em;
    height: 2.5em;
    background: var(--sidebar-bg);
    color: var(--sidebar-fg);
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
}

/* ----- Responsive ----- */

@media (max-width: 991.98px) {
    .sidebar-toggle {
        display: inline-block;
    }
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }
    .sidebar.is-open {
        transform: translateX(0);
    }
    #main.container {
        margin-left: 0;
        padding-top: 4rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
