/* Custom sidebar branding */
.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0 0 1rem 0;
    border-bottom: 1px solid var(--color-sidebar-background-border);
}

.sidebar-logo {
    height: 2.5rem;
    width: 2.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.sidebar-brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-sidebar-brand-text);
    line-height: 1.2;
    margin: 0;
}

.sidebar-brand-version {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.15rem;
}

/* Ensure the brand is clickable */
.sidebar-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/* Dark mode adjustments */
[data-theme="dark"] .sidebar-brand {
    border-bottom-color: var(--color-sidebar-background-border);
}

/* Responsive adjustments */
@media (max-width: 67em) {
    .sidebar-brand {
        padding: 1rem 1rem 0.5rem;
    }
    
    .sidebar-logo {
        height: 2rem;
        width: 2rem;
    }
    
    .sidebar-brand-text {
        font-size: 1.1rem;
    }
    
    .sidebar-brand-version {
        font-size: 0.8rem;
    }
}
